Difference between revisions of "Configure IP address on EA board"

From Klaus' wiki
Jump to: navigation, search
Line 4: Line 4:
 
uClinux-dist/vendors/EmbeddedArtists/LPC2478OEM_Board/rc
 
uClinux-dist/vendors/EmbeddedArtists/LPC2478OEM_Board/rc
 
</source>
 
</source>
 +
 +
Add route applet in make menuconfig found under busybox.
 +
 +
Change the lines below, replacing 'x' with your unique number.
 +
 +
<source lang="bash">
 +
#ifconfig lo 127.0.0.1
 +
ifconfig eth0 10.2.2.x netmask 255.255.255.0 up
 +
route add default gw 10.2.2.1
 +
</source>
 +
 +
Build and load to board.

Revision as of 10:01, 15 February 2011

If you permanently want to change the IP address of your board change the ifconfig line in this file

uClinux-dist/vendors/EmbeddedArtists/LPC2478OEM_Board/rc

Add route applet in make menuconfig found under busybox.

Change the lines below, replacing 'x' with your unique number.

#ifconfig lo 127.0.0.1
ifconfig eth0 10.2.2.x netmask 255.255.255.0 up
route add default gw 10.2.2.1

Build and load to board.