Unable to connect to wifi network with network manager. Poss authorization issue
Hi,
I'm unable to connect to a particular home wireless network under Fedora 9, although I can connect to it using WinXP on the same machine. My Fedora installation is able to connect to my college's unsecured wireless network, so it's not a driver issue I think. It seems to be an authorisation issue, as I'll describe below, but there's one other thing that's bothering me. The SSID for the network I have problems with is for some reason not listed in Network Manager's drop-down list, nor is it in the output of iwlist wlan0 scan. But I'm pretty sure it's not a "hidden" network - I don't know exactly how those work, but I helped the owner of the wifi network in setting it up, and don't remember doing anything that would make it hidden. As far as I can remember, Windows found the network automatically without having to be told the SSID. What's the best way to confirm whether it's a hidden network or not? Anyway, I try to connect by selecting connect to other wireless network in Network Manager, and entering the SSID. As far as I can tell from the error messages below, the machine does contact the network and attempt to connect, but I'm not authorising myself properly. That may be a completely wrong diagnosis, but hopefully someone can see from the below info whether it's correct or not. I'm not sure which option to use for "Wireless Security": at the time we set up the network, it gave us a Hex WEP key of 26 characters, which is 104 bits. But none of the options in Network Manager's list match that. Here are the options it has, and the error message I get with each one:
Hopefully that's enough info that someone can help diagnose the problem. Some of the behaviour of Network Manager described above doesn't make sense to me, and I'm wondering if it's buggy. Just to make sure I did the Hex to ASCII conversion right, here's my python code: Code:
# keyhex is a string containing the WEP key |
Sounds to me like someone changed the WPA key!
|
Nope! Thanks for your suggestion, but I just double-checked, and the key I'm using works under Windows. Maybe if I can figure out a way to get all those non-printables into the textfield for the key I'll be sorted. Or if I can connect without Network Manager, which seems buggy, that might work too..
|
Quote:
You need to run iwlist scan as root for all the available networks to be listed, and you may need to run it more than once. |
Hmm, I followed the instructions here to try connecting with wpa_supplicant instead of Network Manager. I got no output initially, so added the -dd option for debugging output. That generated quite a lot of output which I won't c/p here, but it included the same list of SSIDs that Network Manager lists, i.e. the SSID I want was missing from the list.
So it seems like my machine isn't detecting the network for some reason. I don't think it's a hidden network - in WinXP, I unchecked the "connect even if network is not broadcasting" box, but it still connected, so presumably the network is broadcasting. And now I just checked the router's config program and "SSID Broadcast" is enabled. |
Quote:
Quote:
|
What kinda wireless router do you have?
|
Quote:
Quote:
As you can see I'm running kubuntu. Everything works (except perhaps, Network Manager, which I replaced with wicd, and don't really need it anyway as I have manually edited my distro's config files to set up my network - I'd like to help you with doing this yourself, but I am pretty sure Fedora does things very differently, and my advice would not work). Quote:
Clicky- clicky-click. Done. Or sudo apt-get install wicd Done Doesn't Fedora have a package manager? I am sure it must do, but I do not know what it is called: Please find out and use it. Would you like to try running a "live CD" of 8.10 or 8.04(?)ubuntu and see if your network is detected any better? knoppix live CDs are renowned for making almost everything work. |
Thanks for your replies. I'm away for a bit now and won't get another chance to have a go on the network for a week or so, but I'll bump the thread when I do.
Quote:
Yes, Fedora does have a package manager (rpm-based, named yum), but wicd is not in the standard repos unfortunately. Quote:
Quote:
|
Bump! Hope you guys are still around, or maybe a fresh pair of eyes will see something. I just tried connecting with Ubunutu and Knoppix live CDs, but didn't have any luck and they don't seem like the best things to try. Ubuntu was not detecting any wireless networks, so I tried installing the madwifi driver, but the instructions I have require a reboot, so obviously with a live CD that's no good.
Knoppix I've used before on other machines and found it very useful, but bizarrely it couldn't even use my wired connection, and certainly didn't seem to have any wireless connectivity. Details of exactly what I did with both distros are below, maybe there's something else I could try that I don't know about, but AFAICS I'm better off sticking with Fedora for now. So to sum up in one sentence, since there are a few longish posts here now: Fedora still can't detect my wireless network, not with Network Manager, wpa_supplicant, or iwlist scan, although it has no problem connecting to other wifi networks, and the same machine can connect to this network under WinXP. Quote:
So, details on the live CDs now. If there's something else I could try with one of them, let me know. Ubuntu Live CD: madwifi is not installed by default Code:
ubuntu@ubuntu:~$ dpkg --get-selections | grep -i wifi I had some help from these instructions, but since the installation requires 2 reboots, which I couldn't do with a live CD, it was a bit of a pointless exercise. Don't think I'm going to get madwifi working this way, unless there is a way to get the driver working without rebooting. I didn't see any hint that the computer had wireless capability: Code:
ubuntu@ubuntu:~$ ifconfig Code:
ubuntu@ubuntu:~$ sudo apt-get install wicd This has madwifi already installed: Code:
knoppix@Knoppix:~$ dpkg --get-selections | grep -i wifi Code:
knoppix@Knoppix:~$ ifconfig -a |
Quote:
The problem lies with your wireless router. I suspect that your ESSID is "strange" and / or your WPA passphrase is "strange". Please post them, preferably by using "copy & paste" from your wireless router's configuration pages. (We are unlikely to be within range, and you can always change them). Likely causes of errors are: spaces in ESSID or the passphrase, characters other than letters of the alphabet and numbers. A couple of other points:
Code:
knoppix@Knoppix:~$ ifconfig -a
|
Quote:
Code:
SSID SNV6520f7cd8e |
Thank you. The router's SSID & Key look alright.
Maybe you should take a look here: http://www.linuxhomenetworking.com/w...ess_Networking Read it all through once, so you have a general overview of what is needed, then follow the instructions for fedora from the command line rather than trying to use a GUI. That way, errors and mistakes are more easily found and corrected. Follow that guide, and let us know at what point it fails, and with what error message(s) |
Wouldn't you know it. Changed the channel from 13 to 1 and now I can connect! No idea why, and not sure I want to know. As noted previously, the same machine connects successfully under WinXP, so unlikely to be a hardware issue.
Might possibly be connected to this bug, but that's for ubuntu so may be entirely unrelated. Thanks for your help tred. It was a random guess that solved the issue in the end, but wouldn't have got to that stage without trying everything else first! |
Quote:
It might be a good idea to put your country in your Profile (At left, see mine?), as this often helps with this sort of weird problem. Pleased you got it working, and thanks for the solution. |
All times are GMT -5. The time now is 12:53 PM. |