potato Posted August 15, 2012 Share Posted August 15, 2012 (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 February 28, 2013 by computerguy241 Quote Link to comment Share on other sites More sharing options...
PineDominator Posted August 15, 2012 Share Posted August 15, 2012 I beleve the disable button in the ui actually disables radio0 in turn commands to wlan0 will fail, enable it and then in ssh ifconfig mon.wlan0 down; ifconfig wlan0 down Quote Link to comment Share on other sites More sharing options...
potato Posted August 15, 2012 Author Share Posted August 15, 2012 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 Quote Link to comment Share on other sites More sharing options...
dustbyter Posted August 15, 2012 Share Posted August 15, 2012 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? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted August 15, 2012 Share Posted August 15, 2012 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 Quote Link to comment Share on other sites More sharing options...
dustbyter Posted August 15, 2012 Share Posted August 15, 2012 Seb, I am not sure on what the process is to sign up :) Direct me and i'll register. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted August 15, 2012 Share Posted August 15, 2012 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 Quote Link to comment Share on other sites More sharing options...
condor Posted August 16, 2012 Share Posted August 16, 2012 (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 downiwconfig wlan0 mode monitorifconfig wlan0 upairodump-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 August 16, 2012 by condor Quote Link to comment Share on other sites More sharing options...
potato Posted August 16, 2012 Author Share Posted August 16, 2012 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 downiwconfig wlan0 mode monitorifconfig wlan0 upairodump-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 oneThe problem is that if you do airpdump-ng mon.wlan0 it is stuck on one channel Quote Link to comment Share on other sites More sharing options...
AlbinoWookie Posted August 20, 2012 Share Posted August 20, 2012 (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 August 20, 2012 by AlbinoWookie Quote Link to comment Share on other sites More sharing options...
potato Posted August 20, 2012 Author Share Posted August 20, 2012 Yes, you have to be connected via ethernet Quote Link to comment Share on other sites More sharing options...
Malachai Posted August 20, 2012 Share Posted August 20, 2012 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? Quote Link to comment Share on other sites More sharing options...
potato Posted August 21, 2012 Author Share Posted August 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
OppositeDay Posted September 9, 2012 Share Posted September 9, 2012 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.wlan0ifconfig wlan0 downifconfig wlan0 upairmon-ng start wlan0airodump-ng mon0[/CODE]airodump-ng gets no resultsIf I execute[CODE]ifconfig wlan0 downiwconfig wlan0 mode monitorifconfig wlan0 upairodump-ng wlan0[/CODE]The SSH loses the connection after "ifconfig wlan0 up" Quote Link to comment Share on other sites More sharing options...
PineDominator Posted September 9, 2012 Share Posted September 9, 2012 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.wlan0ifconfig wlan0 downifconfig wlan0 upairmon-ng start wlan0airodump-ng mon0[/CODE]airodump-ng gets no resultsIf I execute[CODE]ifconfig wlan0 downiwconfig wlan0 mode monitorifconfig wlan0 upairodump-ng wlan0[/CODE]The SSH loses the connection after "ifconfig wlan0 up"try killall hostapd before bringing wlan0 downalso mon.wlan0 is no longer in the most recent firmware Quote Link to comment Share on other sites More sharing options...
OppositeDay Posted September 9, 2012 Share Posted September 9, 2012 killall hostapdifconfig wlan0 downifconfig wlan0 upairmon-ng start wlan0airodump-ng mon0[/CODE]Still only scanning Ch11. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted September 9, 2012 Share Posted September 9, 2012 killall hostapdifconfig wlan0 downifconfig wlan0 upairmon-ng start wlan0airodump-ng mon0[/CODE]Still only scanning Ch11.ok try[CODE]killall hostapdifconfig wlan0 downairmon-ng start wlan0airodump-ng mon0[/CODE]basically keep wlan0 downI beleve there is a command to make an interface channel hop iw or iwconfig Quote Link to comment Share on other sites More sharing options...
OppositeDay Posted September 9, 2012 Share Posted September 9, 2012 ok try killall hostapdifconfig wlan0 downairmon-ng start wlan0airodump-ng mon0[/CODE]basically keep wlan0 downI beleve there is a command to make an interface channel hop iw or iwconfigThis worked a charm, of course. Thank you so much. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted September 10, 2012 Share Posted September 10, 2012 (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 September 11, 2012 by petertfm Quote Link to comment Share on other sites More sharing options...
potato Posted September 10, 2012 Author Share Posted September 10, 2012 (edited) There is no longer a need to run airmon-ng stop mon.wlan0 Edited September 16, 2012 by computerguy241 Quote Link to comment Share on other sites More sharing options...
potato Posted September 16, 2012 Author Share Posted September 16, 2012 This appears to be broken in 2.6.4 Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted September 16, 2012 Share Posted September 16, 2012 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 Quote Link to comment Share on other sites More sharing options...
potato Posted October 14, 2012 Author Share Posted October 14, 2012 Bump - Up and running again for 2.7.0 Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted October 14, 2012 Share Posted October 14, 2012 Bump - Up and running again for 2.7.0 I am extremely pleased to hear that! Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
potato Posted February 28, 2013 Author Share Posted February 28, 2013 Edit: The commands to do this are2.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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.