LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-26-2009, 04:53 AM   #1
silverblimp
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
What is the process underneath debians automatic network setup?


When I plug a network cable into my pc, a little magic occurs and then a popup appears at the upper right corner saying that I'm connected to a network.

I want to know what that process of connecting me to a network contains and if i didn't have a fancy GUI to to do that for me, how would i set up my connection and find local network servers only through a terminal?

thanks.
 
Old 04-26-2009, 07:16 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 207Reputation: 207Reputation: 207
The icon/gui comes from nm-applet (that's the name of the process, too), a taskbar applet distributed in the network-manager-gnome package, which contains hooks for the network-manager package (network manager infrastructure.) Network Manager (not the applet) does most of the "automatic" work behind the scenes. Aside from providing functionality to nm-applet, network-manager gets used by a bunch of other GNOME apps -- for example Pidgin uses it to check for connectivity per a given polling period.

I do not recommend getting rid of network-manager entirely, as it's unnecessary to do so and will probably only cause heartache (though rare) down the line. network-manager-gnome is what you want to go after. You'll want to setup /etc/network/interfaces appropriately and probably install the ifupdown package. relevant commands then become ifup, ifdown, ifconfig, dhclient. Perhaps have a look also at /etc/resolv.conf.

I personally find the nm applet invaluable for wireless, but it can only do harm on a desktop imho -- on a workstation or server you'll want as a simple and static of a network setup as possible and convenient. (e.g. your computer boots and runs ifup scripts automatically via /etc/rc* scripts, you don't worry about it again until you have to reboot or your network goes down.)

Last edited by jhwilliams; 04-26-2009 at 07:20 AM.
 
Old 05-25-2009, 08:55 PM   #3
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
Hey, don't know if you helped the OP, but i got a good fix out of your answer, thanks
 
  


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
Installing and configuring Debians Elzix Linux - Newbie 3 07-02-2007 12:05 PM
Script for automatic network setup leosgb Linux - Networking 5 04-13-2006 11:52 AM
How do you start debians gui ? Nicarlo Linux - Newbie 22 08-26-2005 04:32 AM
Error: active panel underneath? xgm Debian 2 08-04-2005 11:40 AM
Will Fedora have an install path like Debians? tenn_eric Fedora 0 12-23-2003 06:57 PM


All times are GMT -5. The time now is 01:27 PM.

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