Re: Fw: 9825 wireless card auto disconnects!

2010-09-04 Thread William Shu
Thanks Greg,
The connection still fails over an open network. The only difference is that 
the SIOCSIFFLAGS: Unknown error 132 error does not occur with /sbin/ifconfig 
wlan0 up, viz:
[r...@slinux sluser]# `/sbin/ifconfig wlan0 down; /sbin/modprobe -r ath9k`
[r...@slinux sluser]# /sbin/modprobe ath9k; /sbin/ifconfig wlan0 up
[r...@slinux sluser]# exit

Thanks for the suggestions Greg, but I can't tinker with the machine, given 
that it's a wrong specification and I expect it to be swapped for what was 
originally requested. Unfortunately, I now have to make do as everything is 
taking forever ...

William.


--- On Tue, 8/31/10, Greg Heilers gheil...@earthlink.net wrote:

 From: Greg Heilers gheil...@earthlink.net
 Subject: Re: Fw: 9825 wireless card auto disconnects!
 To: William Shu ws...@yahoo.com
 Date: Tuesday, August 31, 2010, 5:32 AM
 I had trouble with the Atheros cards
 when I installed Ubuntu on a friend's
 Toshiba Laptop.  On my own Dell laptop, the stock
 Broadcom card gave
 me trouble...so I simply bought an Intel card for about
 $25.00, and it
 works perfectly (running Slackware and Debian).  I
 have also often noticed
 a great difference in performance of the wireless cards,
 between a Live DVD
 environment, and a full-blown hard-drive-installed
 environment.
 
 Does it connect successfully to a free and open network,
 such as at the library?
 
 My suggestion - see if you can find a cheap Intel card that
 is compatible
 with your Compaq. 
 
 
 
 On Mon, 30 Aug 2010 08:59:31 -0700 (PDT)
 William Shu ws...@yahoo.com
 wrote:
 
  Dear All,
  I forwarded this mail back in July buy got no reply.
 So I can use the machine, does anyone have a workaround that
 avoids changing/recompiling stock SL software/kernel?
 (Googling seems to suggest there is a fundamental problem; I
 lack the needed networking skills.)
  
  Many thanks
  
  William.
  
  --- On Wed, 7/21/10, William Shu ws...@yahoo.com
 wrote:
  
   From: William Shu ws...@yahoo.com
   Subject: 9825 wireless card auto disconnects!
   To: scientific-linux-us...@fnal.gov
   Cc: William S. Shu ws...@yahoo.com
   Date: Wednesday, July 21, 2010, 7:54 PM
   Dear all,
   I have an atheros 9825 wireless card (on a
 compaq
   CQ60-615DX) which is detected, but somehow fails
 to connect
   to -- or rather immediately disconnects
 immediately from --
   the network when the password is given. I am
 running it
   using linux 5.5 livedvd, but the same device
 connects
   successfully under Windows7.
   
   It seems this issue was discussed sometime
 before, but I do
   not seem to find it. Any help appreciated. Below
 are details
   from wpa_supplicant.log and dmesg that I guess
 are helpful.
   
   William.
   
   $ uname -a
   Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7
 01:52:57
   EDT 2010 i686 i686 i386 GNU/Linux
   
   $ cat /var/log/wpa_supplicant.log 
   (wext) Device wlan0 kernel driver name: ath9k.
   Device wlan0 kernel driver name: ath9k.
   Trying to associate with 00:18:e7:01:64:af
   (SSID='doit1wlan' freq=2437 MHz)
   Associated with 00:18:e7:01:64:af
   WPA: Key negotiation completed with
 00:18:e7:01:64:af
   [PTK=TKIP GTK=TKIP]
   CTRL-EVENT-CONNECTED - Connection to
 00:18:e7:01:64:af
   completed (auth) [id=0 id_str=]
   CTRL-EVENT-DISCONNECTED - Disconnect event -
 remove keys
   
   
   $ dmesg |tail -35 
   r8169: eth0: link down
   ADDRCONF(NETDEV_UP): eth0: link is not ready
   ADDRCONF(NETDEV_UP): wlan0: link is not ready
   ACPI: PCI interrupt for device :00:1b.0
 disabled
   PCI: Enabling device :00:1b.0 ( -
 0002)
   ACPI: PCI Interrupt :00:1b.0[A] - GSI 22
 (level,
   low) - IRQ 58
   PCI: Setting latency timer of device :00:1b.0
 to 64
   hfs: unable to find HFS+ superblock
   ACPI: PCI interrupt for device :00:1b.0
 disabled
   PCI: Enabling device :00:1b.0 ( -
 0002)
   ACPI: PCI Interrupt :00:1b.0[A] - GSI 22
 (level,
   low) - IRQ 58
   PCI: Setting latency timer of device :00:1b.0
 to 64
   [drm] Initialized drm 1.0.1 20051102
   ACPI: PCI Interrupt :00:02.0[A] - GSI 16
 (level,
   low) - IRQ 74
   [drm] Initialized i915 1.8.0 20060929 on minor 0
   set status page addr 0x03fff000
   wlan0: direct probe to AP 00:18:e7:01:64:af (try
 1)
   wlan0: deauthenticating from 00:18:e7:01:64:af by
 local
   choice (reason=3)
   wlan0: direct probe to AP 00:18:e7:01:64:af (try
 1)
   wlan0: direct probe responded

   wlan0: authenticate with AP 00:18:e7:01:64:af
 (try 1)
   wlan0: authenticated
   wlan0: associate with AP 00:18:e7:01:64:af (try
 1)
   wlan0: RX AssocResp from 00:18:e7:01:64:af
 (capab=0x431
   status=0 aid=1)
   wlan0: associated
   ADDRCONF(NETDEV_CHANGE): wlan0: link becomes
 ready
   wlan0: no IPv6 routers present
   wlan0: deauthenticating from 00:18:e7:01:64:af by
 local
   choice (reason=3)
   
   
   
         
   
 
 
 --
 
 Greg Heilers
 Registered Linux user #328317 
 Slackware 12.2 (2.6.27.7)
 Debian Lenny (2.6.27.7)
 AUS
 
 For two incredible email

Re: 9825 wireless card auto disconnects!

2010-09-03 Thread William Shu
Thanks Isaac, Alan.
Sorry I do not currently have immediate access.

Alan, the details of network devices are given below.

Isaac, the suggestion to restart wireless did not work. Details given below.

--- Details of network devices ---
[slu...@slinux ~]$ 
[slu...@slinux ~]$ for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { 
print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done
01:00.0 Ethernet controller Realtek Semiconductor Co., Ltd. 
RTL8101E/RTL8102E PCI Express Fast Ethernet controller -r02 Hewlett-Packard 
Company Unknown device 360b
01:00.0 0200: 10ec:8136 (rev 02)
02:00.0 Network controller Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) -r01 Hewlett-Packard Company Unknown device 
303f
02:00.0 0280: 168c:002b (rev 01)
[slu...@slinux ~]$ grep -i 168c /lib/modules/*/modules.alias | grep -i 002b
alias pci:v168Cd002Bsv*sd*bc*sc*i* ath9k
[slu...@slinux ~]$ 



- restart of wireless device -

[slu...@slinux ~]$ su
[r...@slinux sluser]# /sbin/ifconfig wlan0
wlan0 Link encap:Ethernet  HWaddr C4:17:FE:96:B1:B7  
  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)

[r...@slinux sluser]# /sbin/ifconfig wlan0 down; /sbin/modprobe -r ath9k
[r...@slinux sluser]# 
[r...@slinux sluser]# /sbin/modprobe ath9k; /sbin/ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132
[r...@slinux sluser]# 
[r...@slinux sluser]# dmesg |tail -23
ACPI: PCI interrupt for device :02:00.0 disabled
ath9k: Driver unloaded
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
(517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
PCI: Enabling device :02:00.0 ( - 0002)
ACPI: PCI Interrupt :02:00.0[A] - GSI 17 (level, low) - IRQ 225
PCI: Setting latency timer of device :02:00.0 to 64
ath: EEPROM regdomain: 0x69
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x69
phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9285 MAC/BB Rev:2 AR5133 RF Rev:e0: mem=0xf8d0, irq=225
[r...@slinux sluser]# 


--- On Fri, 9/3/10, William Shu ws...@yahoo.com wrote:

 From: William Shu ws...@yahoo.com
 Subject: Re: 9825 wireless card auto disconnects!
 To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov, 
 Isaac ibid...@lavabit.com
 Date: Friday, September 3, 2010, 1:28 AM
 Many Thanks Isaac,
 I will try out your suggestions ASAP.
 
 William.
 
 
 --- On Tue, 8/31/10, Isaac ibid...@lavabit.com
 wrote:
 
  From: Isaac ibid...@lavabit.com
  Subject: Re: 9825 wireless card auto disconnects!
  To: scientific-linux-us...@fnal.gov
 scientific-linux-us...@fnal.gov
  Date: Tuesday, August 31, 2010, 8:09 AM
  On Mon, 30 Aug 2010 08:59:31 -0700
  (PDT)
  William Shu wrote:
  
   Dear All,
   I forwarded this mail back in July buy got no
 reply.
  So I can use the
   machine, does anyone have a workaround that
 avoids
   changing/recompiling stock SL software/kernel?
  (Googling seems to
   suggest there is a fundamental problem; I lack
 the
  needed networking
   skills.)
   
   Many thanks
   
   William.
   
  ..
I have an atheros 9825 wireless card (on a
  compaq
CQ60-615DX) which is detected, but somehow
 fails
  to connect
to -- or rather immediately disconnects
  immediately from --
the network when the password is given. I
 am
  running it
using linux 5.5 livedvd, but the same
 device
  connects
successfully under Windows7.
  
  Atheros 9825? That sounds like it should be
 wireless-n,
  supported by
  ath9k (or perhaps madwifi-hal-0.10.5.6, but don't
 expect
  the latter to
  be easy).
  Here's a little info:
  http://madwifi-project.org/wiki/Compatibility/Atheros
  
  I'd see whether `ifconfig wlan0 down;modprobe -r
 ath9k`
  and
  `modprobe ath9k; ifconfig wlan0 up` will get it
 working.
  If not, I'd try the CentOS 2.6.32 kernel/some RHEL6
 kernel;
  try another
  distro; or wait a little bit.
  
  Be aware that ath9k is a work in progress.
  

It seems this issue was discussed sometime
  before, but I do
not seem to find it. Any help appreciated.
 Below
  are details
from wpa_supplicant.log and dmesg that I

Re: 9825 wireless card auto disconnects!

2010-09-02 Thread William Shu
Many Thanks Isaac,
I will try out your suggestions ASAP.

William.


--- On Tue, 8/31/10, Isaac ibid...@lavabit.com wrote:

 From: Isaac ibid...@lavabit.com
 Subject: Re: 9825 wireless card auto disconnects!
 To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov
 Date: Tuesday, August 31, 2010, 8:09 AM
 On Mon, 30 Aug 2010 08:59:31 -0700
 (PDT)
 William Shu wrote:
 
  Dear All,
  I forwarded this mail back in July buy got no reply.
 So I can use the
  machine, does anyone have a workaround that avoids
  changing/recompiling stock SL software/kernel?
 (Googling seems to
  suggest there is a fundamental problem; I lack the
 needed networking
  skills.)
  
  Many thanks
  
  William.
  
 ..
   I have an atheros 9825 wireless card (on a
 compaq
   CQ60-615DX) which is detected, but somehow fails
 to connect
   to -- or rather immediately disconnects
 immediately from --
   the network when the password is given. I am
 running it
   using linux 5.5 livedvd, but the same device
 connects
   successfully under Windows7.
 
 Atheros 9825? That sounds like it should be wireless-n,
 supported by
 ath9k (or perhaps madwifi-hal-0.10.5.6, but don't expect
 the latter to
 be easy).
 Here's a little info:
 http://madwifi-project.org/wiki/Compatibility/Atheros
 
 I'd see whether `ifconfig wlan0 down;modprobe -r ath9k`
 and
 `modprobe ath9k; ifconfig wlan0 up` will get it working.
 If not, I'd try the CentOS 2.6.32 kernel/some RHEL6 kernel;
 try another
 distro; or wait a little bit.
 
 Be aware that ath9k is a work in progress.
 
   
   It seems this issue was discussed sometime
 before, but I do
   not seem to find it. Any help appreciated. Below
 are details
   from wpa_supplicant.log and dmesg that I guess
 are helpful.
 ..
 


  


Re: 9825 wireless card auto disconnects!

2010-08-31 Thread Isaac
On Mon, 30 Aug 2010 08:59:31 -0700 (PDT)
William Shu wrote:

 Dear All,
 I forwarded this mail back in July buy got no reply. So I can use the
 machine, does anyone have a workaround that avoids
 changing/recompiling stock SL software/kernel? (Googling seems to
 suggest there is a fundamental problem; I lack the needed networking
 skills.)
 
 Many thanks
 
 William.
 
..
  I have an atheros 9825 wireless card (on a compaq
  CQ60-615DX) which is detected, but somehow fails to connect
  to -- or rather immediately disconnects immediately from --
  the network when the password is given. I am running it
  using linux 5.5 livedvd, but the same device connects
  successfully under Windows7.

Atheros 9825? That sounds like it should be wireless-n, supported by
ath9k (or perhaps madwifi-hal-0.10.5.6, but don't expect the latter to
be easy).
Here's a little info:
http://madwifi-project.org/wiki/Compatibility/Atheros

I'd see whether `ifconfig wlan0 down;modprobe -r ath9k` and
`modprobe ath9k; ifconfig wlan0 up` will get it working.
If not, I'd try the CentOS 2.6.32 kernel/some RHEL6 kernel; try another
distro; or wait a little bit.

Be aware that ath9k is a work in progress.

  
  It seems this issue was discussed sometime before, but I do
  not seem to find it. Any help appreciated. Below are details
  from wpa_supplicant.log and dmesg that I guess are helpful.
..


Re: 9825 wireless card auto disconnects!

2010-08-31 Thread Alan Bartlett
On 31 August 2010 07:09, Isaac ibid...@lavabit.com wrote:
 On Mon, 30 Aug 2010 08:59:31 -0700 (PDT)
 William Shu wrote:

 Dear All,
 I forwarded this mail back in July buy got no reply. So I can use the
 machine, does anyone have a workaround that avoids
 changing/recompiling stock SL software/kernel? (Googling seems to
 suggest there is a fundamental problem; I lack the needed networking
 skills.)

 Many thanks

 William.

 ..
  I have an atheros 9825 wireless card (on a compaq
  CQ60-615DX) which is detected, but somehow fails to connect
  to -- or rather immediately disconnects immediately from --
  the network when the password is given. I am running it
  using linux 5.5 livedvd, but the same device connects
  successfully under Windows7.

 Atheros 9825? That sounds like it should be wireless-n, supported by
 ath9k (or perhaps madwifi-hal-0.10.5.6, but don't expect the latter to
 be easy).
 Here's a little info:
 http://madwifi-project.org/wiki/Compatibility/Atheros

 I'd see whether `ifconfig wlan0 down;modprobe -r ath9k` and
 `modprobe ath9k; ifconfig wlan0 up` will get it working.
 If not, I'd try the CentOS 2.6.32 kernel/some RHEL6 kernel; try another
 distro; or wait a little bit.

 Be aware that ath9k is a work in progress.

 
  It seems this issue was discussed sometime before, but I do
  not seem to find it. Any help appreciated. Below are details
  from wpa_supplicant.log and dmesg that I guess are helpful.

When asking about a driver for a recalcitrant device, it is always
helpful to quote the Vendor:Device ID Pairing (a.k.a. the device
fingerprint). This can be obtained from the output of a lspci / lsusb
command, depending upon the device type.

An example of this can be seen in FAQ #4 at the ELRepo Project's FAQ page [1].

Alan.

[1] http://elrepo.org/tiki/FAQ


Fw: 9825 wireless card auto disconnects!

2010-08-30 Thread William Shu
Dear All,
I forwarded this mail back in July buy got no reply. So I can use the machine, 
does anyone have a workaround that avoids changing/recompiling stock SL 
software/kernel? (Googling seems to suggest there is a fundamental problem; I 
lack the needed networking skills.)

Many thanks

William.

--- On Wed, 7/21/10, William Shu ws...@yahoo.com wrote:

 From: William Shu ws...@yahoo.com
 Subject: 9825 wireless card auto disconnects!
 To: scientific-linux-us...@fnal.gov
 Cc: William S. Shu ws...@yahoo.com
 Date: Wednesday, July 21, 2010, 7:54 PM
 Dear all,
 I have an atheros 9825 wireless card (on a compaq
 CQ60-615DX) which is detected, but somehow fails to connect
 to -- or rather immediately disconnects immediately from --
 the network when the password is given. I am running it
 using linux 5.5 livedvd, but the same device connects
 successfully under Windows7.
 
 It seems this issue was discussed sometime before, but I do
 not seem to find it. Any help appreciated. Below are details
 from wpa_supplicant.log and dmesg that I guess are helpful.
 
 William.
 
 $ uname -a
 Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:52:57
 EDT 2010 i686 i686 i386 GNU/Linux
 
 $ cat /var/log/wpa_supplicant.log 
 (wext) Device wlan0 kernel driver name: ath9k.
 Device wlan0 kernel driver name: ath9k.
 Trying to associate with 00:18:e7:01:64:af
 (SSID='doit1wlan' freq=2437 MHz)
 Associated with 00:18:e7:01:64:af
 WPA: Key negotiation completed with 00:18:e7:01:64:af
 [PTK=TKIP GTK=TKIP]
 CTRL-EVENT-CONNECTED - Connection to 00:18:e7:01:64:af
 completed (auth) [id=0 id_str=]
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
 
 
 $ dmesg |tail -35 
 r8169: eth0: link down
 ADDRCONF(NETDEV_UP): eth0: link is not ready
 ADDRCONF(NETDEV_UP): wlan0: link is not ready
 ACPI: PCI interrupt for device :00:1b.0 disabled
 PCI: Enabling device :00:1b.0 ( - 0002)
 ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level,
 low) - IRQ 58
 PCI: Setting latency timer of device :00:1b.0 to 64
 hfs: unable to find HFS+ superblock
 ACPI: PCI interrupt for device :00:1b.0 disabled
 PCI: Enabling device :00:1b.0 ( - 0002)
 ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level,
 low) - IRQ 58
 PCI: Setting latency timer of device :00:1b.0 to 64
 [drm] Initialized drm 1.0.1 20051102
 ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level,
 low) - IRQ 74
 [drm] Initialized i915 1.8.0 20060929 on minor 0
 set status page addr 0x03fff000
 wlan0: direct probe to AP 00:18:e7:01:64:af (try 1)
 wlan0: deauthenticating from 00:18:e7:01:64:af by local
 choice (reason=3)
 wlan0: direct probe to AP 00:18:e7:01:64:af (try 1)
 wlan0: direct probe responded
 wlan0: authenticate with AP 00:18:e7:01:64:af (try 1)
 wlan0: authenticated
 wlan0: associate with AP 00:18:e7:01:64:af (try 1)
 wlan0: RX AssocResp from 00:18:e7:01:64:af (capab=0x431
 status=0 aid=1)
 wlan0: associated
 ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 wlan0: no IPv6 routers present
 wlan0: deauthenticating from 00:18:e7:01:64:af by local
 choice (reason=3)
 
 
 
       
 


9825 wireless card auto disconnects!

2010-07-21 Thread William Shu
Dear all,
I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is 
detected, but somehow fails to connect to -- or rather immediately disconnects 
immediately from -- the network when the password is given. I am running it 
using linux 5.5 livedvd, but the same device connects successfully under 
Windows7.

It seems this issue was discussed sometime before, but I do not seem to find 
it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg 
that I guess are helpful.

William.

$ uname -a
Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:52:57 EDT 2010 i686 i686 
i386 GNU/Linux

$ cat /var/log/wpa_supplicant.log 
(wext) Device wlan0 kernel driver name: ath9k.
Device wlan0 kernel driver name: ath9k.
Trying to associate with 00:18:e7:01:64:af (SSID='doit1wlan' freq=2437 MHz)
Associated with 00:18:e7:01:64:af
WPA: Key negotiation completed with 00:18:e7:01:64:af [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:18:e7:01:64:af completed (auth) [id=0 
id_str=]
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys


$ dmesg |tail -35 
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ACPI: PCI interrupt for device :00:1b.0 disabled
PCI: Enabling device :00:1b.0 ( - 0002)
ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58
PCI: Setting latency timer of device :00:1b.0 to 64
hfs: unable to find HFS+ superblock
ACPI: PCI interrupt for device :00:1b.0 disabled
PCI: Enabling device :00:1b.0 ( - 0002)
ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58
PCI: Setting latency timer of device :00:1b.0 to 64
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level, low) - IRQ 74
[drm] Initialized i915 1.8.0 20060929 on minor 0
set status page addr 0x03fff000
wlan0: direct probe to AP 00:18:e7:01:64:af (try 1)
wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3)
wlan0: direct probe to AP 00:18:e7:01:64:af (try 1)
wlan0: direct probe responded
wlan0: authenticate with AP 00:18:e7:01:64:af (try 1)
wlan0: authenticated
wlan0: associate with AP 00:18:e7:01:64:af (try 1)
wlan0: RX AssocResp from 00:18:e7:01:64:af (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3)