-
19th February 2005, 02:49 AM
#1
atheros wlan on hp nc8000
I'm having trouble activating the wlan interface on my notebook
I'm running FC3 with all the latest patches and atheros drivers
I'm able to activate the card under windows with no problems and
it can access the internet via the gateway
While under linux the blue wlan light on the notebook is off while under
windows it's on - does this matter?
root [/] # ifconfig ath0
ath0 Link encap:Ethernet HWaddr 00:11:85:1C:F71
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:85ff:fe1c:f7d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:400 dropped:0 overruns:0 frame:400
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:0 (0.0 b) TX bytes:5113 (4.9 KiB)
Interrupt:11 Memory:e0bc0000-e0bd0000
root [/] # iwconfig ath0
ath0 IEEE 802.11g ESSID:"Middle Earth" Nickname:"valinor"
Mode:Managed Frequency:2.437 GHz Access Point: 00:50:18:1D:76:24
Bit Rate:11 Mb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:????-????-????-????-????-????-?? Security mode:restricted
Power Management:off
Link Quality=34/94 Signal level=-61 dBm Noise level=-95 dBm
Rx invalid nwid:1830 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
note: ????-????-????-????-????-????-?? is my valid wep key
root [/] # iwlist ath0 ap
ath0 Peers/Access-Points in range:
00:50:18:1D:76:24 : Quality=48/94 Signal level=-47 dBm Noise level=-95 dBm
00:50:F25:132 : Quality=11/94 Signal level=-84 dBm Noise level=-95 dBm
root [/] # iwlist ath0 scan
ath0 Scan completed :
Cell 01 - Address: 00:50:18:1D:76:24
ESSID:"Middle Earth"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=49/94 Signal level=-46 dBm Noise level=-95 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:22 Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:50:F25:132
ESSID:"MSHOME"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=19/94 Signal level=-76 dBm Noise level=-95 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5 Mb/s
Bit Rate:11 Mb/s
Extra:bcn_int=100
root [/] # netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ath0
0.0.0.0 192.168.1.100 0.0.0.0 UG 0 0 0 ath0
root [/] # ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
From 192.168.1.101 icmp_seq=1 Destination Host Unreachable
From 192.168.1.101 icmp_seq=2 Destination Host Unreachable
From 192.168.1.101 icmp_seq=3 Destination Host Unreachable
--- 192.168.1.100 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 4
-
19th February 2005, 03:21 AM
#2
It looks like everything is up and running and should be working. You don't have iptables running blocking pings on either host do you? I have an Atheros card too (am typing this over it) and everything looks right. Can you explain more about your IP configuration on both your host and your gateway (192.168.1.100)? Is your gateway your access point? Is the 192.168.1.101 address assigned on your laptop assigned via DHCP or is it static? Is there any sort of MAC filtering being done on your access point? Can I assume that by latest patches and drivers you mean you are running the latest kernel and are running the latest madwifi CVS?
-
19th February 2005, 03:58 AM
#3
Originally Posted by
Void Main
It looks like everything is up and running and should be working. You don't have iptables running blocking pings on either host do you? I have an Atheros card too (am typing this over it) and everything looks right. Can you explain more about your IP configuration on both your host and your gateway (192.168.1.100)? Is your gateway your access point? Is the 192.168.1.101 address assigned on your laptop assigned via DHCP or is it static? Is there any sort of MAC filtering being done on your access point? Can I assume that by latest patches and drivers you mean you are running the latest kernel and are running the latest madwifi CVS?
ftp/wget don't work either
1.101 is my static ip
1.100 is the wireless access point/dns/default gateway
MAC Address Control is disabled on the wap
FC3 latest kernel
madwifi from: http://pipiche.free.fr/Downloads/Fed...0217-1.src.rpm
-
19th February 2005, 04:23 AM
#4
What does this output:
# ping -b 192.168.1.255
and this:
# arp -a
-
19th February 2005, 04:34 AM
#5
root [/media] # ping -b 192.168.1.255
WARNING: pinging broadcast address
PING 192.168.1.255 (192.168.1.255) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_seq=0 ttl=64 time=0.153 ms
64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=0.048 ms
--- 192.168.1.255 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.032/0.077/0.153/0.054 ms, pipe 2
root [/media] # arp -a
nada
-
19th February 2005, 04:35 AM
#6
Did you install the correct madwifi drivers?
-
19th February 2005, 04:54 AM
#7
Originally Posted by
imdeemvp
Did you install the correct madwifi drivers?
I compiled the src and then modprobe ath_pci
-
19th February 2005, 05:02 AM
#8
I always get the latest CVS and "make;make install" and they work perfect. Again, your drivers appear to be working though because your client can see the access point just fine according to the output of your commands. It appears layer 2 is working. layer 3 seems to be where the problem is.
-
19th February 2005, 05:08 AM
#9
Originally Posted by
Void Main
I always get the latest CVS and "make;make install" and they work perfect. Again, your drivers appear to be working though because your client can see the access point just fine according to the output of your commands. It appears layer 2 is working. layer 3 seems to be where the problem is.
I guess I can try to compile from cvs
Time to call it a night - Thanks for your help
-
19th February 2005, 05:45 PM
#10
Originally Posted by
isillight
I guess I can try to compile from cvs
Time to call it a night - Thanks for your help
I compiled the src from cvs and I get the same results
When I run system-config-network I get this error on stdout:
Warning : Device ath0 has been compiled with version 17
of Wireless Extension, while we are using version 16.
Some things may be broken...
uname -a
Linux valinor 2.6.10-1.766_FC3 #1 Wed Feb 9 23:06:42 EST 2005 i686 i686 i386 GNU/Linux
-
19th February 2005, 06:40 PM
#11
To be honest I've never used system-config-network to configure mine but I did just run it and get the same error message. Like I said, I don't think the problem with the driver because it appears to be working. It's the layer 3 configuration that appears wrong (ip configuration). layer 2 communication appears to be happening. What does your /etc/sysconfig/network-scripts/ifcfg-ath0 have in it and would it be possible to see the configuration of your access point (sanitized of wep keys of course).
-
19th February 2005, 07:34 PM
#12
Originally Posted by
Void Main
To be honest I've never used system-config-network to configure mine but I did just run it and get the same error message. Like I said, I don't think the problem with the driver because it appears to be working. It's the layer 3 configuration that appears wrong (ip configuration). layer 2 communication appears to be happening. What does your /etc/sysconfig/network-scripts/ifcfg-ath0 have in it and would it be possible to see the configuration of your access point (sanitized of wep keys of course).
ifcfg-ath0:
# Atheros Communications, Inc. AR5212 802.11abg NIC
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=none
ESSID='Middle Earth'
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.1.101
DOMAIN=
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.1.100
TYPE=Wireless
IPV6INIT=no
RATE=Auto
CHANNEL=6
HWADDR=
MODE=Managed
keys-ath0:
KEY=??????????????????????????
network:
NETWORKING=yes
HOSTNAME=valinor
hosts:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.1.101 valinor
athstats ath0:
input output altrate short long xretry crcerr crypt phyerr rssi rate
0 5 0 0 0 0 13 0 209 27 11M
0 0 0 0 0 0 0 0 0 27 11M
0 0 0 0 0 0 0 0 0 28 11M
0 0 0 0 0 0 0 0 2 25 11M
WAP settings:
http://www.mjollnir.org/~legolas/wireless.bmp
http://www.mjollnir.org/~legolas/mac.bmp
-
19th February 2005, 07:48 PM
#13
root [/] # lspci | grep Ather
02:04.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
-
19th February 2005, 08:06 PM
#14
Hmm, everything still looks good to me except you didn't provide your IP configuration of your access point. However, I do have one more setting in my ifcfg-ath0 file that you do not have:
IWPRIV="mode 0"
This may or may not still be required on mine but it was a while back. Other than that my setup looks just like yours (except I am using DHCP which I assume is not working in your current state). Do you use a static address on your Windows side as well?
One other thing. Does your access point do any kind of logging? Can you turn the log verbosity up and check for error messages, or whether it sees your client trying to connect and if it is rejecting anything for any reason?
Last edited by Void Main; 19th February 2005 at 08:13 PM.
-
19th February 2005, 08:15 PM
#15
Originally Posted by
Void Main
Hmm, everything still looks good to me except you didn't provide your IP configuration of your access point. However, I do have one more setting in my ifcfg-ath0 file that you do not have:
IWPRIV="mode 0"
This may or may not still be required on mine but it was a while back. Other than that my setup looks just like yours (except I am using DHCP which I assume is not working in your current state). Do you use a static address on your Windows side as well?
I'm using the same static ip under windows without issue
http://www.mjollnir.org/~legolas/ip.bmp
Similar Threads
-
By pkuehnle in forum Hardware
Replies: 0
Last Post: 17th April 2009, 06:31 AM
-
By sauny in forum Servers & Networking
Replies: 16
Last Post: 12th October 2008, 05:15 PM
-
By riple in forum Servers & Networking
Replies: 7
Last Post: 5th October 2008, 05:18 PM
-
By ruipedroca in forum Servers & Networking
Replies: 1
Last Post: 8th June 2008, 12:43 PM
-
By Gallan in forum Hardware
Replies: 2
Last Post: 6th April 2006, 10:01 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]