LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-23-2014, 11:56 AM   #1
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
Raspberry Pi - Wifi & Monitor Mode Not Working


I have a USB wifi card that I cannot get to go into monitor mode for some reason. I am running kali linux on a raspberry pi. Here's the necessary info:

root@kali:~# uname -a
Linux kali 3.6.11-cutdown #1 PREEMPT Thu Aug 29 02:35:12 CDT 2013 armv6l GNU/Linux

root@kali:~# lsusb
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@kali:~# lsmod
Module Size Used by
ipv6 207600 12
arc4 1312 2
rt2800usb 11093 0
rt2800lib 44084 1 rt2800usb
crc_ccitt 940 1 rt2800lib
rt2x00usb 6228 1 rt2800usb
rt2x00lib 26852 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 211324 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 112728 2 mac80211,rt2x00lib
leds_gpio 1668 0
led_class 1788 2 leds_gpio,rt2x00lib

....and finally:

root@kali:~# airmon-ng start wlan0


Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
-e
PID Name
1456 dhclient


Interface Chipset Driver


root@kali:~# iwconfig
wlan0 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.

root@kali:~# iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not supported.

I have spent a lot of time googling and searching for an answer, but I cannot seem to get this working.

Tried this: http://blog.rieder.io/blog/2012/10/29/backtrack-rt5370/
Didn't work due to an error:
root@kali:~/compat-wireless-3.6.2-1# make
make -C /lib/modules/3.6.11-cutdown/build M=/root/compat-wireless-3.6.2-1 modules
make: *** /lib/modules/3.6.11-cutdown/build: No such file or directory. Stop.
make: *** [modules] Error 2

root@kali:/lib/modules/3.6.11-cutdown# ls -al
total 684
drwxr-xr-x 3 root root 4096 Aug 29 2013 .
drwxr-xr-x 3 root root 4096 Aug 20 2013 ..
lrwxrwxrwx 1 root root 43 Aug 20 2013 build -> /storage/kali/images/rpi/kernel/raspberrypi
drwxr-xr-x 8 root root 4096 Aug 29 2013 kernel
-rw-r--r-- 1 root root 229016 Aug 29 2013 modules.alias
-rw-r--r-- 1 root root 229305 Aug 29 2013 modules.alias.bin
-rw-r--r-- 1 root root 2788 Aug 29 2013 modules.builtin
-rw-r--r-- 1 root root 3597 Aug 29 2013 modules.builtin.bin
-rw-r--r-- 1 root root 26891 Aug 29 2013 modules.dep
-rw-r--r-- 1 root root 42728 Aug 29 2013 modules.dep.bin
-rw-r--r-- 1 root root 214 Aug 29 2013 modules.devname
-rw-r--r-- 1 root root 13939 Aug 29 2013 modules.order
-rw-r--r-- 1 root root 131 Aug 29 2013 modules.softdep
-rw-r--r-- 1 root root 53145 Aug 29 2013 modules.symbols
-rw-r--r-- 1 root root 66043 Aug 29 2013 modules.symbols.bin
lrwxrwxrwx 1 root root 43 Aug 29 2013 source -> /storage/kali/images/rpi/kernel/raspberrypi


Clearly, this card supports monitor mode. No idea why I can't get it to work.
Help?
 
Old 05-24-2014, 05:45 AM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,192

Rep: Reputation: Disabled
Well, the site you linked to states you need patched driver for monitoring. Your build fails because you have no kernel sources installed (not sure, but headers package may suffice with your distro).
 
  


Reply

Tags
kali, linux, pi, raspberry, raspberry pi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: WiFi Monitor Mode with Android PCAP Capture LXer Syndicated Linux News 0 12-09-2012 10:40 PM
Lenovo Y570 immediately shuts down, when WIFI in monitor mode (Mint 13) Tristann Linux - Wireless Networking 0 11-07-2012 04:38 AM
any working pci-wifi in master mode under rhel5 tshikose Linux - Wireless Networking 0 04-08-2010 04:17 AM
Atheros WIFI card monitor mode Fusspils Linux - Wireless Networking 0 11-12-2007 04:10 AM
Installing new driver for Wifi (prism2) monitor mode.. ? kenmasters Linux - Newbie 6 08-30-2005 01:12 PM


All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration