Sun, 03 Jul 2016 16:17:26 +0300 було написано Kurt Jaeger <[email protected]>:
Hi!
Automatic mode switching is not supported since r178354; you should
manually create an interface with required mode:
ifconfig wlan0 create wlandev <dev> wlanmode monitor up
Thanks. On a laptop with
FreeBSD 10.3-RELEASE-p4 amd64
and this wlan hardware:
iwn0@pci0:2:0:0: class=0x028000 card=0x13118086 chip=0x42398086
rev=0x35
hdr=0x00
vendor = 'Intel Corporation'
device = 'Centrino Advanced-N 6200'
class = network
bar [10] = type Memory, range 64, base 0xf2400000, size 8192,
enabled
If I do this:
ifconfig wlan0 wlanmode monitor
this is the error message:
ifconfig: wlanmode: bad value
wlanmode can be specified only at the creation time;
try to destroy the interface first:
ifconfig wlan0 down
ifconfig wlan0 destroy
and, then:
ifconfig wlan0 create wlandev iwn0 wlanmode monitor up
So I tested it on another laptop:
With this card:
wpi0@pci0:3:0:0: class=0x028000 card=0x10118086 chip=0x42278086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = 'PRO/Wireless 3945ABG [Golan] Network Connection'
class = network
bar [10] = type Memory, range 32, base 0xdfcff000, size 4096,
enabled
ifconfig wlan0 create wlandev wpi0 wlanmode monitor up
worked, but:
Jul 3 15:18:40 xdog kernel: wlan0: permanently promiscuous mode enabled
Jul 3 15:18:41 xdog kernel: wpi0: could not set power mode
Jul 3 15:18:41 xdog kernel: wpi0: error 35 settting channel
Jul 3 15:18:42 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
Jul 3 15:18:42 xdog kernel: wpi0: could not set power mode
Jul 3 15:18:42 xdog kernel: wpi0: error 35 settting channel
Jul 3 15:18:43 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
Jul 3 15:18:43 xdog kernel: wpi0: could not set power mode
Jul 3 15:18:43 xdog kernel: wpi0: error 35 settting channel
Jul 3 15:18:44 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
[...]
There were numerous bugfixes for wpi(4) in 11.0 branch; can you upgrade to
it?
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[email protected]"