- Connect the C.H.I.P. via USB to a Mac and execute
screen /dev/tty.usbmodem*
. It will bring up a serial console (via USB). - Log on (you may have to press Enter before that, so that the login prompt appears)
- When done, exit with Control-a, Control-d (where Control-a is the prefix).
The C.H.I.P. is connected to the Freifunk network via WiFi. Use nmcli
to check and, if necessary restart, the networking on the chip:
nmcli n connectivity
should reportfull
.- If it is
none
, restart the network withsudo sh -c "nmcli n off; nmcli n on"
Optionally, check the IP address assigned with ip address show wlan0
.
sudo TERM=linux nmtui
- Select "Activate a connection" adnd then "Freifunk".
- If that doesn't help, unplug the Freifunk router's power cable to make it reboot.
As user "chip", crontab -e
and add this entry:
5 * * * * curl --silent https://nosnch.in/xyz > /dev/null
where xyz
is the token unique to this snitch.