RPi access and Network setup¶
Since SamplerBox runs on Raspberry Pi, you can gain access to the internet via the on-board Ethernet or WiFi (Raspberry Pi 3).
Accessing Raspberry Pi¶
Via HDMI monitor and keyboard¶
You can gain access to the Raspberry Pi’s commandline by connecting to a monitor using a HDMI cable and USB keyboard.
Login is: root/root
Via SSH¶
This section assumes you have already successfully set up your network.
You can gain access to the Raspberry Pi’s commandline using an SSH client. Have a look at this comparison of SSH clients for some options.
Login is: root/root
Via SFTP¶
This section assumes you have already successfully set up your network.
Using your favourite FTP client, eg FileZilla you can access your SD card storage directly from your PC. You will need to know your
Pi’s IP address. You can find this using the ifconfig
command on the commandline, or your router’s admin interface may be able to tell you.
Host | <YOUR PI’S IP ADDRESS> |
Protocol | SFTP |
Logon Type | Normal |
User | root |
Password | root |
Warning
File-systems are mounted as read-only. To modify files you will need to remount as read-write by issuing one of these commands (depending on what you want to modify):
mount -o remount,rw /
, mount -o remount,rw /`boot`, ``mount -o remount,rw /samples
Network setup¶
Ethernet configuration¶
WiFi configuration¶
If you are using a Raspberry Pi 3 you can configure its on-board WiFi. For other RPi versions a USB WiFi dongle can be used, however they may require extra configuration.
- Access your Pi via a HDMI monitor and keyboard or SSH and log in:
Username: root
Password: root
- Remount the root partition as read-write:
mount -o remount,rw /
- Open the wireless networks configuration file:
nano /etc/wpa_supplicant/wpa_supplicant.conf
- Uncomment the
network={...}
section and add your network SSID and passwork (psk). - Save and exit:
CTRL-X
andY
- Reboot:
reboot
- Check to see if wlan0 has acquired an IP address:
ifconfig wlan0
(there should be a line starting with ‘inet addr’) - Done!
Hint
If your router supports static addresses, assign one to your Raspberry Pi so that it acquires the same IP address every time you power on!