Gentoo Archives: gentoo-user

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