| 1 | # quick and dirty dns + dhcp |
| 2 | sudo dnsmasq --no-daemon --port 53 --dhcp-range=192.168.255.100,192.168.255.200 --dhcp-leasefile=/dev/null \ |
| 3 | --bind-interfaces --interface eth0 --listen-address=192.168.200.1 |
| 4 | |
| 5 | # quick and dirty tftp |
| 6 | sudo dnsmasq --no-daemon --port=0 --enable-tftp --tftp-root=/path/to/wherever \ |
| 7 | --bind-interfaces --interface eth0 --listen-address=192.168.200.1 |
| 8 |
xl / dnsmasq one-liners
Last active 3 months ago
Revision 804fbb24c4462ef42a25a909fb743137c99eaffd