[TriLUG] wifi problems: wifi associates with AP, but no IP traffic flows - Toshiba Laptop w/ FC6

Phillip Rhodes mindcrime at cpphacker.co.uk
Tue Mar 13 12:15:20 EDT 2007


Hi all, I'm having a problem that I hope someone can help
me out with. I have a Toshiba P25-S507 laptop with a built-in
Atheros based wifi card.  I know the card itself works
as it works fine when I boot into Windows (I'm using it
to send this e-mail, actually) and it worked under
Linux with mad-wifi under FC4.

Now I've installed FC6, and I cannot get things
to work.  The card will (apparently) associate
with the access point, but I can't get any traffic
in our out on the interface.  This is using the
latest (built from SVN sources) madwifi driver.

Here is some more detailed information on my
settings and the nature of the problem:

********* Atheros Problem Stuff: ******************

Contents of /etc/modprobe.conf
[root at localhost ~]# cat /etc/modprobe.conf
alias eth0 8139too
alias ath0 ath_pci
options ath_pci autocreate=sta

Output of ifconfig

[root at localhost ~]# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:90:96:5A:0A:E3
            inet addr:192.168.2.218  Bcast:192.168.2.255  Mask:255.255.255.0
            inet6 addr: fe80::290:96ff:fe5a:ae3/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wifi0     Link encap:UNSPEC  HWaddr
00-90-96-5A-0A-E3-38-AA-00-00-00-00-00-00-00-00
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:174 errors:0 dropped:0 overruns:0 frame:19
            TX packets:668 errors:55 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:199
            RX bytes:15873 (15.5 KiB)  TX bytes:26837 (26.2 KiB)
            Interrupt:18


Output of iwconfig ath0

[root at localhost ~]# iwconfig ath0
ath0      IEEE 802.11b  ESSID:"OPMINDCRIME"
Nickname:"localhost.localdomain"
            Mode:Managed  Frequency:2.457 GHz  Access Point:
00:09:5B:87:8D:6A
            Bit Rate=11 Mb/s   Tx-Power:0 dBm   Sensitivity=0/3
            Retry:off   RTS thr:off   Fragment thr:off
            Encryption key:3513-92FC-F9A3-2423-B324-D718-F6   Security
mode:restricted
            Power Management:off
            Link Quality=46/94  Signal level=-52 dBm  Noise level=-98 dBm
            Rx invalid nwid:1  Rx invalid crypt:0  Rx invalid frag:0
            Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Contents of /etc/sysconfig/network-scripts/ifcfg-ath0

# Atheros Wireless
DEVICE=ath0
BOOTPROTO=static
IPADDR=192.168.2.218
GATEWAY=192.168.2.221
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Wireless
USERCTL=yes
IPV6INIT=no
ESSID=OPMINDCRIME
CHANNEL=10
MODE=Managed
RATE=11M
AP=00:09:5B:87:8D:6A
IWPRIV="authmode 2"
IWPRIV="mode 2"

driver info from /var/log/dmesg

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17
eth0: RealTek RTL8139 at 0xf8842800, 00:02:3f:82:11:7b, IRQ 17
eth0:  Identified 8139 chip type 'RTL-8101'
intel_rng: FWH not detected
input: PC Speaker as /class/input/input3
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
wlan: 0.8.4.2 (svn r2187)
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.00 (08-Oct-2006)
iTCO_wdt: Found a ICH5 or ICH5R TCO device (Version=1, TCOBASE=0x1060)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
ath_pci: 0.9.4.5 (svn r2187)
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 18
ath_rate_sample: 1.2 (svn r2187)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES
wifi0: mac 4.2 phy 3.0 5 GHz radio 1.7 2 GHz radio 2.3
wifi0: Use hw queue 0 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 0 for WME_AC_VI traffic
wifi0: Use hw queue 0 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
cs: IO port probe 0x100-0x3af: excluding 0x200-0x20f 0x378-0x37f
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
wifi0: Atheros 5211: mem=0xc2000000, irq=18
cs: IO port probe 0x100-0x3af: excluding 0x200-0x20f 0x378-0x37f
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00023f373900782f]
ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.6 to 64
Unable to initialize codec #0
ACPI: PCI interrupt for device 0000:00:1f.6 disabled

Output of route command:

[root at localhost log]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 ath0
169.254.0.0     *               255.255.0.0     U     0      0        0 ath0
default         192.168.2.221   0.0.0.0         UG    0      0        0 ath0

IPTABLES status:

[root at localhost log]# iptables -L -n
ip_tables: (C) 2000-2006 Netfilter Core Team
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



Attempt to ping another host on the same network:

[root at localhost log]# ping 192.168.2.221
PING 192.168.2.221 (192.168.2.221) 56(84) bytes of data.
   From 192.168.2.218 icmp_seq=2 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=3 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=4 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=5 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=6 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=7 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=8 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=9 Destination Host Unreachable
   From 192.168.2.218 icmp_seq=10 Destination Host Unreachable

--- 192.168.2.221 ping statistics ---
12 packets transmitted, 0 received, +9 errors, 100% packet loss, time
11000ms
, pipe 4
********************* END ***********************************

Any ideas?  I'm guessing there is just a mistake in my
configuration somewhere, but right now I'll be darned if
I can figure out what it is.


Thanks,


Phil

-- 
http://www.linkedin.com/in/philliprhodes





More information about the TriLUG mailing list