LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-01-2011, 05:53 AM   #16
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled

i've installed ubuntu in my notebook... when i type airmon-ng i found wlan0 etc. but then i have to type airodump-ng wlan0 and this is what i find:


Interface Chipset Driver

wlan0 Atheros ath9k - [phy0]
(monitor mode enabled on mon0)

root@ubuntu:/home/jac# airodump-ng wlan0
ioctl(SIOCSIWMODE) failed: Device or resource busy

ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
Sysfs injection support was not found either.

so what can i do?
 
Old 08-01-2011, 06:05 AM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Did you try it with the command the error-message suggested?
 
Old 08-01-2011, 06:22 AM   #18
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
you mean typing 'airmon-ng start wlan0 <#>'?
 
Old 08-01-2011, 06:33 AM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Exactly.
 
Old 08-01-2011, 06:43 AM   #20
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
if i type airmon-ng start wlan0 <#> the terminal says that there is a sintax error symbol <new line>

if i type airmon-ng start wlan0 i've:


Found 4 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!

PID Name
830 avahi-daemon
831 NetworkManager
832 avahi-daemon
1093 wpa_supplicant


Interface Chipset Driver

wlan0 Atheros ath9k - [phy0]
(monitor mode enabled on mon0)


what does it mean?
 
Old 08-01-2011, 06:52 AM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
So, the first error-message
Quote:
Device or resource busy
stated that the device is already in use and therefore can't be used by the program you started.
The output of the second command
Quote:
Found 4 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!

PID Name
830 avahi-daemon
831 NetworkManager
832 avahi-daemon
1093 wpa_supplicant
shows you which programs could it be that are currently using the wireless device, so that you can try to kill them and see if it works after that. Since i don't have any knowledge how penetration testing works I am not able to say which one it may be.
 
Old 08-01-2011, 09:19 AM   #22
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by jacopo9214 View Post
if i type airmon-ng start wlan0 <#> the terminal says that there is a sintax error symbol <new line>

if i type airmon-ng start wlan0 i've:


Found 4 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!

PID Name
830 avahi-daemon
831 NetworkManager
832 avahi-daemon
1093 wpa_supplicant


Interface Chipset Driver

wlan0 Atheros ath9k - [phy0]
(monitor mode enabled on mon0)


what does it mean?
Sorry to sound like a dick, but the <#> symbolizes the channel number that you want to perform your actions upon. So instead of what you typed in, you would type in the following:
Code:
airmon-ng start wlan0 6
This will start it on channel 6. I highly suggest that you use google and learn about network devices, wireless devices, and how many channels per US specifications you have to work with.

Now second of all, take a look at the following output:
Code:
Sysfs injection support was not found either.
So even though the output from airmon-ng told you that monitor mode is possible to enable, that has nothing to do with injection because it is separate from the physical device wlan0, and mon0 is the virtual device being created. With your wireless device on, can you post the output of lsmod for us?

Cheers,

Josh
 
Old 08-01-2011, 12:29 PM   #23
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Closed for now as the OP chose to ignore my question.
jacopo9214, please contact me via e-Mail w/ an answer
to my question in thread if you want this re-opened.
 
2 members found this post helpful.
Old 08-02-2011, 09:08 PM   #24
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The OP has assured me this for purely educational purposes,
and for use with his own WiFi router. Re-opened.

Jacopo, for future reference: if a mod asks you about
clarification, or to comply with his requests I recommend
doing so in a timely manner. Makes life easier and so
much more pleasant.

Last edited by Tinkster; 08-02-2011 at 09:10 PM.
 
1 members found this post helpful.
Old 08-03-2011, 12:10 PM   #25
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
sorry for misunderstanding, i will be better in future.

so my problem now is this: first of all, using airodump-ng wlan0 i get this message:
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE802w11,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
Sysfs injection support was not found either.

if i use airodump-ng mon0 i can go on...

but when i type aireplay-ng -0 15 -a 02:26:5A:E1:22:8A -c 03:26:5A:E1:22:8A mon0
i get this message:
mon0 is on channel -1, but the AP uses channel 1


someone can help me?
 
Old 08-03-2011, 03:15 PM   #26
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Ahhh, THAT bug. Read my one blog about how I got my Alfa device working, it will definitely help. You need to patch chan.c if using compat-wireless, which I do recommend since you are having this problem.

Cheers,

Josh
 
Old 08-03-2011, 05:44 PM   #27
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
sorry,i'm not expert in this site.. can you post me te link of your blog please? thank you very much
 
Old 08-04-2011, 10:50 AM   #28
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
You see my LQ handle off to the left? Click on it, then click on "View Blog."
 
Old 08-04-2011, 02:13 PM   #29
jacopo9214
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
thanks i'll have a look!
 
Old 08-04-2011, 05:49 PM   #30
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
No problem. Just note that you may have to manually patch chan.c; If you feel the need, I can create a new patch file. Read the updated text within my blog and write me a comment if you think I should, as it is kind of like a poll
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aircrack problem marene Linux - Software 1 01-24-2011 01:20 PM
ubuntu 8.04 problem - kismet and/or aircrack not working on my hp 6830s neverone Linux - Software 0 01-15-2009 07:03 PM
Problem with Aircrack-ng psykhe Slackware 1 05-19-2008 01:45 PM
How to use Aircrack-ng? SentralOrigin Linux - Wireless Networking 3 07-11-2007 02:17 PM
Aircrack problem with PK_PACKET BassJunkieUK Linux - Newbie 1 05-18-2005 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:24 AM.

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
Open Source Consulting | Domain Registration