Jump to content

Recommended Posts

Posted (edited)

If I disable WiFi in the web gui, wlan0 is not recognized by airmon-ng and if I have WiFi enabled, I can't change the channel of mon0, BTW i'm using ssh on backtrack5 r2 gnome. I am trying to get the pineapple to run airodump-ng.

Edited by computerguy241
Posted

Thanks, you are correct, you have to bring mon.wlan0 and wlan0 down and then bring wlan0 back up and then run airmon-ng start wlan0

Posted

These type of tricks are little bits of gold!

Is this on the wiki? If not can someone with access add this information on the wiki?

It is not. Why don't you add it? ;)

Registration only takes a few minutes.

Best,

Sebkinne

Posted

Simply register here.

Your account will need to be approved manually but that will not take long.

This is required for you to create or edit wiki items.

Best Regards,

Sebkinne

Posted (edited)

Please correct me if I'm wrong but I'm pretty sure you don't need to do any of that.

***edit***

yeah, you do have to do all of that. otherwise you will be stuck on channel 11 =P


airodump-ng mon.wlan0
[/CODE]

From what I've read, wifi routers have to create the pseudo interface mon.wlan0 for listening to probe requests. This leaves you with a monitor interface which can be used with airodump-ng.

A little of my garbled knowledge:

airmon-ng creates a pseudo interface as well, it leaves it's parent device in it's original 'mode' so it may still be used. This is different than say

[CODE]
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
airodump-ng wlan0
[/CODE]

...which WON'T leave you with the ability to still use wlan0 for anything other than monitoring the channels.

I am unable to test this as my radio doesn't 'hear' anything. Only sends out probes. I have to get a new one

Edited by condor
Posted

Please correct me if I'm wrong but I'm pretty sure you don't need to do any of that.


airodump-ng mon.wlan0
[/CODE]

works for me, at least it used to.

From what I've read, wifi routers have to create the pseudo interface mon.wlan0 for listening to probe requests. This leaves you with a monitor interface which can be used with airodump-ng.

A little of my garbled knowledge:

airmon-ng creates a pseudo interface as well, it leaves it's parent device in it's original 'mode' so it may still be used. This is different than say

[CODE]
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
airodump-ng wlan0
[/CODE]

...which WON'T leave you with the ability to still use wlan0 for anything other than monitoring the channels.

I am unable to test this as my radio doesn't 'hear' anything. Only sends out probes. I have to get a new one

The problem is that if you do airpdump-ng mon.wlan0 it is stuck on one channel

Posted (edited)

If I disable WiFi in the web gui, wlan0 is not recognized by airmon-ng and if I have WiFi enabled, I can't change the channel of mon0, BTW i'm using ssh on backtrack5 r2 gnome. I am trying to get the pineapple to run airodump-ng.

Edit: The commands to do this are airmon-ng stop mon.wlan0

ifconfig wlan0 down

ifconfig wlan0 up

airmon-ng start wlan0

airodump-ng mon0

how are you connected to the pineapple; ethernet?

Edited by AlbinoWookie
Posted

From reading above the comments. To run airmon-ng you have to bring it down and bring back up... What happens if you want to change the mac address is it the same? You bring it down do a macchanger -r then bring it back up?

Posted

From reading above the comments. To run airmon-ng you have to bring it down and bring back up... What happens if you want to change the mac address is it the same? You bring it down do a macchanger -r then bring it back up?

I have not tried changing the mac address but I would assume so

  • 3 weeks later...
Posted

I'm working on v2.6.3 and I'm trying to get airodump-ng to work on all channels (and hopefully reaver/wash eventually)

If I execute


airmon-ng stop mon.wlan0
ifconfig wlan0 down
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng mon0
[/CODE]

airodump-ng gets no results

If I execute

[CODE]
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
airodump-ng wlan0
[/CODE]

The SSH loses the connection after "ifconfig wlan0 up"

Posted

I'm working on v2.6.3 and I'm trying to get airodump-ng to work on all channels (and hopefully reaver/wash eventually)

If I execute


airmon-ng stop mon.wlan0
ifconfig wlan0 down
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng mon0
[/CODE]

airodump-ng gets no results

If I execute

[CODE]
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
airodump-ng wlan0
[/CODE]

The SSH loses the connection after "ifconfig wlan0 up"

try killall hostapd before bringing wlan0 down

also mon.wlan0 is no longer in the most recent firmware

Posted


killall hostapd
ifconfig wlan0 down
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng mon0
[/CODE]

Still only scanning Ch11.

ok try

[CODE]
killall hostapd
ifconfig wlan0 down
airmon-ng start wlan0
airodump-ng mon0
[/CODE]

basically keep wlan0 down

I beleve there is a command to make an interface channel hop iw or iwconfig

Posted

ok try


killall hostapd
ifconfig wlan0 down
airmon-ng start wlan0
airodump-ng mon0
[/CODE]

basically keep wlan0 down

I beleve there is a command to make an interface channel hop iw or iwconfig

This worked a charm, of course. Thank you so much.

Posted (edited)

This worked a charm, of course. Thank you so much.

I found with the latest firmware this to be an issue with external adapters, I guess its also a problem with the internal

Edited by petertfm
Posted

The fix is to execute this:

sed 's/wifi down/killall hostapd \&\& ifconfig wlan0 down/g' -i wlan.php[/CODE]

You should execute this command over SSH.

It will be in the stable version coming up.

Edit: Sorry, this only fixes the wireless toggle.

The fix for this is included in the upcoming stable release.

Best Regards,

Sebkinne

  • 4 weeks later...
  • 4 months later...
Posted

Edit: The commands to do this are
2.7.0+

[Stop the wireless service in the GUI before continuing for 2.7.0+]
airmon-ng start wlan0
airodump-ng mon0
 

2.5.0

airodump-ng stop mon.wlan0
ifconfig wlan0 down
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng mon0
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...