On Wed, Jul 03, 2002 at 08:20:37PM -0400, Albert D. Cahalan wrote: > Michel D\344nzer writes: > > On Thu, 2002-07-04 at 00:14, Albert D. Cahalan wrote: > > >> Does it work? I've tried every daemon that > >> looked like a client: dhcpcd, pump, dhclient... > >> This is with debian-testing, ppc, and a 2.4.16 kernel. > >> I even know the interface works. > > > > pump's been working fine for me. Have you read interfaces(5)? > > Do you use ifup/ifdown? > > Reading interfaces(5) was certainly interesting. > It helps explain why an insmod for my network > hardware will configure a static address for me. > It also says I can't use pump with a 2.4.xx kernel. > > So pump isn't likely to work.
Are you looking at the same interfaces(5) we are? Mine says: The dhcp Method This method may be used to obtain an address via DHCP with any of the tools: dhclient, pump (Linux 2.2.x and newer), udhcpc (Linux 2.2.x and newer), or dhcpcd. If you have a complicated DHCP setup you should note that some of these clients use their own con figuration files, rather than obtaining their configuration via ifup. > I wasn't planning to use ifup/ifdown at all. I have > a script to load modules, change the hardware address > to satisfy my cable modem, add firewall rules, and > so on. On my x86 box, the part of that script which > interacts with the DHCP client looks like this: > > ################################################################## > # don't get an IP until firewall is up > if ps -C dhcpcd ; then echo DHCP client running ; else dhcpcd ; fi > . /etc/dhcpc/dhcpcd-eth0.info > > iptables -A INPUT -i eth0 -d ! $IPADDR -j DROP # not for us > ################################################################## > > None of pump, dhclient, or dhcpcd are even able to > get an IP address on my Mac. I've used all of them successfully today. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]