Fixed+MAC-address+on+DevKit8000

toc =Introduction= To gain access to the network your DevKit8000 must have a fixed MAC address (HW address in Linux) and use DHCP to get an IP address. Follow the below procedure to specify an IP address and get on the Net. The procedure creates a script and installs it to run on boot, so once completed the MAC address is kept for future use.

=Procedure=

1. Check existing HW address
Open an SSH connection to target and check the existing HW address: code $ ifconfig eth0 code If the output HW address corresponds with the one for your DevKit8000 from this list, you should take no further action. Your DevKit8000 is already set up.

2. Create script
Create the script file in the directory  with the following contents: code ifconfig eth0 down hw ether [MAC-address] ifconfig eth0 up udhcpc /etc/udhcpc.d/50default code Again: The MAC address for your DevKit8000 can be found in this list.

3. Prepare script
Make the script executable: code $ chmod u+x macchange.sh code 4. Create a symbolic link in the directory : code code This causes to run on run-level 5 during boot.
 * 1) cd /etc/rc5.d
 * 2) ln -s /etc/init.d/macchange.sh S50macchange


 * IMPORTANT:** Before you continue, wait ½-1 minute. The creation of the symbolic link is somehow not registered if you reboot your DevKit8000 immediately.

4. Reboot and verify
Reboot your DevKit8000 and verify that the MAC address has changed and that a proper IP address (in the range 172.20.xxx.xxx) has been assigned. To test, try to ping www.ping.com (or some other host you know to respond on ping requests).