Raspberry Wifi Static Ip Config

This image shows my raspberry pi with attached an usb wireless lan adapter.

As title says, here i store how i managed to get a fixed ip address on the wireless lan network interface from shell or command line.
It’s very easy and usefull in a number of situations. For example this makes part of another my projects about remoting audio of my laptop using air-whatever and the raspberry as server, but i will describe this soon, in my next posts.

Raspberry Wifi Static Ip Config


Put all together

If you carefully read my cited articles you will do the last step, described here, in order to get a static fixed ip address on the wireless network iterface of your raspberry from shell.

  • Open the file /etc/network/interfaces issuing
    sudo nano /etc/network/interfaces
  • Modify the wlan0 part, the line wich states iface wlan0 inet dhcp so you get:
    iface wlan0 inet static

Now you have just to reboot and then, once your raspberry comes back, just type ifconfig wlan0 And see if you card has actually the Ip Address you expected.

If you have problems or if you think i have, please, leave a comment.

(Visited 6,998 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.