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
I'm not a guru setting up MadDriver, but at the physical layer I see
that you have:

Link Quality=16/94


This is _very_ low, normally I won't expect success in data
transmission with a quality below 50%.

I also see that you are connected at 36 MBps, this can be due to the
low quality in signal also.


I recommend you disabling the WEP encryption until you set up the
connection correctly, just to make things easier. Then you can also
try to:
- Fix the transmit rate in Atheros config file: try first to fix it to
11M and then check the link quality. Keep increasing it until you see
that the quality decreases
- If you're using dhcp ensure that you've obtained a valid ip from the server

That's all :)
Hope it helps you


cheers


On 4/18/05, Rob <rob@×××××××××××××××.com> wrote:
> I decided to try to finally get WiFi working on my laptop. My WiFi > Cardbus card appears to lock onto my access point, but I can not ping > the router at 192.168.1.1. I am using a Netgear WG511T card. It seems > that no data is getting through. I am using 128bit WEP. Here are the > relevant files or outputs. I would appreciate any help. Thanks! Rob > > lsmod output. This looks normal to me. I had to remove net_ath0 and > put net_eth0 back in so I could send this post. > > Module Size Used by > wlan_wep 7040 1 > pcmcia 20496 2 > yenta_socket 21256 2 > rsrc_nonstatic 10240 1 yenta_socket > snd_mixer_oss 19072 0 > snd_seq_oss 34048 0 > snd_seq_midi_event 7168 1 snd_seq_oss > snd_seq 52624 4 snd_seq_oss,snd_seq_midi_event > snd_seq_device 7948 2 snd_seq_oss,snd_seq > snd_intel8x0 30144 0 > snd_ac97_codec 76536 1 snd_intel8x0 > snd_pcm 84356 2 snd_intel8x0,snd_ac97_codec > snd_timer 22788 2 snd_seq,snd_pcm > snd 49380 8 > snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer > snd_page_alloc 8708 2 snd_intel8x0,snd_pcm > usbcore 108152 1 > ath_pci 55200 0 > ath_rate_onoe 8200 1 ath_pci > ath_hal 148048 2 ath_pci > wlan 110556 4 wlan_wep,ath_pci,ath_rate_onoe > b44 21508 0 > nvidia 3918748 10 > ------------------------------------------------------------ > Here is the output of iwconfig: > > plip0 no wireless extensions. > > lo no wireless extensions. > > eth0 no wireless extensions. > > ath0 IEEE 802.11g ESSID:"eden" Nickname:"eden" > Mode:Managed Frequency:2.462 GHz Access Point: > 00:0C:41:E2:EF:46 > Bit Rate:36 Mb/s Tx-Power:50 dBm Sensitivity=0/3 > Retry:off RTS thr:off Fragment thr:off > Encryption key:3574-3138-4997-8135-4734 Security > mode:restricted (I obscured the key) > Power Management:off > Link Quality=16/94 Signal level=-79 dBm Noise level=-95 dBm > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 > ------------------------------------------------------------------------------------------- > Here is my wireless-opts file for the MadWiFi driver > > # Wireless LAN adapter configuration > # > # Theory of operation : > # > # The script attempts to match a block of settings to the specific wireless > # card inserted, the *first* block matching the card is used. > # The address format is "scheme,socket,instance,hwaddr", with * as a > wildcard. > # 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX'). > # 'hwaddr' is the unique MAC address identifier of the wireless card. > # The MAC address is usually printed on the card, or can be found via > ifconfig. > # Some examples here use only half of the MAC address with a wildcard to > # match a whole family of cards... > # > # All the Wireless specific configuration is done through the Wireless > # Extensions, so we will just call 'iwconfig' with the right parameters > # defined below. > # Of course, you need to have iwconfig installled on your system. > # To download iwconfig, or for more info on Wireless Extensions : > # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html > # > # Note : you don't need to fill all parameters, leave them blank, in most > # cases the driver will initialise itself with sane defaults values or > # automatically figure out the value... And no drivers do support all > # possible settings... > # > # If you make any mistakes, you'll get a cryptic message in the system > # log. You'll need to figure out on your own which parameter was wrong: > # cardmgr[310]: executing: './network start wvlan0' > # cardmgr[310]: + SIOCSIWMODE: Invalid argument > # I've tried to give more troubleshooting help at : > # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug > # In case of doubts, just check "/etc/pcmcia/wireless" for the gory > details... > # > # Note also that this script will work only with the original Pcmcia > scripts, > # and not with the default Red Hat scripts. Send a bug report to Red Hat ;-) > # > # Finally, send comments and flames to me, Jean Tourrilhes <jt@××××××.com> > # > > case "$ADDRESS" in > > # NOTE : Remove the following four lines to activate the samples below ... > #--------- START SECTION TO REMOVE ----------- > *,*,*,*) > #INFO="Netgear" > # ESSID (extended network name) : My Network, any > ESSID="eden" > # NWID/Domain (cell identifier) : 89AB, 100, off > NWID="" > # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto > MODE="Managed" > # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency) > #FREQ="" > CHANNEL="11" > # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm) > SENS="" > # Bit rate : auto, 1M, 11M > RATE="auto" > # Encryption key : 4567-89AB-CD, s:password > KEY="s:inagodadavida" > #KEY="A624F7A5F944ABACA8B1166670" (I obscured this again) > # RTS threshold : off, 500 > RTS="" > # Fragmentation threshold : off, 1000 > FRAG="" > # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB > IWCONFIG="ap 00:0C:41:E2:EF:46" > # iwspy parameters : + 01:23:45:67:89:AB > IWSPY="" > # iwpriv parameters : set_port 2, set_histo 50 60 > IWPRIV="" > ;; > esac > ---------------------------------------------------------------------------------- > Here is my modules-autoload.d file. Again I had to add "b44" back in to > send this email: > > # /etc/modules.autoload.d/kernel-2.6: kernel modules to load when > system boots. > # $Header: > /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload.d/kernel-2.6,v > 1.1 2003/07/16 18:13:45 azarah Exp $ > # > # Note that this file is for 2.6 kernels. > # > # Add the names of modules that you'd like to load when the system > # starts into this file, one per line. Comments begin with # and > # are ignored. Read man modules.autoload for additional details. > > # For example: > # 3c59x > nvidia > b44 > wlan > ath_hal > ath_pci > -------------------------------------------------- > here is my conf.d/net file. Again, had to switch in eth0 to send this > email: > > # This blank configuration will automatically use DHCP for any net.* > # scripts in /etc/init.d. To create a more complete configuration, > # please review /etc/conf.d/net.example and save your configuration > # in /etc/conf.d/net (this file :]!). > #iface_ath0="dhcp" > iface_eth0="dhcp" > -------------------------------------------------- > Here is the syslog output for a net_ath0 attempt: > > <snip> > Apr 15 10:13:08 localhost kernel: wlan: 0.8.4.5 (EXPERIMENTAL) > Apr 15 10:13:08 localhost kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, > AR5212, RF5111, RF5112, RF2413) > Apr 15 10:13:08 localhost kernel: ath_rate_onoe: 1.0 > Apr 15 10:13:08 localhost kernel: ath_pci: 0.9.4.12 (EXPERIMENTAL) > <snip> > Apr 15 10:13:18 localhost kernel: Yenta: CardBus bridge found at > 0000:02:01.0 [1028:016a] > Apr 15 10:13:18 localhost kernel: Yenta: ISA IRQ mask 0x0458, PCI irq 11 > Apr 15 10:13:18 localhost kernel: Socket status: 30000020 > Apr 15 10:13:19 localhost kernel: PCI: Enabling device 0000:03:00.0 > (0000 -> 0002) > Apr 15 10:13:19 localhost kernel: ACPI: PCI interrupt 0000:03:00.0[A] -> > GSI 11 (level, low) -> IRQ 11 > Apr 15 10:13:19 localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps > 11Mbps > Apr 15 10:13:19 localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps > 11Mbps 6Mbps 9Mbps > Apr 15 10:13:19 localhost kernel: ath0: mac 5.6 phy 4.1 radio 4.6 > Apr 15 10:13:19 localhost kernel: ath0: 802.11 address: 00:09:5b:c8:1e:19 > Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 0 for WME_AC_BE traffic > Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 1 for WME_AC_BK traffic > Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 2 for WME_AC_VI traffic > Apr 15 10:13:19 localhost kernel: ath0: Use hw queue 3 for WME_AC_VO traffic > Apr 15 10:13:19 localhost kernel: ath0: Atheros 5212: mem=0x40800000, irq=11 > Apr 15 10:13:19 localhost cardmgr[7478]: watching 1 socket > <snip> > 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Apr 15 10:13:25 localhost > rc-scripts: Configuration not set for ath0 - assuming dhcp > Apr 15 10:14:25 localhost dhcpcd[8976]: timed out waiting for a valid > DHCP server responseMbps > <snip> > > -- > gentoo-laptop@g.o mailing list > >
-- Jordi Molina Casas (warp3r) mail: warp3r@×××××.com www: www.warp3r.com If you're still sending mail to warper@eresmas, please update your address book, my current email is warp3r@×××××.com -- gentoo-laptop@g.o mailing list

Replies

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