All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Roth <joelz@pobox.com>
To: Joel Roth <joelz@pobox.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: ath5k and Atheros AR242x - No scan results
Date: Sun, 12 Jul 2009 01:23:40 -1000	[thread overview]
Message-ID: <20090712112340.GA3315@sprite> (raw)
In-Reply-To: <20090630170916.GB5137@sprite>

On Tue, Jun 30, 2009 at 07:09:16AM -1000, Joel Roth wrote:
> Hello all,
> 
> I'd appreciate some help troubleshooting my wireless connection.
> 
> I have a Toshiba Satellite L305 series laptop running Debian
> sid with a recent, stock Debian kernel version 2.6.29-2-486.
> 
> $ lspci | grep Atheros
> 
> 05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
> 
> I am seeking to connect to a D-Link 614+ wireless router.
> For initial testing, the AP is unencrypted, unsecured.
> 
> My wife's G3 i-Book with AfterTheMac USB wireless adapter
> connected just fine, on the first try.
> 
> I believe I have the modules I should have:
> 
> $ lsmod | grep 80211
> mac80211              139680  1 ath5k
> cfg80211               21576  2 ath5k,mac80211
> 
> My wireless network interface is present:
> 
> $ iwconfig wlan0
> 
> wlan0     IEEE 802.11  ESSID:""  
>           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
>           Tx-Power=0 dBm   
>           Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> $ ifconfig wlan0
> 
> wlan0     Link encap:Ethernet  HWaddr 00:21:63:82:82:40  
>           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)
> 
> 
> However, I don't find the D-Link 614+:
> 
> $ iwlist wlan0 scan
> 
> wlan0     No scan results
> 
> And of course, dhclient fails to find a server.
> 
> Am I missing something? What could I try next?
> I'd appreciate any pointers.
> 
> Thanks.

Okay, I'm back with a new kernel 2.6.30.1 and the latest
ath5k. Here are my basic diagnostics data. 

$ iwlist wlan0 scan

wlan0     No scan results

$ iwlist wlan0 ap

wlan0     Interface doesn't have a list of Peers/Access-Points

$ iwconfig wlan0

wlan0     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

$ ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr 00:21:63:82:82:40  
          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)

dmesg highlights
 
[    4.884157] ath5k 0000:05:00.0: enabling device (0000 -> 0002)
[    4.884223] ath5k 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    4.884283] ath5k 0000:05:00.0: setting latency timer to 64
[    4.884326] ath5k 0000:05:00.0: registered as 'phy0'
[    6.411392] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[  337.543014] ADDRCONF(NETDEV_UP): wlan0: link is not ready

I compiled the kernel with debugfs support for wireless. Can someone
point me to helpful docs in setting this up.

Also, is there a chance that another driver would serve me better?

Regards,

-- 
Joel Roth

  parent reply	other threads:[~2009-07-12 11:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30 17:09 ath5k and Atheros AR242x - No scan results Joel Roth
2009-06-30 17:52 ` Luis R. Rodriguez
2009-06-30 18:25   ` Joel Roth
2009-06-30 18:34     ` Luis R. Rodriguez
2009-06-30 21:16 ` Nick Kossifidis
2009-07-01  7:24   ` Joel Roth
2009-07-04 19:10     ` Joel Roth
2009-07-12 11:23 ` Joel Roth [this message]
2009-07-12 15:08   ` Nick Kossifidis
2009-07-12 20:34     ` Joel Roth
2009-07-13 14:08       ` Bob Copeland
2009-07-14  6:54         ` Joel Roth
2009-07-16  6:14           ` Joel Roth
2009-07-16  6:54             ` Joel Roth
2009-07-16  8:46             ` Johannes Berg
2009-07-16 10:07               ` Joel Roth
2009-07-16 10:13                 ` Johannes Berg
2009-07-17  6:06                 ` Holger Schurig
2009-07-17  8:18                   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090712112340.GA3315@sprite \
    --to=joelz@pobox.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.