|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Problem using adhoc mode using the iwn driver.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@...:/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 _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
|
|
Re: Problem using adhoc mode using the iwn driver.On 9/11/09, Eddie Leisure <eddie@...> wrote:
> 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. Look at iwn source code, IBSS cap is commented out. Either this issue should be addressed or man page should be updated. -- Paul _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
|
|
Re: Problem using adhoc mode using the iwn driver.Paul B. Mahol wrote:
> Look at iwn source code, IBSS cap is commented out. > Either this issue should be addressed or man page should be updated. Thanks for your help here, it never occurred to me to check the source, I'm still a bit of a newbie at this. Deleted the #if 0...#endif block around the code in if_iwn.c and recompiled. Running it form the console this time and I can see the error "iwn0: IBSS mode not supported" - so it still doesn't seem to be working. I checked over the rest of the source and I don't see anything obvious in the header files either. I think I'm dancing around my limits here, I think I'll just have to find a different way to connect this machine, or just get a usb adapter. Just to make sure I'm on track here, i did a kldunload if_iwn, then ran make, then did a kldload if_iwn - this is the first time for me to recompile a kernel module so I want to make sure I'm not messing this up. It somewhat makes sense for it not to work though, I assume theres a reason it was commented out to begin with. Eddie _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
|
|
Re: Problem using adhoc mode using the iwn driver.Eddie Leisure wrote:
> Paul B. Mahol wrote: >> Look at iwn source code, IBSS cap is commented out. >> Either this issue should be addressed or man page should be updated. > Thanks for your help here, it never occurred to me to check the source, > I'm still a bit of a newbie at this. > > Deleted the #if 0...#endif block around the code in if_iwn.c and > recompiled. > Running it form the console this time and I can see the error "iwn0: > IBSS mode not supported" - so it still doesn't seem to be working. I > checked over the rest of the source and I don't see anything obvious in > the header files either. > > I think I'm dancing around my limits here, I think I'll just have to > find a different way to connect this machine, or just get a usb adapter. > > Just to make sure I'm on track here, i did a kldunload if_iwn, then ran > make, then did a kldload if_iwn - this is the first time for me to > recompile a kernel module so I want to make sure I'm not messing this up. > > It somewhat makes sense for it not to work though, I assume theres a > reason it was commented out to begin with. iwn's ibss suport didn't work when I last tried it so I removed the capability. Someone needs to take responsibility for the driver; there are many outstanding issues with the code in the tree (e.g. lack of support for the newer (but now old) parts). Sam _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
|
|
Re: Problem using adhoc mode using the iwn driver.On Fri, Sep 11, 2009 at 07:37:35PM -0700, Sam Leffler wrote:
> Eddie Leisure wrote: > > Paul B. Mahol wrote: > >> Look at iwn source code, IBSS cap is commented out. > >> Either this issue should be addressed or man page should be updated. > > Thanks for your help here, it never occurred to me to check the source, > > I'm still a bit of a newbie at this. > > > > Deleted the #if 0...#endif block around the code in if_iwn.c and > > recompiled. > > Running it form the console this time and I can see the error "iwn0: > > IBSS mode not supported" - so it still doesn't seem to be working. I > > checked over the rest of the source and I don't see anything obvious in > > the header files either. > > iwn's ibss suport didn't work when I last tried it so I removed the > capability. Someone needs to take responsibility for the driver; there > are many outstanding issues with the code in the tree (e.g. lack of > support for the newer (but now old) parts). If someone gets interested in playing with iwn, it would be great if they could work on resume. FreeBSD 8 is *wonderful* for S3 suspend and resume. I really appreciate the work which has been done to get it to work. The iwn driver is my only issue. I have put up the verbose dmesg for boot and resume if anyone is interested. http://www.lambertfam.org/~lambert/laptop/TravelMate_5720-6911/ After resume the ifconfig shows "associated" on iwn0 and "no carrier" on wlan0. -- Scott Lambert KC5MLE Unix SysAdmin lambert@... _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
|
|
Re: Problem using adhoc mode using the iwn driver.Scott Lambert wrote:
> On Fri, Sep 11, 2009 at 07:37:35PM -0700, Sam Leffler wrote: >> Eddie Leisure wrote: >>> Paul B. Mahol wrote: >>>> Look at iwn source code, IBSS cap is commented out. >>>> Either this issue should be addressed or man page should be updated. >>> Thanks for your help here, it never occurred to me to check the source, >>> I'm still a bit of a newbie at this. >>> >>> Deleted the #if 0...#endif block around the code in if_iwn.c and >>> recompiled. >>> Running it form the console this time and I can see the error "iwn0: >>> IBSS mode not supported" - so it still doesn't seem to be working. I >>> checked over the rest of the source and I don't see anything obvious in >>> the header files either. >> iwn's ibss suport didn't work when I last tried it so I removed the >> capability. Someone needs to take responsibility for the driver; there >> are many outstanding issues with the code in the tree (e.g. lack of >> support for the newer (but now old) parts). > > If someone gets interested in playing with iwn, it would be great if > they could work on resume. FreeBSD 8 is *wonderful* for S3 suspend and > resume. I really appreciate the work which has been done to get it to > work. > > The iwn driver is my only issue. I have put up the verbose dmesg for > boot and resume if anyone is interested. > > http://www.lambertfam.org/~lambert/laptop/TravelMate_5720-6911/ > > After resume the ifconfig shows "associated" on iwn0 and "no carrier" on > wlan0. > > There is suspend/resume support in net80211; probably just requires hooking up to it. OTOH if you want to do a good job (i.e. resume quickly) then take a look at what ath does. Sam _______________________________________________ freebsd-mobile@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |