Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHello,
This is the way to get DHCPclient running on your DE_board. 1.) Select dhcpcd-new nothing else as your client from the menuconfig-->User selection--> 2.) In the rc file get the Mac address set up using ifconfing eth0 MAC-ADDRESS 3.) Still in the rc file just go dhcpcd & 4.) That should give you a IP from the server, It took me so long to get this working because my board is new and I had to register it with the admin. But I just stole the MAC-Address from the computer already hooked up and put that as the mac-address and thus instantly got assigned its IP. Note: This is not a perfect method since /etc/dhcp/ directory does not exist in the romfs file system it would be good to have that since dhcpcd tries to write to this file. Also dhcpcd-new says it works only for the 2.0 and 2.4 kernel it actually compiles for 2.6 and thus works fine. Another way of doing this (a better way) is to use udhcp in busy-box but it needs a default.script file which needs to be written in either C-or-perl since sash cannot run bash scripts. I will post the udhcp method once I get it running. regards,