Kali Raspberry Pi/WirelessRouter
From charlesreid1
Making the Raspberry Pi into a wireless router
Following http://raspberrypihq.com/how-to-turn-a-raspberry-pi-into-a-wifi-router/
instructions
installing software
first install a daemon for taking care of access point and authentication server details:
$ apt-get install hostapd
then install a dhcp server:
$ apt-get install isc-dhcp-server
dhcp config
edit the file /etc/dhcp/dhcp.conf:
remove the lines
# ------------------------------------ # option definitions common to all supported networks... ##### option domain-name "example.org"; ##### option domain-name-servers ns1.example.org, ns2.example.org; # ------------------------------------
change the line:
# ------------------------------------ # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # ------------------------------------
add the lines:
# http://raspberrypihq.com/how-to-turn-a-raspberry-pi-into-a-wifi-router/
# Next we need to define the network and network addresses
# that the DHCP server will be serving. This is done by adding
# the following block of configuration to the end of file:
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.20;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local-network";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}