From nobody@FreeBSD.org  Sun Jan 27 22:18:31 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9CE2F16A418
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 22:18:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8CD9213C457
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 22:18:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0RMGlJU097974
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 22:16:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0RMGl19097973;
	Sun, 27 Jan 2008 22:16:47 GMT
	(envelope-from nobody)
Message-Id: <200801272216.m0RMGl19097973@www.freebsd.org>
Date: Sun, 27 Jan 2008 22:16:47 GMT
From: Nathan Whitehorn <nathanw@uchicago.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: routed marks 802.11 interfaces broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120064
>Category:       bin
>Synopsis:       routed(8) marks 802.11 interfaces broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 22:20:02 UTC 2008
>Closed-Date:    
>Last-Modified:  Sun Jan 27 23:56:42 UTC 2008
>Originator:     Nathan Whitehorn
>Release:        7.0-PRERELEASE
>Organization:
University of Chicago
>Environment:
FreeBSD banshee.munuc.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Sun Jan 27 14:06:09 CST 2008     root@banshee.munuc.org:/usr/obj/usr/src/sys/X2100  amd64

>Description:
Because wlan devices are intrinsically unreliable, the error counters
increment much faster than routed would like. Then the interface gets
marked broken, and routes to it deleted, very quickly. This means that
dynamic announcement of wireless networks using the base routed is
essentially broken.

A good fix would be a way to tell routed that you know certain interfaces
are unreliable and don't care if the error counters become large, or
(better) some kind of autodetection of wireless devices. ifi_type reports
802.11 devices as IFT_ETHER, and I didn't look into how to get the media values.
>How-To-Repeat:
Set up a wireless NIC in hostap mode (I used an atheros one), turn on
routed, use it for a couple of minutes, and watch it be shut off.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
