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.

here is my problem, I just installed Ubuntu 12.10 and everything went great, but when I try to connect to any wireless network it keeps connecting and after a while it says "Wireless Network Disconnected - Your are now offline"

Thank you so much.

This is some information about my card and other stuff, I really don't know much about the subject:

ifconfig:

eth0      Link encap:Ethernet  HWaddr 64:31:50:7d:a2:c8  
          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)

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:224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:18400 (18.4 KB)  TX bytes:18400 (18.4 KB)

wlan0     Link encap:Ethernet  HWaddr 8c:a9:82:06:2c:2a  
          inet6 addr: fe80::8ea9:82ff:fe06:2c2a/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:29068 (29.0 KB)

iwconfig:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"60200516"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: EC:55:F9:38:3B:A3   
          Bit Rate=1 Mb/s   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-27 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lspci:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

lsusb:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

rfkill_list:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: hp-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
share|improve this question
    
Please post the output of all output of sudo tail -f /var/log/syslog in a terminal while you attempt to connect to the network. Network Manager logs to syslog and will probably give you/us some more clues as to why you're not getting connected. I've seen two reasons in my case: DHCP timeout, AP does not let the client associate. Your wireless card should be supported quite well. –  gertvdijk Dec 28 '12 at 22:03
    
Possible duplicate of: askubuntu.com/questions/230412/… (open) –  david6 Dec 28 '12 at 22:06
    
Have you connected via Ethernet, and searched for drivers? –  david6 Dec 28 '12 at 22:07
    
Fix for 11.10 here: ubuntuforums.org/showthread.php?t=1941350 –  david6 Dec 28 '12 at 22:10
    
Hi @david6 I already read askubuntu.com/questions/230412/… but it didn't help me :( I also try ubuntuforums.org/showthread.php?t=1941350 but still doesn't help me –  Freddy Garcia Dec 29 '12 at 3:21
add comment

4 Answers 4

up vote 1 down vote accepted

I've found the solution, FINALLY! It was here (Post #5)

What I did was, in "Edit Connections..." delete all the existing connections and then add the wireless network manually. After reboot it keeps working :)

Thank you all for your replies! They helped a lot

share|improve this answer
add comment

There is a bug report report for this issue (Ubuntu 12.10):

NM fails to connect Wi-Fi; dhclient works -- Intel Centrino Wireless-N 1000 iwlwifi

This suggests that Ubuntu is failing to issue iwconfig for this device / driver.


Possible workaround: (from Post #40)

jerrylamos (jerrylamos) wrote on 2012-11-24:

Workaround since this bug is even worse with 3.7.0-3:

Startup Applications
Add
Title: Connect
command: ~/wl

where wl is

#!/bin/bash
sudo iwconfig wlan0 essid LAUREL   { <-- your SSID }
sudo dhclient wlan0
exit 0

Has worked O.K. for three boots so far.

Why can't Ubuntu issue the iwconfig??

share|improve this answer
    
This solution didn't work for me –  Freddy Garcia Dec 29 '12 at 4:12
add comment

It could be your network router kicking you off. Have you checked to see if there are any IP address conflicts, or if you have the correct network ID? Here is how to check.

If you have another computer connected to the network running windows (7) open the network and sharing window. in the window look at your active network. click the network connection and look for your SSID, this is the network ID. Under details in the same window you should see the IPv4 address. It usually is something like 192.168.1.100. When you go back to your Ubuntu computer, click the network icon in the upper right, and select connection information to display your IP address. The number should be similar, but the last numbers have to be different (e.g. windows IP 192.168.1.100, Linux IP 192.168.1.102) If they match you need to change one. To check the network ID click the network icon and select edit connections. Select your wireless network, click edit, and the SSID should be displayed. It must match the one on the windows computer. If the Ip's are different and the SSID's match, then you have a different issue that I am not familiar with.

share|improve this answer
    
Thank for replying, but how do I know if there is a IP address conflicts? or if I have the correct network ID? –  Freddy Garcia Dec 29 '12 at 3:24
    
see second answer, mine was to long:-) –  Arathorn867 Dec 29 '12 at 4:37
add comment

I found a different workaround with ndiswrapper, a tool that injects Windows XP's drivers in Ubuntu. You can download it from http://sourceforge.net/projects/ndiswrapper/files/latest/download?source=files Once you have downloaded the .tar.gz file, unpack it on the Desktop and follow all the instructions in INSTALL file.

There is a passage where it asks you to write "ndiswrapper -l" in the Terminal, and it says you should get "driver present, hardware present". If you get something like "device (2001:3308) present (alternate driver: rtl8192cu)", add the name of the alternate driver (in this case "rtl8192cu") to /etc/modprobe.d/blacklist.conf To do it, just type in Terminal

sudo gedit /etc/modprobe.d/blacklist.conf

and add "blacklist rtl8192cu" (rtl8192cu is the name of the driver I have, you should put the name of the driver YOU have) in a new line. Then just save and reboot. If you followed correctly all the instructions in INSTALL file, the wifi key will use the Windows driver instead of the Linux driver.

share|improve this answer
add comment

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.