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

From Klaus' wiki
Jump to: navigation, search
(Created page with 'If you permanently want to change the IP address of your board.')
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you permanently want to change the IP address of your board.
+
If you permanently want to change the IP address of your board change the ifconfig line in this file
 +
 
 +
<source lang="bash">
 +
uClinux-dist/vendors/EmbeddedArtists/LPC2478OEM_Board/rc
 +
</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.

Latest revision as of 10:03, 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.