Gentoo Archives: gentoo-user

From: Paulo Roberto Candido dos Santos <zauberschloss@×××××.com>
To: madwifi-users@×××××××××××××××××.net, gentoo-user@l.g.o
Subject: [gentoo-user] Re: Wireless network seems ok, but higher level stuff fails
Date: Fri, 09 Mar 2007 00:06:53
Message-Id: 2d561deb0703081558t5bfbda44nf565c4de7b457db9@mail.gmail.com
1 It's me again. I found more strange things about my problem. I think
2 I'm getting closer:
3
4 arp -n in the Gentoo Station reports:
5 169.254.0.1 (incomplete) ath0
6
7 Where 169.254.0.1 is the address of the AP.
8 tcpdump -vv -i ath0 arp:
9
10 20:50:21.984182 arp who-has 169.254.0.1 tell 169.254.0.3
11
12
13 While I'm pinging the AP, I got "truncated-arp" messages in the AP
14 "tcpdump -vv ath0 arp" output.
15
16 The Station machine just got two replies:
17 64 bytes from 169.254.0.1: icmp_seq=424 ttl=64 time=0.400 ms
18 64 bytes from 169.254.0.1: icmp_seq=426 ttl=64 time=2998 ms
19
20
21 It seems like my problem has something to do with the "Signal Too
22 Strong" http://madwifi.org/wiki/FAQ/SignalTooStrong issue. I will move
23 the AP to a place far from the station.
24
25 So far no one replied to this, but I will keep posting in the hope
26 that my attempts to make this works helps someone in the future.
27
28 On 3/8/07, Paulo Roberto Candido dos Santos <zauberschloss@×××××.com> wrote:
29 > Another thing... I've loaded the ath_pci module with debug options and
30 > it gave me lots of information. When I try to ping (one request with
31 > "ping -c 1") the ap from the station it prints the following
32 > information in /var/log/messages:
33 >
34 > Mar 8 17:43:04 yule ath_tx_start: skb0 f3221680 [data f7b9ac3c len
35 > 120] skbaddr 37b9ac3c
36 > Mar 8 17:43:04 yule TODS
37 > 00:19:5b:66:d8:b0->00:19:5b:66:d5:0c(00:19:5b:66:d5:0c) data QoS [TID
38 > 0] 54M
39 > Mar 8 17:43:04 yule
40 > Mar 8 17:43:04 yule 88 01 2c 00 00 19 5b 66 d5 0c 00 19 5b 66 d8 b0
41 > Mar 8 17:43:04 yule 00 19 5b 66 d5 0c 50 06 00 00 d5 0c aa aa 03 00
42 > Mar 8 17:43:04 yule 00 00 08 00 45 00 00 54 00 00 40 00 40 01 e6 a8
43 > Mar 8 17:43:04 yule a9 fe 00 03 a9 fe 00 01 08 00 27 fc cd 16 00 01
44 > Mar 8 17:43:04 yule 58 75 f0 45 c0 2d 0f 00 08 09 0a 0b 0c 0d 0e 0f
45 > Mar 8 17:43:04 yule 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
46 > Mar 8 17:43:04 yule 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
47 > Mar 8 17:43:04 yule 30 31 32 33 34 35 36 37
48 > Mar 8 17:43:04 yule
49 > Mar 8 17:43:04 yule ath_tx_start: Q1: (ds)f706ae20 (lk)00000000
50 > (d)37b9ac3c (c0)4124007a (c1)06008078 11118000 000db50c
51 > Mar 8 17:43:04 yule ath_tx_txqaddbuf: link[1] (f706adc0)=3706ae20 (f706ae20)
52 >
53 >
54 > On 3/8/07, Paulo Roberto Candido dos Santos <zauberschloss@×××××.com> wrote:
55 > > Hello list!
56 > >
57 > > I'm having some problems setting a wireless network consisting of a
58 > > gentoo ap, one gentoo station and one Windows XP station.
59 > > I've followed the instructions on the madwifi.org and on gentoo
60 > > specialized forums and wiki. Seems like the "wireless" part of the
61 > > network is just fine and every station can connect to the ap, but I
62 > > can't do more than ping the hosts in the winxp station and the gentoo
63 > > station connects to the network but can't do nothing... not even ping
64 > > the ap.
65 > > Nothing wrong with logs and signal... but it seems that all the
66 > > network services and protocols (tcp, udp and icmp for the gentoo
67 > > station) aren't working.
68 > >
69 > > The strange thing is that the Windows XP host can ping the ap, however
70 > > it can't get a dhcp address and even using static IP can't access
71 > > services on the AP like http and ssh. This machine can ping hosts on
72 > > the internet but can't access tcp or udp services. Iptraf on the AP
73 > > reports the connections.
74 > >
75 > > The other Gentoo workstation can scan and connect to the network but
76 > > can't do nothing more.
77 > >
78 > >
79 > > From the AP Linux Machine:
80 > >
81 > > /etc/conf.d/wireless:
82 > >
83 > > modules_ath0=( "iwconfig" )
84 > > config_ath0=( "169.254.0.1/16" )
85 > > mode_ath0="Master"
86 > > essid_ath0="skyshaper"
87 > > channel_ath0="10"
88 > > iwpriv_ath0=( "mode 3" )
89 > >
90 > > dns_domain_skyshaper="local"
91 > > dns_servers_skyshaper=( "169.254.0.1" )
92 > >
93 > > dmesg relevant parts:
94 > >
95 > > ath_hal: module license 'Proprietary' taints kernel.
96 > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
97 > > ath_rate_sample: 1.2 (0.9.2.1)
98 > > ath_pci: 0.9.4.5 (0.9.2.1)
99 > > wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
100 > > wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
101 > > 24Mbps 36Mbps 48Mbps 54Mbps
102 > > wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
103 > > wifi0: H/W encryption support: WEP AES AES_CCM TKIP
104 > > wifi0: mac 7.9 phy 4.5 radio 5.6
105 > > wifi0: Use hw queue 1 for WME_AC_BE traffic
106 > > wifi0: Use hw queue 0 for WME_AC_BK traffic
107 > > wifi0: Use hw queue 2 for WME_AC_VI traffic
108 > > wifi0: Use hw queue 3 for WME_AC_VO traffic
109 > > wifi0: Use hw queue 8 for CAB traffic
110 > > wifi0: Use hw queue 9 for beacons
111 > > wifi0: Atheros 5212: mem=0xdfdc0000, irq=11
112 > >
113 > > lspci -vv relevant parts:
114 > >
115 > > 00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212
116 > > 802.11abg NIC (rev 01)
117 > > Subsystem: D-Link System Inc D-Link AirPlus DWL-G520 Wireless
118 > > PCI Adapter(rev.B)
119 > > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
120 > > ParErr- Stepping- SERR+ FastB2B-
121 > > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
122 > > >TAbort- <TAbort- <MAbort- >SERR- <PERR-
123 > > Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
124 > > Interrupt: pin A routed to IRQ 11
125 > > Region 0: Memory at dfdc0000 (32-bit, non-prefetchable) [size=64K]
126 > > Capabilities: [44] Power Management version 2
127 > > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
128 > > PME(D0-,D1-,D2-,D3hot-,D3cold-)
129 > > Status: D0 PME-Enable- DSel=0 DScale=2 PME-
130 > >
131 > > iwconfig:
132 > >
133 > > ath0 IEEE 802.11g ESSID:"skyshaper" Nickname:""
134 > > Mode:Master Frequency:2.457 GHz Access Point: 00:19:5B:66:D5:0C
135 > > Bit Rate:0 kb/s Tx-Power:18 dBm Sensitivity=0/3
136 > > Retry:off RTS thr:off Fragment thr:off
137 > > Encryption key:off
138 > > Power Management:off
139 > > Link Quality=55/94 Signal level=-40 dBm Noise level=-95 dBm
140 > > Rx invalid nwid:354 Rx invalid crypt:0 Rx invalid frag:0
141 > > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
142 > >
143 > > ifconfig:
144 > >
145 > > ath0 Link encap:Ethernet HWaddr 00:19:5B:66:D5:0C
146 > > inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
147 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
148 > > RX packets:125 errors:0 dropped:0 overruns:0 frame:0
149 > > TX packets:99 errors:0 dropped:6 overruns:0 carrier:0
150 > > collisions:0 txqueuelen:0
151 > > RX bytes:13311 (12.9 Kb) TX bytes:9901 (9.6 Kb)
152 > >
153 > > lo Link encap:Local Loopback
154 > > inet addr:127.0.0.1 Mask:255.0.0.0
155 > > UP LOOPBACK RUNNING MTU:16436 Metric:1
156 > > RX packets:8 errors:0 dropped:0 overruns:0 frame:0
157 > > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
158 > > collisions:0 txqueuelen:0
159 > > Expansion ROM at dfde0000 [disabled] [size=64K]
160 > > RX bytes:574 (574.0 b) TX bytes:574 (574.0 b)
161 > >
162 > > nas0 Link encap:Ethernet HWaddr 00:90:D0:B5:34:F2
163 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
164 > > RX packets:2248 errors:0 dropped:0 overruns:0 frame:0
165 > > TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
166 > > collisions:0 txqueuelen:1000
167 > > RX bytes:134393 (131.2 Kb) TX bytes:2696 (2.6 Kb)
168 > >
169 > > ppp0 Link encap:Point-to-Point Protocol
170 > > inet addr:201.13.90.211 P-t-P:200.100.11.75 Mask:255.255.255.255
171 > > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
172 > > RX packets:2238 errors:0 dropped:0 overruns:0 frame:0
173 > > TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
174 > > collisions:0 txqueuelen:3
175 > > RX bytes:115929 (113.2 Kb) TX bytes:1455 (1.4 Kb)
176 > >
177 > > wifi0 Link encap:UNSPEC HWaddr
178 > > 00-19-5B-66-D5-0C-38-70-00-00-00-00-00-00-00-00
179 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
180 > > RX packets:1021 errors:0 dropped:0 overruns:0 frame:694
181 > > TX packets:569 errors:9 dropped:0 overruns:0 carrier:0
182 > > collisions:0 txqueuelen:199
183 > > RX bytes:68997 (67.3 Kb) TX bytes:62170 (60.7 Kb)
184 > > Interrupt:11 Memory:c8880000-c8890000
185 > >
186 > > Kernel IP routing table:
187 > > Destination Gateway Genmask Flags Metric Ref Use Iface
188 > > 200.100.11.75 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
189 > > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ath0
190 > > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
191 > > 0.0.0.0 200.100.11.75 0.0.0.0 UG 0 0 0 ppp0
192 > >
193 > > /proc/net/wireless:
194 > > Inter-| sta-| Quality | Discarded packets | Missed | WE
195 > > iface | tus | link level noise | nwid crypt frag retry misc |
196 > > beacon | 21
197 > > ath0: 0004 38. 199. 161. 381 0 0 0 0 0
198 > >
199 > >
200 > >
201 > > From the Station Linux Machine:
202 > >
203 > > /etc/conf.d/wireless:
204 > > mode_ath0="managed"
205 > > essid_ath0="skyshaper"
206 > > iwconfig_ath0=( "rate 54M" )
207 > > iwpriv_ath0=( "mode 3" )
208 > >
209 > > config_ath0=( "169.254.0.3/16" )
210 > > routes_ath0=( "default via 169.254.0.1" )
211 > > dns_domain_skyshaper="local"
212 > > dns_servers_skyshaper="169.254.0.1"
213 > >
214 > > dmesg relevant parts:
215 > >
216 > > ath_hal: module license 'Proprietary' taints kernel.
217 > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
218 > > wlan: 0.8.4.2 (0.9.2.1)
219 > > ath_rate_sample: 1.2 (0.9.2.1)
220 > > ath_pci: 0.9.4.5 (0.9.2.1)
221 > > wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
222 > > wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
223 > > 24Mbps 36Mbps 48Mbps 54Mbps
224 > > wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
225 > > wifi0: H/W encryption support: WEP AES AES_CCM TKIP
226 > > wifi0: mac 7.9 phy 4.5 radio 5.6
227 > > wifi0: Use hw queue 1 for WME_AC_BE traffic
228 > > wifi0: Use hw queue 0 for WME_AC_BK traffic
229 > > wifi0: Use hw queue 2 for WME_AC_VI traffic
230 > > wifi0: Use hw queue 3 for WME_AC_VO traffic
231 > > wifi0: Use hw queue 8 for CAB traffic
232 > > wifi0: Use hw queue 9 for beacons
233 > > wifi0: Atheros 5212: mem=0xefbf0000, irq=20
234 > >
235 > > lspci -vv relevant parts:
236 > >
237 > > 03:02.0 Ethernet controller: Atheros Communications, Inc. AR5212
238 > > 802.11abg NIC (rev 01)
239 > > Subsystem: D-Link System Inc D-Link AirPlus DWL-G520 Wireless
240 > > PCI Adapter(rev.B)
241 > > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
242 > > ParErr- Stepping- SERR+ FastB2B-
243 > > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
244 > > >TAbort- <TAbort- <MAbort- >SERR- <PERR-
245 > > Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
246 > > Interrupt: pin A routed to IRQ 20
247 > > Region 0: Memory at efbf0000 (32-bit, non-prefetchable) [size=64K]
248 > > Capabilities: [44] Power Management version 2
249 > > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
250 > > PME(D0-,D1-,D2-,D3hot-,D3cold-)
251 > > Status: D0 PME-Enable- DSel=0 DScale=2 PME-
252 > >
253 > > iwconfig
254 > >
255 > > lo no wireless extensions.
256 > >
257 > > eth0 no wireless extensions.
258 > >
259 > > wifi0 no wireless extensions.
260 > >
261 > > ath0 IEEE 802.11g ESSID:"skyshaper" Nickname:"yule"
262 > > Mode:Managed Frequency:2.457 GHz Access Point: 00:19:5B:66:D5:0C
263 > > Bit Rate=54 Mb/s Tx-Power:18 dBm Sensitivity=0/3
264 > > Retry:off RTS thr:off Fragment thr:off
265 > > Encryption key:off
266 > > Power Management:off
267 > > Link Quality=59/94 Signal level=-36 dBm Noise level=-95 dBm
268 > > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
269 > > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
270 > >
271 > > ifconfig
272 > > ath0 Link encap:Ethernet HWaddr 00:19:5B:66:D8:B0
273 > > inet addr:169.254.0.3 Bcast:169.254.255.255 Mask:255.255.0.0
274 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
275 > > RX packets:3 errors:0 dropped:0 overruns:0 frame:0
276 > > TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
277 > > collisions:0 txqueuelen:0
278 > > RX bytes:42 (42.0 b) TX bytes:45610 (44.5 Kb)
279 > >
280 > > wifi0 Link encap:UNSPEC HWaddr
281 > > 00-19-5B-66-D8-B0-20-C1-00-00-00-00-00-00-00-00
282 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
283 > > RX packets:22118 errors:0 dropped:0 overruns:0 frame:1164
284 > > TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
285 > > collisions:0 txqueuelen:199
286 > > RX bytes:2799129 (2.6 Mb) TX bytes:70104 (68.4 Kb)
287 > > Interrupt:20 Memory:f93e0000-f93f0000
288 > >
289 > > Kernel IP routing table:
290 > > Destination Gateway Genmask Flags Metric Ref Use Iface
291 > > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
292 > > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ath0
293 > > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
294 > > 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
295 > >
296 > > cat /proc/net/wireless
297 > > Inter-| sta-| Quality | Discarded packets | Missed | WE
298 > > face | tus | link level noise | nwid crypt frag retry misc | beacon | 21
299 > > ath0: 0004 60. 221. 161. 0 0 0 0 0 0
300 > >
301 > > Windows Machine:
302 > >
303 > > No bad logs, no problems. It can ping the router ap, ping internet
304 > > address and even get dns responses from the ap. All other network
305 > > functions doesn't work.
306 > >
307 > > Both stations reports good signal.
308 > >
309 > > What about the "ath_hal: module license 'Proprietary' taints kernel."?
310 > > I thought the madwifi-ng modules were all open source. The madwifi-ng
311 > > package version is the latest until now (0.9.2.1).
312 > >
313 > > I don't know what else I can do. From what I know, it should be
314 > > working but mystical forces are haunting my network.
315 > >
316 > > I would appreciate any help.
317 > >
318 >
319 --
320 gentoo-user@g.o mailing list