CHIP Projects

Ideas

# Start server
/etc/init.d/RepetierServer start
# Stop server
/etc/init.d/RepetierServer stop
# Restart server
/etc/init.d/RepetierServer restart

Useful Links:

Headless Server

  • USB connect
screen /dev/tty.usbmodem1413 115200
export TERM=ansi  # correct encoding

cu -l /dev/tty.usbmodem1413 -s 115200
~.  # to escape
  • system admin
usermod -l new old  # change username, check man for more

sudo usermod -a -G i2c chip  # use i2c tools without sudo for chip

sudo shutdown now

ip addr show wlan0

ps -p$$ -ocmd= # check shell

apt-get update/upgrade

apt-cache search keyword

sudo apt-get install sysstat

mpstat/vmstat/netstat/instat

htop 

last

updatedb # for locate database 

virtualenv venv

deactivate

stty < /dev/tty*  # check band rate

update-rc.d -f xxx remove # remove service

uname -a
  • Install GUI
apt-get install lxde-core

startlxde

Hardware

axp209 /etc/axp209

sudo nmtui

nmcli device wifi list

sudo nmcli device wifi connect '(your wifi network name/SSID)' password '(your wifi password)' ifname wlan0 

nmcli device status
  • Bluetooth
sudo hcitool lescan  # search BLE device

bluetoothctl
     power on
     scan on
     pair
     agent on
     connect
  • GPU?

  • Onboard Power LED

sudo i2cset -f -y 0 0x34 0x93 0x0 # OFF

sudo i2cset -f -y 0 0x34 0x93 0x1 # ON
Published: Sat 05 March 2016. By Dongming Jin in

Comments !