Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple access points & dhcpcd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
yakapiece
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 126
Location: Atlanta, GA

PostPosted: Tue Aug 23, 2005 4:13 pm    Post subject: multiple access points & dhcpcd Reply with quote

I need a little bit of help (or maybe a lot)

I have an IBM x31 notebook, I replaced the miniPCI card a year and 1/2 ago from the Intel based to an Atheros Chipset. Specifically a Philips Component card. It works great at home, work, basically networks that have few access points, however, at my school they have at anytime 10-25 access points available ALL over campus. Many of them when I 'iwlist ath0 scan' are on the same channel with different MAC addr and all of them are Cisco brand. The problem I have is when I dhcpcd eventually it times out on its own, it will not choose one access point and associate. I watch it hop different freqs but won't stop and associate.

Maybe someone has some suggestions or can tell me how I log dhcpcd. I have logged using ethereal and watched my wireless interface broadcast but as far as I can tell there is no response (atleast in time). When connected I can roam between access points, it just will not associate with one.

Even when I set a channel, many times it will not associate. I also use just the madwifi drivers and wireless tools, nothing more, nothing less.

I hope someone can help me, its driving me crazy. Every now and then it does associate, and yes I do have the weak WEP key correct.

Thanks
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Wed Aug 24, 2005 9:53 pm    Post subject: Reply with quote

I'm seeing this exact behavior on a Dell X1 with ipw2200 card. Mysterious indeed.
Back to top
View user's profile Send private message
yakapiece
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 126
Location: Atlanta, GA

PostPosted: Thu Aug 25, 2005 3:15 pm    Post subject: Reply with quote

Could anyone tell me how to make dhcpcd log or be verbose? The man pages said nothing of it. Even if I could see the activity of my wireless card, attempts to associates, etc... something. Maybe no one here can offer suggestions I might post on the school's newsgroups.

It would be really nice to have a client to manage my wireless connection, for it to switch between strongest access points... I know of the gentoo wireless scripts....
Back to top
View user's profile Send private message
m_sqrd
Guru
Guru


Joined: 18 Jul 2005
Posts: 367

PostPosted: Thu Aug 25, 2005 3:27 pm    Post subject: Reply with quote

What version of dhcpcd are you using
normaly -d will log to syslog but you need to configure your loger first

Quote:

OPTIONS
-d With this flag dhcpcd will syslog(LOG_DEBUG,...) messages for about every step it does. It's
recommended to use this option since it doesn't really produce too much output but will greatly
help in resolving a problems if any. dhcpcd uses LOCAL0 syslog facility for its output. To catch
dhcpcd debugging output add the following line to /etc/syslog.conf file:

local0.* /var/log/dhcpcd.log

and then refresh syslogd daemon:
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Thu Aug 25, 2005 4:49 pm    Post subject: Reply with quote

I'm not running a logger on my laptop. Setting -d on dhcpcd should then send output to stdout/err. I get almost nothing however. (One line at startup, then nothing.)
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Thu Aug 25, 2005 4:59 pm    Post subject: Reply with quote

I also get the same behavior using pump, so my guess is that the wireless stuff in baselayout is broken.
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Thu Aug 25, 2005 5:18 pm    Post subject: Reply with quote

Filed a bug at https://bugs.gentoo.org/show_bug.cgi?id=103722
Back to top
View user's profile Send private message
yakapiece
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 126
Location: Atlanta, GA

PostPosted: Thu Aug 25, 2005 9:22 pm    Post subject: Reply with quote

I'm not certain this is a bug. I'd like to think so, but I believe Windows and OS-X probe constantly for the most powerful access point with the essid X and connect to that. In this case, I have anywhere between 10-25 access points on channels 1,6,11 - doing the math sometimes there are 3-4 with different MAC addrs but on the same channel with the same SSID and enc.

I'm at home now but maybe tomorrow while I'm at school I can play with the dhcpcd logging feature.
Back to top
View user's profile Send private message
yakapiece
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 126
Location: Atlanta, GA

PostPosted: Thu Aug 25, 2005 9:24 pm    Post subject: Reply with quote

I just compiled sys-apps/baselayout-1.11.13-r1 - hadn't updated world for a while - I still think we need to give more data to show its a bug rather than fluke.
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Mon Aug 29, 2005 5:13 pm    Post subject: Reply with quote

This is absolutely nuts. I'm back home and sitting 10cm from my ap and cannot associate. Scanning shows 3-4 wireless networks available. I cannot force the card to associate to my network, even using manual iwconfig commands. I was scanning networks and noticed that the other aps faded out for a moment so that only my ap was visible. At that moment my card associated. A few minutes later I lost the signal and scanning showed again multiple aps visible.
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Mon Aug 29, 2005 5:20 pm    Post subject: Reply with quote

Just happened again. The gnome icon showed my card associated. Scanning showed only my ap visible. Dhcpcd worked fine .
Back to top
View user's profile Send private message
Alighieri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 88

PostPosted: Mon Aug 29, 2005 6:15 pm    Post subject: Reply with quote

OK. I think I've narrowed it down to multiple aps on the same channel. Can someone verify? Whether this is a bug is matter of opinion. In the last few weeks, I've sat next to lots of people with wintel/mac laptops happily connected when I could not. If multiple aps on the same channel is indeed the problem, how do other OS' manage to associate? Can they filter packets from other aps on the same channel?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Aug 30, 2005 7:24 am    Post subject: Reply with quote

Try using wpa_supplicant if you can as it's much better at playing the access point association game
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
yakapiece
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 126
Location: Atlanta, GA

PostPosted: Tue Aug 30, 2005 6:28 pm    Post subject: Reply with quote

Thanks for the suggestion Uberlord,
This week so far (2 days) I haven't had a problem. Connection has been perfect. But I will setup the script you suggested.
Back to top
View user's profile Send private message
prometheanfire
Developer
Developer


Joined: 21 Apr 2005
Posts: 87
Location: San Antonio, TX USA

PostPosted: Thu Nov 17, 2005 4:40 am    Post subject: Reply with quote

I am trying to connect to my schools wireless network (it has multiple aps about 10) that broadcast the same essid
this is the code for wpa_supplicant that I use.

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=1
ap_scan=1
network={
   ssid="wireless"
   scan_ssid=1
   key_mgmt=NONE
   wep_key0="xxxxxxxxxxxxxxxxxxxxxxxxxx"
   wep_tx_keyidx=0
   priority=5
   auth_alg=SHARED
}


I am prety sure that I am still missing something.
I also roam all over the school.
Back to top
View user's profile Send private message
prometheanfire
Developer
Developer


Joined: 21 Apr 2005
Posts: 87
Location: San Antonio, TX USA

PostPosted: Thu Nov 17, 2005 12:37 pm    Post subject: Reply with quote

I think I know what I forgot (the essids are hidden)

but what do I do about the multiple access points on the same channel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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