ath0 link up/down frequent

View: New views
4 Messages — Rating Filter:   Alert me  

ath0 link up/down frequent

by Dan Langille :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I get this a lot:

Aug 22 12:18:40 laptop kernel: ath0: link state changed to DOWN
Aug 22 12:18:48 laptop kernel: ath0: link state changed to UP
Aug 22 12:49:49 laptop kernel: ath0: link state changed to DOWN
Aug 22 12:49:56 laptop kernel: ath0: link state changed to UP


FreeBSD laptop.example.org 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon May 25
20:35:50 EDT 2009     dan@...:/usr/obj/usr/src/sys/LAPTOP
 amd64


ath0@pci0:3:0:0:        class=0x020000 card=0x058a1014 chip=0x1014168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212 Atheros AR5212 802.11abg wireless'
    class      = network
    subclass   = ethernet

Looking into /var/log/messages:


Aug 22 10:09:24 laptop kernel: ath0: link state changed to DOWN
Aug 22 10:09:50 laptop kernel: ath0: link state changed to UP
Aug 22 10:09:53 laptop dhclient: New IP Address (ath0): 10.0.0.101
Aug 22 10:09:53 laptop dhclient: New Subnet Mask (ath0): 255.255.255.0
Aug 22 10:09:53 laptop dhclient: New Broadcast Address (ath0): 10.0.0.255
Aug 22 10:09:53 laptop dhclient: New Routers (ath0): 10.0.0.1
Aug 22 10:35:31 laptop kernel: ath0: link state changed to DOWN
Aug 22 10:35:31 laptop kernel: ath0: link state changed to UP


FWIW, I'm running wpa as well.

Anything I should look into?

- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqQJioACgkQCgsXFM/7nTzc1wCgskhUpF6AT1SEAdS+n5uOmXsd
hp0AoPZtnJTehUOtKMxQDHcdexTX4vQl
=Cc5F
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: ath0 link up/down frequent

by Kevin Oberman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Sat, 22 Aug 2009 13:08:58 -0400
> From: Dan Langille <dan@...>
> Sender: owner-freebsd-mobile@...
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I get this a lot:
>
> Aug 22 12:18:40 laptop kernel: ath0: link state changed to DOWN
> Aug 22 12:18:48 laptop kernel: ath0: link state changed to UP
> Aug 22 12:49:49 laptop kernel: ath0: link state changed to DOWN
> Aug 22 12:49:56 laptop kernel: ath0: link state changed to UP
>
>
> FreeBSD laptop.example.org 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon May 25
> 20:35:50 EDT 2009     dan@...:/usr/obj/usr/src/sys/LAPTOP
>  amd64
>
>
> ath0@pci0:3:0:0:        class=0x020000 card=0x058a1014 chip=0x1014168c
> rev=0x01 hdr=0x00
>     vendor     = 'Atheros Communications Inc.'
>     device     = 'AR5212 Atheros AR5212 802.11abg wireless'
>     class      = network
>     subclass   = ethernet
>
> Looking into /var/log/messages:
>
>
> Aug 22 10:09:24 laptop kernel: ath0: link state changed to DOWN
> Aug 22 10:09:50 laptop kernel: ath0: link state changed to UP
> Aug 22 10:09:53 laptop dhclient: New IP Address (ath0): 10.0.0.101
> Aug 22 10:09:53 laptop dhclient: New Subnet Mask (ath0): 255.255.255.0
> Aug 22 10:09:53 laptop dhclient: New Broadcast Address (ath0): 10.0.0.255
> Aug 22 10:09:53 laptop dhclient: New Routers (ath0): 10.0.0.1
> Aug 22 10:35:31 laptop kernel: ath0: link state changed to DOWN
> Aug 22 10:35:31 laptop kernel: ath0: link state changed to UP
>
>
> FWIW, I'm running wpa as well.
>
> Anything I should look into?

My standard suggestion, which works for me, is to issue an 'ifconfig
ath0 -bgscan'. Background scanning is not supposed to effect the
association, but it seems to, at least on my system.

The clue was the intervals between the losses were always a bit over to
5 minutes and that is the default bgscan interval. Looks like a bit over
25 minutes between events in your case.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@... Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: ath0 link up/down frequent

by Richard Kolkovich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Aug 22, 2009 at 11:29:13AM -0700, Kevin Oberman wrote:
> > Anything I should look into?
>
> My standard suggestion, which works for me, is to issue an 'ifconfig
> ath0 -bgscan'. Background scanning is not supposed to effect the
> association, but it seems to, at least on my system.
>

My experience has been much the same.  It typically only happens in areas with a lot of APs, though
(i.e. my apartment building).

--

Richard Kolkovich
sarumont@...


attachment0 (203 bytes) Download Attachment

Re: ath0 link up/down frequent

by Kevin Oberman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: "Richard Kolkovich" <sarumont@...>
> Date: Thu, 3 Sep 2009 17:21:57 -0500
>
> On Sat, Aug 22, 2009 at 11:29:13AM -0700, Kevin Oberman wrote:
> > > Anything I should look into?
> >
> > My standard suggestion, which works for me, is to issue an 'ifconfig
> > ath0 -bgscan'. Background scanning is not supposed to effect the
> > association, but it seems to, at least on my system.
> >
>
> My experience has been much the same.  It typically only happens in
> areas with a lot of APs, though (i.e. my apartment building).

My case is similar. I will see it on occasion at home where I typically
see only two or three APs, but is only a real problem when I am at a
networking conference and there are a whole raft of APs out there. In
those cases the wireless is rendered unusable as I lose association
every 5 minutes.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@... Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."