Buffalo WHR-G300N interface monitor mode possible?

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
arn0
DD-WRT Novice


Joined: 29 May 2010
Posts: 4

PostPosted: Tue Jun 01, 2010 20:29    Post subject: Buffalo WHR-G300N interface monitor mode possible? Reply with quote
Have been trying to set up kismet_drone (kismet-drone_2004.10.r1_mipsel.ipk) on WHR-G300N. Any ideas how to force ralink interface into monitor mode? WL is for broadcom, and wlanconfig for atheros, and "iwconfig IF mode monitor" aint working (Operation not supported).
Sponsor
arn0
DD-WRT Novice


Joined: 29 May 2010
Posts: 4

PostPosted: Tue Jun 01, 2010 20:41    Post subject: kismet_drone Reply with quote
root@DD-WRT:/tmp/kismet# ./kismet_drone -f kismet_drone.conf
Using alternate config file: kismet_drone.conf
Suid priv-dropping disabled. This may not be secure.
No specific sources given to be enabled, all will be enabled.
Disabling channel hopping.
Source 0 (drone): Enabling monitor mode for ralink source interface ra0 channel 0...
sh: /usr/sbin/wl: not found
Source 0 (drone): Opening ralink source interface ra0...
FATAL: pcap reported netlink type 1 (EN10MB) for ra0. This probably means you're not in RFMON mode or your drivers are reporting a bad value. Make sure you have the correct drivers and that entering monitor mode succeeded.
arn0
DD-WRT Novice


Joined: 29 May 2010
Posts: 4

PostPosted: Tue Jun 01, 2010 20:42    Post subject: iwconfig ra0 mode monitor Reply with quote
root@DD-WRT:/tmp/kismet# iwconfig ra0 mode monitor
SET failed on device ra0 ; Operation not supported.
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Thu Jun 03, 2010 13:16    Post subject: Reply with quote
Did you see this part in the Kistmet documentation?

I'm not sure what/how the driver is configured in DD-WRT.
Would have to ask the developers (Brainslayer) or look through the source-code.


RT28xx (Linux)

There are 2 drivers for the RT28xx chipsets. The in-kernel driver
available as of Linux-2.6.31 works properly with Kismet. This is by
far the preferred driver to use. Be sure to enable the RT28xx driver
in the wireless drivers section, NOT the staging driver. The staging
driver is not mac80211 based and will not necessarily behave.

The out-of-kernel driver does not conform to mac80211 controls.
This driver also cannot be auto-detected (they don't provide a valid
identifier in /sys) so the driver type mus be manually specified with
'type=rt2870sta' on the source line.

This driver defaults to the name 'rausbX' which exposes a bug in some
versions of libpcap and may require the device be renamed (See
'Troubleshooting' section)

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum