LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   ubuntu - disappearing wireless local network - problem in karmic? (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-disappearing-wireless-local-network-problem-in-karmic-852913/)

jludeman 12-28-2010 06:31 PM

ubuntu - disappearing wireless local network - problem in karmic?
 
When I was running Ubuntu hardy my local network would stay up for as long as I kept the desktop machine running. Admittedly that was a different computer although it had the same wireless card.

Now under Karmic at some undetermined time the network disappears. Unless I reboot the problem persists. After the reboot the network works fine until it does not.

Some of the things I tried are listed below. Following those results are the same results after reboot.

output from sudo iwconfig:

Code:

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0    IEEE 802.11bg  ESSID:"00160191F73A" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated 
          Tx-Power=16 dBm 
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:on
          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

ppp0      no wireless extensions.

The essid is my wireless hub.

output from sudo iwlist scan

Code:

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0    No scan results

ppp0      Interface doesn't support scanning.

output from sudo /etc/init.d/networking restart

Code:

* Reconfiguring network interfaces...                                         
There is already a pid file /var/run/dhclient.wlan0.pid with pid 1525
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

The same results happen when I issue sudo dhclient -r. Same results also from sudo ifdown wlan0.

Here is the content of dhclient.leases.
Code:

lease {
  interface "wlan0";
  fixed-address 192.168.11.3;
  option subnet-mask 255.255.255.0;
  option routers 192.168.11.1;
  option dhcp-lease-time 172800;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.11.1,151.202.0.84,156.154.71.1,192.168.11.1;
  option dhcp-server-identifier 192.168.11.1;
  renew 2 2010/12/28 23:59:00;
  rebind 2 2010/12/28 23:59:00;
  expire 2 2010/12/28 23:59:00;
}

*************the same results after reboot

output from sudo iwconfig:

Code:

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0    IEEE 802.11bg  ESSID:"00160191F73A" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:16:01:91:F7:3B 
          Bit Rate=54 Mb/s  Tx-Power=16 dBm 
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=70/70  Signal level=-30 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

The essid is my wireless hub.

output from sudo iwlist scan

Code:

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0    Scan completed :
          Cell 01 - Address: 00:16:01:91:F7:3B
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-28 dBm 
                    Encryption key:off
                    ESSID:"00160191F73A"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000123f6c7f1f4
                    Extra: Last beacon: 744ms ago
                    IE: Unknown: 000C303031363031393146373341
                    IE: Unknown: 010482848B96
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32080C1218243048606C
                    IE: Unknown: DD06001018020013

output from sudo /etc/init.d/networking restart

Code:

* Reconfiguring network interfaces...                                          There is already a pid file /var/run/dhclient.wlan0.pid with pid 1517
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:25:9c:72:de:bd
Sending on  LPF/wlan0/00:25:9c:72:de:bd
Sending on  Socket/fallback
DHCPRELEASE on wlan0 to 192.168.11.1 port 67
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:25:9c:72:de:bd
Sending on  LPF/wlan0/00:25:9c:72:de:bd
Sending on  Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPOFFER of 192.168.11.3 from 192.168.11.1
DHCPREQUEST of 192.168.11.3 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.11.3 from 192.168.11.1
bound to 192.168.11.3 -- renewal in 66355 seconds.

The same results happen when I issue sudo dhclient -r. Same results also from sudo ifdown wlan0.


Here is the content of dhclient.leases.
Code:

lease {
  interface "wlan0";
  fixed-address 192.168.11.3;
  option subnet-mask 255.255.255.0;
  option routers 192.168.11.1;
  option dhcp-lease-time 172800;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.11.1,151.202.0.84,156.154.71.1,192.168.11.1;
  option dhcp-server-identifier 192.168.11.1;
  renew 3 2010/12/29 23:25:15;
  rebind 4 2010/12/30 17:59:05;
  expire 4 2010/12/30 23:59:05;
}

The lease file shows times that don't match what I actually expect the network to last. Typically the network will disappear in a much shorter time.

I currently have Antix on another drive for testing. I might boot that and let it run. Maybe that will let me know if this is an Ubuntu problem.

Thanks for your help.

blingham 12-28-2010 11:05 PM

My Mother-in-Law had a problem with her Wireless dropping often. Same thing would happen. Everything would be fine, and then all of a sudden there was no network connectivity, and the SSID (which was being broadcast) would dissapear from even my iPod Touch.

We moved the access point/router about 5 feet to the left, and away from what may have been an area with too much interference, and the problem went away completely. Not saying that's what you have to do, but if you have more than one wireless client, I'd test to see if both drop off at the same time, and maybe the problem is something wreaking havoc with your wireless router.

Jay

jludeman 01-07-2011 04:04 PM

problem update
 
In my initial post I mentioned trying Antix to see if the same problem occurs. I have been testing in Antix for a couple of days and no problem yet. I'll let it run for about a week longer just to be sure.

Right now it looks I posted this in the right forum.

There a lot of resources on the web about similar problems. What I'm noticing now is that most of them are problems in Ubuntu not debian, arch or gentoo.

Not proof just added evidence.

jludeman 03-07-2011 10:52 AM

I've been living with this problem since my last post. If I needed the lan to work I rebooted.

I just found out that it was a kernel related problem with my wireless pci card. By adding pci=use_crs to the kernel command I was able to keep the network up.

The reason antix was not failing was due to a different kernel and or driver for the card.

The kernel command is not really a solution but it is a decent work around.


All times are GMT -5. The time now is 06:23 AM.