Unable to get wireless LAN working in Ubuntu 9.10
I installed Ubuntu 9.10 beta over 9.04 yesterday and that meant getting the wireless network to fire up again. The Ubuntu machine is on a LAN and has a fixed address (192.169.0.7).
I installed the driver without difficulty, but the only way I could get a LAN and Internet connection with a fixed IP was to remove DHCP and change etc/network/interfaces as follows: auto wlan0 iface wlan0 inet static address 192.168.0.7 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 The router is 192.168.0.1. I then changed (actually added, as it must have disappeared when I removed DHCP) resolv.conf with the following: search NETGEAR address 192.168.0.1 where NETGEAR is the SSID of the router (though I'm not sure if this is the domain. The machine name is Ubuntu but it's not a name server). For some reason, it's not connecting. Checking Network Tools, the static IP is recognised and it has the correct MAC. Ditto, when I look at ipconfig for wlan0. Can anyone point out what I've missed out or got wrong? |
I suspect that you haven't set a gateway. Check the output of route -n, and if your router isn't set as the gateway try running this:
route add default gw 192.168.0.1 and hopefully that will get you going. |
route -n gave me this:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface Code:
0.0.0.0 192.168.0.1 0.0.0.0 U 0 0 0 wlan0 |
Quote:
Quote:
|
Thanks, I thought that might be wrong. I've changed it and restarted the network. I got 'RTNETLINK answers: No such process' and another message, but route -n showed the correct info.
I'm also getting the Wireless Network Authentication Required dialog. Entering the WEP key causes it to try to connect and then the dialog box reappears. |
BTW, I've also added the ESSID, channel, mode, etc info into the etc/network/interfaces file.
|
Hi,
First, which wireless card do you have & did you install the driver correctly for the new Ubuntu version? Second, try connecting without WEP (which isn't great security to begin with, should investigate WPA2 later) to see if that's the problem. Also post the output of Code:
iwconfig Also have a look at this link: http://www.linuxquestions.org/questi...errors-637610/ Also show output now of Quote:
|
I came to the conclusion that something was screwed with my installation of 9.10 beta, so I reinstalled it from scratch. I installed the driver using ndiswrapper (something I've done umpteen times in different versions of Ubuntu) and did a ndiswrapper -m to make sure the driver would load with a reboot. I ran iwconfig and wlan0 was definitely there.
I rebooted. Guess what? No wlan0. I re-ran ndiswrapper -m and it said the alias was already configured. I wish I could make sense of this. |
After reboot what ndiswrapper -l say?
What about ifconfig -a ? wlan0 still missing? |
Initially, nothing. I restarted the network and it showed eth0 with most of the static details I'd entered for wlan0 before I re-installed from scratch. So much for a clean install... resolv.conf was also the same.
I changed eth0 to wlan0 in the interfaces file, restarted the network, and the wireless option came up at the top of the GUI screen, showing a number of local access points, including NETGEAR, which I clicked. It cogitated for a while, prompted me for the WEP key, cogitated again, prompted me for the WEP key... In other words, I was no better off. I can't get the system to acknowledge my Corsair USB stick, otherwise I'd dump all the data and show it here. One thought I have is to try the wired option and see if that's successful. |
Found a portable drive and captured the output. From bootup:
Code:
ROUTE -N |
Quote:
iwconfig essid wlan0 YourESSID iwconfig key wlan0 YourWEPKeyInHex or iwconfig key wlan0 s:YourWEPKeyInText Try that and see if you get going. |
That did the trick. Many thanks for your help (you, too, rkski).
BTW, the iwconfig command requires wlan0 to be the first argument. |
Sorry, my problem continued, please help!!
Please can anybody give me a hand?
I just installed Ubuntu 9.10 and I'm now not able to use internet. Code:
jiapei@jiapei-laptop:~$ iwconfig Best Regards JIA |
Quote:
|
All times are GMT -5. The time now is 01:38 PM. |