Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-18-2015, 02:24 PM   #1
Registered: Jan 2015
Posts: 113

Rep: Reputation: Disabled
Speed Drop on Lease Renewal

I live in a building with dinner-plate size Cisco hot spots along the corridor ceiling. My first connection seems to be to the closest hot spot, and it's fast. When the lease times out and is renewed, it is to a more distant hot spot (iwconfig shows a different hardware address) and is slow.

How can I force the connection to stay with the first hot spot? Adding this stanza to /etc/dhclient.conf doesn't help:

lease {
  interface "wlan0";
  renew never;
Old 06-19-2015, 01:06 PM   #2
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Doesn't matter what you set in your config it matters what is set on the DHCP server when it comes to leases. The DHCP server is set to allow a lease for x amount of time. Halfway thru the lease the DHCP server is going to ask if the lease is still required.

Do you have a way of measuring signal strength? Android has an app called "Wireless Analyzer" that I use all the time. Check the signal strength and see if you are really connecting to what you believe you are connecting to. Then track down the other AP that you roam to. There is nothing stopping someone from setting up a fake AP using the same SSID and running their own DHCP server and capturing all traffic for analysis.

If these AP's are as you say they are then you should not be roaming to another AP unless you have you wireless configured to do so. Also if the signal strength is so weak anything could cause you to lose your wireless connection.
Old 06-19-2015, 01:53 PM   #3
Registered: Jan 2015
Posts: 113

Original Poster
Rep: Reputation: Disabled
I kinda thought that the DHCP server had a mind of its own on leases.

Signal strength is lower. From iwconfig output:

<Fast> Link Quality=58/70 Signal level=-52 dBm
<Slow> Link Quality=30/70 Signal level=-80 dBm

AFAICT these are legit APs.

One additional observation: When the speed drops (new AP) I can disconnect and then reconnect and reach the fast AP again. Lease time is only 27 min, so this isn't a solution. Sounds like a call to the building network admin is in order.

Thanks for the help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mint 14 64 bit new install does not drop down cooling fan rpm speed james2b Linux Mint 7 04-01-2013 05:23 AM
Is it necessary to drop specific flags in IPTABLES with an INPUT DROP policy? rootaccess Linux - Networking 5 08-22-2012 08:10 PM
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM
Re-run IPTables script after Lease Renewal Spotnik Linux - Networking 4 02-01-2004 07:11 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration