From charlesreid1

Revision as of 08:42, 1 December 2019 by Admin (talk | contribs)

This is the short version of Kali/Hotspot:

1. Edit the dhcp and dns config files for private wifi network

2. Start the dhcp and dns services for private wifi network

service dhcpcd start || service dhcpcd restart
service dnsmasq start || service dnsmasq restart

3. Connect to existing wifi network with wlan2

ifdown wlan2 || ifconfig wlan2 down
rfkill unblock wifi && rfkill unblock wlan
sleep 3
ifup wlan2 || ifconfig wlan2 up

4. Start hostapd with wlan1

ifconfig wan1 down
rfkill unblock wifi
rfkill unblock wlan
ifconfig wlan1 192.168.4.1/24 up
# restart the dhcp service too
service dhcpcd start || service dhcpcd restart
service hostapd start || service hostapd restart



Flags