-
Notifications
You must be signed in to change notification settings - Fork 0
Networking
batchku edited this page Dec 23, 2016
·
22 revisions
- connect chip to computer with USB
- open terminal on computer, and run
ls /dev/tty*
- look for the item that has a name that's different than the others (!), usually
tty.usbmodem...
- in computer's terminal, type 'screen /dev/tty.usbmodem...', where the 'tty.usbmodem...' is whatever you saw in step 3.
NOTE: don't mess with /etc/network/interfaces
like it says here.
Instead use the NetworkManager from command-line:
list all connections:
sudo nmcli co
list all available networks:
nmcli device wifi list
connect to a wifi network; will reconnect to it on reboot:
nmcli device wifi connect '(your wifi network name/SSID)' password '(your wifi password)' ifname wlan0
:
in our case with network called "Chipchestra" with password "jengajenga", it would be:
nmcli device wifi connect 'Chipchestra' password 'jengajenga' ifname wlan0
First:
sudo apt-get samba samba-common-bin
Then:
sudo mkdir -m 1777 /samba-share
- Edit
/etc/samba/smb.conf
- Find "Share Definitions" near bottom
- Add:
[samba-share]
comment = Samba share
path = /samba-share
browseable = yes
read only = no
- run
testparm
to see the samba shares - restart samba with
service smbd restart
- create a samba user
smbpasswd -a root