... | ... | @@ -157,6 +157,18 @@ subnet 192.168.42.0 netmask 255.255.255.0 { |
|
|
option domain-name-servers 8.8.8.8, 8.8.4.4;
|
|
|
}
|
|
|
```
|
|
|
In `/etc/default/isc-dhcp-server` put your interface in `INTERFACE="wlan1"` and then make sure `/etc/network/interfaces` has:
|
|
|
```
|
|
|
auto lo
|
|
|
iface lo inet loopback
|
|
|
auto eth0
|
|
|
iface eth0 inet dhcp
|
|
|
allow-hotplug wlan1
|
|
|
iface wlan1 inet static
|
|
|
address 192.168.42.1
|
|
|
netmask 255.255.255.0
|
|
|
```
|
|
|
|
|
|
## To allow shutdown from the RC Client node
|
|
|
`sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla`
|
|
|
and copy
|
... | ... | |