Re: Centrino Wireless N2230 support

2013-10-26 Thread cg
 

Hello Matthias, 

Le 2013-10-25 14:06, Matthias Petermann a écrit :


 Hi Cedric,
 
 Am 13.09.2013 11:34, schrieb Cedric GROSS:
 
 Not
against 10-current. But if you wish, you could test with my version on
github https://github.com/KreizIT/FreeBSD-IWN [1] Use LKGV branch,
should be running with 10-current. Cedric
 
 finally I had a chance to
test the driver. I installed a fresh 9.2 
 relase and placed the files
from https://github.com/KreizIT/FreeBSD-IWN [1] 
 into my /usr/src/sys
and tried to make sys/modules/iwn (cd 

/usr/src/sys/modules/iwn;make)
 
 Unfortunality it doesn't build,
instead giving this message:
 

/usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: implicit

 declaration of function 'ieee80211_legacy_rate_lookup'
 [...]
 The
closest issue seems to be struct ieee80211_tx_ampdu' has no member 

named 'txa_tid' but I cannot see what's wrong with it.
 
 As I get the
similiar error when trying to build 

https://github.com/KreizIT/freebsd-iwl [2] - is there anything wrong
with my 
 build process?
 
 Kind regards,
 Matthias

You must get
and build net80211 from -HEAD also. It's why you have this kind of
compile error. 

Cedric 
 

Links:
--
[1]
https://github.com/KreizIT/FreeBSD-IWN
[2]
https://github.com/KreizIT/freebsd-iwl
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org

Re: implementing multiple BSSID addresses for different VAPs, or 'why was the flag called bssid again?'

2013-10-26 Thread Ulrich Spörlein
Well, the following in rc.conf

wlans_ath0=wlan0 wlan2
create_args_wlan0=bssid wlanmode hostap country DE authmode wpa ssid COYOTE
ifconfig_wlan0=ssid COYOTE mode 11g pureg up
create_args_wlan2=bssid wlanmode hostap country DE authmode wpa ssid
COYOTE_GUEST
ifconfig_wlan2=ssid COYOTE_GUEST mode 11g pureg up

Does not quite work, I'm left with:

(from dmesg)
Setting hostname: coyote.spoerlein.net.
bridge0: Ethernet address: 02:ac:6e:56:db:00
Created clone interfaces: bridge0.
wlan0: Ethernet address: 68:a3:c4:51:44:99
wlan2: Ethernet address: 6e:a3:c4:51:44:99
ifconfig: SIOCS80211: Device busy
ath0: stuck beacon; resetting (bmiss count 4)

(not that there's no echo for creating wlan devices, that should maybe
be added?)

Anyway, I thus get this:

ath0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 2290
ether 68:a3:c4:51:44:99
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
wlan0: flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 68:a3:c4:51:44:99
inet6 fe80::6aa3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: no carrier
ssid COYOTE channel 7 (2442 MHz 11g)
regdomain ETSI country DE indoor ecm authmode WPA2/802.11i
privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60
pureg protmode CTS wme burst dtimperiod 1 -dfs
wlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 6e:a3:c4:51:44:99
inet6 fe80::6ca3:c4ff:fe51:4499%wlan2 prefixlen 64 tentative scopeid 0xb
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid COYOTE_GUEST channel 7 (2442 MHz 11g) bssid 6e:a3:c4:51:44:99
regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
dtimperiod 1 -dfs

root@coyote:~# ifconfig ath0
ath0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 68:a3:c4:51:44:99
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect hostap
(autoselect hostap)
status: no carrier
root@coyote:~# ifconfig wlan0 create wlandev ath0 bssid wlanmode
hostap country DE authmode wpa ssid COYOTE
root@coyote:~# ifconfig wlan0
wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 6a:a3:c4:51:44:99
inet6 fe80::68a3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid COYOTE channel 13 (2472 MHz 11g) bssid 6a:a3:c4:51:44:99
regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
dtimperiod 1 -dfs
root@coyote:~# ifconfig wlan2 create wlandev ath0 bssid wlanmode
hostap country DE authmode wpa ssid COYOTE_GUEST
ifconfig: SIOCS80211: Device busy
Exit 1
root@coyote:~# ifconfig wlan2
wlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 6e:a3:c4:51:44:99
inet6 fe80::6ca3:c4ff:fe51:4499%wlan2 prefixlen 64 tentative scopeid 0xb
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid COYOTE_GUEST channel 13 (2472 MHz 11g) bssid 6e:a3:c4:51:44:99
regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
dtimperiod 1 -dfs
root@coyote:~# ifconfig wlan0; ifconfig wlan2
wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 6a:a3:c4:51:44:99
inet6 fe80::68a3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid COYOTE channel 13 (2472 MHz 11g) bssid 6a:a3:c4:51:44:99
regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
dtimperiod 1 -dfs
wlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 6e:a3:c4:51:44:99
inet6 fe80::6ca3:c4ff:fe51:4499%wlan2 prefixlen 64 tentative scopeid 0xb
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
   

Re: implementing multiple BSSID addresses for different VAPs, or 'why was the flag called bssid again?'

2013-10-26 Thread Adrian Chadd
Hi,

It doesn't surprise me that the devd and rc.conf scripts seem to be
clashing.

I'd very much like to see this fixed. Would someone please take a crack at
it?

Thanks!


-a



On 26 October 2013 07:32, Ulrich Spörlein u...@spoerlein.net wrote:

 Well, the following in rc.conf

 wlans_ath0=wlan0 wlan2
 create_args_wlan0=bssid wlanmode hostap country DE authmode wpa ssid
 COYOTE
 ifconfig_wlan0=ssid COYOTE mode 11g pureg up
 create_args_wlan2=bssid wlanmode hostap country DE authmode wpa ssid
 COYOTE_GUEST
 ifconfig_wlan2=ssid COYOTE_GUEST mode 11g pureg up

 Does not quite work, I'm left with:

 (from dmesg)
 Setting hostname: coyote.spoerlein.net.
 bridge0: Ethernet address: 02:ac:6e:56:db:00
 Created clone interfaces: bridge0.
 wlan0: Ethernet address: 68:a3:c4:51:44:99
 wlan2: Ethernet address: 6e:a3:c4:51:44:99
 ifconfig: SIOCS80211: Device busy
 ath0: stuck beacon; resetting (bmiss count 4)

 (not that there's no echo for creating wlan devices, that should maybe
 be added?)

 Anyway, I thus get this:

 ath0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 metric 0 mtu 2290
 ether 68:a3:c4:51:44:99
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: running
 wlan0: flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 68:a3:c4:51:44:99
 inet6 fe80::6aa3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative
 scopeid 0xa
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: no carrier
 ssid COYOTE channel 7 (2442 MHz 11g)
 regdomain ETSI country DE indoor ecm authmode WPA2/802.11i
 privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60
 pureg protmode CTS wme burst dtimperiod 1 -dfs
 wlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 6e:a3:c4:51:44:99
 inet6 fe80::6ca3:c4ff:fe51:4499%wlan2 prefixlen 64 tentative
 scopeid 0xb
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: running
 ssid COYOTE_GUEST channel 7 (2442 MHz 11g) bssid 6e:a3:c4:51:44:99
 regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
 deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
 dtimperiod 1 -dfs

 root@coyote:~# ifconfig ath0
 ath0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 68:a3:c4:51:44:99
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect hostap
 (autoselect hostap)
 status: no carrier
 root@coyote:~# ifconfig wlan0 create wlandev ath0 bssid wlanmode
 hostap country DE authmode wpa ssid COYOTE
 root@coyote:~# ifconfig wlan0
 wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 6a:a3:c4:51:44:99
 inet6 fe80::68a3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative
 scopeid 0xa
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: running
 ssid COYOTE channel 13 (2472 MHz 11g) bssid 6a:a3:c4:51:44:99
 regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
 deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
 dtimperiod 1 -dfs
 root@coyote:~# ifconfig wlan2 create wlandev ath0 bssid wlanmode
 hostap country DE authmode wpa ssid COYOTE_GUEST
 ifconfig: SIOCS80211: Device busy
 Exit 1
 root@coyote:~# ifconfig wlan2
 wlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 6e:a3:c4:51:44:99
 inet6 fe80::6ca3:c4ff:fe51:4499%wlan2 prefixlen 64 tentative
 scopeid 0xb
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: running
 ssid COYOTE_GUEST channel 13 (2472 MHz 11g) bssid 6e:a3:c4:51:44:99
 regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
 deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst
 dtimperiod 1 -dfs
 root@coyote:~# ifconfig wlan0; ifconfig wlan2
 wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 6a:a3:c4:51:44:99
 inet6 fe80::68a3:c4ff:fe51:4499%wlan0 prefixlen 64 tentative
 scopeid 0xa
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: running
 ssid COYOTE channel 13 (2472 MHz 11g) bssid 6a:a3:c4:51:44:99
 regdomain ETSI country DE indoor ecm authmode 802.1x privacy MIXED
 deftxkey UNDEF txpower 30 scanvalid 60 pureg protmode CTS wme burst