Gentoo Archives: gentoo-laptop

From: Rob <rob@×××××××××××××××.com>
To: gentoo-laptop@l.g.o
Subject: [gentoo-laptop] WLAN Problems- need solution
Date: Mon, 18 Apr 2005 02:34:22
Message-Id: 42631D9B.1070409@pythonemproject.com
1 I decided to try to finally get WiFi working on my laptop. My WiFi
2 Cardbus card appears to lock onto my access point, but I can not ping
3 the router at 192.168.1.1. I am using a Netgear WG511T card. It seems
4 that no data is getting through. I am using 128bit WEP. Here are the
5 relevant files or outputs. I would appreciate any help. Thanks! Rob
6
7 lsmod output. This looks normal to me. I had to remove net_ath0 and
8 put net_eth0 back in so I could send this post.
9
10 Module Size Used by
11 wlan_wep 7040 1
12 pcmcia 20496 2
13 yenta_socket 21256 2
14 rsrc_nonstatic 10240 1 yenta_socket
15 snd_mixer_oss 19072 0
16 snd_seq_oss 34048 0
17 snd_seq_midi_event 7168 1 snd_seq_oss
18 snd_seq 52624 4 snd_seq_oss,snd_seq_midi_event
19 snd_seq_device 7948 2 snd_seq_oss,snd_seq
20 snd_intel8x0 30144 0
21 snd_ac97_codec 76536 1 snd_intel8x0
22 snd_pcm 84356 2 snd_intel8x0,snd_ac97_codec
23 snd_timer 22788 2 snd_seq,snd_pcm
24 snd 49380 8
25 snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
26 snd_page_alloc 8708 2 snd_intel8x0,snd_pcm
27 usbcore 108152 1
28 ath_pci 55200 0
29 ath_rate_onoe 8200 1 ath_pci
30 ath_hal 148048 2 ath_pci
31 wlan 110556 4 wlan_wep,ath_pci,ath_rate_onoe
32 b44 21508 0
33 nvidia 3918748 10
34 ------------------------------------------------------------
35 Here is the output of iwconfig:
36
37 plip0 no wireless extensions.
38
39 lo no wireless extensions.
40
41 eth0 no wireless extensions.
42
43 ath0 IEEE 802.11g ESSID:"eden" Nickname:"eden"
44 Mode:Managed Frequency:2.462 GHz Access Point:
45 00:0C:41:E2:EF:46
46 Bit Rate:36 Mb/s Tx-Power:50 dBm Sensitivity=0/3
47 Retry:off RTS thr:off Fragment thr:off
48 Encryption key:3574-3138-4997-8135-4734 Security
49 mode:restricted (I obscured the key)
50 Power Management:off
51 Link Quality=16/94 Signal level=-79 dBm Noise level=-95 dBm
52 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
53 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
54 -------------------------------------------------------------------------------------------
55 Here is my wireless-opts file for the MadWiFi driver
56
57 # Wireless LAN adapter configuration
58 #
59 # Theory of operation :
60 #
61 # The script attempts to match a block of settings to the specific wireless
62 # card inserted, the *first* block matching the card is used.
63 # The address format is "scheme,socket,instance,hwaddr", with * as a
64 wildcard.
65 # 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX').
66 # 'hwaddr' is the unique MAC address identifier of the wireless card.
67 # The MAC address is usually printed on the card, or can be found via
68 ifconfig.
69 # Some examples here use only half of the MAC address with a wildcard to
70 # match a whole family of cards...
71 #
72 # All the Wireless specific configuration is done through the Wireless
73 # Extensions, so we will just call 'iwconfig' with the right parameters
74 # defined below.
75 # Of course, you need to have iwconfig installled on your system.
76 # To download iwconfig, or for more info on Wireless Extensions :
77 # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
78 #
79 # Note : you don't need to fill all parameters, leave them blank, in most
80 # cases the driver will initialise itself with sane defaults values or
81 # automatically figure out the value... And no drivers do support all
82 # possible settings...
83 #
84 # If you make any mistakes, you'll get a cryptic message in the system
85 # log. You'll need to figure out on your own which parameter was wrong:
86 # cardmgr[310]: executing: './network start wvlan0'
87 # cardmgr[310]: + SIOCSIWMODE: Invalid argument
88 # I've tried to give more troubleshooting help at :
89 # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug
90 # In case of doubts, just check "/etc/pcmcia/wireless" for the gory
91 details...
92 #
93 # Note also that this script will work only with the original Pcmcia
94 scripts,
95 # and not with the default Red Hat scripts. Send a bug report to Red Hat ;-)
96 #
97 # Finally, send comments and flames to me, Jean Tourrilhes <jt@××××××.com>
98 #
99
100 case "$ADDRESS" in
101
102 # NOTE : Remove the following four lines to activate the samples below ...
103 #--------- START SECTION TO REMOVE -----------
104 *,*,*,*)
105 #INFO="Netgear"
106 # ESSID (extended network name) : My Network, any
107 ESSID="eden"
108 # NWID/Domain (cell identifier) : 89AB, 100, off
109 NWID=""
110 # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
111 MODE="Managed"
112 # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
113 #FREQ=""
114 CHANNEL="11"
115 # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
116 SENS=""
117 # Bit rate : auto, 1M, 11M
118 RATE="auto"
119 # Encryption key : 4567-89AB-CD, s:password
120 KEY="s:inagodadavida"
121 #KEY="A624F7A5F944ABACA8B1166670" (I obscured this again)
122 # RTS threshold : off, 500
123 RTS=""
124 # Fragmentation threshold : off, 1000
125 FRAG=""
126 # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
127 IWCONFIG="ap 00:0C:41:E2:EF:46"
128 # iwspy parameters : + 01:23:45:67:89:AB
129 IWSPY=""
130 # iwpriv parameters : set_port 2, set_histo 50 60
131 IWPRIV=""
132 ;;
133 esac
134 ----------------------------------------------------------------------------------
135 Here is my modules-autoload.d file. Again I had to add "b44" back in to
136 send this email:
137
138 # /etc/modules.autoload.d/kernel-2.6: kernel modules to load when
139 system boots.
140 # $Header:
141 /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload.d/kernel-2.6,v
142 1.1 2003/07/16 18:13:45 azarah Exp $
143 #
144 # Note that this file is for 2.6 kernels.
145 #
146 # Add the names of modules that you'd like to load when the system
147 # starts into this file, one per line. Comments begin with # and
148 # are ignored. Read man modules.autoload for additional details.
149
150 # For example:
151 # 3c59x
152 nvidia
153 b44
154 wlan
155 ath_hal
156 ath_pci
157 --------------------------------------------------
158 here is my conf.d/net file. Again, had to switch in eth0 to send this
159 email:
160
161 # This blank configuration will automatically use DHCP for any net.*
162 # scripts in /etc/init.d. To create a more complete configuration,
163 # please review /etc/conf.d/net.example and save your configuration
164 # in /etc/conf.d/net (this file :]!).
165 #iface_ath0="dhcp"
166 iface_eth0="dhcp"
167 --------------------------------------------------
168 Here is the syslog output for a net_ath0 attempt:
169
170 <snip>
171 Apr 15 10:13:08 localhost kernel: wlan: 0.8.4.5 (EXPERIMENTAL)
172 Apr 15 10:13:08 localhost kernel: ath_hal: 0.9.14.9 (AR5210, AR5211,
173 AR5212, RF5111, RF5112, RF2413)
174 Apr 15 10:13:08 localhost kernel: ath_rate_onoe: 1.0
175 Apr 15 10:13:08 localhost kernel: ath_pci: 0.9.4.12 (EXPERIMENTAL)
176 <snip>
177 Apr 15 10:13:18 localhost kernel: Yenta: CardBus bridge found at
178 0000:02:01.0 [1028:016a]
179 Apr 15 10:13:18 localhost kernel: Yenta: ISA IRQ mask 0x0458, PCI irq 11
180 Apr 15 10:13:18 localhost kernel: Socket status: 30000020
181 Apr 15 10:13:19 localhost kernel: PCI: Enabling device 0000:03:00.0
182 (0000 -> 0002)
183 Apr 15 10:13:19 localhost kernel: ACPI: PCI interrupt 0000:03:00.0[A] ->
184 GSI 11 (level, low) -> IRQ 11
185 Apr 15 10:13:19 localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps
186 11Mbps
187 Apr 15 10:13:19 localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps
188 11Mbps 6Mbps 9Mbps
189 Apr 15 10:13:19 localhost kernel: ath0: mac 5.6 phy 4.1 radio 4.6
190 Apr 15 10:13:19 localhost kernel: ath0: 802.11 address: 00:09:5b:c8:1e:19
191 Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 0 for WME_AC_BE traffic
192 Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 1 for WME_AC_BK traffic
193 Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 2 for WME_AC_VI traffic
194 Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 3 for WME_AC_VO traffic
195 Apr 15 10:13:19 localhost kernel: ath0: Atheros 5212: mem=0x40800000, irq=11
196 Apr 15 10:13:19 localhost cardmgr[7478]: watching 1 socket
197 <snip>
198 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Apr 15 10:13:25 localhost
199 rc-scripts: Configuration not set for ath0 - assuming dhcp
200 Apr 15 10:14:25 localhost dhcpcd[8976]: timed out waiting for a valid
201 DHCP server responseMbps
202 <snip>
203
204
205
206 --
207 gentoo-laptop@g.o mailing list

Replies

Subject Author
Re: [gentoo-laptop] WLAN Problems- need solution Jordi Molina <warp3r@×××××.com>