[SOLVED] Unable to get wireless LAN working in Ubuntu 9.10
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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:
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?
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.
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.
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
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 wlan0
IWCONFIG:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:1 Mb/s Sensitivity=-200 dBm
RTS thr=2346 B Fragment thr=2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
IFCONFIG:
eth0 Link encap:Ethernet HWaddr 00:11:85:e5:da:ae
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1170 (1.1 KB) TX bytes:1170 (1.1 KB)
wlan0 Link encap:Ethernet HWaddr 00:0f:b5:f4:46:fc
inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18 Memory:f0510000-f0520000
ETC/NETWORK/INTERFACES
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
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
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search internode.on.net
RESOLV.CONF
search internode.on.net
nameserver 192.168.0.1
The GUI menu said there was no managed wireless available. I restarted the network (no errors) and tried again. Still no wireless available. So I've gone back a step.
wlan0 IEEE 802.11g ESSIDff/any
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:1 Mb/s Sensitivity=-200 dBm
RTS thr=2346 B Fragment thr=2346 B
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Everything looks good except for this. Bascially, it looks like the wireless card has not been configured. Essentially you need to run two iwconfig commands (as root):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.