Laptop Networking, NetworkManager, ifupdown ---> Merge them?

Karl Hegbloom hegbloom at pdx.edu
Fri Dec 17 05:48:35 CST 2004


A follow up, just FYI... (I've changed my network configuration.)

Now I'm running 'ifplugd' on the eth0, and no 'waproamd' anymore.
Instead, I've a script that brings the wifi up and down, and it launches
'wpasupplicant' then calls 'ifup' to bring up the wlan0 interface.  The
script, in it's initial form, is attached for reference.

This works with my LinkSYS WRT54G and WPA PSK.  I type "sudo wlanctl on"
or "sudo wlanctl off" to bring it up or down.  An advantage of this is
that when I turn it off, I know it's off for sure and won't come on
behind my back, and I've reviewed the ath_pci driver and know that it
powers the device off when the module is unloaded, saving battery power.

This is not the ideal solution, but it works fairly well for now.  All
auth configuration is done in the wpa_supplicant.conf file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wlanctl
Type: application/x-perl
Size: 691 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20041217/dfc9c886/wlanctl.bin
-------------- next part --------------
alias wlan_driver ath_pci
# alias wlan_driver ipw2200
# alias wlan_driver ndiswrapper
-------------- next part --------------
remove ath_pci /sbin/modprobe -r --ignore-remove ath_pci && for m in $(lsmod | gawk '/^(ath|wlan)/ {print $1;}'); do /sbin/modprobe -r $m; done
-------------- next part --------------
# options ipw2200 ifname=wlan0 associate=0
options ipw2200 ifname=wlan0



More information about the ubuntu-devel mailing list