I have refrained from posting on this for a while, however after a lot of trial and failure.. I would appreciate some feedback.
I have been trying to simply get a fake ap (transparant) working and am trying with airbase-ng.
Following the post by hm2075.
http://forums.remote-exploit.org/wir...-commands.html
Using back|track4 Pre Final (latest 2.6.30.7)
Basically there are a couple of issues I have at the mo ;
1.
dhcp3 is failing.
Whatever I try the dhcp3 is refusing to (re)start.
Making it impossible for me to get the IPs issued.
2.
This may be OS dependant, however the fake aps are not being shown (showing up as "hidden" or "unknown" in winXP)
The code I am using is as follows ;
airbase (with mon0 being wlan0 started --> monitor mode)
Modifying the dhcp.conf file as needed;Code:airbase-ng -e "TEST_AP" -c 9 mon0
dhcp.conf file in /etc/
After having started airbase-ng as above, running iptables as below ;Code:ddns-update-style ad-hoc; default-lease-time 600; max-lease-time 7200; subnet 10.0.0.0 netmask 255.255.255.0 { option routers 10.0.0.1; option subnet-mask 255.255.255.0; option domain-name "example.com"; range 10.0.0.10 10.0.0.20; }
thenCode:ifconfig lo up ifconfig at0 up ifconfig at0 10.0.0.1 netmask 255.255.255.0 ifconfig at0 mtu 1400 route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1 iptables --flush iptables --table nat --flush iptables --delete-chain iptables --table nat --delete-chain iptables -t nat -A PREROUTING -p udp -j DNAT --to 192.168.1.1 iptables -P FORWARD ACCEPT iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
I always get the ;Code:/etc/init.d/dhcp3-server restart
Code:Stopping DHCP server: dhcpd3 failed! Starting DHCP server: dhcpd3* check syslog for diagnostics. failed!
Possibly I am missing something trivial, however after a lot of reading I simply cant work it out.
As for #2; the 'mis-reading' of the ESSIDs when using airbase-ng, well interesting to find out why, but #1 my main annoyance..
Any assistance greatly appreciated.
TAPE


