[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP



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.

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.


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: