?

Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous Next Next
Mark Atwood
fallenpegasus
fallenpegasus
Stayed up all night last night getting madwifi working, so I could do 802.11b/g and WPA. And then starting to use Gnome NetworkManager. It seems to work well enough, but I'm nervious about how "black box" it is. Even the manuals and webpages don't describe how it works, it's all just marketing fluff about how good it is and how great it's going to be.

I finally dropped holiday cards in the mail. I wish there was a way to just hand them a handful of envelopes and some money, and be done with it, but a hundred cards once a year are not worth getting a bulk mail permit for. So I had to firetip apply all those stamps, and then drop the stack in the mailing slot, destrying the fact that I had kept them all in ZIP+4 order.

Current Location: Chocolati Cafe, 8319 Greenwood Ave N, Seattle WA 98103

5 comments or Leave a comment
Comments
intrepid_reason From: intrepid_reason Date: December 20th, 2006 01:04 am (UTC) (Link)
Actually I have taken a stack of envelopes into the post office and they ran it through the postage machine...no special anything required.
zanfur From: zanfur Date: December 20th, 2006 01:19 am (UTC) (Link)
Most of NetworkManager's inner workings are actually just DBUS. The nm-applet is just a frontend to the DBUS service running as root, which is how it manages to do networking config as a normal user. There's plenty of documentation on DBUS, if you're so inclined.

To add my 39c, NetworkManager is really, really good, if you use a laptop. I've had to add my wireless card module to the suspend blacklist, so the WPA daemon gets stopped before suspend and restarted on resume, else my networking gets kinda strange. Other than that one caveat, it's worked great for me, and I've been using it for about a year now. This came after much frustration with many other laptop networking doohickeys.
fallenpegasus From: fallenpegasus Date: December 20th, 2006 03:10 am (UTC) (Link)
It seems neat, but I'm still annoyed that there doesnt seem to be an "under the hood" of it anywhere. It's like all the worst parts of a Windows box.

Where is it keeping the keys?

What if I want to do something special when I'm in certain networks? (like inside my own house's firewall, etc)

How can I add networks without actually physically going to it once to set it up?

I have a couple of networks that use fixed IPs instead of DHCP. How can I tell NetworkManager about those, and how can it detect them? (I've seen one "network laptop doohicky" that does this neat "send an ARP to broadcast of it's own MAC, then look at the MAC of the reply, that will probably be the router, use that as a heuristic to guess the network I'm on" as well as a touch of "sniff the network using a set of heuristics, look at the MACs seen, and guess the network I'm on".
zanfur From: zanfur Date: December 20th, 2006 08:10 am (UTC) (Link)
The frontend is what stores the keys, and it depends on what frontend you're eusing. If you're using the gnome frontend (nm-applet) it uses the gnome keyring, and if you use the KDE frontend (knetworkmanager)it uses the KDE keyring. That's actually the nice thing about NetworkManager: because it's using standards almost exclusively, it doesn't really need much documentation. It uses dhclient for dhcp, and vpnc for vpn connections (both of which use resolvconf). NetworkManager itself is pretty much just the glue that brings it all together.

On the static IP's ... NetwormManager can't handle this yet. I believe it's slated for either the 0.7 or 0.8 release (Ubuntu Edgy is using 0.6.3), and the Fedora version can already do it, but that's a custom hack of theirs. Your best bet (in my opinion, at this moment, yadda yadda) is to make some aliases (eth0:0 through eth0:255, or eth1:0 through eth1:255, or whatever your interface happens to be) with static configs and just ifup them as needed. There are "location" based tools, but they don't play nice with NetworkManager.
gipsieee From: gipsieee Date: December 20th, 2006 02:03 am (UTC) (Link)
wow.. the stamping doesn't bother me, it's the sort of tedium I do actually enjoy (especially at work as a break from more aggravating things), but knowing they were in order and now they're not... *cries*
5 comments or Leave a comment