LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2014, 12:57 AM   #1
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
raspberry pi configure networking /etc/network/interfaces


SO I am configuring wifi for my rasp
berry pi.
I am filling out the /etc/network/interface form a tutorial and it occurs to me that

I do not know what lines 1 through 9 mean.

what does 'auto lo' do in line 1 ?
what does inet and iface really mean.

do you know a Linux tutorial that I could check out. this is supposed to be a learning device. It is time for me to learn.
what does 'iface wlan0 inet dhcp' do? blindly just copying this from tutorials is robbing me of knowing what I am doing.



Code:
1 auto lo
2
3 iface lo inet loopback
4 iface eth0 inet dhcp
5
6 allow-hotplug wlan0
7 auto wlan0
8
9 iface wlan0 inet dhcp

        wpa-ssid="yeah"
        wpa-psk="Xright"
 
Old 01-11-2014, 02:21 AM   #2
prabhuraj
LQ Newbie
 
Registered: Aug 2011
Posts: 26

Rep: Reputation: Disabled
Hi,
The man page gives you complete description about this. Just type "man 5 interfaces" on your shell.
 
Old 01-11-2014, 11:46 AM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
its all rather clear, but what OS are you using that will make a large difference.
 
Old 01-12-2014, 12:12 AM   #4
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
I am running this :
Code:
pi@raspberrypi ~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

actually the man page is telling me everything that I need to know about the interfaces page.
I do not know what the 5 is r in man 5 interfaces. just another deb Linux mystery
 
Old 01-13-2014, 06:39 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
The "5" is section 5 of the man pages.

It is usually used only when there are two entries for "interfaces" (there can be - section 8 is usually reserved for system procedures, 5 is for file formats, and there may even be one in section 4, which is for "special files".

The command "man man" can give a number of aids to interpretation of the man pages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost networking after renaming network interfaces rjickity Linux - Newbie 8 07-05-2009 10:55 AM
configure /etc/network/interfaces/ alsharifhoussam Linux - Networking 2 12-21-2006 08:31 AM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration