From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 11 18:41:54 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4566C106568B for ; Fri, 11 Sep 2009 18:41:54 +0000 (UTC) (envelope-from eddie@angryeddie.cn) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 315E48FC12 for ; Fri, 11 Sep 2009 18:41:54 +0000 (UTC) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id fQVo1c0020vp7WLA5WUkX4; Fri, 11 Sep 2009 18:28:44 +0000 Received: from [192.168.1.150] ([76.111.61.34]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id fWUi1c00e0kKVsC8RWUja1; Fri, 11 Sep 2009 18:28:44 +0000 Message-ID: <4AAA96DB.7070501@angryeddie.cn> Date: Fri, 11 Sep 2009 14:28:43 -0400 From: Eddie Leisure User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:41:54 -0000 Followed the instructions per 'man iwn' I'm getting "ifconfig: SIOCIFCREATE2: Operation not supported" when I try to create the wlan0 device in adhoc mode. Environment specific information: uname -a: FreeBSD spectre.mss.iss.net 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 02:36:50 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 pciconf: iwn0@pci0:3:0:0: class=0x028000 card=0x10108086 chip=0x42308086 rev=0x61 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel Wireless WiFi Link 4965AGN (Intel 4965AGN)' class = network bar [10] = type Memory, range 64, base 0xdf2fe000, size 8192, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) This is what I've done: spectre# ifconfig iwn0 iwn0: flags=8802 metric 0 mtu 2290 ether 00:21:5c:15:74:6d media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier spectre# ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid aenet ifconfig: SIOCIFCREATE2: Operation not supported If I don't use the 'wlanmode adhoc' option, then it works, but doesn't really do what I want. spectre# ifconfig wlan create wlandev iwn0 ssid aenet wlan0 spectre# ifconfig wlan0 up spectre# ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:21:5c:15:74:6d inet 192.168.2.25 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid aenet channel 36 (5180 Mhz 11a) country US authmode OPEN privacy OFF txpower 15 bmiss 10 mcastrate 6 mgmtrate 6 scanvalid 60 wme bintval 0 At this point, I can give it an IP address, etc... but it will say no carrier. This is my first time setting up an adhoc network, but what I can find from my searches is that this _should_ work... I feel like I may be missing something simple though. Any insight would be appreciated. Ed Leisure