LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > markyd
User Name
Password

Notices


Rate this Entry

Raspberry Pi - Network Configuration

Posted 07-02-2013 at 03:05 PM by markyd
Updated 12-08-2015 at 08:02 AM by markyd

Wednesday 30th October 2013

The auto config of network setting on the Raspberry is very good but if you want to manually over-ride these settings then there are some clues below, for a more detailed read try here --> https://wiki.debian.org/NetworkConfiguration

file to edit:
sudo nano /etc/network/interfaces
file contents:
auto lo

iface lo inet loopback

# iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.0.132
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 194.168.4.100 194.168.8.100

allow-hotplug wlan0
# iface wlan0 inet manual
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
# iface default inet dhcp
iface wlan0 inet static
address 192.168.0.132
netmask 255.255.255.0
gateway 192.168.0.1
dns-search example.com
dns-nameservers 194.168.4.100 194.168.8.100
wpa-ssid my-ssid
wpa-psk my-pass
Posted in Raspberry Pi
Views 1086 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration