Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Frequent wifi disconnects & re-connects

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    Frequent wifi disconnects & re-connects

    .
    My laptop has a built-in wifi, rated for class a/b/g and n.

    I have two routers, one from Verizon which is rated for class a/b/g, and connects with WEP.
    the other is a Belkin rated for classes g and n, and connects with WAP.

    I have nominally 15 Mb/s broadband, and 15 internet-near-neighbors, mostly Verizon subscribers
    I would guess from the routers' designations. My routers show 2 to 4 bars, neighbors show 1 or 2.

    My laptop usually connects to either of my routers in a few seconds, with the WAP connection taking
    just slightly longer.

    Over an eight-hour period of occasional, but infrequent on-line use of a given internet
    connection, the Verizon router remains connected continuously, whereas
    over a comparable eight-hour period, the Belkin
    router has 145 disconnect-and-reconnects, averaging about every 3.3 minutes. The disconnected
    period for the Belkin router is usually only about two seconds long.

    If I were not alarmed by all the print-out on /var/log/syslog for the Belkin case, I might not
    be aware of much diffence in browsing performance between the two routers, excepting only the
    occasional time there is a noticeable lag in surfing to a new internet address, presumably
    waiting for one of the two-second-reconnects to complete.

    Any thoughts on what might be troubling my Belkin router would be appreciated.
    Last edited by utu; 01-08-2013 at 08:02 PM.

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Have you tried changing the channel on the Belkin ? Does the output of
    Code:
     iwlist <interface>scanning
    show other wireless on the same channel, and what does the output of
    HTML Code:
     iwconfig
    suggest as far as link quality etc. ?

  3. #3
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Greetings, Rusty & thanks for your comments:

    iwlist gives the following info:

    Code:
                        iwlist wlan0 scanning | grep -A 3 Freq > iwlist.txt
                        and some << marginal notes added
    
    
                        Frequency:2.412 GHz (Channel 1)
                        Quality=70/70  Signal level=-34 dBM  <- sometimes   4 bars
                        Quality=45/70  Signal level=-65 dBm  <- other times 2 bars
                        Encryption key:on 
                        ESSID:"belkin.594"                   <- my 'n' router
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=35/70  Signal level=-75 dBm  <- 2 bars, usually
                        Encryption key:on
                        ESSID:"WARnet"                       <- a neighbor
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=21/70  Signal level=-89 dBm  
                        Encryption key:on
                        ESSID:"2P5U7"
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=42/70  Signal level=-68 dBm  <- 2 bars, usually
                        Encryption key:on
                        ESSID:"BUXL3"                        <- my 'g' router
    --
                        Frequency:2.437 GHz (Channel 6)
                        Quality=26/70  Signal level=-84 dBm  
                        Encryption key:on
                        ESSID:"woozle"
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=23/70  Signal level=-87 dBm  
                        Encryption key:on
                        ESSID:"EJIM2"
    --
                        Frequency:2.437 GHz (Channel 6)
                        Quality=25/70  Signal level=-85 dBm  
                        Encryption key:on
                        ESSID:"NYM3B"
    --
                        Frequency:2.412 GHz (Channel 1)
                        Quality=23/70  Signal level=-87 dBm  
                        Encryption key:on
                        ESSID:"E5JA2"
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=20/70  Signal level=-90 dBm  
                        Encryption key:on
                        ESSID:"418A5"
    --
                        Frequency:2.412 GHz (Channel 1)
                        Quality=31/70  Signal level=-79 dBm  
                        Encryption key:on
                        ESSID:"Amped_SR"
    --
                        Frequency:2.437 GHz (Channel 6)
                        Quality=24/70  Signal level=-86 dBm  
                        Encryption key:on
                        ESSID:"706D1"
    --
                        Frequency:2.412 GHz (Channel 1)
                        Quality=22/70  Signal level=-88 dBm  
                        Encryption key:on
                        ESSID:"K7964"
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=20/70  Signal level=-90 dBm  
                        Encryption key:on
                        ESSID:"LNSL7"
    --
                        Frequency:2.462 GHz (Channel 11)
                        Quality=20/70  Signal level=-90 dBm  
                        Encryption key:on
                        ESSID:"UUEL3"
    --
                        Frequency:2.412 GHz (Channel 1)
                        Quality=23/70  Signal level=-87 dBm  
                        Encryption key:on
                        ESSID:"T3P32"
    --
                        Frequency:2.412 GHz (Channel 1)
                        Quality=22/70  Signal level=-88 dBm  
                        Encryption key:on
                        ESSID:""
    --
    iwconfig adds to this only that 'Power Management is Off'.
    --
    I'm not sure I have a channel choice with n mode.

  4. #4
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    You should be able to log on to the Belkin interface and change the channel to one of the unused ones, 9 might be a good choice, and see if it improves things.

    This is a rudimentary introduction into wireless frequencies: http://en.wikipedia.org/wiki/List_of_WLAN_channels.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    I'll look into this.
    FYI, I notice in my neighborhood there are 5 users on Channel 1,
    3 users on Channel 6, and 4 users on Channel 11. The other channels are unused.

  6. #6
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Bummer.
    I'm all alone on channel 4 now, but the disconnects persist.
    Problem serious enough to show on the cpu monitor, and give halting text display.

  7. #7
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    You could use wireshark I suppose to see if there is a lot of negotiation going on between the laptop and the Belkin, or try a connecting to a different N router to see if the problem occurs. Do other N devices connect ok to the Belkin ? Can you restrict the Belkin to N only?

  8. #8
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Klaus K offered the following advice in this situation.

    In a crowded environment, sometimes it helps to

    1. Reduce (!) Antenna power, so the access point enhances the signal,

    2. Fix the data rate in order to avoid renegotiations.

    sudo iwconfig wlan0 txpower 5mW
    sudo iwconfig wlan0 rate 54M

    You can try different values, of course.
    The most important is to avoid an "auto" setting, since this triggers renegotiations.

    Regards
    -Klaus
    I think the combination of Klaus's suggestion and Rusty's has greatly improved the
    situation here. While waiting to see if this holds, I'll research Wireshark.

    Thanks, Rusty.

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Status update:

    With both using Klaus K's and Rusty's suggestions together, my
    broadband situation is now (more) tolerable. My cpu is usage way down, but
    with n-mode router and n-mode laptop, I am still getting about a page
    a minute of /var/log/syslog showing two-second re-acquisitions every
    one or two minutes.
    Broadband speed tests usually show a generous broadband download number.

  10. #10
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    utu, just from my own experience:
    When such problems can not be fully related to known bugs or the operation setting, most of the time they have been due to hardware failures/glitches. In hindsight, I have tolerated way too much reconnecting, restarting etc instead of just putting in a new piece of hardware. (In one case with fibre last summer, it turned out the new receiver was grilled, signals were too strong at my location and had to be dampened.) Have you tried with an alternative router to see if the problems persist?
    To me, it might seem like your measures have speeded up reconnection, the fallout being less influenced?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro

$115.00



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56