Take Back the Darknet [Part 3]

As we are using Raspbian Jessie, both sudo and Nano are installed by default. Nano is a simple text editor, think notepad for the command line. Easier to navigate than Vim. Sudo allows us be the superuser which pretty much lets us do whatever we want. Very handy to have!

Under Raspbian Jessie (possibly Debian as well) setting a static IP has been moved from /etc/network/interfaces to /etc/dhcpcd.conf. Let’s get editing.

Add the below code to the end, adjusting it to suit your preferred network address. I recommend a static IP address that is easy to remember, this will be the new address you login to SSH with in the future. Take your existing IP address, xxx.xxx.xxx.xxx and change the last three digits to either .200 or .250 to keep it simple. You will probably end up with something like or As long as the first three numbers (xxx.xxx.xxx.xxx) are the same you shouldn’t encounter any issues.

In addition to that we’ll also need to add your router address. Not sure what your router IP address is? This is a solid guide for finding your router IP. If your IP address is 192.168.0.xxx then your router is likely at or, that’s why we choose a static IP address that is in the 200s.

Save and exit, Ctrl-O (Writeout / Save) and Ctrl-X (Exit) and reboot.

You’ll be logged out of your terminal / PuTTY session and ready for the next step.

Advance onward to part 4 or head back to the table of contents on page 1.

Leave a Reply