Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-26-2009, 05:53 AM   #1
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?

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

Rep: Reputation: 210Reputation: 210Reputation: 210
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 08:20 AM.
Old 05-25-2009, 09:55 PM   #3
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


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

All times are GMT -5. The time now is 11:40 AM.

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