Virei a net durante vários dias e o man wi e ainda nada
Eu estou acreditando até que isso seja um bug pois isso não acontece em outras placas como nas com chip ralink e nas baseadas em atheros. Já usei esses cartões orinoco com o free 4.1 até free 4.8 e não tive problemas mas agora após alguns anos estou tendo que dar um suporte em uma rede grande muito antiga que esta toda com esses cartões orinoco em adhoc e em linux. Estou gerando uma versão do tinybsd customizada para tirar esses linux da jogada, está tudo 100% com ralink e atheros mas com as antigas orinoco e derivadas estou tendo problemas. A descrição básica do problema é o seguinte após 30 segundos que a interface wi0 está de pé ela muda o tipo da chave para MIXEDE sozinha deixando qualquer radio se associar mesmo sem chave wep. Outra coisa tentei isolar meu servidor subindo as WLAN_ACL liberando apenas o mac dos meus rádios, minha surpresa não funcionou com esse driver wi (serial outro bug). Já tentei de tudo colocar hostapd+WEP+wap_suplicant e nada. Tem alguém aqui da lista que já passou por isso tanto no bsd 6.3-stable e no 7.0 Outra coisa alguém já usou esses cartões com WPA Segue abaixo exemplos de como foi configurado esses cartões: Estou configurando os cartões pelo rc.conf mas já testei de outras forma também como scripts para levantar o wireless e via console também e o mesmo problema aparece, após alguns segundos o cartao se associa em outro adhoc e o tipo de seguranca wep muda sozinho para mixed onde podem se associar cartoes com e sem senha esse problema encontrei nos cartoes silver gold com firmware 8.72.1 e 7.28/avaya. Repito Não encontrei nada no Pai Google, e os meus cabelos estão ficando brancos. Veja ifconfig wi0 (cartão sem configuração) wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc media: IEEE 802.11 Wireless Ethernet autoselect (none) status: no carrier ssid "" channel 1 (2412 Mhz 11b) stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy OFF bmiss 7 scanvalid 60 bintval 0 Agora vamos configurar pelo console digitando os commando no ifconfig ifconfig wi0 inet 192.168.200.2 netmask 255.255.255.252 ssid fradio channel 4 mediaopt adhoc wepmode on weptxkey 1 wepkey 1:0x123456789a ifconfig wi0 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps <adhoc>) status: no carrier ssid fradio channel 6 (2437 Mhz 11b) stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit scanvalid 60 Veja que a privacy está em ON Após 30 segundo veja como fica o privacy em MIXED e já tem um radio sem wep associado wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps <adhoc>) status: associated ssid Default channel 6 (2437 Mhz 11b) bssid 00:0e:2e:55:3c:19 stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit scanvalid 60 *note que até o canal e diferente do configurado * Agora veja o wlan_acl abrir as pernas também Com kernel devidamente compilado com o módulos wla_acl wla_xxx ifconfig wi0 mac:add 00195b39334b ifconfig wi0 mac:allow ifconfig wi0 list mac +00:19:5b:39:33:4b Esse configuração deveria so liberar o mac listado e adicionada na acl , mas isso não acontece , veja que já tem um malandro se conectando sem ser liberado ifconfig wi0 wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (none) status: no carrier ssid fradio channel 1 (2412 Mhz 11b) stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit scanvalid 60 ifconfig wi0 up ifconfig wi0 list mac +00:19:5b:39:33:4b wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps <adhoc>) status: associated ssid Default channel 6 (2437 Mhz 11b) bssid 00:0e:2e:55:3c:19 stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit scanvalid 60 outra coisa quando dou um kick para desconectar o bandido da o seguinte erro wi0: [ITHREAD] wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station (8.72.1) wi0: Ethernet address: 00:02:2d:17:f0:cc *wi0: ieee80211_newstate: invalid transition -> mac:kick * (parece ser um problema no driver) Agora vamos testar subindo o cartão wireless pelo rc.conf, o problema é o mesmo estruturaf# /etc/netstart devd already running? (pid=673). DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPACK from 10.0.0.9 bound to 10.0.0.47 -- renewal in 21600 seconds. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:ee:b1:00:dd:80 inet 10.0.0.47 netmask 0xffffff00 broadcast 10.0.0.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps <adhoc>) status: associated ssid fradio channel 1 (2412 Mhz 11b) bssid 44:44:44:44:44:44 stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit scanvalid 60 roaming MANUAL Additional routing options: IP gateway=YES. estruturaf# estruturaf# estruturaf# date Wed Jun 4 15:18:28 BRT 2008 estruturaf# estruturaf# ifconfig wi0 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:02:2d:17:f0:cc inet 192.168.200.2 netmask 0xfffffffc broadcast 192.168.200.3 media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps <adhoc>) status: associated ssid Default channel 6 (2437 Mhz 11b) bssid 00:0e:2e:55:3c:19 stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit scanvalid 60 roaming MANUAL estruturaf# date Wed Jun 4 15:18:58 BRT 2008 ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd