Linux - Virtualization and CloudThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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?
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.
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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.