Re: FC5, Madwifi, NM -- network recovery after suspend-to-ram?
- From: "Robo Blaster" <ijustmadethisup mail com>
- To: tim niemueller de, NetworkManager-list gnome org
- Subject: Re: FC5, Madwifi, NM -- network recovery after suspend-to-ram?
- Date: Wed, 12 Jul 2006 02:30:01 -0500
I assumed the modules had to be reloaded at first, since bringing the interfaces up manually didn't get the device detected by NM. However, I then discovered that right-clicking the applet and unchecking "Enable Networking" ("Enable Wireless" does not appear at this point) and then rechecking it is all that's needed to start scanning for networks.
Does this indicates a simpler solution is possible?
-Robbo
[using madwifi-0.9.1 and latest NM on Ubuntu 6.06]
P.S. Killing and restarting NM also works, as you might expect.
> ----- Original Message -----
> From: "Tim Niemueller" <tim niemueller de>
> To: NetworkManager-list gnome org
> Subject: Re: FC5, Madwifi, NM -- network recovery after suspend-to-ram?
> Date: Wed, 12 Jul 2006 01:10:54 +0200
>
>
> Derek Atkins schrieb:
> > Hey,
> >
> > My only issue right now is that the wireless network doesn't seem to
> > "come back" automatically after a suspend-to-ram. Maybe I'm not doing
>
> Add a file /etc/pm/hooks/80madwifi and will it with:
>
> #!/bin/bash
>
> . /etc/pm/functions
>
> MADWIFI_MODULES="wlan_wep wlan_ccmp wlan_tkip ath_pci ath_rate_sample
> ath_hal wlan_scan_sta wlan"
>
> unload_modules()
> {
> [ -z "$MADWIFI_MODULES" ] && return 0
> for x in $MADWIFI_MODULES ; do
> /sbin/rmmod $x >/dev/null 2>&1 0<&1
> done
> return 0
> }
>
> load_modules()
> {
> [ -z "$MADWIFI_MODULES" ] && return 0
> for x in $MADWIFI_MODULES ; do
> /sbin/modprobe $x >/dev/null 2>&1 0<&1
> done
> return 0
> }
>
> case "$1" in
> suspend)
> ;;
> resume)
> unload_modules
> load_modules
> ;;
> *)
> ;;
> esac
>
> exit $?
>
>
> This does the trick for me. The MADWIFI_MODULES have to be in one line.
> This could be extended to check if there are actually any madwifi
> drivers loaded before going rampart so that we can bundle this in the NM
> package for instance as a "unfortnately needed up to now"-script...
>
> Tim
>
> --
> Tim Niemueller <tim niemueller de> www.niemueller.de
> =================================================================
> Imagination is more important than knowledge. (Albert Einstein)
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]