Looking for DHCP Client Server Porting Guide Steps? read on, 1.Download udhcp-0.9.8.tar.gz and Untar it >tar -zxvf udhcp-0.9.8.tar.gz 2.You will get udhcp-0.9.8 directory.Go to that directory >cd udhcp-0.9.8 3.The code can be compiled directly for gcc.For arm-linux > Go to Makefile and uncomment the CROSS-COMPILE (line 19) and edit >CROSS-COMPILE=arm-linux- 4.Now run make command from that directory. >make 5.You will get two binaries 1.udhcpd -- DHCP Server 2.udhcpc -- DHCP Client 6.For DHCP server: 1.copy udhcpd(binary) to /usr/sbin 2.copy udhcpd.conf in the directory samples to /etc directory 3.create an empty file udhcpd.leases in /var/lib/misc directoty 7.For DHCP client: 1.copy udhcpc(binary) to /sbin directory 2.copy all the scripts except udhcpd.conf in samples directory to /usr/share/udhcpc directory 3.Create an empty directory udhcpc in /etc directory. (In thi...
This is my dashboard for Linux notes, programs, Embedded Linux from porting to board bring up..and All about my learning on Linux.