下载Download the latest version (includes client): (43k) 31 Oct, 2002
在KERNEL中需要将 Packet socket和IP: DHCP support编译进内核或编译成模块.
DHCP服务器端:(编译器2.95.3)
1. 修改Makefile: 添加:CROSS_COMPILE=arm-linux-
2. #make , 把生成的dhcpd文件下载到板子上.
make LDFLAGS="-static"
使用/usr/local/arm/2.95.3/bin/arm-linux-strip处理一下,
3. #cp samples/udhcpd.conf /etc/ #copy udhcp/samples下的文件到目标板子的 /etc目录
4. # vi /etc/udhcpd.conf: 修改如下:
3 # The start and end of the IP lease block
4
5 start 192.168.1.20 #default: 192.168.0.20 为winXP的ip地址范围
6 end 192.168.1.25 #default: 192.168.0.254
9 # The interface that udhcpd will use
10
11 interface wlan0 #default: eth 0#目标板子上的无线网卡wlan0
85 #Examles
86 opt dns 222.201.130.30 222.201.130.33 #dns服务器87 option subnet 255.255.255.0
88 opt rout