Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After a fresh install of Ubuntu 12.04 my WLAN would not connect. I guess I messed around too much trying to get it to work, in any case now wlan0 is not listed anymore when doing iwlist scan.

ifconfig wlan0 up

returns an error

device not found

lspci shows that the computer has a Realtek RTL-8139/8139C/8139C+ Ethernet controller.

share|improve this question
2  
do you see the device if you do iwconfig. Under some circiumstances devices change names –  tomodachi Jan 30 '13 at 19:32
    
Welcome to Ask Ubuntu! We'll need more hardware information to be able to answer your question. You're only listing your wired network card there at the moment. Please include the output of lspci -nnk | grep -iEA3 "(wireless|network)" and lsusb. –  gertvdijk Jan 30 '13 at 23:42

3 Answers 3

Maybe the wireless killswitch is still locked.

Then you could try to activate wireless with the help of "rfkill - tool for enabling and disabling wireless devices":

sudo /usr/sbin/rfkill unblock wifi

after that you should check if your device appears via ifconfig -a.

Also check the status of the killswitch using

rfkill list
share|improve this answer
    
Checked that but both soft blocked and hard blocked attributes show no –  user127361 Jan 31 '13 at 7:52

Is this on a laptop? If so, many laptops have hardware switches that turn of all wireless connectivity. If you can't find it then turn to the manual of your hardware.

On my laptop it is easy to accidentally switch it off.

share|improve this answer
    
Thx, but no, it's a desktop. –  user127361 Jan 31 '13 at 7:42

Either there was another network card in the output of lspci that you missed, or the wireless card wasn't detected (if it's there, try sudo modprobe <module name>, with the module name from lsmod to get it started (and without the brackets)).

From the model of the ethernet card I take it you've got a laptop, there should be an "RF" sticker on the bottom with a model number on it. Ensure the BIOS doesn't skip tests and disable the splash screen for it, then look for the wireless card when it's booting (hit Pause if it goes too fast to read).

If it doesn't show there, see if it's deactivated in the BIOS; if not, there's probably a hardware problem. If it shows, try booting with another kernel version or OS (a live cd or a bootable memory stick is nice for this) and see if you can detect it again.

share|improve this answer
    
Went into the BIOS and then continued the boot and for some reason now wlan0 is there again. It may indeed be a HW problem. –  user127361 Jan 31 '13 at 7:42
    
lsusb lists a RT2570 Ralink Technology Wireless Adapter –  user127361 Jan 31 '13 at 7:44
    
Went into the BIOS and then continued the boot and for some reason now wlan0 is there again. It may indeed be a HW problem. I then went on and configured the WLAN connection to my Fritzbox, when using DHCP it would get stuck trying to obtain an IP Adress, so I configured a static IP instead. It still does not connect to the Internet. Tried a ping to some other device in the local network and I see a packet loss rate of some 60% and ping times sometimes above 1s. Is this a configuration or a HW problem? My desktop is a 5 year old Medion, for HW details see below. –  user127361 Jan 31 '13 at 7:51
    
iwconfig shows wlan0 with bit rate=36 Mb/s and link quality=51/70 signal level=-59dBm –  user127361 Jan 31 '13 at 7:56
    
@user127361 Might be a failing card or it could be a driver/configuration issue; hard to say, really. I'd suggest getting trying a different driver, but first you could try deactivating power saving with iwconfig wlan0 power off (courtesy of Ivo van Doorn of Haarlem, but I don't hold high hopes for it). –  HulkingUnicorn Jan 31 '13 at 15:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.