Difference between revisions of "HIP:TS-7000:DHCP Problems"

From Earlham CS Department
Jump to navigation Jump to search
(Trying to boot from network?)
(Trying to boot from network?)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
  DEVICE=eth0
 
  DEVICE=eth0
  IPADDR=192.168.0.#
+
  #IPADDR=192.168.0.#
  NETMASK=255.255.255.0
+
  #NETMASK=255.255.255.0
  NETWORK=192.168.0.0
+
  #NETWORK=192.168.0.0
  BROADCAST=192.168.0.255
+
  #BROADCAST=192.168.0.255
  #BOOTPROTO=static
+
  BOOTPROTO=static
  BOOTPROTO=dhcp
+
  #BOOTPROTO=dhcp
 
  ENABLE=yes
 
  ENABLE=yes
 
   
 
   
Line 32: Line 32:
 
         GATEWAY=192.168.0.1
 
         GATEWAY=192.168.0.1
 
         GW_DEV=eth0
 
         GW_DEV=eth0
         HOSTNAME="pmp#"
+
         HOSTNAME="hostname"
 
         #BOOTPROTO=static
 
         #BOOTPROTO=static
 
         BOOTPROTO=dhcp
 
         BOOTPROTO=dhcp
Line 69: Line 69:
 
         GATEWAY=192.168.0.1
 
         GATEWAY=192.168.0.1
 
         GW_DEV=eth0
 
         GW_DEV=eth0
         HOSTNAME="pmp#"
+
         HOSTNAME="hostname"
 
         #BOOTPROTO=static
 
         #BOOTPROTO=static
 
         BOOTPROTO=dhcp
 
         BOOTPROTO=dhcp
 
         DEFRAG_IPV4=no
 
         DEFRAG_IPV4=no
 
         FORWARD_IPV4=no
 
         FORWARD_IPV4=no

Latest revision as of 14:30, 3 April 2008

Trying to boot from network?

  • Make sure the files in /etc/sysconfig look similar to the ones below;
  • filename: ifcfg-eth0
DEVICE=eth0
#IPADDR=192.168.0.#
#NETMASK=255.255.255.0
#NETWORK=192.168.0.0
#BROADCAST=192.168.0.255
BOOTPROTO=static
#BOOTPROTO=dhcp
ENABLE=yes

  • filename: ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
ENABLE=yes
BOOTPROTO=static
  • filename: network_cfg
### Technologic Systems
### General Network Configuration File
###
       NETWORKING=yes
       GATEWAY=192.168.0.1
       GW_DEV=eth0
       HOSTNAME="hostname"
       #BOOTPROTO=static
       BOOTPROTO=dhcp
       DEFRAG_IPV4=no
       FORWARD_IPV4=no

Trying to boot from board?

  • filename: ifcfg-eth0
DEVICE=eth0
IPADDR=192.168.0.#
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
#BOOTPROTO=static
BOOTPROTO=dhcp
ENABLE=yes

  • filename: ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
ENABLE=yes
BOOTPROTO=static
  • filename: network_cfg
### Technologic Systems
### General Network Configuration File
###
       NETWORKING=yes
       GATEWAY=192.168.0.1
       GW_DEV=eth0
       HOSTNAME="hostname"
       #BOOTPROTO=static
       BOOTPROTO=dhcp
       DEFRAG_IPV4=no
       FORWARD_IPV4=no