I had no luck with WICD.

This workaround is a little messy, but it seems to work better than
nothing.

sudo nano -B /usr/lib/pm-utils/sleep.d/45iwlist

Then edit it so that the command "iwlist scan" is part of the process:

#!/bin/sh
# Kludge to force a rescan of available wireless networks on resume, so that
# stale ESSIDs aren't shown as current.
# To be removed when bug #336055 is resolved in the kernel.

. "${PM_FUNCTIONS}"

which iwlist || exit $NA

rescan_wireless()
{
        for iface in /sys/class/net/*; do
                [ -d "$iface/wireless" ] || continue
                iface="${iface##*/}"
                iwlist "$iface" scanning
        done
}

case "$1" in
        thaw|resume)
                rescan_wireless
                iwlist scan
                ;;
        *) exit $NA
                ;;
esac

Then Control-X, Y, Enter to save.

I'm on an HP 1120nr

-- 
network manager slow to reconnect after suspend/resume
https://bugs.launchpad.net/bugs/274405
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to