Gentoo Archives: gentoo-user

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