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

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
[...]

-- 
p...@freebsd.org         +49 171 3101372                4 years to go !
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to