Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Justin V.


I keep seeing my wlan0 interface go down..  I suspected a faulty wifi 
router.. i changed that out..


Ive tried using WEP and WPA.  Currently using WPA.

Here are the logs Im seeing..

Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did 
not increase - dropping packet
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74
Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP

Given the errors seen what would be the best debug to use??

wlandebug or tcpdump ??

I went ahead and enabled since my logs are complaining about association 
and authentication..


yeaguy# wlandebug -i wlan0 auth+assoc
net.wlan.0.debug: 0x0 => 0xc0
yeaguy#


Any tips would be appreciated.. I have an end user continually complaining 
of disconects over FTP..



Thanks,

justin v


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


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Mubeesh ali
can u completely not send any traffic or is this a random drop. If
random there could be interference causing replay counter mismatch.
This may force AP to drop the packet,  the ap may de authenticate
client if it sees continuous stream of such packets in a short
interval and force client to drop existing sessions like ftp.

Please try changing the channel. If the client and AP are both A
capable please try using the A band as there are more non overlapping
channels and u may be able to find a channel with low interference.



On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:
>
> I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
> router.. i changed that out..
>
> Ive tried using WEP and WPA.  Currently using WPA.
>
> Here are the logs Im seeing..
>
> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
> Disconnect event - remove keys
> Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
> 00:22:6b:66:bf:74 timed out.
> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
> Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
> 00:22:6b:66:bf:74 timed out.
> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter
> did not increase - dropping packet
> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
> 00:22:6b:66:bf:74
> Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP
>
> Given the errors seen what would be the best debug to use??
>
> wlandebug or tcpdump ??
>
> I went ahead and enabled since my logs are complaining about association and
> authentication..
>
> yeaguy# wlandebug -i wlan0 auth+assoc
> net.wlan.0.debug: 0x0 => 0xc0
> yeaguy#
>
>
> Any tips would be appreciated.. I have an end user continually complaining
> of disconects over FTP..
>
>
> Thanks,
>
> justin v
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>



-- 
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Justin V.



On Thu, 16 Dec 2010, Mubeesh ali wrote:


can u completely not send any traffic or is this a random drop. If
random there could be interference causing replay counter mismatch.
This may force AP to drop the packet,  the ap may de authenticate
client if it sees continuous stream of such packets in a short
interval and force client to drop existing sessions like ftp.

Please try changing the channel. If the client and AP are both A
capable please try using the A band as there are more non overlapping
channels and u may be able to find a channel with low interference.



On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:


I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
router.. i changed that out..

Ive tried using WEP and WPA.  Currently using WPA.

Here are the logs Im seeing..

Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter
did not increase - dropping packet
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
00:22:6b:66:bf:74
Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP

Given the errors seen what would be the best debug to use??

wlandebug or tcpdump ??

I went ahead and enabled since my logs are complaining about association and
authentication..

yeaguy# wlandebug -i wlan0 auth+assoc
net.wlan.0.debug: 0x0 => 0xc0
yeaguy#


Any tips would be appreciated.. I have an end user continually complaining
of disconects over FTP..


Thanks,

justin v


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





--
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"





Hi Mubeesh,

It seems to be a random drop.. FTP will be humming along and then wlan0 
will go down..


I have the router set for channel 11...

i do not have these types of drops with other wifi capable devices..

ex.  WIN laptop, Playstaion 3... etc...



rum0: flags=8843 metric 0 mtu 2290
ether 00:1e:e5:a8:bd:5a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu 1500
ether 00:1e:e5:a8:bd:5a
inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
status: associated
ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS roaming MANUAL



Also yesterday, I lost complete connectivity to the router while my WIN PC 
was connected and browsing just fine..


I had to bounce the interface and reset the default gateway and my 
connection restored.


I did:

/etc/rc.d/netif restart && /etc/rc.d/routing restart


Thanks,

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

Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Mubeesh ali
Hi Justin,

I see 7 beacon misses on the interface which is not good the client
disconnects on beacon miss...typically most ap's are configured to
send a beacon every 100 ms .  ..this looks similar
http://madwifi-project.org/ticket/1957


thanks,
Mubeesh
On Thu, Dec 16, 2010 at 11:16 PM, Justin V.  wrote:
>
>
> On Thu, 16 Dec 2010, Mubeesh ali wrote:
>
>> can u completely not send any traffic or is this a random drop. If
>> random there could be interference causing replay counter mismatch.
>> This may force AP to drop the packet,  the ap may de authenticate
>> client if it sees continuous stream of such packets in a short
>> interval and force client to drop existing sessions like ftp.
>>
>> Please try changing the channel. If the client and AP are both A
>> capable please try using the A band as there are more non overlapping
>> channels and u may be able to find a channel with low interference.
>>
>>
>>
>> On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:
>>>
>>> I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
>>> router.. i changed that out..
>>>
>>> Ive tried using WEP and WPA.  Currently using WPA.
>>>
>>> Here are the logs Im seeing..
>>>
>>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
>>> Disconnect event - remove keys
>>> Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
>>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
>>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
>>> 00:22:6b:66:bf:74 timed out.
>>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
>>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>>> Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
>>> 00:22:6b:66:bf:74 timed out.
>>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
>>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay
>>> Counter
>>> did not increase - dropping packet
>>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
>>> 00:22:6b:66:bf:74
>>> Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP
>>>
>>> Given the errors seen what would be the best debug to use??
>>>
>>> wlandebug or tcpdump ??
>>>
>>> I went ahead and enabled since my logs are complaining about association
>>> and
>>> authentication..
>>>
>>> yeaguy# wlandebug -i wlan0 auth+assoc
>>> net.wlan.0.debug: 0x0 => 0xc0
>>> yeaguy#
>>>
>>>
>>> Any tips would be appreciated.. I have an end user continually
>>> complaining
>>> of disconects over FTP..
>>>
>>>
>>> Thanks,
>>>
>>> justin v
>>>
>>>
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscr...@freebsd.org"
>>>
>>
>>
>>
>> --
>> Best  Regards,
>>
>> Mubeesh Ali.V.M
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>
>
>
> Hi Mubeesh,
>
> It seems to be a random drop.. FTP will be humming along and then wlan0 will
> go down..
>
> I have the router set for channel 11...
>
> i do not have these types of drops with other wifi capable devices..
>
> ex.  WIN laptop, Playstaion 3... etc...
>
>
>
> rum0: flags=8843 metric 0 mtu 2290
>        ether 00:1e:e5:a8:bd:5a
>        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>        status: associated
> wlan0: flags=8843 metric 0 mtu 1500
>        ether 00:1e:e5:a8:bd:5a
>        inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255
>        media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
>        status: associated
>        ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
>        country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
>        AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450
>        bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
>        protmode CTS roaming MANUAL
>
>
>
> Also yesterday, I lost complete connectivity to the router while my WIN PC
> was connected and browsing just fine..
>
> I had to bounce the interface and reset the default gateway and my
> connection restored.
>
> I did:
>
> /etc/rc.d/netif restart && /etc/rc.d/routing restart
>
>
> Thanks,
>
> Justin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@

Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Justin V.



On Thu, 16 Dec 2010, Mubeesh ali wrote:


Hi Justin,

I see 7 beacon misses on the interface which is not good the client
disconnects on beacon miss...typically most ap's are configured to
send a beacon every 100 ms .  ..this looks similar
http://madwifi-project.org/ticket/1957


thanks,
Mubeesh
On Thu, Dec 16, 2010 at 11:16 PM, Justin V.  wrote:



On Thu, 16 Dec 2010, Mubeesh ali wrote:


can u completely not send any traffic or is this a random drop. If
random there could be interference causing replay counter mismatch.
This may force AP to drop the packet,  the ap may de authenticate
client if it sees continuous stream of such packets in a short
interval and force client to drop existing sessions like ftp.

Please try changing the channel. If the client and AP are both A
capable please try using the A band as there are more non overlapping
channels and u may be able to find a channel with low interference.



On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:


I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
router.. i changed that out..

Ive tried using WEP and WPA.  Currently using WPA.

Here are the logs Im seeing..

Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay
Counter
did not increase - dropping packet
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
00:22:6b:66:bf:74
Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP

Given the errors seen what would be the best debug to use??

wlandebug or tcpdump ??

I went ahead and enabled since my logs are complaining about association
and
authentication..

yeaguy# wlandebug -i wlan0 auth+assoc
net.wlan.0.debug: 0x0 => 0xc0
yeaguy#


Any tips would be appreciated.. I have an end user continually
complaining
of disconects over FTP..


Thanks,

justin v


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





--
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"





Hi Mubeesh,

It seems to be a random drop.. FTP will be humming along and then wlan0 will
go down..

I have the router set for channel 11...

i do not have these types of drops with other wifi capable devices..

ex.  WIN laptop, Playstaion 3... etc...



rum0: flags=8843 metric 0 mtu 2290
       ether 00:1e:e5:a8:bd:5a
       media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
       status: associated
wlan0: flags=8843 metric 0 mtu 1500
       ether 00:1e:e5:a8:bd:5a
       inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255
       media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
       status: associated
       ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
       country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
       AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450
       bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
       protmode CTS roaming MANUAL



Also yesterday, I lost complete connectivity to the router while my WIN PC
was connected and browsing just fine..

I had to bounce the interface and reset the default gateway and my
connection restored.

I did:

/etc/rc.d/netif restart && /etc/rc.d/routing restart


Thanks,

Justin

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






interesting.. do you know of a better adapter to use??

ive done a search on wlan0 and bmiss.. alot of threads regarding that 
issue, but all the threads show "bmiss 7" ?? does that seem odd??


___
freebsd-questions@freebsd.org mailing list
http://lists.free

Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Paul B Mahol
On Thu, Dec 16, 2010 at 7:28 PM, Justin V.  wrote:
> interesting.. do you know of a better adapter to use??
>
> ive done a search on wlan0 and bmiss.. alot of threads regarding that issue,
> but all the threads show "bmiss 7" ?? does that seem odd??

FYI, you can change bmiss value with ifconfig(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Justin V.



On Thu, 16 Dec 2010, Paul B Mahol wrote:


On Thu, Dec 16, 2010 at 7:28 PM, Justin V.  wrote:

interesting.. do you know of a better adapter to use??

ive done a search on wlan0 and bmiss.. alot of threads regarding that issue,
but all the threads show "bmiss 7" ?? does that seem odd??


FYI, you can change bmiss value with ifconfig(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




i am going to reconfig the bmiss to 200 and see how the int handles 
traffic load after that.

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


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Da Rock

On 12/17/10 03:46, Justin V. wrote:



On Thu, 16 Dec 2010, Mubeesh ali wrote:


can u completely not send any traffic or is this a random drop. If
random there could be interference causing replay counter mismatch.
This may force AP to drop the packet,  the ap may de authenticate
client if it sees continuous stream of such packets in a short
interval and force client to drop existing sessions like ftp.

Please try changing the channel. If the client and AP are both A
capable please try using the A band as there are more non overlapping
channels and u may be able to find a channel with low interference.



On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:


I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
router.. i changed that out..

Ive tried using WEP and WPA.  Currently using WPA.

Here are the logs Im seeing..

Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay 
Counter

did not increase - dropping packet
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
00:22:6b:66:bf:74
Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP

Given the errors seen what would be the best debug to use??

wlandebug or tcpdump ??

I went ahead and enabled since my logs are complaining about 
association and

authentication..

yeaguy# wlandebug -i wlan0 auth+assoc
net.wlan.0.debug: 0x0 => 0xc0
yeaguy#


Any tips would be appreciated.. I have an end user continually 
complaining

of disconects over FTP..


Thanks,

justin v


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






--
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"






Hi Mubeesh,

It seems to be a random drop.. FTP will be humming along and then 
wlan0 will go down..


I have the router set for channel 11...

i do not have these types of drops with other wifi capable devices..

ex.  WIN laptop, Playstaion 3... etc...



rum0: flags=8843 metric 0 mtu 
2290

ether 00:1e:e5:a8:bd:5a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu 
1500

ether 00:1e:e5:a8:bd:5a
inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
status: associated
ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 
scanvalid 450

bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS roaming MANUAL



Also yesterday, I lost complete connectivity to the router while my 
WIN PC was connected and browsing just fine..


I had to bounce the interface and reset the default gateway and my 
connection restored.


I did:

/etc/rc.d/netif restart && /etc/rc.d/routing restart


Thanks,

Justin
What version FreeBSD are you using? The only workaround I know is kill 
wpa_supplicant and run again- been happening to me for ages. But 8.1 it 
_finally_ sorted it out :)



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


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread justin v
On Thu, 16 Dec 2010 17:38:54 -0800, Da Rock  
 wrote:



On 12/17/10 03:46, Justin V. wrote:



On Thu, 16 Dec 2010, Mubeesh ali wrote:


can u completely not send any traffic or is this a random drop. If
random there could be interference causing replay counter mismatch.
This may force AP to drop the packet,  the ap may de authenticate
client if it sees continuous stream of such packets in a short
interval and force client to drop existing sessions like ftp.

Please try changing the channel. If the client and AP are both A
capable please try using the A band as there are more non overlapping
channels and u may be able to find a channel with low interference.



On Thu, Dec 16, 2010 at 10:46 PM, Justin V.  wrote:


I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
router.. i changed that out..

Ive tried using WEP and WPA.  Currently using WPA.

Here are the logs Im seeing..

Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
00:22:6b:66:bf:74 timed out.
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay  
Counter

did not increase - dropping packet
Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
00:22:6b:66:bf:74
Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP

Given the errors seen what would be the best debug to use??

wlandebug or tcpdump ??

I went ahead and enabled since my logs are complaining about  
association and

authentication..

yeaguy# wlandebug -i wlan0 auth+assoc
net.wlan.0.debug: 0x0 => 0xc0
yeaguy#


Any tips would be appreciated.. I have an end user continually  
complaining

of disconects over FTP..


Thanks,

justin v


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






-- Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to  
"freebsd-questions-unsubscr...@freebsd.org"






Hi Mubeesh,

It seems to be a random drop.. FTP will be humming along and then wlan0  
will go down..


I have the router set for channel 11...

i do not have these types of drops with other wifi capable devices..

ex.  WIN laptop, Playstaion 3... etc...



rum0: flags=8843 metric 0 mtu  
2290

ether 00:1e:e5:a8:bd:5a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu  
1500

ether 00:1e:e5:a8:bd:5a
inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
status: associated
ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid  
450

bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS roaming MANUAL



Also yesterday, I lost complete connectivity to the router while my WIN  
PC was connected and browsing just fine..


I had to bounce the interface and reset the default gateway and my  
connection restored.


I did:

/etc/rc.d/netif restart && /etc/rc.d/routing restart


Thanks,

Justin
What version FreeBSD are you using? The only workaround I know is kill  
wpa_supplicant and run again- been happening to me for ages. But 8.1 it  
_finally_ sorted it out :)



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





--
Using Opera's revolutionary email client: http://www.opera.com/mail/















wifi is bugging out on this server.  unable to serve.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi