Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 14:28:43 -0400
From:      Eddie Leisure <eddie@angryeddie.cn>
To:        freebsd-mobile@freebsd.org
Subject:   Problem using adhoc mode using the iwn driver.
Message-ID:  <4AAA96DB.7070501@angryeddie.cn>

next in thread | raw e-mail | index | archive | help
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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAA96DB.7070501>