Gentoo Archives: gentoo-laptop

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

Replies

Subject Author
Re: [gentoo-laptop] WLAN Problems- need solution Rob <rob@×××××××××××××××.com>