It is possible that turning off the radio in XP causes it to remain disabled in Ubuntu. ndiswrapper should be able to turn the radio on, but in some cases Linux drivers have trouble doing that, and since we're dealing with ndiswrapper (which depends on closed-source Windows drivers), it's difficult to troubleshoot the problem. Maybe using a different version of the Windows driver would help, but maybe not. Your best bet may be to leave the radio enabled permanently. It will waste a bit of battery I suppose, but not that much really--and anyway if you just remove the ndiswrapper module in Ubuntu ('sudo rmmod ndiswrapper') when you don't need wireless, your card should not use any energy at all.
The eth1:avahi interface gets created usually when you can't get a valid IP address for some reason and instead get assigned an internal one. Does the IP address for eth1:avahi look like 169.254.x.x 'lo' is an internal virtual interface (used to connect to 'localhost'); it's not relevant to this situation.
I'm not sure why you're seeing different networks in Ubuntu than in Windows, but it could just be that differences in the signal strength are causing you to see different ones. Or the card could be operating on a different frequency (e.g. 11b vs. 11g mode).
Let us know if you're actually able to connect to a network from Ubuntu once you have one with better signal strength. After all, that's the essential objective.
I am having the same problem like John16*'s the only thing is I'm using a wireless network. Every reboot doesn't guarantee a connection. I have tried sudo dhclient wlan0 but to no avail receiving only a "sleeping" error. I recently found out (after many trials and tears) that the way to be assigned a new IP address was to manually remove net5211.inf in the windows driver gui and install it again.
Is there a script for this to happen at each time I boot? I'm not familiar with script coding and couldn't find one in the internet.
Yes, you can write a script to do this. First, open up a blank file by typing:
Add to the files these lines:
sudo gedit /etc/init.d/wifi-fix.sh
Be sure to replace '/path/to/net5211.inf' with the correct location of the net5211.inf file on your system (and also make sure that the .sys file is in that same folder). For example, if net5211.inf is on your desktop, you should write 'ndiswrapper -i /home/<username>/Desktop/net5211.inf'
ndiswrapper -r net5211
ndiswrapper -i /path/to/net5211.inf
ifconfig wlan0 up
Once you've filled in the script, save and close the file, then run these commands so that it will be run at boot:
That should cause the Windows driver to be reinstalled automatically each time you boot, which will hopefully solve the problem. If it doesn't, let me know.
chmod +x wifi-fix.sh