From owner-freebsd-stable@FreeBSD.ORG Wed Apr 14 12:29:02 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 991E91065670 for ; Wed, 14 Apr 2010 12:29:02 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (unknown [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id CA8FD8FC0C for ; Wed, 14 Apr 2010 12:29:01 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) by marge.meraka.csir.co.za (Postfix) with ESMTP id B499F78C7F for ; Wed, 14 Apr 2010 14:28:54 +0200 (SAST) From: Johann Hugo To: freebsd-stable@freebsd.org Date: Wed, 14 Apr 2010 12:28:53 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) References: <20100414103054.GA2460@cemu.ru> In-Reply-To: <20100414103054.GA2460@cemu.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <201004141228.53919.jhugo@meraka.csir.co.za> Subject: Re: ath0: kernel panic when adhoc mode. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 12:29:02 -0000 On Wednesday 14 April 2010 10:30:54 am Lystopad Olexandr wrote: > Hi! > > I install 8.0 FreeBSD, upgrade it to yesturday stable. > I need to create wireless link in adhoc mode. > Help me to do this. > > > I put a wireless card into this box: > > ath0@pci0:3:3:0: class=0x020000 card=0xcc2114b9 chip=0x0013168c > rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' > device = '802.11a/b/g Wireless Adapter (AR5212)' > class = network > subclass = ethernet > cap 01[44] = powerspec 2 supports D0 D3 current D0 > > > > when I do: > # ifconfig wlan0 create wlandev ath0 wlanmode adhoc > I remember a colleague of mine having a similar problem. I think he eventually tried a workaround by doing it in two commands. Try to split it up to see if it works. #ifconfig wlan0 create wlandev ath0 #ifconfig wlan0 wlanmode adhoc