Dreamplug
- Default init script: /root/init_setup.sh
- DHCP server's client pool: /etc/udhcpd.conf
- start 192.168.1.100
- end 192.168.1.199
- interface eth0
- opt lease 86400
- opt router 192.168.1.1
- opt subnet 255.255.255.0
- opt dns 192.168.1.1
- opt domain localdomain
- max_leases 101
- lease_file /var/lib/udhcpd.leases
- auto_time 5
- DHCP server start/stop:
- /etc/init.d/udhcpd start (stop, restart)
- IP configuration: /etc/network/interfaces
- Static IP
- auto lo
- iface lo inet loopback
- # Static IP
- auto wifi-dream
- iface wifi-dream inet static
- address 192.168.5.1
- netmask 255.255.255.0
- network 192.168.5.0
- broadcast 192.168.5.255
- bridge_ports eth0 uap0
- # DHCP
- auto eth1
- iface eth1 inet dhcp
沒有留言:
張貼留言