intel3945 ahdemo/monitor mode error "ifconfig: create: bad value"

[ Available lists | Index of freebsd-wireless | Month of Apr 2011 | Week of 10 Apr 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
=?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= <nm.knife@gmail.com>
Date
10 Apr 2011 01:31:14
Subject
intel3945 ahdemo/monitor mode error "ifconfig: create: bad value"
Message-ID
BANLkTik6bw19Mt9nrkVhc6trwAz9QNxU4g@mail.gmail.com

Replies

[ Hide this part ]
I am trying to put my card into ahdemo (also tried monitor mode) for use
with net-mgmt/aircrack-ng, but it fails:

$ sudo ifconfig wlan0 create wlandev wpi0 wlanmode ahdemo
ifconfig: create: bad value

I've also tried switching wlan0 and wpi0 with mon0 and moving them all
around.

Here is related [file]rc.conf[/file] entry (since I also use the card to
connect to wifi):

wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHPC"

How can I get the card in ahdemo mode so I can capture and inject packets?

Cheers.

--
Lyubomir Grigorov (bgalakazam)


Elapsed time: 0.105 seconds