View previous topic :: View next topic |
Author |
Message |
Beju Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Mar 2006 Posts: 171
|
Posted: Sat Sep 15, 2007 4:11 pm Post subject: Wireless chooses wrong network |
|
|
Hmm, I think I can't set up correct configuration in /etc/conf.d/net. There are two wireless networks in my area, I can connect to both, but I prefer to use only one because it's faster. However, when my box is starting it almost always connects to the wrong network. I have to switch to root, set "iwconfig ra0 essid "XXX" and restart the device, then it surprisingly chooses the right one. It's not much to do but it's annoying.
What is much more surprising, I have put essid_ra0="XXX" in net file and still nothing. I have also tried setting channel and access point (I'm not sure If I haven't made a mistake), but You can guess what's happened. Now I have:
Code: | preferred_aps=( "XXX" )
blacklist_aps=("YYY" )
associate_order="forcepreferredonly"
channel_ra0="13"
config_ra0=( "dhcp" ) |
And nothing's changed. Just WHY setting it manually works while settings it in this file don't? Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nahpets Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1571350101426b4fc14d90a.jpg)
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat Sep 15, 2007 11:35 pm Post subject: |
|
|
This doesn't answer your question directly, but I used to have problems with wireless networking until I switched to using networkmanager. I suggest you check out the Netorkmanager page on the Gentoo Wiki. _________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Beju Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Mar 2006 Posts: 171
|
Posted: Thu Sep 20, 2007 5:57 pm Post subject: |
|
|
Hmm, it works with 'iwconfig ra0 essid "XXX"' in preup() function. This is funny, what is the function of essid_ra0=... then? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|