You are not logged in.

#1 2011-07-27 19:11:18

KubAT
Member
From: Poland
Registered: 2011-07-27
Posts: 9
Website

madwifi - No Scan List - Atheros AR5001

[root@Kuba-Laptop ]# lspci | grep net
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

I compiled the madwifi drivers and tries to use them. Why? Because the "ath5k" have only 40% coverage where the Windows have 80%.

but ...

[root@Kuba-Laptop ]# ifconfig wlan0 down
[root@Kuba-Laptop ]# ifconfig eth0 down
[root@Kuba-Laptop ]# rmmod ath5k
[root@Kuba-Laptop ]# rmmod ath_pci
ERROR: Module ath_pci does not exist in /proc/modules
[root@Kuba-Laptop ]# modprobe ath_pci
[root@Kuba-Laptop ]# ifconfig 
eth0   Link encap:Ethernet HWaddr 00:1B:38:6A:FD:A8 
     UP BROADCAST 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:1000 
     RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
     Interrupt:17 

lo    Link encap:Local Loopback 
     inet addr:127.0.0.1 Mask:255.0.0.0
     inet6 addr: ::1/128 Scope:Host
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets:12 errors:0 dropped:0 overruns:0 frame:0
     TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0 
     RX bytes:720 (720.0 b) TX bytes:720 (720.0 b)

[root@Kuba-Laptop ]# ifconfig ath0 up
[root@Kuba-Laptop ]# ifconfig 
ath0   Link encap:Ethernet HWaddr 00:15:AF:E7:F8:82 
     inet6 addr: fe80::215:afff:fee7:f882/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)

eth0   Link encap:Ethernet HWaddr 00:1B:38:6A:FD:A8 
     UP BROADCAST 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:1000 
     RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
     Interrupt:17 

lo    Link encap:Local Loopback 
     inet addr:127.0.0.1 Mask:255.0.0.0
     inet6 addr: ::1/128 Scope:Host
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets:20 errors:0 dropped:0 overruns:0 frame:0
     TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0 
     RX bytes:1328 (1.2 Kb) TX bytes:1328 (1.2 Kb)

wifi0   Link encap:UNSPEC HWaddr 00-15-AF-E7-F8-82-80-00-00-00-00-00-00-00-00-00 
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:280 
     RX bytes:0 (0.0 b) TX bytes:690 (690.0 b)
     Interrupt:17 

[root@Kuba-Laptop ]# iwlist scan
lo    Interface doesn't support scanning.

eth0   Interface doesn't support scanning.

wifi0   Interface doesn't support scanning.

ath0   No scan results

from madwifi.org/Install-HOWTO/Commands.iwconfig.txt xD

#    iwlist scan
#        lo        Interface doesn't support scanning.
#        eth0      Interface doesn't support scanning.
#        ath0      No scan results
#            ( No scan results ---> is a bad thing )

Offline

#2 2011-07-29 20:35:18

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: madwifi - No Scan List - Atheros AR5001

After you do "ifconfig ath0 up" you then need to get an IP address from the router with "dhcpcd". Then look at ifconfig again to make sure you then have an IP address. only then can you successfully run "iwlist ath0 scan".

You can make the process simpler and have the ifconfig and dhcpcd done automatically with "wicd" or some other wireless network manager.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2011-08-04 19:06:58

KubAT
Member
From: Poland
Registered: 2011-07-27
Posts: 9
Website

Re: madwifi - No Scan List - Atheros AR5001

yeah, I use wicd

iwlist scan
is just example for this post. wicd also don't find any network

Offline

#4 2011-08-04 19:35:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: madwifi - No Scan List - Atheros AR5001

lagagnon wrote:

After you do "ifconfig ath0 up" you then need to get an IP address from the router with "dhcpcd". Then look at ifconfig again to make sure you then have an IP address. only then can you successfully run "iwlist ath0 scan".

That is incorrect. iwlist scan only deals with the wireless connection itself - the presence or absence of an ip address is irrelevant. Bringing the interface up is the only prerequisite for iwlist scan.

Offline

Board footer

Powered by FluxBB