Wpi keep disconnecting

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

Wpi keep disconnecting

by Alberto Rizzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a Thinkpad T61 (UZ25FIT) dual boot with Xp and FreeBSD and has an
Intel 3945ABG on board.

#uname -a
FreeBSD yoda.endor 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Aug 8 13:51:42
CEST 2008 root@...:/usr/obj/usr/src/sys/YODA  i386

I can load the wpi driver and configure the interface, then I can
connect to my wifi router (linksys wag54g 1v) with WPA and surf internet
but after a while the wpi disconnects. I think it is volume related and
not time related, maybe a counter overflow or something other.

If I mount a NFS directory and start copying files from the server to
the notebook, after a minute the wpi disconnects.
In /var/log/messages I can read
wpi0: link state changed to DOWN

and in wpa_cli I can read
<3>Michael MIC failure detected
<3>Michael MIC failure detected
<3>TKIP countermeasures started
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

after a minute I read in /var/log/messages
wpi0: scan timeout

and in wpa_cli
<2>WPA: TKIP countermeasures stopped

with netstat -ibh I see I moved 12MBytes

If I write "reassociate" in wpa_cli, after some seconds in var log
messages I read
wpi0: link state changed to UP

and in wpa_cli
<2>Trying to associate .....
<2>Associated with .....
<2>WPA: Key negotiation completed .....
<2>CTRL-EVENT-CONNECTED .....

If I restart the copying process I can see
<3>Michael MIC failure detected
but wpi doesn't disconnect.

After a while wpi disconnects and I have the same messages in
/var/log/messages and wpa_cli

There isn't a fixed amount of bytes I can transfer between two
disconnection, sometime 10MB, sometime 100MB, but the maximum was 140MB

Please help me, I can give further info.
I have FreeBSD 7 on this PC since its release and I always had problems
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Kevin Oberman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Fri, 08 Aug 2008 17:12:31 +0200

> From: Alberto Rizzi <greenant@...>
> Sender: owner-freebsd-mobile@...
>
> I have a Thinkpad T61 (UZ25FIT) dual boot with Xp and FreeBSD and has an
> Intel 3945ABG on board.
>
> #uname -a
> FreeBSD yoda.endor 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Aug 8 13:51:42
> CEST 2008 root@...:/usr/obj/usr/src/sys/YODA  i386
>
> I can load the wpi driver and configure the interface, then I can
> connect to my wifi router (linksys wag54g 1v) with WPA and surf internet
> but after a while the wpi disconnects. I think it is volume related and
> not time related, maybe a counter overflow or something other.
>
> If I mount a NFS directory and start copying files from the server to
> the notebook, after a minute the wpi disconnects.
> In /var/log/messages I can read
> wpi0: link state changed to DOWN
>
> and in wpa_cli I can read
> <3>Michael MIC failure detected
> <3>Michael MIC failure detected
> <3>TKIP countermeasures started
> <2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
>
> after a minute I read in /var/log/messages
> wpi0: scan timeout
>
> and in wpa_cli
> <2>WPA: TKIP countermeasures stopped
>
> with netstat -ibh I see I moved 12MBytes
>
> If I write "reassociate" in wpa_cli, after some seconds in var log
> messages I read
> wpi0: link state changed to UP
>
> and in wpa_cli
> <2>Trying to associate .....
> <2>Associated with .....
> <2>WPA: Key negotiation completed .....
> <2>CTRL-EVENT-CONNECTED .....
>
> If I restart the copying process I can see
> <3>Michael MIC failure detected
> but wpi doesn't disconnect.
>
> After a while wpi disconnects and I have the same messages in
> /var/log/messages and wpa_cli
>
> There isn't a fixed amount of bytes I can transfer between two
> disconnection, sometime 10MB, sometime 100MB, but the maximum was 140MB
>
> Please help me, I can give further info.
> I have FreeBSD 7 on this PC since its release and I always had problems
Try 'ifconfig wpi0 -bgscan'. I continue to see reports and to have
problems with association being lost during "background" scans. This
only seems to happen when there are multiple APs available and is very
annoying.

Please drop the list a note it turning off background scanning solves
the problem.
--
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


attachment0 (232 bytes) Download Attachment

Re: Wpi keep disconnecting

by Alberto Rizzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kevin Oberman ha scritto:

>> Date: Fri, 08 Aug 2008 17:12:31 +0200
>> From: Alberto Rizzi <greenant@...>
>> Sender: owner-freebsd-mobile@...
>>
>> I have a Thinkpad T61 (UZ25FIT) dual boot with Xp and FreeBSD and has an
>> Intel 3945ABG on board.
>>
>> #uname -a
>> FreeBSD yoda.endor 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Aug 8 13:51:42
>> CEST 2008 root@...:/usr/obj/usr/src/sys/YODA  i386
>>
>> I can load the wpi driver and configure the interface, then I can
>> connect to my wifi router (linksys wag54g 1v) with WPA and surf internet
>> but after a while the wpi disconnects. I think it is volume related and
>> not time related, maybe a counter overflow or something other.
>>
>> If I mount a NFS directory and start copying files from the server to
>> the notebook, after a minute the wpi disconnects.
>> In /var/log/messages I can read
>> wpi0: link state changed to DOWN
>>
>> and in wpa_cli I can read
>> <3>Michael MIC failure detected
>> <3>Michael MIC failure detected
>> <3>TKIP countermeasures started
>> <2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
>>
>> after a minute I read in /var/log/messages
>> wpi0: scan timeout
>>
>> and in wpa_cli
>> <2>WPA: TKIP countermeasures stopped
>>
>> with netstat -ibh I see I moved 12MBytes
>>
>> If I write "reassociate" in wpa_cli, after some seconds in var log
>> messages I read
>> wpi0: link state changed to UP
>>
>> and in wpa_cli
>> <2>Trying to associate .....
>> <2>Associated with .....
>> <2>WPA: Key negotiation completed .....
>> <2>CTRL-EVENT-CONNECTED .....
>>
>> If I restart the copying process I can see
>> <3>Michael MIC failure detected
>> but wpi doesn't disconnect.
>>
>> After a while wpi disconnects and I have the same messages in
>> /var/log/messages and wpa_cli
>>
>> There isn't a fixed amount of bytes I can transfer between two
>> disconnection, sometime 10MB, sometime 100MB, but the maximum was 140MB
>>
>> Please help me, I can give further info.
>> I have FreeBSD 7 on this PC since its release and I always had problems
>
> Try 'ifconfig wpi0 -bgscan'. I continue to see reports and to have
> problems with association being lost during "background" scans. This
> only seems to happen when there are multiple APs available and is very
> annoying.
>
> Please drop the list a note it turning off background scanning solves
> the problem.
Same problem, no change. Scan_results in wpa_cli reveals 2 AP.

The script used to activate wpi is this

kldload if_wpi
ifconfig wpi0 192.168.8.5/24 up
route add default 192.168.8.254
wpa_supplicant -B -i wpi0 -c /etc/wpa_supplicant.conf

#cat wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
        ssid="Naboo"
        psk="***********"
        proto=WPA
        key_mgmt=WPA-PSK
}
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Sam Leffler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alberto Rizzi wrote:

> I have a Thinkpad T61 (UZ25FIT) dual boot with Xp and FreeBSD and has
> an Intel 3945ABG on board.
>
> #uname -a
> FreeBSD yoda.endor 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Aug 8
> 13:51:42 CEST 2008 root@...:/usr/obj/usr/src/sys/YODA  i386
>
> I can load the wpi driver and configure the interface, then I can
> connect to my wifi router (linksys wag54g 1v) with WPA and surf
> internet but after a while the wpi disconnects. I think it is volume
> related and not time related, maybe a counter overflow or something
> other.
>
> If I mount a NFS directory and start copying files from the server to
> the notebook, after a minute the wpi disconnects.
> In /var/log/messages I can read
> wpi0: link state changed to DOWN
>
> and in wpa_cli I can read
> <3>Michael MIC failure detected
> <3>Michael MIC failure detected
> <3>TKIP countermeasures started
> <2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
>
> after a minute I read in /var/log/messages
> wpi0: scan timeout
>
> and in wpa_cli
> <2>WPA: TKIP countermeasures stopped
>
> with netstat -ibh I see I moved 12MBytes
>
> If I write "reassociate" in wpa_cli, after some seconds in var log
> messages I read
> wpi0: link state changed to UP
>
> and in wpa_cli
> <2>Trying to associate .....
> <2>Associated with .....
> <2>WPA: Key negotiation completed .....
> <2>CTRL-EVENT-CONNECTED .....
>
> If I restart the copying process I can see
> <3>Michael MIC failure detected
> but wpi doesn't disconnect.
>
> After a while wpi disconnects and I have the same messages in
> /var/log/messages and wpa_cli
>
> There isn't a fixed amount of bytes I can transfer between two
> disconnection, sometime 10MB, sometime 100MB, but the maximum was 140MB
>
> Please help me, I can give further info.
> I have FreeBSD 7 on this PC since its release and I always had problems
Check for a firmware update for your router.

    Sam

_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Alberto Rizzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sam Leffler ha scritto:
> Check for a firmware update for your router.
>
>    Sam
>
It already has the latest firmware (maybe 4 years old).
Unfortunately I don't have other routers to try with.
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Mark Kirkwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alberto Rizzi wrote:
> Sam Leffler ha scritto:
>> Check for a firmware update for your router.
>>
>>    Sam
>>
> It already has the latest firmware (maybe 4 years old).
> Unfortunately I don't have other routers to try with.

I would seriously doubt this is a router problem - I see the same thing
with an Asus laptop using wpi driver + WPA encryption. In my case
disabling the encryption was a workaround (a very poor one I know). This
appears to be a Freebsd issue AFAIK, as for instance under Ubuntu I can
have WPA enabled with such disconnection occurring.

regards

Mark
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Mark Kirkwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wrote:
>
> This appears to be a Freebsd issue AFAIK, as for instance under Ubuntu
> I can have WPA enabled *with such disconnection occurring*.
>

Should read: with *no* such disconnection occurring...

stupid typo sorry.
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by David Booth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 September 2008, Mark Kirkwood wrote:

> Alberto Rizzi wrote:
> > Sam Leffler ha scritto:
> >> Check for a firmware update for your router.
> >>
> >>    Sam
> >
> > It already has the latest firmware (maybe 4 years old).
> > Unfortunately I don't have other routers to try with.
>
> I would seriously doubt this is a router problem - I see the same
> thing with an Asus laptop using wpi driver + WPA encryption. In my
> case disabling the encryption was a workaround (a very poor one I
> know). This appears to be a Freebsd issue AFAIK, as for instance
> under Ubuntu I can have WPA enabled with such disconnection
> occurring.
>
> regards
>
> Mark

I have a similar experience with wpi in a dell laptop running 7 stable
i386.  Without encryption, the connection will stay up without fail.  
If I enable WPA, it disconnects at seeming random intervals that are
shortened by doing large file transfers.  Sometimes it will go for a
full day without disconnecting; however,  if I do a file ftp of a few
hundred megs, it may disconnect after a just a few minutes.  I do not
think that it is a hardware problem in either the card or the router
as when I boot the laptop into windows and use the same router and
same WPA settings, the connection remains rock solid even with
successive large file transfers.
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Kevin Oberman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: David Booth <davidb@...>

> Date: Thu, 18 Sep 2008 07:13:42 -0500
> Sender: owner-freebsd-mobile@...
>
> On Thursday 18 September 2008, Mark Kirkwood wrote:
> > Alberto Rizzi wrote:
> > > Sam Leffler ha scritto:
> > >> Check for a firmware update for your router.
> > >>
> > >>    Sam
> > >
> > > It already has the latest firmware (maybe 4 years old).
> > > Unfortunately I don't have other routers to try with.
> >
> > I would seriously doubt this is a router problem - I see the same
> > thing with an Asus laptop using wpi driver + WPA encryption. In my
> > case disabling the encryption was a workaround (a very poor one I
> > know). This appears to be a Freebsd issue AFAIK, as for instance
> > under Ubuntu I can have WPA enabled with such disconnection
> > occurring.
> >
> > regards
> >
> > Mark
>
> I have a similar experience with wpi in a dell laptop running 7 stable
> i386.  Without encryption, the connection will stay up without fail.  
> If I enable WPA, it disconnects at seeming random intervals that are
> shortened by doing large file transfers.  Sometimes it will go for a
> full day without disconnecting; however,  if I do a file ftp of a few
> hundred megs, it may disconnect after a just a few minutes.  I do not
> think that it is a hardware problem in either the card or the router
> as when I boot the laptop into windows and use the same router and
> same WPA settings, the connection remains rock solid even with
> successive large file transfers.
This is a bit of a shot in the dark, but I happen to be on a WPA
connection today and I hit this one or something very similar. Since I
am on an Atheros, it may be different, but I made the problem "go awa"
with 'ifconfig ath0 -bgscan'. bgscan should not interfere in any way
with normal operation, but I have seen issues from it for some time
and al most always turn off bgscan as the first attempt to "fix" mystery
disconnects.
--
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


attachment0 (232 bytes) Download Attachment

Re: Wpi keep disconnecting

by Johann Hugo-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 September 2008, Kevin Oberman wrote:

> > From: David Booth <davidb@...>
> > Date: Thu, 18 Sep 2008 07:13:42 -0500
> > Sender: owner-freebsd-mobile@...
> >
> > On Thursday 18 September 2008, Mark Kirkwood wrote:
> > > Alberto Rizzi wrote:
> > > > Sam Leffler ha scritto:
> > > >> Check for a firmware update for your router.
> > > >>
> > > >>    Sam
> > > >
> > > > It already has the latest firmware (maybe 4 years old).
> > > > Unfortunately I don't have other routers to try with.
> > >
> > > I would seriously doubt this is a router problem - I see the same
> > > thing with an Asus laptop using wpi driver + WPA encryption. In my
> > > case disabling the encryption was a workaround (a very poor one I
> > > know). This appears to be a Freebsd issue AFAIK, as for instance
> > > under Ubuntu I can have WPA enabled with such disconnection
> > > occurring.
> > >
> > > regards
> > >
> > > Mark
> >
> > I have a similar experience with wpi in a dell laptop running 7 stable
> > i386.  Without encryption, the connection will stay up without fail.
> > If I enable WPA, it disconnects at seeming random intervals that are
> > shortened by doing large file transfers.  Sometimes it will go for a
> > full day without disconnecting; however,  if I do a file ftp of a few
> > hundred megs, it may disconnect after a just a few minutes.  I do not
> > think that it is a hardware problem in either the card or the router
> > as when I boot the laptop into windows and use the same router and
> > same WPA settings, the connection remains rock solid even with
> > successive large file transfers.
>
> This is a bit of a shot in the dark, but I happen to be on a WPA
> connection today and I hit this one or something very similar. Since I
> am on an Atheros, it may be different, but I made the problem "go awa"
> with 'ifconfig ath0 -bgscan'. bgscan should not interfere in any way
> with normal operation, but I have seen issues from it for some time
> and al most always turn off bgscan as the first attempt to "fix" mystery
> disconnects.

I've got a Dell 1720 with a wpi wireless adapter in it. It was also droping
the connection very often, until I added -bgscan to my ifconfig line. Now it
stays connected all the time. except if my AP reboots then it does not want
to reconnect automatically.
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by David Booth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 September 2008, Johann Hugo wrote:

> On Thursday 18 September 2008, Kevin Oberman wrote:
> > > From: David Booth <davidb@...>
> > > Date: Thu, 18 Sep 2008 07:13:42 -0500
> > > Sender: owner-freebsd-mobile@...
> > >
> > > On Thursday 18 September 2008, Mark Kirkwood wrote:
> > > > Alberto Rizzi wrote:
> > > > > Sam Leffler ha scritto:
> > > > >> Check for a firmware update for your router.
> > > > >>
> > > > >>    Sam
> > > > >
> > > > > It already has the latest firmware (maybe 4 years old).
> > > > > Unfortunately I don't have other routers to try with.
> > > >
> > > > I would seriously doubt this is a router problem - I see the
> > > > same thing with an Asus laptop using wpi driver + WPA
> > > > encryption. In my case disabling the encryption was a
> > > > workaround (a very poor one I know). This appears to be a
> > > > Freebsd issue AFAIK, as for instance under Ubuntu I can have
> > > > WPA enabled with such disconnection occurring.
> > > >
> > > > regards
> > > >
> > > > Mark
> > >
> > > I have a similar experience with wpi in a dell laptop running 7
> > > stable i386.  Without encryption, the connection will stay up
> > > without fail. If I enable WPA, it disconnects at seeming random
> > > intervals that are shortened by doing large file transfers.
> > > Sometimes it will go for a full day without disconnecting;
> > > however,  if I do a file ftp of a few hundred megs, it may
> > > disconnect after a just a few minutes.  I do not think that it
> > > is a hardware problem in either the card or the router as when
> > > I boot the laptop into windows and use the same router and same
> > > WPA settings, the connection remains rock solid even with
> > > successive large file transfers.
> >
> > This is a bit of a shot in the dark, but I happen to be on a WPA
> > connection today and I hit this one or something very similar.
> > Since I am on an Atheros, it may be different, but I made the
> > problem "go awa" with 'ifconfig ath0 -bgscan'. bgscan should not
> > interfere in any way with normal operation, but I have seen
> > issues from it for some time and al most always turn off bgscan
> > as the first attempt to "fix" mystery disconnects.
>
> I've got a Dell 1720 with a wpi wireless adapter in it. It was also
> droping the connection very often, until I added -bgscan to my
> ifconfig line. Now it stays connected all the time. except if my AP
> reboots then it does not want to reconnect automatically.

I will give it a try, but my memory is that bgscan is not supported in
the wpi driver yet anyway, but I may be wrong.  As far as
reconnecting automatically, it never did that anyway, so I have
nothing to loose.
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by David Booth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 September 2008, Johann Hugo wrote:

> On Thursday 18 September 2008, Kevin Oberman wrote:
> > > From: David Booth <davidb@...>
> > > Date: Thu, 18 Sep 2008 07:13:42 -0500
> > > Sender: owner-freebsd-mobile@...
> > >
> > > On Thursday 18 September 2008, Mark Kirkwood wrote:
> > > > Alberto Rizzi wrote:
> > > > > Sam Leffler ha scritto:
> > > > >> Check for a firmware update for your router.
> > > > >>
> > > > >>    Sam
> > > > >
> > > > > It already has the latest firmware (maybe 4 years old).
> > > > > Unfortunately I don't have other routers to try with.
> > > >
> > > > I would seriously doubt this is a router problem - I see the
> > > > same thing with an Asus laptop using wpi driver + WPA
> > > > encryption. In my case disabling the encryption was a
> > > > workaround (a very poor one I know). This appears to be a
> > > > Freebsd issue AFAIK, as for instance under Ubuntu I can have
> > > > WPA enabled with such disconnection occurring.
> > > >
> > > > regards
> > > >
> > > > Mark
> > >
> > > I have a similar experience with wpi in a dell laptop running 7
> > > stable i386.  Without encryption, the connection will stay up
> > > without fail. If I enable WPA, it disconnects at seeming random
> > > intervals that are shortened by doing large file transfers.
> > > Sometimes it will go for a full day without disconnecting;
> > > however,  if I do a file ftp of a few hundred megs, it may
> > > disconnect after a just a few minutes.  I do not think that it
> > > is a hardware problem in either the card or the router as when
> > > I boot the laptop into windows and use the same router and same
> > > WPA settings, the connection remains rock solid even with
> > > successive large file transfers.
> >
> > This is a bit of a shot in the dark, but I happen to be on a WPA
> > connection today and I hit this one or something very similar.
> > Since I am on an Atheros, it may be different, but I made the
> > problem "go awa" with 'ifconfig ath0 -bgscan'. bgscan should not
> > interfere in any way with normal operation, but I have seen
> > issues from it for some time and al most always turn off bgscan
> > as the first attempt to "fix" mystery disconnects.
>
> I've got a Dell 1720 with a wpi wireless adapter in it. It was also
> droping the connection very often, until I added -bgscan to my
> ifconfig line. Now it stays connected all the time. except if my AP
> reboots then it does not want to reconnect automatically.

I gave it a try and that did not do the trick.  It died less than two
minutes into an ftp session with less than 300 MB transferred. After
restarting, it died in less than a minute.   The only logged error
messages for the interface are the usual messages about Timeout
resetting TX ring 3 or 4.
> _______________________________________________
> freebsd-mobile@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to
> "freebsd-mobile-unsubscribe@..."


_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Wpi keep disconnecting

by Gautham Ganapathy-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Sep 19, 2008 at 3:57 AM, David Booth <davidb@...>wrote:

> On Thursday 18 September 2008, Johann Hugo wrote:
> > On Thursday 18 September 2008, Kevin Oberman wrote:
> > > > From: David Booth <davidb@...>
> > > > Date: Thu, 18 Sep 2008 07:13:42 -0500
> > > > Sender: owner-freebsd-mobile@...
> > > >
> > > > On Thursday 18 September 2008, Mark Kirkwood wrote:
> > > > >
> > > > > I would seriously doubt this is a router problem - I see the
> > > > > same thing with an Asus laptop using wpi driver + WPA
> > > > > encryption. In my case disabling the encryption was a
> > > > > workaround (a very poor one I know). This appears to be a
> > > > > Freebsd issue AFAIK, as for instance under Ubuntu I can have
> > > > > WPA enabled with such disconnection occurring.
> > > > >
> > > > > regards
> > > > >
> > > > > Mark
> > > >
> > > > I have a similar experience with wpi in a dell laptop running 7
> > > > stable i386.  Without encryption, the connection will stay up
> > > > without fail. If I enable WPA, it disconnects at seeming random
> > > > intervals that are shortened by doing large file transfers.
> > > > Sometimes it will go for a full day without disconnecting;
> > > > however,  if I do a file ftp of a few hundred megs, it may
> > > > disconnect after a just a few minutes.  I do not think that it
> > > > is a hardware problem in either the card or the router as when
> > > > I boot the laptop into windows and use the same router and same
> > > > WPA settings, the connection remains rock solid even with
> > > > successive large file transfers.
> > >
> > > This is a bit of a shot in the dark, but I happen to be on a WPA
> > > connection today and I hit this one or something very similar.
> > > Since I am on an Atheros, it may be different, but I made the
> > > problem "go awa" with 'ifconfig ath0 -bgscan'. bgscan should not
> > > interfere in any way with normal operation, but I have seen
> > > issues from it for some time and al most always turn off bgscan
> > > as the first attempt to "fix" mystery disconnects.
> >
> > I've got a Dell 1720 with a wpi wireless adapter in it. It was also
> > droping the connection very often, until I added -bgscan to my
> > ifconfig line. Now it stays connected all the time. except if my AP
> > reboots then it does not want to reconnect automatically.
>
> I gave it a try and that did not do the trick.  It died less than two
> minutes into an ftp session with less than 300 MB transferred. After
> restarting, it died in less than a minute.   The only logged error
> messages for the interface are the usual messages about Timeout
> resetting TX ring 3 or 4.
> > _______________________________________________
>

have you tried updating to 7-stable?

I have a dell laptop (inspiron 9400) with a wpi based adapter connected to a
router (Linksys WRT54G f/w rev 7) over WPA. I normally have no problems with
disconnections (w/ 7-stable, not 7.0-release), even with multiple long
downloads using parallel connections (upto 10 per file). It works fine
without any disconnections or problems until I run the Deluge bittorrent
client. Once this start running, after a few minutes, all connections except
Deluge stop (Deluge still runs fine). I cannot even ping the router. If I
stop Deluge, other connections start working after a few minutes.

Not sure if this is related, but I do have a problem when freebsd starts up.
For some reason, the ip address and the route do not get setup when it boots
up, although I can see the config scripts running. After I login, I neet to
run /etc/netstart again before the ip address gets assigned. it gives a
message 'invalid authmode' in both cases

--
Gautham Ganapathy
http://lisphacker.org
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Parent Message unknown Re: Wpi keep disconnecting

by David Booth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 September 2008, you wrote:
> On Fri, Sep 19, 2008 at 3:57 AM, David Booth
<davidb@...>wrote:

> > On Thursday 18 September 2008, Johann Hugo wrote:
> > > On Thursday 18 September 2008, Kevin Oberman wrote:
> > > > > From: David Booth <davidb@...>
> > > > > Date: Thu, 18 Sep 2008 07:13:42 -0500
> > > > > Sender: owner-freebsd-mobile@...
> > > > >
> > > > > On Thursday 18 September 2008, Mark Kirkwood wrote:
> > > > > > I would seriously doubt this is a router problem - I see
> > > > > > the same thing with an Asus laptop using wpi driver + WPA
> > > > > > encryption. In my case disabling the encryption was a
> > > > > > workaround (a very poor one I know). This appears to be a
> > > > > > Freebsd issue AFAIK, as for instance under Ubuntu I can
> > > > > > have WPA enabled with such disconnection occurring.
> > > > > >
> > > > > > regards
> > > > > >
> > > > > > Mark
> > > > >
> > > > > I have a similar experience with wpi in a dell laptop
> > > > > running 7 stable i386.  Without encryption, the connection
> > > > > will stay up without fail. If I enable WPA, it disconnects
> > > > > at seeming random intervals that are shortened by doing
> > > > > large file transfers. Sometimes it will go for a full day
> > > > > without disconnecting; however,  if I do a file ftp of a
> > > > > few hundred megs, it may disconnect after a just a few
> > > > > minutes.  I do not think that it is a hardware problem in
> > > > > either the card or the router as when I boot the laptop
> > > > > into windows and use the same router and same WPA settings,
> > > > > the connection remains rock solid even with successive
> > > > > large file transfers.
> > > >
> > > > This is a bit of a shot in the dark, but I happen to be on a
> > > > WPA connection today and I hit this one or something very
> > > > similar. Since I am on an Atheros, it may be different, but I
> > > > made the problem "go awa" with 'ifconfig ath0 -bgscan'.
> > > > bgscan should not interfere in any way with normal operation,
> > > > but I have seen issues from it for some time and al most
> > > > always turn off bgscan as the first attempt to "fix" mystery
> > > > disconnects.
> > >
> > > I've got a Dell 1720 with a wpi wireless adapter in it. It was
> > > also droping the connection very often, until I added -bgscan
> > > to my ifconfig line. Now it stays connected all the time.
> > > except if my AP reboots then it does not want to reconnect
> > > automatically.
> >
> > I gave it a try and that did not do the trick.  It died less than
> > two minutes into an ftp session with less than 300 MB
> > transferred. After restarting, it died in less than a minute.  
> > The only logged error messages for the interface are the usual
> > messages about Timeout resetting TX ring 3 or 4.
> >
> > > _______________________________________________
>
> have you tried updating to 7-stable?
>
> I have a dell laptop (inspiron 9400) with a wpi based adapter
> connected to a router (Linksys WRT54G f/w rev 7) over WPA. I
> normally have no problems with disconnections (w/ 7-stable, not
> 7.0-release), even with multiple long downloads using parallel
> connections (upto 10 per file). It works fine without any
> disconnections or problems until I run the Deluge bittorrent
> client. Once this start running, after a few minutes, all
> connections except Deluge stop (Deluge still runs fine). I cannot
> even ping the router. If I stop Deluge, other connections start
> working after a few minutes.
>
> Not sure if this is related, but I do have a problem when freebsd
> starts up. For some reason, the ip address and the route do not get
> setup when it boots up, although I can see the config scripts
> running. After I login, I neet to run /etc/netstart again before
> the ip address gets assigned. it gives a message 'invalid authmode'
> in both cases

I have the same hardware you do (inspiron 9400, intel 3945) running
7-stable (really 7.1 pre-release at this point) .  I have no problem
at startup connecting to a linksys wrv200 using wpa-psk using
wpa_supplicant, but I get the seemingly random disconnects.  When I
get the disconnect, ifconfig looks good except that the status shows
not associated.  Executing /etc/rc.d/netif restart will usually get a
reconnect on the first try.  It seems to be a wpa issue as using WEP
on the same hardware results in a stable connection.

On another note, can you get your notebook to suspend (S3)?
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."
LightInTheBox - Buy quality products at wholesale price!