DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th June 2008
noonereallycares noonereallycares is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default Losing connection with Atheros wifi

I have been running a FreeBSD box for a while and using it as an AP with hostapd. My atheros-based card appears to be working and other computers can join the wireless network.

A random intervals, the routed service detects that the ath0 connection has been dropped. This causes all routes to the network to be removed. After 5-30 minutes (can vary as fair bit), the routed service identifies the link as coming back online and then everything works again.

The logs look like this:

Quote:
routed[572]: interface ath0 to <router_ip> broken: in=0 ierr=217 out=0 oerr=0
kernel: arplookup <laptop_ip> failed: host is not on local network
routed[572]: interface ath0 to <router_ip> restored
Since the AP was the only features that was failing, I have been putting off rebuilding the system. However, I just spent four days building a custom 7.0 install script that contains all the required settings. I have installed on new hardware with a new atheros-based wireless card.

The problem remains.
Reply With Quote
  #2   (View Single Post)  
Old 11th June 2008
mish's Avatar
mish mish is offline
Port Guard
 
Join Date: May 2008
Location: Makati City, Philippines
Posts: 25
Thanked 0 Times in 0 Posts
Default

Interference? (2.4Ghz cordless phones, microwave, nearby wireless networks ovarlapping with your channel, etc)
Intense activity (eg: P2P) maxing-out the Atheros? (I've seen this happen with Ralink-based cards on OpenBSD)

If your problem can be solved with a quick "ifconfig down/up", then you can set up a quick-fix (VERY temp until you sort things out) via a cron job that pings a well-known host then brings the interface up if it finds that it's down.
Reply With Quote
  #3   (View Single Post)  
Old 11th June 2008
noonereallycares noonereallycares is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mish View Post
If your problem can be solved with a quick "ifconfig down/up", then you can set up a quick-fix (VERY temp until you sort things out) via a cron job that pings a well-known host then brings the interface up if it finds that it's down.
Since it is the wifi that drops in and out, there are no permanent hosts on that part of the network. I manually created the routes, and stopped the routed service, and the problem appears to have gone away. This change was only made yesterday, so it is still early days.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
atheros AR5424 amru OpenBSD General 5 12th June 2009 12:29 AM
DesktopBSD & usb wifi radtek FreeBSD General 1 10th September 2008 09:13 PM
Two FW + WiFi AP Inquiry revzalot OpenBSD Security 4 14th July 2008 11:24 PM
Any wifi enthusiasts here? PatrickBaer General software and network 14 1st July 2008 01:45 PM
Guide: Atheros ar5007 wifi cards in freebsd7 Dazhelpwiz FreeBSD Installation and Upgrading 3 16th June 2008 02:23 AM


All times are GMT. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick