You need to modify the /sbin/ifup script. Here's my context diff.

[root@syslang /sbin]# diff -c ifup*
*** ifup        Sun Aug 27 15:00:20 2000
--- ifup.sav    Sun Aug 27 09:53:53 2000
***************
*** 52,58 ****
  fi
  
  if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
!     DHCPCD=true
  fi
  
  OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
--- 52,58 ----
  fi
  
  if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
!     PUMP=true
  fi
  
  OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
***************
*** 83,95 ****
     ifconfig ${DEVICE} hw ether ${MACADDR}
  fi
  
! if [ -n "$DHCPCD" ]; then
!     DHCPCDARGS='-d -R'
      if [ -n "$DHCP_HOSTNAME" ]; then
!        DHCPCDARGS="-h $DHCP_HOSTNAME"
      fi
      echo -n "Determining IP information for $DEVICE..."
!     if /sbin/dhcpcd $DHCPCDARGS $DEVICE ; then
        echo " done."
      else
        echo " failed."
--- 83,95 ----
     ifconfig ${DEVICE} hw ether ${MACADDR}
  fi
  
! if [ -n "$PUMP" ]; then
!     PUMPARGS=
      if [ -n "$DHCP_HOSTNAME" ]; then
!        PUMPARGS="-h $DHCP_HOSTNAME"
      fi
      echo -n "Determining IP information for $DEVICE..."
!     if /sbin/pump $PUMPARGS -i $DEVICE ; then
        echo " done."
      else
        echo " failed."
[root@syslang /sbin]# 

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------


On Tue, 29 Aug 2000, Bret Hughes wrote:

=>"Steven W. Orr" wrote:
=>
=>> Tghis won't directly help you, but keep in mind that you shouldn't use
=>> pump. You should use dhcpcd instead. If you have your machine up 24/7 like
=>> I do then pump will simply abort after it fails to renew it's lease. I'm
=>> on RCN so I get renewed every 2 hours. Expiration happenes afetr about 5
=>> to 7 days. Using dhcpcd will start a new lease as needed.
=>>
=>> --
=>
=>What do you have to do to get dhcpcd to work in place of pump?
=>
=>Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to