I have a similar issue upon resume with madwifi-hal-0.10.5.6 complied with Ubuntu Intrepid. (The ath5k just isn't up to snuff yet).
With ath5k, though the connection was intermittent and slow, it would resume a connection (that frequently didn't allow much/any traffic). Using NM 0.7 It will try to resume with madwifi, but will go back to a gray globe after a half minute or so.
Running madwifi, if I resume and run
$ ifconfig
I get
ath0
eth0
lo
but no wifi0
issuing
$ sudo ifconfig wifi0 up
then
$ ifconfig
ath0
eth0
lo
wifi0
Then I can go back to NM and connect to my access point.
Resuming from suspend with madwifi doesn't seem to create the virtual wifi0.
A temporary fix [for me] would be for a script to run with resume that would issue "ifconfig wifi0 up" but /etc/acpi/resume.d/ seems deprecated since Hardy, and no scripts I put there run. {ie: 63-wifi-res.sh} Yes, they have been made to be executable and will run for me if I issue from a terminal "sudo /etc/acpi/resume.d/63-wifi-res.sh"
It had under Ubuntu Hardy, but I was using WICD. The latest WICD seems to be broken and made itself difficult to uninstall and so so I went with NM 0.7 which is available in Intrepid as part of the Ubuntu packaging. Under WICD 1.4.2, I had the same issue with madwifi in Intrepid so I don't think it is NM.
I have a similar issue upon resume with madwifi- hal-0.10. 5.6 complied with Ubuntu Intrepid. (The ath5k just isn't up to snuff yet).
With ath5k, though the connection was intermittent and slow, it would resume a connection (that frequently didn't allow much/any traffic). Using NM 0.7 It will try to resume with madwifi, but will go back to a gray globe after a half minute or so.
Running madwifi, if I resume and run
$ ifconfig
I get
ath0
eth0
lo
but no wifi0
issuing
$ sudo ifconfig wifi0 up
then
$ ifconfig
ath0
eth0
lo
wifi0
Then I can go back to NM and connect to my access point.
Resuming from suspend with madwifi doesn't seem to create the virtual wifi0.
A temporary fix [for me] would be for a script to run with resume that would issue "ifconfig wifi0 up" but /etc/acpi/resume.d/ seems deprecated since Hardy, and no scripts I put there run. {ie: 63-wifi-res.sh} Yes, they have been made to be executable and will run for me if I issue from a terminal "sudo /etc/acpi/ resume. d/63-wifi- res.sh"
It had under Ubuntu Hardy, but I was using WICD. The latest WICD seems to be broken and made itself difficult to uninstall and so so I went with NM 0.7 which is available in Intrepid as part of the Ubuntu packaging. Under WICD 1.4.2, I had the same issue with madwifi in Intrepid so I don't think it is NM.