Why do you use ath0 and wifi0 ?
Have you got 2 wireless card ?
this should work (i did it with wifi0 )
Code:airmon-ng stop wifi0 ifconfig wifi0 down macchanger --mac 00:11:22:33:44:55 wifi0 ifconfig wifi0 up airmon-ng start wifi0 airodump-ng wifi0
I wrote an extremely simple script to put my card into monitor mode, change my MAC, then run airodump-ng...
Code:#!/bin/bash airmon-ng stop ath0 ifconfig wifi0 down macchanger --mac 00:11:22:33:44:55 wifi0 airmon-ng start wifi0 airodump-ng ath0
Then I do "chmod 777 myfile" to get the file executable.
I can run it fine from the shell, but when I double-click it, airodump-ng won't run (though all the commands do work). So, my question is, is there something I can do to allow airodump-ng to pop up in the shell when I double-click?
Am I doing something wrong?
Why do you use ath0 and wifi0 ?
Have you got 2 wireless card ?
this should work (i did it with wifi0 )
Code:airmon-ng stop wifi0 ifconfig wifi0 down macchanger --mac 00:11:22:33:44:55 wifi0 ifconfig wifi0 up airmon-ng start wifi0 airodump-ng wifi0
Thank you for the responses...I don't need help with the commands, I would just like for airodump-ng to pop up. For example:
chmod 777 myfileCode:#!/bin/bash airodump-ng ath0
When I double-click it, airodump-ng won't pop up, but when I run "myfile" through shell, it does. How can I get it to pop up just by double-clicking?
Sorry for the confusion.
"The goal of every man should be to continue living even after he can no longer draw breath."
~ShadowKill
ShadowKill, you got me on the right track! Thanks!
Here's what I did to make it work like I wanted...
chmod 777 myfileCode:#!/bin/bash konsole -e airodump-ng ath0
You got me on the right track with the "xterm" thing, so I searched a little more and figured out the "konsole" command. Now I can double-click and it pops up. By the way, "xterm" did work, but I wanted a legit window
Anyway, thanks alot! I appreciate your help.