赞
踩
在etc目录创建udhcpd.conf
- start 192.168.1.200
- end 192.168.1.254
- interface wlan0
-
- opt dns 192.168.1.2 192.168.1.10
- option subnet 255.255.255.0
- opt router 192.168.1.2
- opt wins 192.168.1.10
- option dns 129.219.13.81 # appended to above DNS servers for a total of 3
- option domain local
- option lease 864000 # default: 10 days
# mkdir -p /var/lib/misc/
# touch /var/lib/misc/udhcpd.leases
udhcpd /etc/udhcpd.conf &
完事ok
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。