Static IP

  1. ssh into your raspberryshake (using linux or putty for Windows). See How to access your Raspberry Shake’s computer via ssh for details.

  2. Edit this file using “nano”, for example:

    $ sudo nano /etc/dhcpcd.conf
    
  3. Add these lines to the end of the file:

If using ethernet connection:

interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

If using onboard or USB wifi:

interface wlan0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

Set the ip_address, routers and domain_name_servers values according to your network.

  1. Save the file

  2. Restart:

    $ sudo restart
    

See also: Why does my Raspberry Shake change IP?