From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 6 23:22:33 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DEEAB962 for ; Wed, 6 Nov 2013 23:22:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1ACE2753 for ; Wed, 6 Nov 2013 23:22:32 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id hu16so360021qab.17 for ; Wed, 06 Nov 2013 15:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hiBi+hgNsJMdT+6zZIK2ALeX7Kev6BymLs13a0+x4Z8=; b=PwSY+J088qdqcxIlgdUVZ8AhyNQ4tyYv+HFZ1hR352JR62Nz/2eH/vZepYZrE5s+kP rFzi7mMb+g7CST8u4m/i/pOvrU34sgj1lvtMpCkJn47KaAmn4wObUjw+LykTxPqmsfwd bmxE8Ho1DB82DJmMOU6w/oDn5Mg1bdtomJPVn6ngdBlRmoIsSFVeMg8MUVF2eS8PXboF qL3ioDPMtVgjybrkY+XQLbBQEP9wdBSnWmPFqsjisrG0jqxuVnknCDbVU+MB9F917xyM 44frzFKanaTPikXkZAnMiBWuk0JA43/+XrvvOZ0JOlNEOGcOprw3i3KZqBqRQrcx7yKe OhbA== MIME-Version: 1.0 X-Received: by 10.224.51.131 with SMTP id d3mr9744171qag.0.1383780150794; Wed, 06 Nov 2013 15:22:30 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Wed, 6 Nov 2013 15:22:30 -0800 (PST) In-Reply-To: <527ACEC1.1050802@unsane.co.uk> References: <527ACEC1.1050802@unsane.co.uk> Date: Wed, 6 Nov 2013 15:22:30 -0800 X-Google-Sender-Auth: ssjNGFj_Pqnphw0oJmOljz_gcKo Message-ID: Subject: Re: Odd issue with ath and 2 IPs on interface at boot From: Adrian Chadd To: Vincent Hoffman Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 23:22:33 -0000 There's bugs with how interfaces are setup and wpa_supplicant is being called. So I think this is just fallout from that. :( -adrian On 6 November 2013 15:20, Vincent Hoffman wrote: > Hi, > I'm trying to bring up a wlan interface with 2 IPs on it so I can > NAT other devices on the wireless network. > If I try and configure both IPs at boot via rc.conf I get no link and > logs as follows > Many repeating > Nov 5 23:02:34 ostracod wpa_supplicant[676]: wlan0: Failed to initiate > AP scan > Nov 5 23:02:35 ostracod kernel: ath0: ath_legacy_rx_tasklet: > sc_inreset_cnt > 0; skipping > Nov 5 23:02:35 ostracod wpa_supplicant[676]: ioctl[SIOCS80211, op=103, > val=0, arg_len=128]: Operation now in progress > Nov 5 23:02:35 ostracod wpa_supplicant[676]: wlan0: Failed to initiate > AP scan > with the occasional > Nov 5 23:04:51 ostracod kernel: ath0: ath_raw_xmit: sc_inreset_cnt > 0; > bailing > Nov 5 23:04:51 ostracod kernel: ath0: ath_raw_xmit: sc_inreset_cnt > 0; > bailing > > in rc.conf I have: > wlans_ath0="wlan0" > ifconfig_wlan0="WPA inet 85.233.185.162/29 -bgscan" > ifconfig_wlan0_alias0="inet 10.10.10.1/24" > > > If however I add just one address and then create the alias manually > later It works fine. > > ath device details > > ath0: mem 0xfebf0000-0xfebfffff irq 16 at device 0.0 > on pci4 > ath0: AR2425 mac 14.2 RF5424 phy 7.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00a2 > > ath0@pci0:4:0:0: class=0x020000 card=0x7131144f chip=0x001c168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR242x / AR542x Wireless Network Adapter (PCI-Express)' > class = network > subclass = ethernet > > OS details: > FreeBSD ostracod.unsane.co.uk 10.0-BETA2 FreeBSD 10.0-BETA2 #71 r257498: > Fri Nov 1 17:31:01 GMT 2013 > toor@ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD amd64 > > It seems unlikely this is expected and i'm not even sure its ath based > but I dont have any other wireless interfaces to test with. > Any suggestions? > The system is in use at the moment but I can test from time to time. > > Vince > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"