Re: Cable modem/dhchp


Subject: Re: Cable modem/dhchp
From: Myles Vredenburg (mvredenburg@global2000.net)
Date: Sun Oct 03 1999 - 17:18:00 MDT


Dan Burcaw wrote:
>
> Have you downloaded an updated pump package?
>
> Would someone that has cable + YDL working fine be willing to write up a
> mini-HOWTO?
>
> Regards,
> Dan
>
> > I installed YDL 1.1 last week and almost everything works fine (at least the
> > installer don't crash like the X-Windows of LinuxPPC R5) but not my cable
> > connection.
> >
> > During the installation, I specified DHCP as the way to get my net connection.
> > But when YDL boots, I get:
> >
> > ifup: Determining IP information for eth0
> > ifup: Operation failed
> > ifup: failed
> > network: Bringing up interface eth0 failed
> >
> > And if I try with pump, I only get "failed" as an error message after 30
> > seconds.
> >
> > netstat -rn is only showing the lo interface not eth0.
> >
> > Running:
> >
> > - G3 B&W 300 Mhz with the built-in Ethernet card
> > - 64 megs of RAM (if it's matter, I don't think so :-))
> > - YDL 1.1 that I downloaded from the FTP site (disk image)
> > - Motorola CyberSURFR cable modem, Ethernet (10Base-T) interface
> > - Videotron (Quebec, Canada) as my ISP (no special client needed, I just specify
> > Ethernet and DHCP in TCP/IP in Mac OS and it works, no authentification)
> >
> > Any suggestions ?
> >
>

Try using dhcpcd instead of pump. You'll need to edit /sbin/ifup and
/sbin/ifdown.

>From my /sbin/ifup:

if [ -n "$PUMP" ]; then
    echo -n "Determining IP information for $DEVICE..."
    if /sbin/dhcpcd $DEVICE -R ; then
        /etc/rc.d/rc.firewall
        echo " done."
    else
        echo " failed."
        exit 1
    fi

Ignore the line that executes rc.firewall. Also, you'll need to omit
the "-R" option for dhcpcd if you want
to use the dhcp-server-asigned name server.

>From my /sbin/ifdown:

if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
        dhcpcd -k ${DEVICE}
fi

Hope this helps!

-Myles



This archive was generated by hypermail 2a24 : Tue Nov 02 1999 - 16:20:57 MST