[Bug 459716] Re: encrypted modes don't work on ndiswrapper wireless adapters

Wizarth wizarth at gmail.com
Wed Dec 23 12:32:15 UTC 2009


After further testing, renice +19 (which lowers the priority) does work, if not immediately. If a connection is in progress, it may take a few retries. However, if applied before attempting the connection at all (such as switching to a tty before supplying NetworkManager with the password) then it will be successful.
However, it seems to make the connection slow to handshake, as the DHCP  packets seem to be lost for up to a minute or so before getting through and getting a response. So this shouldn't be main lined.

This strikes me as definitely being some sort of race condition, which
is mitigated by the renice, however in future releases when what is
causing the race condition changes again, this may not continue to work.

To make this occur automatically, I've changed line 262 of /etc/wpa_supplicant/functions.sh from:
start-stop-daemon --start --oknodo $DAEMON_VERBOSITY \
to:
start-stop-daemon --start --nicelevel 19 --oknodo $DAEMON_VERBOSITY \

Please test and let me know if this works for anyone else.

-- 
encrypted modes don't work on ndiswrapper wireless adapters
https://bugs.launchpad.net/bugs/459716
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to ndiswrapper in ubuntu.




More information about the kernel-bugs mailing list