daily pastebin goal
15%
SHARE
TWEET

2nd udhcpd running for Freifunk mesh network

jcomeau_ictx Jul 17th, 2013 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@scavenger:~# cat /etc/olsr-udhcpd.conf                            
  2. start           10.0.2.2
  3. end             10.0.2.254
  4. max_leases      50
  5. opt             router 10.0.0.2
  6. opt             subnet 255.0.0.0
  7. opt             lease 1440
  8. opt dns 87.118.100.175
  9. opt dns 213.73.91.35
  10. interface       eth1
  11. lease_file      /var/run/olsr-udhcpd.leases
  12. pidfile         /var/run/olsr-udhcpd.pid
  13.  
  14. root@scavenger:~# cat /etc/init.d/S98olsr-udhcpd
  15. #!/bin/sh
  16. touch /var/run/olsr-udhcpd.leases
  17. /usr/sbin/udhcpd /etc/olsr-udhcpd.conf
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand