NCSmokeEater
February 9th, 2009, 09:23 PM
Has anyone gotten Airsnarf to work on Ubuntu at all? Before I even attempt to go through code and try setting everything up, I want to know if it's even possible. The Airsnarf site says the source has been tested and works with Red Hat (and probably requires it). Anyone gotten it to work?
Here's what I got from a dry run (straight compile, then run).
# ./airsnarf
Airsnarf - A rogue AP setup utility.
0.2
The Shmoo Group
------------------------------------
Creating dhcpd.conf...Done.
Building the captive portal...cp: target `/var/www/html' is not a directory
chmod: cannot access `/var/www/cgi-bin/*': Not a directory
Done.
Setting the wireless parameters...Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
Done.
Setting the ip address and default route...SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
Done.
./airsnarf: line 46: /etc/init.d/dhcpd: No such file or directory
./airsnarf: line 47: /etc/init.d/httpd: No such file or directory
* Restarting Mail Transport Agent (MTA) sendmail [ OK ]
Setting up firewall to redirect DNS...Done.
Starting local DNS resolver...
Creating TCP socket 0#53 - done.
Creating UDP socket 0#53 - done.
Waiting for connections...
Thanks for any help guys. The software seems really interesting and I'd love to learn how to use it, but I don't even know if it'll run on Ubuntu.
Here's what I got from a dry run (straight compile, then run).
# ./airsnarf
Airsnarf - A rogue AP setup utility.
0.2
The Shmoo Group
------------------------------------
Creating dhcpd.conf...Done.
Building the captive portal...cp: target `/var/www/html' is not a directory
chmod: cannot access `/var/www/cgi-bin/*': Not a directory
Done.
Setting the wireless parameters...Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
Done.
Setting the ip address and default route...SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
Done.
./airsnarf: line 46: /etc/init.d/dhcpd: No such file or directory
./airsnarf: line 47: /etc/init.d/httpd: No such file or directory
* Restarting Mail Transport Agent (MTA) sendmail [ OK ]
Setting up firewall to redirect DNS...Done.
Starting local DNS resolver...
Creating TCP socket 0#53 - done.
Creating UDP socket 0#53 - done.
Waiting for connections...
Thanks for any help guys. The software seems really interesting and I'd love to learn how to use it, but I don't even know if it'll run on Ubuntu.