Sending signals but not recieving - almost fixed!
Alright, so I have the craptastic WUSB11v4 card from Linksys. I'm going to make some notes and ask (some) questions at the end of the post, so just skip to the last paragraph if you just want the question.
I'm using Xubuntu (used to be Ubuntu and before that Debian, but I still had the exact same problems all around anyway) right now, and here's my procedure in using the WUSB11v4 card.
First, I grab the latest version of ndiswrapper from the ndiswrapper website - no way in hell will I use the older version that Ubuntu keeps in the repositories. Then, I install (from the CD) build-essential, which makes it so I can run my make commands succesfully and such.
After that installs, I point the terminal to my ndiswrapper file and run "sudo make distclean" then "sudo make" then "sudo make install". Works like a charm.
Then I point the terminal toward my WUSB11v4 driver directory. And I run 'ndiswrapper -i WUSB11v4.inf'. Great, ndiswrapper now reads and is using the driver sucessfully! Which can also be seen with ndiswrapper -l. Hardware present and everything.
Now I run "sudo modprobe ndiswrapper" and then "ndiswrapper -m". I also add ndiswrapper as a start up module in '/etc/modules'. Maybe I'll reboot, but it never seems to be important.
I install wifi-radar at this point, with a .deb file I grabbed from the official Ubuntu repository (so I'm not online yet). Doesn't have any dependancies, THANK GOD.
Anyway, this is the point of Hell itself. The card can send out signal and read all the other networks around it, but it can't seem to establish a connection with ANY of them. I blame this on Network Manager, so I delete it and stop the start up program that uses Network Manager in the system tray.
At this point I check out /etc/network/interfaces. I comment out any eth0 connections and, since I used ndiswrapper -m before, I can see 'auto wlan0' stuff.
I'll try something like wifi-radar or Network (under Applications -> System in Xubuntu), which of course cannot establish a connection, but I check /etc/network/interfaces and it's always something really simple, and it never seems to write down that the network is in Managed mode, and always put's the key before the essid. So I have to switch them around and add Managed mode manually.
Then I run 'sudo /etc/init.d/networking stop' and 'sudo /etc/init.d/networking start'. Sometimes it will just find the network in a snap with DHCP, like it should - and others it just can't seem to. It'll say the hardware is asleep (we all know machines can't sleep, damnit! They are either alive or dead!)...
I finally managed to get /etc/network/interfaces right! Yes! But here's the thing - after I shut down my computer, the settings go back to crap and I have to figure it out again!
Here they are, for reference:
Please note that, yes, I'm using WEP 64bit, and that seems to be the way to set it out working. When I reboot and can't access my network, usually the essid is below the key (which just DOESN'T MAKE SENSE), instead of 'wireless-key1 ****-****-**' it does this 'wireless-key **********' and I end up forgetting and... argh. Nightmare.
iface lo inet loopback
iface wlan0 inet dhcp
I've also installed 'linux-wlan-ng' before, which I think is for my chipset, but when I run 'sudo /etc/init.d/networking start' with it, it just seems to cause problems. No idea where to go from here.
So here's the question - I want to force my /etc/network/interfaces file to stay as I have it written above... What the hell do I do?