Re: lost my ethernet access


Subject: Re: lost my ethernet access
From: Josh Forman (josh@joshforman.com)
Date: Sun Feb 06 2000 - 21:50:46 MST


on 2/6/2000 9:33 PM, Paul Schinder at schinder@pobox.com wrote:

> What are you using, dhcpcd or pump? A lot of us have found that pump
> doesn't work, and you might find the same.
>
> dhcpcd can be run from the command line as root, and you might want
> to turn on the -d flag to see if you can spot what's going wrong.
I'm using dhcpcd-1.3.17-pl2. Just tried to do "dhcpcd -d" and it spit out a
bunch of stuff, let out a short scream and said "rebooting in 180 secsons".
I tried to switch to a window manager (apple=ctrl-F7) but that promptly
froze it. I'm now going to start up again, and wait 5 minutes, and try
again. Now while, i'm waiting, fidgeting, and screaming, please munch on
this. These are the changes I made to my ifdown and ifup files...

/sbin/ifdown
#if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
# pump -r -i ${DEVICE}
#fi

# added by josh - 2/6/2000

#if [ "$BOOTPROTO" = bootp ]; then

#fi

if [ "$BOOTPROTO" = dhcp ]; then
 if [ -f /var/run/dhcpcd-${DEVICE}.pid ]; then
kill `cat /var/run/dhcpcd-${DEVICE}.pid`
rm -f /var/run/dhcpcd-${DEVICE}.pid
  fi
fi

# added by Josh 2/6/2000
===================
/sbin/ifup
#if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
# PUMP=true
#fi

 # added by josh - 2/6/2000
if [ "$BOOTPROTO" = bootp ]; then
       echo " done."
    else
       echo " failed."
       exit 1
    fi
elif [ "$BOOTPROTO" = dhcp ]; then
    echo -n "Determining IP information for $DEVICE..."
    if /sbin/dhcpcd -d $DEVICE ; then
       if [ -f /etc/dhcpc/dhcpcd-${DEVICE}.exe ]; then
          /etc/dhcpc/dhcpcd-${DEVICE}.exe
# added by Josh 2/6/2000

-- 
Josh Forman

Webmaster, joshforman.com Palm stuff, Mac stuff, Josh stuff, other stuff Reviews, resources and more!

http://www.joshforman.com/



This archive was generated by hypermail 2a24 : Wed Mar 01 2000 - 00:07:10 MST