New IT forum
25 June 2022, 10:43:01 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: Supplied Fedora 8 system has fixed IP addresses.  (Read 4543 times)

superpat

  • Moderator
  • Newbie
  • *****
  • Posts: 32
Supplied Fedora 8 system has fixed IP addresses.
« on: 02 June 2010, 07:31:35 pm »

The supplied installed system on the Open-Rd Ultimate, is set to use fixed IP addresses.

If you wish to use DHCP from your ADSL modem / router you will have to edit the /etc/sysconfig/network-scripts/ifcfg-eth0 (and eth1 if required)
Quote
Configuring a DHCP Client

Setting up a Linux for dhcp can be done by editing file using a text editor such as vi:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Following is sample static configuration:
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:19:D1:2A:BA:A8
IPADDR=10.10.29.66
NETMASK=255.255.255.192
ONBOOT=yes


Replace static configuration with DHCP:


DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:19:D1:2A:BA:A8
ONBOOT=yes

Save and close the file. Just restart network service:

# /etc/init.d/network restart

Please note that you need a configuration file for each device that you want to configure to use DHCP

BTW The MAC addresses for the two ethernet ports are printed on two adhesive labels stuck on the Open-rd pcb.  They van also be found by using  the Uboot  printenv command

P
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!