Enabling network support, Configuring network support manually, Configuring network support with dhcp – Altera Nios II User Manual
Page 14

14
Altera
Corporation
Nios II Evaluation Kit User Guide
October 2005
Using the Nios II Evaluation Kit
Password
: uClinux
After logging in, the Nios II Linux shell prompt (#) appears.
Enabling Network Support
If you wish to enable network support, you can do so manually or using
DHCP.
Configuring Network Support Manually
v
At the Nios II Linux shell prompt, run the following command
replacing <ip address> and <netmask> with valid parameters for
your local network.
# ifconfig eth0 <
ip address> netmask <netmask>
r
Configuring Network Support with DHCP
To configure your IP address with DHCP, perform the following steps:
1.
Run the following command:
# dhcpcd –NRY &
r
2.
Wait a few moments, and then run:
# ifconfig eth0
r
The output will be similar to that in Figure 3 on page 15.