Tried Wicd. It wouldn't find the hidden network using any of the supplicant modes, unfortunately. I found on Wicd forum that when ndiswrapper is used, there are additional problems. I re-installed network manager, and I'm back on. I'll try to keep it simple by using network manager.
I'll keep searching for what I need to do to get a hidden network listed, and maybe there'll be a way to store the WEP key too.
I had to add the following to the loop in my script
and now I can connect almost every time on the first loop (but not always).killall dhclient wpa_supplicant dhclient3
BTW, I have never gotten wicd to connect, this is the only method I have gotten to work (as in posts #1 and #2)
I re-installed network manager, which uninstalled Wicd. Now I have the "connect to other networks" item, and can manually enter SSID and WEP key.
I am back to network manager, and wondering if there is a way to configure the hidden network and WEP key, so that I don't have to re-enter them each time I boot (or awake).
Thank you very much.
Just tried something different. I re-booted, then opened keyring. Open network manager and enter the SSID and WEP. I was thinking that the WEP key, properly stored in keyring would auto-connect, but it doesn't seem to matter.
I guess I'll have to search further for a way to configure this, or just wait for some improvements to ubuntu, or maybe a better wifi management app.
I'll have to accept that there is no way to enter the required information to a network config file.
I have a laptop and my wireless adaptor is an Intel pro 2200BGCode:auto lo iface lo inet loopback auto eth1 iface eth1 inet static address 192.168.1.2 gateway 192.168.1.1 dns-nameservers 192.168.1.1 netmask 255.255.255.0 wpa-driver wext wpa-ssid Toupe wpa-ap-scan 2 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk [MY HASHED PSK]