check your dhcp file
dhcpd.conf
Hey guys,
Ive been following the tutorial :
rogue-accesspoint-mitm-sniffing-tutorial.
Ive gone though the script and understand it and have tried to run it. I can get my rogue AP to launch and even detect it on another computer. However, I cannot connect to the ap from another computer. I get "Connection Error" and "Unable to connect to network" whenever I try.
Is there something im missing? Ive gone step by step through the script and cant seem to detect what im missing.
Eth1 = Direct connect internet
Raubs0 = wifi - hwug1 rt73 driver supports injection
.........
Created tap interface at0
trying to set MTU on at0 to 1500
trying to set MTU on rausb0 to 1800
error setting MTU on rausb0
MTU on rausb0 remains 1500
Access Point Stated
check your dhcp file
dhcpd.conf
my dhcpd.conf fille is:
option domain-name-servers 10.0.0.1;
default-lease-time 60;
max-lease-time 72;
ddns-update-style none;
authoritative;
log-facility local7;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.100 10.0.0.254;
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
}
Here's what Im running:
airbase-ng -e "Free Wifi" rausb0
dhcpd -cf /etc/dhcpd.conf at0
ifconfig at0 up 10.0.0.1 netmask 255.255.255.0
iptables -t nat -A PREROUTING -i at0 -j REDIRECT
echo "1" > /proc/sys/net/ipv4/ip_forward
What am i missing?
side notes: airbase responds that client has associated with essid - all im missing is the internet!
Thanks in advance
whats the ifconfig result of the connected box
Sometimes I try to fit a 16-character string into an 8–byte space, on purpose.
try to add the second line to your dhcp.conf:
authoritative;
allow unknown-clients;
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 broadcast-address 10.0.0.0;
option domain-name "example.com";
option domain-name-servers 10.0.0.1;
range dynamic-bootp 10.0.0.16 10.0.0.55;
#range 10.0.0.20 10.0.0.50;
go to /var/run and give the order "Can View & Modify" Content to Group and Others
ozzy