From owner-freebsd-mobile@FreeBSD.ORG Tue Dec 29 21:30:11 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 A98991065695 for ; Tue, 29 Dec 2009 21:30:11 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 24AEA8FC20 for ; Tue, 29 Dec 2009 21:30:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NPjdO-0002ld-MF for freebsd-mobile@freebsd.org; Tue, 29 Dec 2009 22:29:42 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 22:29:42 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 22:29:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: martinko Date: Tue, 29 Dec 2009 22:29:23 +0100 Lines: 80 Message-ID: <4B3A74B3.10808@users.sf.net> References: <1238217783.00093348.1238205603@10.7.7.3> <20090328160858.GA57695@auricle.charter.net> <49CE51E2.4000807@freebsd.org> <49CE5B95.1010502@freebsd.org> <49CFBA6D.9070208@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20091220 SeaMonkey/2.0.1 In-Reply-To: <49CFBA6D.9070208@freebsd.org> Sender: news Subject: Re: Switching from wired to wireless getting "network down" 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: Tue, 29 Dec 2009 21:30:11 -0000 Sam Leffler wrote: > > r190526 makes it possible to do the wired/wireless failover in HEAD. The > only caveat is you must manually set the mac address of the wireless > device to match the wired device because lagg's automatic setting of the > wlanX ifnet doesn't propagate to the underlying device (the way > if_setlladdr works makes it difficult). In the mean time you can do: > > ifconfig ath0 ether 00:11:22:33:44:55 > > where the mac address is whatever your wired nic's address is and then > setup lagg0 using the wlan; e.g. > > ifconfig ath0 ether 00:11:22:33:44:55 > ifconfig wlan create wlandev ath0 ssid my_net up > ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... > > I also verified it works with WPA. In fact I tested this on a thinkpad > in a docking station and it did the right thing just un-docking and > re-docking. My only complaint is my ping running during all this lost > one packet in the transition; not sure where. > > Sam Hallo, I've tried to figure out how to make this persistant via rc.conf and I'm running into a dependency issue -- lagg is created before wlan: This is in my rc.conf: ifconfig_sk0="up" ifconfig_iwi0="ether 00:11:22:33:44:55" # match wired (sk0) wlans_iwi0="wlan0" ifconfig_wlan0="wpa" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport sk0 laggport wlan0 dhcp" And this is the result of /etc/rc.d/netif restart : Stopping Network: lo0 sk0 fwe0 fwip0 iwi0 wlan0. [...] ifconfig: interface wlan0 does not exist Starting wpa_supplicant. ifconfig: SIOCSLAGGPORT: Device busy Starting Network: lo0 sk0 iwi0 lagg0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 sk0: flags=8843 metric 0 mtu 1500 options=b ether 00:11:22:33:44:55 media: Ethernet autoselect (none) status: no carrier iwi0: flags=8843 metric 0 mtu 2290 ether 00:11:22:33:44:55 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated lagg0: flags=8843 metric 0 mtu 1500 options=b ether 00:11:22:33:44:55 media: Ethernet autoselect status: no carrier laggproto failover laggport: sk0 flags=1 Please note that wlan0 is not part of lagg0 (!) If I create it from command line it works as described in previous email. It looks to me that wlan0 is not created fast enough and thus not added to lagg0. :-/ Any suggestions how to solve this please ? Thanks! Martin PS: This is on 8.0-R. From owner-freebsd-mobile@FreeBSD.ORG Wed Dec 30 14:29:05 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 4F9B9106566B for ; Wed, 30 Dec 2009 14:29:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3F08FC08 for ; Wed, 30 Dec 2009 14:29:05 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9726746B46; Wed, 30 Dec 2009 09:29:04 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id BD2688A01F; Wed, 30 Dec 2009 09:29:03 -0500 (EST) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Wed, 30 Dec 2009 08:52:56 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <1238217783.00093348.1238205603@10.7.7.3> <49CFBA6D.9070208@freebsd.org> <4B3A74B3.10808@users.sf.net> In-Reply-To: <4B3A74B3.10808@users.sf.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912300852.57010.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 30 Dec 2009 09:29:03 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: martinko Subject: Re: Switching from wired to wireless getting "network down" 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: Wed, 30 Dec 2009 14:29:05 -0000 On Tuesday 29 December 2009 4:29:23 pm martinko wrote: > Sam Leffler wrote: > > > > r190526 makes it possible to do the wired/wireless failover in HEAD. The > > only caveat is you must manually set the mac address of the wireless > > device to match the wired device because lagg's automatic setting of the > > wlanX ifnet doesn't propagate to the underlying device (the way > > if_setlladdr works makes it difficult). In the mean time you can do: > > > > ifconfig ath0 ether 00:11:22:33:44:55 > > > > where the mac address is whatever your wired nic's address is and then > > setup lagg0 using the wlan; e.g. > > > > ifconfig ath0 ether 00:11:22:33:44:55 > > ifconfig wlan create wlandev ath0 ssid my_net up > > ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... > > > > I also verified it works with WPA. In fact I tested this on a thinkpad > > in a docking station and it did the right thing just un-docking and > > re-docking. My only complaint is my ping running during all this lost > > one packet in the transition; not sure where. > > > > Sam > > Hallo, > > I've tried to figure out how to make this persistant via rc.conf and I'm > running into a dependency issue -- lagg is created before wlan: > > This is in my rc.conf: > > ifconfig_sk0="up" > ifconfig_iwi0="ether 00:11:22:33:44:55" # match wired (sk0) > wlans_iwi0="wlan0" > ifconfig_wlan0="wpa" > > cloned_interfaces="lagg0" > ifconfig_lagg0="laggproto failover laggport sk0 laggport wlan0 dhcp" > > And this is the result of /etc/rc.d/netif restart : > > Stopping Network: lo0 sk0 fwe0 fwip0 iwi0 wlan0. > [...] > ifconfig: interface wlan0 does not exist > Starting wpa_supplicant. > ifconfig: SIOCSLAGGPORT: Device busy > Starting Network: lo0 sk0 iwi0 lagg0. > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > sk0: flags=8843 metric 0 mtu 1500 > options=b > ether 00:11:22:33:44:55 > media: Ethernet autoselect (none) > status: no carrier > iwi0: flags=8843 metric 0 mtu 2290 > ether 00:11:22:33:44:55 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > lagg0: flags=8843 metric 0 mtu 1500 > options=b > ether 00:11:22:33:44:55 > media: Ethernet autoselect > status: no carrier > laggproto failover > laggport: sk0 flags=1 > > Please note that wlan0 is not part of lagg0 (!) > If I create it from command line it works as described in previous email. > It looks to me that wlan0 is not created fast enough and thus not added > to lagg0. :-/ > Any suggestions how to solve this please ? Use an explicit 'network_interfaces' value in rc.conf that puts lagg0 last. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 31 10:54:06 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 9A9AA1065672 for ; Thu, 31 Dec 2009 10:54:06 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 142CD8FC15 for ; Thu, 31 Dec 2009 10:54:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQIfL-0006Oh-VD for freebsd-mobile@freebsd.org; Thu, 31 Dec 2009 11:54:03 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Dec 2009 11:54:03 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Dec 2009 11:54:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: martinko Date: Thu, 31 Dec 2009 11:53:39 +0100 Lines: 174 Message-ID: References: <1238217783.00093348.1238205603@10.7.7.3> <49CFBA6D.9070208@freebsd.org> <4B3A74B3.10808@users.sf.net> <200912300852.57010.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20091220 SeaMonkey/2.0.1 In-Reply-To: <200912300852.57010.jhb@freebsd.org> Sender: news Subject: Re: Switching from wired to wireless getting "network down" 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: Thu, 31 Dec 2009 10:54:06 -0000 John Baldwin wrote: > On Tuesday 29 December 2009 4:29:23 pm martinko wrote: >> Sam Leffler wrote: >>> >>> r190526 makes it possible to do the wired/wireless failover in HEAD. The >>> only caveat is you must manually set the mac address of the wireless >>> device to match the wired device because lagg's automatic setting of the >>> wlanX ifnet doesn't propagate to the underlying device (the way >>> if_setlladdr works makes it difficult). In the mean time you can do: >>> >>> ifconfig ath0 ether 00:11:22:33:44:55 >>> >>> where the mac address is whatever your wired nic's address is and then >>> setup lagg0 using the wlan; e.g. >>> >>> ifconfig ath0 ether 00:11:22:33:44:55 >>> ifconfig wlan create wlandev ath0 ssid my_net up >>> ifconfig lagg create laggproto failover laggport em0 laggport wlan0 ... >>> >>> I also verified it works with WPA. In fact I tested this on a thinkpad >>> in a docking station and it did the right thing just un-docking and >>> re-docking. My only complaint is my ping running during all this lost >>> one packet in the transition; not sure where. >>> >>> Sam >> >> Hallo, >> >> I've tried to figure out how to make this persistant via rc.conf and I'm >> running into a dependency issue -- lagg is created before wlan: >> >> This is in my rc.conf: >> >> ifconfig_sk0="up" >> ifconfig_iwi0="ether 00:11:22:33:44:55" # match wired (sk0) >> wlans_iwi0="wlan0" >> ifconfig_wlan0="wpa" >> >> cloned_interfaces="lagg0" >> ifconfig_lagg0="laggproto failover laggport sk0 laggport wlan0 dhcp" >> >> And this is the result of /etc/rc.d/netif restart : >> >> Stopping Network: lo0 sk0 fwe0 fwip0 iwi0 wlan0. >> [...] >> ifconfig: interface wlan0 does not exist >> Starting wpa_supplicant. >> ifconfig: SIOCSLAGGPORT: Device busy >> Starting Network: lo0 sk0 iwi0 lagg0. >> lo0: flags=8049 metric 0 mtu 16384 >> options=3 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> sk0: flags=8843 metric 0 mtu 1500 >> options=b >> ether 00:11:22:33:44:55 >> media: Ethernet autoselect (none) >> status: no carrier >> iwi0: flags=8843 metric 0 mtu 2290 >> ether 00:11:22:33:44:55 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> status: associated >> lagg0: flags=8843 metric 0 mtu 1500 >> options=b >> ether 00:11:22:33:44:55 >> media: Ethernet autoselect >> status: no carrier >> laggproto failover >> laggport: sk0 flags=1 >> >> Please note that wlan0 is not part of lagg0 (!) >> If I create it from command line it works as described in previous email. >> It looks to me that wlan0 is not created fast enough and thus not added >> to lagg0. :-/ >> Any suggestions how to solve this please ? > > Use an explicit 'network_interfaces' value in rc.conf that puts lagg0 last. > Hallo, Thanks for the hint. However it behaves very strangely.. This is what I added to my rc.conf (above): network_interfaces="lo0 sk0 iwi0 wlan0 lagg0" After /etc/rc.d/netif restart I see various funny things: 1) wpa_supplicant not running? (check /var/run/wpa_supplicant/wlan0.pid). even though it seems to be running (checked before): $ cat /var/run/wpa_supplicant/wlan0.pid 10349 $ PS wpa root 10349 1 10349 10349 0 Ss ?? 0:00.00 /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D 2) ifconfig: interface wlan0 does not exist even though as checked before: $ ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:22:33:44:55 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ssid gamato channel 1 (2412 Mhz 11g) bssid 00:01:02:03:04:05 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 0 bmiss 24 scanvalid 60 protmode CTS wme roaming MANUAL 3) lagg0 listed twice (!): Stopping Network: lo0 sk0 iwi0 wlan0 lagg0 lagg0. [...] Starting wpa_supplicant. ifconfig: SIOCSLAGGPORT: Device busy ifconfig: SIOCSLAGGPORT: Device busy Starting Network: lo0 sk0 iwi0 wlan0 lagg0 lagg0. [...] lagg0: flags=8843 metric 0 mtu 1500 [...] lagg0: flags=8843 metric 0 mtu 1500 4) Right now, as if it was not enough, something new is happening: Starting wpa_supplicant. ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported ELOOP: remaining socket: sock=5 eloop_data=0x28407140 user_data=0x2840e040 handler=0x8069f40 /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant ifconfig: SIOCSLAGGPORT: Device busy ifconfig: SIOCSLAGGPORT: Device busy and in /var/log/messages: Dec 31 11:40:10 mb-aw1n-bsd kernel: iwi0: timeout processing command blocks for iwi_bss firmware Dec 31 11:40:10 mb-aw1n-bsd kernel: iwi0: could not load boot firmware iwi_bss Dec 31 11:40:10 mb-aw1n-bsd kernel: iwi0: timeout waiting for master [...] Dec 31 11:40:10 mb-aw1n-bsd wpa_supplicant[12833]: ctrl_iface exists and seems to be in use - cannot override it Dec 31 11:40:10 mb-aw1n-bsd wpa_supplicant[12833]: Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore Dec 31 11:40:10 mb-aw1n-bsd wpa_supplicant[12833]: Failed to initialize control interface '/var/run/wpa_supplicant'. You may have another wpa_supplicant process already ru Dec 31 11:40:10 mb-aw1n-bsd wpa_supplicant[12833]: Failed to disable WPA in the driver. Dec 31 11:40:10 mb-aw1n-bsd root: /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant while there is nothing to delete: $ ll /var/run/wp* ls: /var/run/wp*: No such file or directory Something seems to be broken. :-/ With regards, Martin From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 31 15:26:22 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 C027210656AB for ; Thu, 31 Dec 2009 15:26:22 +0000 (UTC) (envelope-from reimone@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 570C88FC1D for ; Thu, 31 Dec 2009 15:26:22 +0000 (UTC) Received: by fxm27 with SMTP id 27so12233404fxm.3 for ; Thu, 31 Dec 2009 07:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=+InsGHVL8EAfokvVOFSw90VSthXFKyUkaARj9esgfMI=; b=cyzfPF8mjAu4VFgeSYi2+mpSXYLG8wWYSwhWegdpwQy9SvagiMc4sHrbn9PdLZ3U4M WNV4PchMK+BvaI3gnBxoAuNfBbIDX2G9unuvHH4/uyZqGmQNpPxs59XwqUllRvYG4x0A U2FNvs0xT1xcdGR4qIZwrk8N9JL8lpLc8PZd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=o2JQdTp4e9UMDJm5Ac+Wz88ivG7QlDUNr5sV3NGopQlPFNdx3zeiiJ+gvcDM9x1X3o TNRCBjdPnYQx5MuuKIU09zsUpQZygQNfLRtCLsXZWpFKTF/+fiDyEKWd0ryhpUVNKzJT OczrjCvE/vgS/NDZUuRjcEnrPWvm6L0xir0HQ= MIME-Version: 1.0 Sender: reimone@gmail.com Received: by 10.223.3.197 with SMTP id 5mr419198fao.75.1262271324483; Thu, 31 Dec 2009 06:55:24 -0800 (PST) Date: Thu, 31 Dec 2009 15:55:24 +0100 X-Google-Sender-Auth: e11ad7843547c74c Message-ID: <2134e7a00912310655x4b2fdb3fo98d6610c51c3c718@mail.gmail.com> From: Riccardo Vincelli To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: wpi and adhoc mode on 7.2 rel 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: Thu, 31 Dec 2009 15:26:22 -0000 Hello everybody! I'm with a FreeBSD 7.2-release on a HP Compaq nc6400; we have plenty of these notebooks at disposal, at a very reasonable price, so... The card is recognized by the system, but I've got a question-issue: Is there a way to operate the device in ibss/adhoc mode? The manpage says bss is default, but it doesn't tell us how to switch to p2p mode; I haven't found no useful posts on this. In the handbook various commands issue a "mediaopt adhoc", but "adhoc", it doesn't appear as a valid opt value for the mediaopt option, for this driver. The problem is that I can't put in work the device as a wep-authenticated peer, nor with ifconfig, nor with wpa_supplicant (network entry is fine and mode=1, but the ssid is constantly skipped: skip - IBSS (adhoc) etc...) as I suspect I can't set it in ad-hoc mode. tia! -- Riccardo "reim aka riQui" Vincelli - http://reim.webhop.net - http://www.facebook.com/riccardo.vincelli From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 31 15:31:49 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 AE569106568B for ; Thu, 31 Dec 2009 15:31:49 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 443BE8FC16 for ; Thu, 31 Dec 2009 15:31:48 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so3334318eyf.9 for ; Thu, 31 Dec 2009 07:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=MEse+VdY39q3Di9Ud86Sfn/jn+uqSGVenyFOcsI5R5M=; b=ijKbSwjf3A0BN2bSLG7q4j1FPxqGYHWYOgYPLy2Jwf0rOGGpnHpLoaNcnEnn1DgGYk iDvtVg/QCiaRN7Z9OZeufZNTNPxMYzGdERnnssf8cyRvR65E01zi7gZ9HUGfU2Lz75B0 2Tb6EAuRv/JB6q2J1csWs7kEMPw0W0NdjsDec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LjGPDCQIJIHwOBp/GocFOKfLIqAaAysQJDVhyOLJUvFqTk0vbg5/LMg7BE0d3Q7WjM ZnpYqTtl7/stZ6CthmVYiXbRdC/K3p2qWtP9eOOPhI1GVluObkvQkSfhGAyq2uwRAUEu JhkC0X2bAEFlBixvHFD5IqHqlrd9kucwrvHxg= MIME-Version: 1.0 Received: by 10.213.98.144 with SMTP id q16mr7458733ebn.29.1262273500456; Thu, 31 Dec 2009 07:31:40 -0800 (PST) In-Reply-To: <2134e7a00912310655x4b2fdb3fo98d6610c51c3c718@mail.gmail.com> References: <2134e7a00912310655x4b2fdb3fo98d6610c51c3c718@mail.gmail.com> Date: Thu, 31 Dec 2009 16:31:40 +0100 Message-ID: <3a142e750912310731n60b7667fr4a864eeb58b34d1c@mail.gmail.com> From: Paul B Mahol To: Riccardo Vincelli Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mobile@freebsd.org Subject: Re: wpi and adhoc mode on 7.2 rel 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: Thu, 31 Dec 2009 15:31:49 -0000 On 12/31/09, Riccardo Vincelli wrote: > Hello everybody! > > I'm with a FreeBSD 7.2-release on a HP Compaq nc6400; we have plenty of > these notebooks at disposal, at a very reasonable price, so... > The card is recognized by the system, but I've got a question-issue: > > Is there a way to operate the device in ibss/adhoc mode? The manpage says > bss is default, but it doesn't tell us how to switch to p2p mode; I haven't > found no useful posts on this. > In the handbook various commands issue a "mediaopt adhoc", but "adhoc", it > doesn't appear as a valid opt value for the mediaopt option, for this > driver. > The problem is that I can't put in work the device as a wep-authenticated > peer, nor with ifconfig, nor with wpa_supplicant (network entry is fine and > mode=1, but the ssid is constantly skipped: skip - IBSS (adhoc) etc...) as I > suspect I can't set it in ad-hoc mode. > tia! IBSS cap is commented out in source, so it cant work, I dont have card so cant help more. -- Paul B Mahol