Thanks for your help. Unfortunately, I have not had access to the
computer I am setting up for the last two weeks.
Jim Cromie wrote:
> Jan Henrik Sylvester wrote:
>> Short: I got ndiswrapper to work, but system hangs at reboot with
>> WLAN-USB-stick. Without it, 'ndiswrapper -l' hangs.
> ndiswrapper -l runs several commands in subshells,
> if either one is hanging, it would look like ndiswrapper's fault.
> So can you run these both ?
> lspci -vn
lsusb hangs with no output if the WLAN-stick is plugged in or was
plugged in after the last reboot.
After a fresh reboot without the stick, nothing hangs. Thus, I removed
the driver with 'ndiswrapper -e'. After plugging the stick back on, I
reinstalled the driver with 'ndiswrapper -i' and ran 'modprobe
ndiswrapper'. The WPA2-encrypted connection was running without further
interaction (delivering web-pages).
Some more experimenting shows that if the stick is already plugged in on
'ndiswrapper -i' everything is fine, but if the driver is already
installed on plug-in of the stick, it fails. lsusb hangs in this case.
The output from lsusb (if stick is plugged in before driver install) is:
Bus 004 Device 002: ID 057c:5601 AVW GmbH
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
> also, run:
> modprobe -c | grep ndiswrapper
This line is shown twice:
install usb:v057Cp5601d*dc*dsc*dp*ic*isc*ip* /sbin/modprobe ndiswrapper
Personally, I did not add anything to /etc/mod* besides 'ndiswrapper' to
/etc/modules. I do not know what ndiswrapper added due to my '-m',
'-da', and '-di' call.
Since this system will run at even more unexperienced users', everything
must work without any interaction after booting.
If you do not know how to solve this problem properly, is it possible
(as a workaround) to automatically uninstall the driver before the usb
host driver is installed and reinstall it later during the boot sequence?
Thanks for your help!