[SOLVED] wicd not connecting to strongest signal

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

[SOLVED] wicd not connecting to strongest signal

#1 Post by Paul Unger » Mon Aug 18, 2008 11:48 pm

At work we have a router with an access point. Both have the same essid. Wicd sees both signals, but persists in connecting to the weaker one. I am closer to the AP than the router; the AP shows 4 bars / -36 dBm while the router shows 2 bars / -72 dBm. I've tried 'disconnecting' and then clicking 'connect' under the stronger of the two signals (the AP), but it always connects to the weaker one (despite having "Automatically connect to this network" selected for the AP). :shock: Any hints?
Last edited by Paul Unger on Mon Sep 08, 2008 11:14 pm, edited 1 time in total.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

Temetka
Senior ThinkPadder
Senior ThinkPadder
Posts: 2790
Joined: Fri Sep 30, 2005 3:27 am
Location: Glendora, CA

#2 Post by Temetka » Thu Aug 21, 2008 2:49 pm

Yeah,

rename the SSID on the AP and see what happens.

Other than that, isn't there some preffered order of connection that you can specify?

Or you can try in the CLI and working with DHPCD and IFCONFIG to see if you specify which MAC you want to connect to.

Just some thoughts.
New:
Thinkpad T430s 8GB DDR3, 1600x900, 128GB + 250GB SSD's, etc.
Old:
E6520, Precision M4400, D630, Latitude E6520
ThinkPad Tablet 16GB 1838-22U
IBM Thinkpad X61T, T61, T43, X41T, T60, T41P, T42, T410, X301

Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

#3 Post by Paul Unger » Tue Aug 26, 2008 2:30 pm

Temetka wrote:Yeah, rename the SSID on the AP and see what happens.
Like I said, this is at work and I'm not at liberty to rename things . . . I had hoped wicd would default to the strongest signal rather than to any particular name. :roll:
Temetka wrote:Other than that, isn't there some preferred order of connection that you can specify?
I'm not sure--that's why I'm here. :wink: I have "Automatically connect" selected on the stronger signal's profile, but it doesn't seem to make a difference.
Temetka wrote:Or you can try in the CLI and working with DHPCD and IFCONFIG to see if you specify which MAC you want to connect to.
I could, if I knew how--again, that's why I'm here. [I even had to google "CLI" to figure out what you meant . . . ]
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

gongo2k1
Sophomore Member
Posts: 200
Joined: Mon Jun 30, 2008 10:25 pm

#4 Post by gongo2k1 » Tue Aug 26, 2008 4:27 pm

Paul Unger wrote:I could, if I knew how--again, that's why I'm here.
sometimes it's hard to tell if people are just looking for troubleshooting ideas or if they're actually looking for a 'howto'. though it's more productive to err on the side of "assuming you don't know, here's what you should do", people also seem to get their feathers ruffled if they feel that they've been talked "down" to.

back on topic:
what distro are you running (I'm assuming the T61 in your sig running Ubuntu)? what card are you using? is the connection to the weaker signal actually dropping, or were you just hoping to get the stronger signal for the sake of... the stronger signal? what settings are your coworkers using? what did IT helpdesk have to say? (not that any of us expect a phone call to IT to be productive, but it's good for a laugh every once in a while...)

Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

#5 Post by Paul Unger » Tue Aug 26, 2008 5:54 pm

gongo2k1 wrote:
Paul Unger wrote:I could, if I knew how--again, that's why I'm here.
sometimes it's hard to tell if people are just looking for troubleshooting ideas or if they're actually looking for a 'howto'. though it's more productive to err on the side of "assuming you don't know, here's what you should do", people also seem to get their feathers ruffled if they feel that they've been talked "down" to.
I guess I should have written "noob" somewhere in my message. That would explain a lot! :)
gongo2k1 wrote:back on topic:
what distro are you running (I'm assuming the T61 in your sig running Ubuntu)? what card are you using? is the connection to the weaker signal actually dropping, or were you just hoping to get the stronger signal for the sake of... the stronger signal? what settings are your coworkers using? what did IT helpdesk have to say? (not that any of us expect a phone call to IT to be productive, but it's good for a laugh every once in a while...)
Distro: Ubuntu 7.10 on the T61. Card: IBM (Atheros) a/b/g/n. The connection is stable (so it's not a problem, per se), but I'm very curious as to why it won't connect to the stronger of the two signals. Is there a setting I'm missing (as Temetka hinted)? Is this normal behaviour for wicd? Is this a bug in wicd? Does anyone else have this issue? So it's a mix between wanting a 'how-to' (if there is one) and base curiosity.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#6 Post by lightweight » Tue Sep 02, 2008 2:35 am

Try editing wicd's configuration file to remove the saved entry for the unwanted access point. On Debian based systems (Ubuntu/Mepis/Mint/etc,etc), this is in /opt/wicd/data/wireless-settings.conf. Assuming you are using such a distribution, an easy editor for newcomers is nano/pico, which gives you a nice menu at the bottom of the page.

1) Open a terminal.
2) Enter

Code: Select all

sudo nano /opt/wicd/data/wireless-settings.conf
3) You'll find the bogus AP's entry separated by MAC address. Delete all fields for the problem entry.

Alternatively, you could clear all saved entries in your wicd by doing

Code: Select all

echo "" |sudo tee /opt/wicd/data/wireless-settings.conf
Restart connect to your preferred AP. wicd will not be aware of any preference for the problem AP unless you decide to connect to it.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

#7 Post by Paul Unger » Mon Sep 08, 2008 11:17 pm

Alternatively, you could clear all saved entries in your wicd by doing

Code: Select all

echo "" |sudo tee /opt/wicd/data/wireless-settings.conf
Restart connect to your preferred AP.
Sorry for the late reply--other committments. But that did the trick! Thank you.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest