Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2011 18:31:13 -0700
From:      =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= <nm.knife@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   intel3945 ahdemo/monitor mode error "ifconfig: create: bad value"
Message-ID:  <BANLkTik6bw19Mt9nrkVhc6trwAz9QNxU4g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik6bw19Mt9nrkVhc6trwAz9QNxU4g>