
Originally Posted by
kira12a8
Hi bro,
When I run your script, it working but DHCP show :
...
Listening on LPF/at0/MAC_ADDRESS 10.0.0.0/24
Sending on LPF/at0/MAC_ADDRESS 10.0.0.0/24
...
It means that clients connect to my fake AP gets ip address in subnet 10.0.0.0/24. So, how I edit file dhcp config in order to clients connect to get ip address in subnet 192.168.1.0/24 that subnet I connect to internet.
I've tried to edit /etc/dhcp3/dhcpd.conf as follow :
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.3 192.168.1.253;
option domain-name-servers 8.8.8.8;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
...but DHCP still show :
Listening on LPF/at0/MAC_ADDRESS 10.0.0.0/24
Sending on LPF/at0/MAC_ADDRESS 10.0.0.0/24
Please tell me how to do.
Thanks in advance,
Best regards.