How To Give the Olimex A13-OLinuXino-MICRO a Static IP Address

If you’ve been following along, you should have a basic Debian Linux installation on your Olimex A13-OLinuXino-MICRO board and able to connect to WiFi. Make sure that the SSID and WPA password settings are correct in the /etc/wpa_supplicant/wpa_supplicant.conf file. See my guide on setting up WiFi with the A13-OLinuXino-MICRO and scroll down to the section on configuring wpa_supplicant.

Assuming you’re able to login to the OLinuXino and connect to a WiFi access point, we can change the default of DHCP to a static IP address.

Login as root on the Olimex (default is root/password) and bring the wireless interface down.

Make some changes to the interfaces file.

You will see the following:

Change the last line with the static IP information:

Note that the address, network, and gateway need to reflect your specific network. This information can be found by running the commands

Restart the networking daemon and bring the wlan0 interface up.

Check to see if you were able to attach to the network with a static IP. Run the ‘ifconfig’ command and you should see an output like the following:

Where wlan0 is your WiFi interface and has the static IP address of 10.0.0.20. Try rebooting the Olimex board. The static IP address should stick.

As an added bonus, SSH already comes pre-configured with the Sunxi/Debian Linux install. From another computer running Linux, all you have to do is type:

If you’re on Windows, you can SSH with PuTTY.

You can now setup the OLinuXino board somewhere out of site and login from anywhere on the network. Now, I think it’s time for some hot chocolate to celebrate this minor victory. It’s getting cold here.

Leave a Reply