The other end of my limited wireless network involves a desktop PC with a D-Link Air Plus Xtreme G DWL-G520 wireless card and a Hawking Technology directional antenna with 7db of gain. The antenna is an optional accessory that is useful for extending the range of the wireless connection. The desktop machine also has a wired 100-T ethernet card. The remote machine is running the Ubuntu "Breezy Badger" (5.10) distribution and the GNOME desktop.
Ubuntu is fairly new to me, and I decided to see how far one could get with the GUI-based networking tools. I was able to simply plug in the D-Link card to the machine and boot, the card was auto-detected. In a similar experiment with a Fedora Core 4 system, the card was not detected.
The GNOME network configuration tool is fairly straightforward, just click on the desired wireless interface and tweak the properties. It is sufficient for connecting the machine to a single wireless network, but becomes painful when experimenting with connections to multiple networks. Switching to a different network involves several minutes of waiting, and the signal strength information is missing.
I want to be able to rotate my directional antenna in order to get the best signal on distant networks. The wireless-tools package contains the command line utility iwlist, which dumps out a bunch of information for each network that is in reception range. This can be useful for finding basic signal strengths, and seeing which channels are in use in your area. I configured my Linksys box to work on an unused channel.
Enter NetworkManager. The Ubuntu package description for NetworkManager says:
In other words, NetworkManager provides a higher level system on top
of the existing network utilities. It also provides a useful
desktop applet for displaying connection information and switching
between networks.
To connect to a wireless network, just left-click the mouse on the network manager applet, and pick a network from the available list. Right clicking the applet brings up a list of configuration options. My neighborhood has an ever-changing number of wireless networks, most of them are configured with keys, a few of them are wide open. Keyed networks require you to enter the appropriate pass phrase.
After the network has been selected, the NetworkManager applet
lights up one, then two virtual LEDs to signal the steps in the
connection process. A progress bar and a fun spinning
comet are also displayed in the applet while connecting.
Networks with weak signal strengths will not connect, and both virtual
LEDs will not light up. Eventually, the connection attempt will time
out and the applet will display a not-connected icon.
Unlike the GNOME network configuration tool, NetworkManager allows
you to quickly abort a connection that is not succeeding, and switch
to another one.
Once you successfully connect to a network, the applet icon will change
into a set of four signal strength bars, these change up and down
with the signal strength. Placing the mouse over the applet also
displays a numerical signal strength value, I leave my mouse in
this position and slowly rotate the antenna for best results.
NetworkManager has the ability to detect and auto-switch to a wired ethernet. This makes it especially useful for laptop users who frequently move between home, work and the internet cafe.
The signal strength display can be used for optimizing the antenna direction, but it is just slow enough to make this process painful. The update time is in the order of several seconds. This may be a limitation of the hardware. It would be nice if the channel number was displayed in the list of networks. Playing with the GNOME network configuration tool while NetworkManager was running caused my machine to hang, this isn't too surprising considering the various processes that are contending for the same resources, but it is nonetheless a "bad behavior".
NetworkManager scores highly as a functional tool for automating the process of switching between wired and wireless networks, your editor plans on keeping this application around.
Addendum: RedHat Magazine published a very informative article in January of 2005 entitled Introducing NetworkManager.
The GNOME NetworkManager Applet
Posted Jan 26, 2006 7:51 UTC (Thu) by jayavarman (guest, #19600) [Link]
NM rocks! :-)
More seriously though, it's odd you found about NM in an ubuntu box instead of a fedora one (from your articles I deduce you're mostly a fedora user?) since NM is mostly developed by Red Hat people and has been working on fedora for quite some time.
Anyway, NM is on a completly different league than the GNOME networking tools, since NM is a dbus daemon (and a pretty GUI applet) which is supposed to manage all your network connectivity. Actually the plan AFAIK is for NM to be _the_ networking configuration tool (and API) on GNU/Linux systems including PPP conections and VPNs. It is an important infrastructure block that is needed yesterday. Eventually (when it is robust enough) I guess it might even be used on servers (w00t? an unix server with point-and-clik networking configuration, the windows crowd will flock onto linux :-).
A new 0.6 version I guess is near release and it will have initial support for WPA encrypted wifi networks, yay!
Yeah, this post is mostly hype but this is a project that is really worth it. Kudos to all the NM contributors!
The GNOME NetworkManager Applet
Posted Jan 27, 2006 17:02 UTC (Fri) by cook (subscriber, #4) [Link]
I'm sure NetworkManager can work on Fedora, my initial attempt at
The GNOME NetworkManager Applet
Posted Jan 26, 2006 8:39 UTC (Thu) by hingo (guest, #14792) [Link]
Thanks for this article. I had heard something vague about NM earlier, but since I don't have a Linux laptop, didn't know where it really was going. This is badly needed, and in fact someting where we have been behind Windows XP for years.
The GNOME NetworkManager Applet
Posted Jan 26, 2006 9:13 UTC (Thu) by boudewijn (subscriber, #14185) [Link]
I use kwifimanager for the wireless stuff. It's not complete or even very
The GNOME NetworkManager Applet
Posted Jan 26, 2006 19:28 UTC (Thu) by vondo (guest, #256) [Link]
I can't seem to get kwifi (on Mandriva 2006) to remember my networks. I connect to two networks that don't broadcast the SSID. Both windows and Palm OS put those in the SSID list and try to connect to them when they can't find a network. I can't get KWifi to do the same thing.
The GNOME NetworkManager Applet
Posted Jan 26, 2006 13:35 UTC (Thu) by jayavarman (guest, #19600) [Link]
The NM daemon itself is completly desktop independent. As such user GUIs to control it can be built independently. It seems someone at SUSE is working on a KDE part:
http://mail.gnome.org/archives/networkmanager-list/2005-N...
The GNOME NetworkManager Applet
Posted Jan 26, 2006 13:43 UTC (Thu) by ecureuil (subscriber, #3507) [Link]
The KDE hacker Kevin Ottens plans to add a KDE frontend to the Gnome
The GNOME NetworkManager Applet
Posted Jan 26, 2006 10:27 UTC (Thu) by xanni (subscriber, #361) [Link]
"The signal strength display can be used for optimizing the antenna direction, but it is just slow enough to make this process painful. The update time is in the order of several seconds."
Check whether the Gnome Network Monitor applet has the same problem. On my machine (Thinkpad G41 with Atheros Communications, Inc. AR5212 802.11abg NIC) the Network Monitor applet displays signal strength bars on the Gnome panel and a rapidly updated signal strength meter (both graphical and numeric) when you click on the icon. Note that if you were previously monitoring another connection, typically eth0, you may need to change the interface being monitored after you have started your WiFi connection.
Bind9 dependency
Posted Jan 26, 2006 16:32 UTC (Thu) by tkeitt (guest, #34685) [Link]
The review failed to mention that, at least on Ubuntu, the full bind9 package is a dependancy. I can imagine why it might be needed, but I hesitate to install bind on my laptop.
Bind9 dependency
Posted Jan 26, 2006 17:08 UTC (Thu) by pkern (subscriber, #32883) [Link]
At least on Dapper Drake (the upcoming release) there is no such dependency, and it's a matter of `apt-get install network-manager' and adding it to the startup programs as suggested by the editor.
Bind9 dependency
Posted Jan 27, 2006 13:39 UTC (Fri) by cortana (subscriber, #24596) [Link]
Presumably bind9 is configured to forward all queries to the DNS servers specified by NetworkManager.
Since programs only read /etc/resolv.conf when the are started, this was presumably necessary to allow a system to connect to a different network without having to restart all programs. I wonder what changed in Dapper...
Bind9 dependency
Posted Jan 29, 2006 18:05 UTC (Sun) by tkeitt (guest, #34685) [Link]
That's good to hear. Was just traveling with NM installed and it works very well. I did notice it has some problems with suspend-resume cycles and turning the radio on and off. Otherwise a huge improvement.
The GNOME NetworkManager Applet
Posted Jan 26, 2006 17:43 UTC (Thu) by carcassonne (guest, #31569) [Link]
"I procured a Linksys WRT54G-v4 router, borrowed a Windows XP box to get the router going, ..."What did they do to the router ? I bought a WRT54GS last year and there was absolutely no need of using Windows to get it going. Just hook a network cable to it, look into the user manual for the default IP and password and there you are, isn't it ?
I bought a Linksys NSLU2 yesterday and although it comes with a Windows Wizard (or such) CDROM I expect the same approach to use it with Linux: all configuration is done through the network web interface. The Wizard is just candy.
The GNOME NetworkManager Applet
Posted Jan 29, 2006 5:25 UTC (Sun) by obobo (guest, #684) [Link]
At least some Linksys routers rely on IE-only JScript for their web configuration pages. Yes, its kinda sad that a router that is running Linux requires a Windows box to admin it.
The GNOME NetworkManager Applet
Posted Jan 29, 2006 11:55 UTC (Sun) by carcassonne (guest, #31569) [Link]
Moreover for large-enough devices that can host a simple http server. There's no need then to have a Windows/IE-only path to configuration.At least the Linksys WRT54GS I bought last year has a direct way to configure it through the web pages it serves and now I can say that it's the same for the Linksys network storage unit NSLU2 I bought last week.
Since both of these devices runs Linux, it is no surprise that both has Linux alternatives (and many alternate packages to run) one can use. For the NSLU2 there's unslung/OpenSlug (with some 6697 packages available ! - I still think they made a typo with the number and/or that there's a catch somewhere) and for the WRT54GS there's at least OpenWRT.
Both of these adds to the devices quite a few possibilities and uses. Nice little under-$100 projects for sure, that also can be useful for corporate environments.
NSLU2 packages
Posted Feb 3, 2006 11:23 UTC (Fri) by massimiliano (subscriber, #3048) [Link]
Certainly it depends on the enabled package feeds, but just now I typed "ipkg list | wc" on my beloved NSLU2 running OpenSlug, and got 5529 lines.
So the 6697 figure is not that wrong, it certainly depends on the feeds you use.
And btw, I strongly recommend the NSLU2 if you need a cheap and versatile server at home, which will not be noticed on your electricity bill even if you keep it on line 24/7 :-)
NSLU2 packages
Posted Feb 4, 2006 2:43 UTC (Sat) by carcassonne (guest, #31569) [Link]
To be fair, I think the list should boil down to:ipkg list | grep -v locale | grep -v unicore | wc -l
For instance, I've installed Perl quite a few times (Perl standard distribution) and there were none of these unicore single packages. In fact, CPAN turns out almost nothing on 'unicore'. Why are all those little packages present under Perl in the ipkg list for the NSLU2, I don't know. Maybe this has to do with building for this type of CPU architecture.
Still, there's a lot of packages available. Next, I'll try emacs ;-)
dLink Air Plus Xtreme G DWL-G520
Posted Jan 26, 2006 22:06 UTC (Thu) by vonbrand (guest, #4458) [Link]
Around here there are some DWL-g520+ cards. They are based on the Texas ACX-111 chip, and the fuctionality is very limited. They don't work on SUSE 10 (they do work on SUSE 9.x), and there is no support on Fedora.
dLink Air Plus Xtreme G DWL-G520
Posted Feb 3, 2006 20:57 UTC (Fri) by mcm (guest, #31917) [Link]
you can compile the driver yourself if you like:
Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds