Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] How can I force net.ath0 to use a certain channel?
Date: Sat, 31 Mar 2007 00:29:41
Message-Id: BRAKAwDZ6WPRZsY6dc600000e2c@mx1.lockdownnetworks.com
In Reply to: [gentoo-user] How can I force net.ath0 to use a certain channel? by Daevid Vincent
1 Am I the dick?
2
3 http://bugs.gentoo.org/show_bug.cgi?id=172766
4
5 > -----Original Message-----
6 > From: Daevid Vincent [mailto:daevid@××××××.com]
7 > Sent: Thursday, March 29, 2007 10:20 PM
8 > To: gentoo-user@l.g.o
9 > Subject: [gentoo-user] How can I force net.ath0 to use a
10 > certain channel?
11 >
12 > I have an atheros (mad-wifi) internal mini-pci 802.11 a/b/g
13 > card in my Dell
14 > i8200 notebook running Gentoo. I also have an Engenius hostap 802.11b
15 > card/antenna in my Gentoo server. What is frustrating, is that it's a
16 > crap-shoot when my ath0 will (or won't) start properly. I
17 > have no control
18 > over what channel (either numeric like 6, or alpha such as b
19 > vs. g) to
20 > connect to my AP ("MATRIX").
21 >
22 > Please tell me there is some way to tweak my
23 > /etc/conf.d/wireless (or anything
24 > for that matter), so that I can tell it, "hey, when
25 > connecting to 'MATRIX',
26 > always use 802.11b and/or a certain channel range (presumably
27 > in the 'b'
28 > range)".
29 >
30 > Furthermore, it would REALLY be great if I could do something
31 > whereby, if I
32 > have net.eth0 (i.e. CAT5 cable) then don't start net.ath0,
33 > else try net.ath0.
34 > Right now I have net.ath0 disabled by default because I hate
35 > when it starts
36 > up when I'm plugged in at work, as my traffic seems to go
37 > over the "slower"
38 > ath0 rather than the faster eth0 port. ?! I have ifplugd
39 > installed, but I
40 > don't think it can manage this kind of (seemingly obvious and
41 > intelligent)
42 > decision.
43 >
44 > locutus ~ # /etc/init.d/net.ath0 start
45 > * Starting ath0
46 > * Configuring wireless network for ath0
47 > * ath0 connected to ESSID "MATRIX" at 00:00:00:00:00:00
48 > * in managed mode on channel 52 (WEP disabled)
49 > * Configuration not set for ath0 - assuming DHCP
50 > * Bringing up ath0
51 > * dhcp
52 > * Running dhcpcd ...
53 > Error, timed out waiting for a valid DHCP server response
54 >
55 >
56 > [ !! ]
57 > locutus ~ # /etc/init.d/net.ath0 start
58 > * Starting ath0
59 > * Configuring wireless network for ath0
60 > * ath0 connected to ESSID "MATRIX" at 00:00:00:00:00:00
61 > * in managed mode on channel 7 (WEP disabled)
62 > * Configuration not set for ath0 - assuming DHCP
63 > * Bringing up ath0
64 > * dhcp
65 > * Running dhcpcd ...
66 > Error, timed out waiting for a valid DHCP server response
67 >
68 >
69 > [ !! ]
70 > locutus ~ # /etc/init.d/net.ath0 start
71 > * Starting ath0
72 > * Configuring wireless network for ath0
73 > * ath0 connected to ESSID "MATRIX" at 00:02:6F:09:B2:B4
74 > * in managed mode on channel 6 (WEP disabled)
75 > * Configuration not set for ath0 - assuming DHCP
76 > * Bringing up ath0
77 > * dhcp
78 > * Running dhcpcd ...
79 >
80 >
81 > [ ok ]
82 > * ath0 received address 10.10.10.69/24
83 > locutus ~ #
84 > --
85 > gentoo-user@g.o mailing list
86 >
87 >
88
89 --
90 gentoo-user@g.o mailing list

Replies

Subject Author
RE: [gentoo-user] How can I force net.ath0 to use a certain channel? deface <deface@×××××××××××.net>
Re: [gentoo-user] How can I force net.ath0 to use a certain channel? Neil Bothwick <neil@××××××××××.uk>