On Fri, Sep 19, 2008 at 7:49 PM, Luis R. Rodriguez
<[EMAIL PROTECTED]> wrote:
> On Fri, Sep 19, 2008 at 03:30:24PM -0700, Partha Bagchi wrote:
>> On Fri, Sep 19, 2008 at 1:43 PM, Luis R. Rodriguez <[EMAIL PROTECTED]> wrote:
>> > On Fri, Sep 19, 2008 at 2:59 AM, Partha Bagchi <[EMAIL PROTECTED]> wrote:
>> >> Update:
>> >>
>> >> The new code
>> >
>> > Please elaborate on what new code is. Did you take
>> > compat-wireless-old, upgrade to compat-wireless's ath9k and apply the
>> > new group key patch posted?
>> >
>> >> actually more unstable on my machine which you may recall is:
>> >>
>> >> Linux Bordeaux 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT 2008
>> >> i686 i686 i386 GNU/Linux
>> >
>> > Oh you mean you're using compat-wireless-old.
>> >
>> >  Luis
>> >
>>
>> Hi Luis,
>>
>> Sorry about the ambiguity. I downloaded
>> compat-wireless-2008-09-17.tar.bz2 from
>> http://linuxwireless.org/download/compat-wireless-2.6/
>>
>> Then as you had suggested, I took the ath9k subdirectory from the
>> compat-wireless-2.6.tar.bz2 and replaced the original ath9k in the
>> compat-wireless-2.6-old directory. Then I applied the patch from Mats
>> email http://marc.info/?l=linux-wireless&m=122163541519736&q=raw.
>>
>> The patch applied fine, compiled and installed fine. The output that I
>> posted was the result of using this new driver.
>>
>> BTW, as a (sort of) comparison, I am using an USB d-link wireless card
>> with rt73 and the connection is rock solid.
>>
>> Thanks for all your help!
>>
>> Partha
>
> Thanks for the clarification. Can you try disabling NetworkManager
> completely and then try connecting manually?
>
> Please see here how to completely stop Network Manager:
>
> http://wireless.kernel.org/en/users/Reporting_bugs#ReportingbugsinNetworkManager
>
> (this is how:
>
> sudo /sbin/service NetworkMananger stop
> sudo killall -TERM wpa_supplicant
>
> )
>
> Then, provide the logs of your session. What is your environment like?
> WEP, WPA, WPA2, or no encryption? You will need to run wpa_supplicant manually
> if you disable Network Manager and have encryption using WPA or WPA2. If
> you just have WEP you can use iwconfig.
>
>  Luis
>

Hi Luis,

My log is replayed below. In response to your questions, I am not
using any encyrptions.

Here are the steps I took and the log output:

Here is what I did:

service NetworkManager stop
service wpa_supplicant stop
dhclient wlan1

Output from /var/log/messages
---------
Sep 20 07:26:22 Bordeaux NetworkManager: <WARN>  nm_signal_handler():
Caught signal 15, shutting down normally.
Sep 20 07:26:22 Bordeaux NetworkManager: <info>  (wlan1): now unmanaged
Sep 20 07:26:22 Bordeaux NetworkManager: <info>  (wlan1): device state
change: 3 -> 1
Sep 20 07:26:22 Bordeaux NetworkManager: <info>  (wlan1): cleaning up...
Sep 20 07:26:22 Bordeaux NetworkManager: <info>  (wlan1): taking down device.
Sep 20 07:26:22 Bordeaux avahi-daemon[2381]: Withdrawing address
record for fe80::21f:e2ff:fece:f164 on wlan1.
Sep 20 07:26:54 Bordeaux kernel: ForceXPAon: 0
Sep 20 07:26:54 Bordeaux kernel: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Sep 20 07:26:54 Bordeaux kernel: ForceXPAon: 0
Sep 20 07:26:54 Bordeaux kernel: ADDRCONF(NETDEV_CHANGE): wlan1: link
becomes ready
Sep 20 07:26:56 Bordeaux avahi-daemon[2381]: Registering new address
record for fe80::21f:e2ff:fece:f164 on wlan1.*.
Sep 20 07:26:58 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 7
Sep 20 07:26:59 Bordeaux dhclient: DHCPOFFER from 192.168.1.1
Sep 20 07:26:59 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 07:26:59 Bordeaux dhclient: DHCPACK from 192.168.1.1
Sep 20 07:26:59 Bordeaux avahi-daemon[2381]: Joining mDNS multicast
group on interface wlan1.IPv4 with address 192.168.1.102.
Sep 20 07:26:59 Bordeaux avahi-daemon[2381]: New relevant interface
wlan1.IPv4 for mDNS.
Sep 20 07:26:59 Bordeaux avahi-daemon[2381]: Registering new address
record for 192.168.1.102 on wlan1.IPv4.
Sep 20 07:26:59 Bordeaux NET[3878]: /sbin/dhclient-script : updated
/etc/resolv.conf
Sep 20 07:26:59 Bordeaux dhclient: bound to 192.168.1.102 -- renewal
in 39265 seconds.
---------

Then at 7:43 network dies silently without any output in /var/log/messages.

Then I kill dhclient. After that, I do dhclient wlan1 again:
---------

Sep 20 07:43:56 Bordeaux avahi-daemon[2381]: Withdrawing address
record for 192.168.1.102 on wlan1.
Sep 20 07:43:56 Bordeaux avahi-daemon[2381]: Leaving mDNS multicast
group on interface wlan1.IPv4 with address 192.168.1.102.
Sep 20 07:43:56 Bordeaux avahi-daemon[2381]: Interface wlan1.IPv4 no
longer relevant for mDNS.
Sep 20 07:43:57 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 07:44:00 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 07:44:06 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 07:44:13 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 5
Sep 20 07:44:18 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 8
Sep 20 07:44:26 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 8
Sep 20 07:44:34 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 11
Sep 20 07:44:45 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 12
Sep 20 07:44:57 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 11
Sep 20 07:45:08 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 6
Sep 20 07:45:14 Bordeaux dhclient: No DHCPOFFERS received.
Sep 20 07:45:14 Bordeaux dhclient: Trying recorded lease 192.168.1.102
Sep 20 07:45:14 Bordeaux avahi-daemon[2381]: Joining mDNS multicast
group on interface wlan1.IPv4 with address 192.168.1.102.
Sep 20 07:45:14 Bordeaux avahi-daemon[2381]: New relevant interface
wlan1.IPv4 for mDNS.
Sep 20 07:45:14 Bordeaux avahi-daemon[2381]: Registering new address
record for 192.168.1.102 on wlan1.IPv4.
Sep 20 07:45:17 Bordeaux avahi-daemon[2381]: Withdrawing address
record for 192.168.1.102 on wlan1.
Sep 20 07:45:17 Bordeaux avahi-daemon[2381]: Leaving mDNS multicast
group on interface wlan1.IPv4 with address 192.168.1.102.
Sep 20 07:45:17 Bordeaux dhclient: No working leases in persistent
database - sleeping.
Sep 20 07:45:17 Bordeaux avahi-daemon[2381]: Interface wlan1.IPv4 no
longer relevant for mDNS.
Sep 20 07:45:17 Bordeaux avahi-daemon[2381]: Withdrawing address
record for fe80::21f:e2ff:fece:f164 on wlan1.
Sep 20 07:45:17 Bordeaux NET[10791]: /sbin/dhclient-script : updated
/etc/resolv.conf
Sep 20 07:45:17 Bordeaux dhclient: receive_packet failed on wlan1:
Network is down
---------

Trying various combinations of unloading and reloading ath9k did not
revive the card or the network.

Finally, restarted Networkmanager and was able to restore connection.
---------
Sep 20 08:11:19 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:19 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:19 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:19 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
starting connection 'Auto linksys'
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  (wlan1): device state
change: 3 -> 4
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 1 of 5 (Device Prepare) scheduled...
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 1 of 5 (Device Prepare) started...
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 2 of 5 (Device Configure) scheduled...
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 1 of 5 (Device Prepare) complete.
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 2 of 5 (Device Configure) starting...
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  (wlan1): device state
change: 4 -> 5
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation
(wlan1/wireless): connection 'Auto linksys' requires no security.  No
secrets needed.
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Config: added 'ssid'
value 'linksys'
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Config: added
'scan_ssid' value '1'
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Config: added
'key_mgmt' value 'NONE'
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 2 of 5 (Device Configure) complete.
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  Config: set interface
ap_scan to 1
Sep 20 08:11:43 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 1 -> 2
Sep 20 08:11:43 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:43 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:43 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:44 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 6
Sep 20 08:11:44 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 2 -> 3
Sep 20 08:11:44 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:44 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 3 -> 4
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 4 -> 7
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  Activation
(wlan1/wireless) Stage 2 of 5 (Device Configure) successful.
Connected to wireless network 'linksys'.
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 3 of 5 (IP Configure Start) scheduled.
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 3 of 5 (IP Configure Start) started...
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  (wlan1): device state
change: 5 -> 7
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  Activation (wlan1)
Beginning DHCP transaction.
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  dhclient started with pid 22934
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 3 of 5 (IP Configure Start) complete.
Sep 20 08:11:44 Bordeaux dhclient: Internet Systems Consortium DHCP Client 4.0.0
Sep 20 08:11:44 Bordeaux dhclient: Copyright 2004-2007 Internet
Systems Consortium.
Sep 20 08:11:44 Bordeaux dhclient: All rights reserved.
Sep 20 08:11:44 Bordeaux dhclient: For info, please visit
http://www.isc.org/sw/dhcp/
Sep 20 08:11:44 Bordeaux dhclient:
Sep 20 08:11:44 Bordeaux NetworkManager: <info>  DHCP: device wlan1
state changed (null) -> preinit
Sep 20 08:11:44 Bordeaux dhclient: Listening on LPF/wlan1/00:1f:e2:ce:f1:64
Sep 20 08:11:44 Bordeaux dhclient: Sending on   LPF/wlan1/00:1f:e2:ce:f1:64
Sep 20 08:11:44 Bordeaux dhclient: Sending on   Socket/fallback
Sep 20 08:11:44 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 6
Sep 20 08:11:45 Bordeaux dhclient: DHCPOFFER from 192.168.1.1
Sep 20 08:11:45 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 08:11:45 Bordeaux dhclient: DHCPACK from 192.168.1.1
Sep 20 08:11:45 Bordeaux dhclient: bound to 192.168.1.102 -- renewal
in 38085 seconds.
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  DHCP: device wlan1
state changed preinit -> bound
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 4 of 5 (IP Configure Get) scheduled...
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 4 of 5 (IP Configure Get) started...
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    address 192.168.1.102
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    netmask 255.255.255.0
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    gateway 192.168.1.1
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    hostname 'Bordeaux'
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    nameserver '68.87.64.146'
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    nameserver '68.87.75.194'
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    nameserver '68.87.71.226'
Sep 20 08:11:45 Bordeaux NetworkManager: <info>    domain name
'hsd1.nj.comcast.net.'
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 5 of 5 (IP Configure Commit) scheduled...
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 4 of 5 (IP Configure Get) complete.
Sep 20 08:11:45 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 5 of 5 (IP Configure Commit) started...
Sep 20 08:11:45 Bordeaux avahi-daemon[22631]: Joining mDNS multicast
group on interface wlan1.IPv4 with address 192.168.1.102.
Sep 20 08:11:45 Bordeaux avahi-daemon[22631]: New relevant interface
wlan1.IPv4 for mDNS.
Sep 20 08:11:45 Bordeaux avahi-daemon[22631]: Registering new address
record for 192.168.1.102 on wlan1.IPv4.
Sep 20 08:11:46 Bordeaux NetworkManager: <info>  (wlan1): device state
change: 7 -> 8
Sep 20 08:11:46 Bordeaux NetworkManager: <info>  Policy set (wlan1) as
default device for routing and DNS.
Sep 20 08:11:46 Bordeaux NetworkManager: <info>  Activation (wlan1)
successful, device activated.
Sep 20 08:11:46 Bordeaux NetworkManager: <info>  Activation (wlan1)
Stage 5 of 5 (IP Configure Commit) complete.
Sep 20 08:11:49 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:49 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:49 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:49 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:11:50 Bordeaux dhclient: DHCPDISCOVER on wlan1 to
255.255.255.255 port 67 interval 10
Sep 20 08:11:51 Bordeaux dhclient: DHCPOFFER from 192.168.1.1
Sep 20 08:11:51 Bordeaux dhclient: DHCPREQUEST on wlan1 to
255.255.255.255 port 67
Sep 20 08:11:51 Bordeaux dhclient: DHCPACK from 192.168.1.1
Sep 20 08:11:51 Bordeaux NET[23087]: /sbin/dhclient-script : updated
/etc/resolv.conf
Sep 20 08:11:51 Bordeaux dhclient: bound to 192.168.1.102 -- renewal
in 41541 seconds.
Sep 20 08:12:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:12:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:12:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:12:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:13:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:13:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:13:29 Bordeaux kernel: ForceXPAon: 0
Sep 20 08:13:29 Bordeaux kernel: ForceXPAon: 0
_______

Currently the network has been up for 24 minutes. I will let you know
how long it will last.

Thanks again.

Partha
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to