Configuring a static IP for Raspbian/Debian Jessie

Looks like on Raspbian Jessie the way you configure a static IP has changed. You used to configure static IPs in /etc/network/interfaces, but on Jessie it looks like the file to edit is now /etc/dhcpcd.conf (per the comment at the top of the prior file).

Scroll to the end of the file and paste something like this, editing IPs to match your network:

interface eth0
static ip_address=192.168.1.xxx/24
static routers=192.168.1.xxx
static domain_name_servers=8.8.8.8, 8.8.4.4

Reboot, done.

Building autogen based source on Ubuntu and derivatives

 

Install build tools:

sudo apt-get install build-essential

Install autogen tools:

sudo apt-get install autogen

In project source:

./autogen.sh

If you get errors like this:

configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

… then also install libtool

sudo apt-get install libtool

Then build and install as normal:

./configure
make
sudo make install

 

 

How to reset your password on Raspbian

What not to do: reset your password before you change/setup your keyboard locale, use punctuation characters in your new password, and then change the locale. Yeah, that’s not going to work. Now I don’t know where some of the characters moved to 🙂

I’m going to leave this post right here for future reference.

Update 2/3/16: after I edit the cmdline.txt and booted to a shell, passwd gave me this error:

passwd: Authentication token manipulation error
passwd: password unchanged

Further down the post, this recommendation to remount / solved my issue:

mount -rw -o remount /

Then I did passwd and the change worked this time.