Network connection drops after 10 minutes or so

Asked by Robert Friend

After the last round of updates, 10.04 drops the wireless network connection. In order to restore it I have to either reboot or manually shut down the wireless services and then restart. The connection stays active for about 10 minutes and then I have to go through the process again. The system indicates that it is still connected to the router but there is no communication. I do not have a wired connection to test to see if it is affected also.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Friend
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

When it drops, run:

dmesg | tail -n 10 > ~/Desktop/output.txt; lsb_release -a >> ~/Desktop/output.txt

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

obviously get reconnected and open the text file and give the text as an update

Thanks

Revision history for this message
Robert Friend (r-g-friend) said :
#3

mesg | tail -n 10 > ~/Desktop/output.txt; lsb_release -a >> ~/Desktop/output.txt
No LSB modules are available.

Revision history for this message
Robert Friend (r-g-friend) said :
#4

[ 458.004836] rtl8192_hw_wakeup(): RF Change in progress! schedule wake up task again
[ 566.947333] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ 568.466279] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ 632.394223] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[ 671.203967] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[ 686.948723] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[ 686.948994] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ 688.482335] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ 806.946822] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ 808.486643] ===>rtl8192se_link_change():ieee->iw_mode is 2
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5
Revision history for this message
Robert Friend (r-g-friend) said :
#6

Install what with PPA? The system was working fine until a month ago. Linux was installed as a windows application in a dual boot configuration with wubi. I suspect that one of the updates broke it. I just do know which one.

Revision history for this message
Robert Friend (r-g-friend) said :
#7

The network connection seems to stay up after the fourth of fifth time the wireless service is stopped and restarted. When I shut down the system and restart I still have the same problem.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Add the PPA in the link:

sudo add-apt-repository ppa:lexical/hwe-wireless
sudo apt-get update
sudo apt-get install rtl8192ce-dkms

Should be ok

Revision history for this message
Robert Friend (r-g-friend) said :
#9

That did the trick thank you very much.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

When someone gives you a link. Read it ALL.

Revision history for this message
Robert Friend (r-g-friend) said :
#11

I Spoke to soon.

 It is doing the same thing. This is a dual boot machine and the windows side works fine so that eliminates the hardware. It starts out dropping after 5 minutes. Stopping and restarting the connection extends the time a little more each time I do it.

Revision history for this message
Robert Friend (r-g-friend) said :
#12

I added a usb WIFI adapter in disabled the on board device. The same symptoms still exists. It looks like the problem is something other then the card drivers. I have used this additional device before without incident.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

Tried disabling IPv6? Could help

Revision history for this message
Robert Friend (r-g-friend) said :
#14

IPV6 has been disabled. It still does the same thing. Connection drops ager 10 minutes.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

Can you give the outut of:

sudo lshw -C network

Thanks

Revision history for this message
Robert Friend (r-g-friend) said :
#16

This is what it looks like when the network is up:

 *-network
       description: Ethernet interface
       product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
       vendor: Atheros Communications
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: c0
       serial: 00:26:9e:a8:7b:c4
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.0.1-NAPI firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       resources: irq:26 memory:ce000000-ce03ffff ioport:1000(size=128)
  *-network
       description: Wireless interface
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlan0
       version: 10
       serial: 00:26:b6:99:75:88
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl819xSE driverversion=0015.0127.2010 firmware=62 ip=192.168.1.3 latency=0 link=yes multicast=yes wireless=802.11bgn
       resources: irq:18 ioport:d000(size=256) memory:f0500000-f0503fff

This is what it looks like when the network is down:

 *-network
       description: Ethernet interface
       product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
       vendor: Atheros Communications
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: c0
       serial: 00:26:9e:a8:7b:c4
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.0.1-NAPI firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       resources: irq:26 memory:ce000000-ce03ffff ioport:1000(size=128)
  *-network
       description: Wireless interface
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlan0
       version: 10
       serial: 00:26:b6:99:75:88
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl819xSE driverversion=0015.0127.2010 firmware=62 ip=192.168.1.3 latency=0 link=yes multicast=yes wireless=802.11bgn
       resources: irq:18 ioport:d000(size=256) memory:f0500000-f0503fff

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

When it drops, give the output of:

dmesg | tail -n 10

Thanks

Revision history for this message
Robert Friend (r-g-friend) said :
#18

 dmesg | tail -n 10
[21708.072072] rtl8192_hw_wakeup(): RF Change in progress! schedule wake up task again
[21724.600056] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21732.689740] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21740.676442] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21748.141293] ===>rtl8192se_link_change():ieee->iw_mode is 2
[21749.662255] ===>rtl8192se_link_change():ieee->iw_mode is 2
[21795.768258] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21800.785360] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21816.456171] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[21843.794324] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#19
Revision history for this message
Robert Friend (r-g-friend) said :
#20

Not sure what I should be looking for in the above mentioned link. I installed a different usb wifi device from Hawking that has a different chip set. I have the same problem. After a while the connection drops. I have been running the system monitor and the communication in both directions drops to a few bytes out and in whenever I do a web page refresh. It does not seem to make a difference on what wifi device I am using. The system was running fine up till about three weeks ago. The problem started after update manager ran and installed a bunch of updates. I suspect this is not a driver problem but something else. I have tried to correlate the amount of data being sent and data being received to the time the system stops communicating but so far I have not seen anything consistent. Stopping and starting the connection clears the problem for a while but it always comes back.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#21

Basically it's a known bug as far as I can tell. Have you tried a different wireless channel?

Revision history for this message
Robert Friend (r-g-friend) said :
#22

I have tried a different wireless channel and that did not help. Went to a different access point. That did not help.
Started booting with an older kernel. That did help. Having a wired connection also solves the problem. It looks like it is a kernel problem. Maybe it will go away in the the next kernel update. Until then I will use a kernel that is two reves back.

Revision history for this message
Robert Friend (r-g-friend) said :
#23

Make that 3 revs back. (.28)

Revision history for this message
Robert Friend (r-g-friend) said :
#24

The latest round of patches and kernel update solved the problem