You are not logged in.

#1 2011-07-18 14:51:06

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Losing internet connection randomly (wlan stays connected) - wicd

Since about a week now I'm running into endless problems with my wlan connection - before that, all worked well (I didn't changed any hardware)

I'm losing my internet connection in random intervals and I can't track down the reason for this problem. I've a dual-boot setup with win7 on it and there I have constant connection so this can't be any hardware problem.

I am using wicd to manage my wlan (wicd-kde, wicd-curses).
always used dhcp and never made any problems -even tried with static IP now which unfortunately didn't help.

One thing to mention - even if I'm connected, the connection seems very slow, compared to the laptop I'm on (in the same network).

now some console output:

lspci | grep -i net                                                                                                   
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
05:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

(both on-board - lan is not used - just wlan)

sudo tail -1 /etc/rc.conf                                                                                             
DAEMONS=(!hwclock dbus syslog-ng !network !netfs crond wicd postfix sshd)    
iwconfig wlan0                                                                      
wlan0     IEEE 802.11bg  ESSID:"Schnulli"                                                       
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1E:69:9F:22:3F                    
          Bit Rate=18 Mb/s   Tx-Power=20 dBm                                                    
          Retry  long limit:7   RTS thr:off   Fragment thr:off                                  
          Power Management:off                                                                  
          Link Quality=44/70  Signal level=-66 dBm                                              
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0                              
          Tx excessive retries:4238  Invalid misc:6580   Missed beacon:0
ifconfig wlan0                                                                      
wlan0     Link encap:Ethernet  HWaddr 00:15:AF:0F:C8:48                                         
          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0                       
          inet6 addr: fe80::215:afff:fe0f:c848/64 Scope:Link                                    
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                    
          RX packets:20308 errors:0 dropped:0 overruns:0 frame:0                                
          TX packets:16695 errors:0 dropped:0 overruns:0 carrier:0                              
          collisions:0 txqueuelen:1000                                                          
          RX bytes:24970986 (23.8 Mb)  TX bytes:2037458 (1.9 Mb) 

/var/log/wicd/wicd.log:

2011/07/18 15:53:39 :: ---------------------------                                                      
2011/07/18 15:53:39 :: wicd initializing...                                                             
2011/07/18 15:53:39 :: ---------------------------                                                      
2011/07/18 15:53:39 :: wicd is version 1.7.0 552                                                        
2011/07/18 15:53:40 :: setting backend to external                                                      
2011/07/18 15:53:40 :: trying to load backend external                                                  
2011/07/18 15:53:40 :: successfully loaded backend external                                             
2011/07/18 15:53:40 :: trying to load backend external                                                  
2011/07/18 15:53:40 :: successfully loaded backend external                                             
2011/07/18 15:53:40 :: Automatically detected wireless interface wlan0                                  
2011/07/18 15:53:40 :: setting wireless interface wlan0                                                 
2011/07/18 15:53:40 :: automatically detected wired interface eth0                                      
2011/07/18 15:53:40 :: setting wired interface eth0                                                     
2011/07/18 15:53:40 :: setting wpa driver wext                                                          
2011/07/18 15:53:40 :: setting use global dns to False                                                  
2011/07/18 15:53:40 :: setting global dns                                                               
2011/07/18 15:53:40 :: global dns servers are None None None                                            
2011/07/18 15:53:40 :: domain is None                                                                   
2011/07/18 15:53:40 :: search domain is None                                                            
2011/07/18 15:53:40 :: setting automatically reconnect when connection drops True                       
2011/07/18 15:53:40 :: Setting dhcp client to 0                                                         
2011/07/18 15:53:40 :: Wireless configuration file found...                                             
2011/07/18 15:53:40 :: Wired configuration file found...                                                
2011/07/18 15:53:40 :: chmoding configuration files 0600...                                             
2011/07/18 15:53:40 :: chowning configuration files root:root...                                        
2011/07/18 15:53:40 :: Using wireless interface...wlan0                                                 
2011/07/18 15:53:40 :: Using wired interface...eth0                                                     
2011/07/18 15:53:44 :: hidden                                                                           
2011/07/18 15:53:45 :: Autoconnecting...                                                                
2011/07/18 15:53:47 :: No wired connection present, attempting to autoconnect to wireless network       
2011/07/18 15:53:49 :: hidden                                                                           
2011/07/18 15:53:49 :: trying to automatically connect to...Schnulli                                    
2011/07/18 15:53:49 :: Connecting to wireless network Schnulli                                          
2011/07/18 15:53:51 :: Putting interface down                                                           
2011/07/18 15:53:51 :: Releasing DHCP leases...                                                         
2011/07/18 15:53:51 :: Setting false IP...                                                              
2011/07/18 15:53:53 :: Stopping wpa_supplicant                                                          
2011/07/18 15:53:53 :: Flushing the routing table...                                                    
2011/07/18 15:53:53 :: Putting interface up...                                                          
2011/07/18 15:53:55 :: Generating psk...                                                                
2011/07/18 15:53:55 :: Attempting to authenticate...                                                    
2011/07/18 15:53:58 :: Running DHCP with hostname blub                                                  
2011/07/18 15:53:58 :: dhcpcd[1333]: version 5.2.12 starting                                            
2011/07/18 15:53:58 ::                                                                                  
2011/07/18 15:53:59 :: dhcpcd[1333]: wlan0: rebinding lease of 192.168.0.12                             
2011/07/18 15:53:59 ::                                                                                  
2011/07/18 15:54:00 :: dhcpcd[1333]: wlan0: acknowledged 192.168.0.12 from 192.168.0.1                  
2011/07/18 15:54:00 ::                                                                                  
2011/07/18 15:54:00 :: dhcpcd[1333]: wlan0: checking for 192.168.0.12                                   
2011/07/18 15:54:00 ::                                                                                  
2011/07/18 15:54:05 :: dhcpcd[1333]: wlan0: leased 192.168.0.12 for 604800000 seconds                   
2011/07/18 15:54:05 ::                                                                                  
2011/07/18 15:54:06 :: dhcpcd[1333]: forked to background, child pid 1388                               
2011/07/18 15:54:06 ::                                                                                  
2011/07/18 15:54:06 ::                                                                                  
2011/07/18 15:54:06 :: DHCP connection successful                                                       
2011/07/18 15:54:06 :: not verifying                                                                    
2011/07/18 15:54:06 :: Connecting thread exiting.                                                       
2011/07/18 15:54:09 :: Sending connection attempt result Success     

really don't know what to do now - help is very much appreciated!
thanks in advance

Offline

#2 2011-07-18 18:39:36

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Losing internet connection randomly (wlan stays connected) - wicd

I've read very recently that dhcpcd is quite buggy and the common fix to that problem is to install dhclient and get rid of dhcpcd entirely.  Try that perhaps?

Offline

#3 2011-07-18 19:49:33

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: Losing internet connection randomly (wlan stays connected) - wicd

Thanks for you answer!

Actually, I tried it with dhclient too and it didn't helped at all.
I switched to netcfg(2) now and it seems working  - wicd is completely removed from my system - hopefully it will stay like this now.

the only problem for now is that my connection seems quite slow - any ideas where/how I can track down possible issues?

still I've no idea what was/is causing those problems since in win7 all works well..

Offline

Board footer

Powered by FluxBB