(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) System Configuration : (Category) Networking :
Can't seem to get DHCPcd to work under Linux 1999
I've got a beige desktop G3 that I've been running LinuxPPC R4 on for several months. I've been using DHCPcd and netcfg to configure my network settings with no problems, but I just upgraded to LinuxPPC 1999, and now I can't seem to get DHCPcd to work (I always get an error when trying to raise the eth0 interface at boot that says something about my /sbin/pump file no existing). I'm not using this machine to do any kind of file of web serving, just for tinkering and development purposes. I've been using a MacSense Palm Router that handles DHCP for my networking, and have had much success with it under the Mac OS, Mac OS X Server, and LinuxPPC R4. I'm probably just overlooking something really obvious, but if anyone is will to offer some advice, I would be really appreciative! Many thanks!
mcassell@sph.unc.edu
I actually had this exact same problem just a few minutes ago on a PB G3 Series. For some reason, though the pump.rpm file was there in my RPMS folder, it didn't get installed in the first installation. To install it, I mounted my Mac HFS partition in Linux and at the command prompt typed rpm -ivh pump-0.6.5-1.ppc.rpm and that installed the necessary file. I'm new to Linux (just got it installed this morning), so I'm still getting it set up, but for now it's not giving me the error that that file isn't found, and running netcfg didn't give any other errors.
Indeed, pump does not get installed by the installation program. However, on my 7200, pump does not have the desired results using a cable modem. I replaced the pump executable by a script that calls dhcpcd with no arguments:
exec dhcpcd
and this works.
Otto
Hi,
I tried to install LinuxPPC 5 (live) this morning and the main situation regards DHCP... everything seems to runs perfectly well, but when I'm in the network configuration, I call a dhcpcd in X, and an IP and a servername comes to me, BUT when I valid the 'network conf. nothing happens... If I read the output, it says that it can't write in the root... What to do .. PLEASE ?
Otherwise, if I reboot the comp and come again into LinuxPPC, all my partitions are here but the "root" does not have the / anymore, do I have to "/" again and format again ?
All the help will be welcome...
:-) Pilauh ICQ 5236330
I recently installed LinuxPPC 1999 on a beige G3, and am having trouble with getting dhcp to work (I'm in a college dorm with in-dorm ether). In /etc/sysconfig/network-scripts/, the code in ifup is as follows
if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
   PUMP=true
   /sbin/dhcpcd
fi

I had to add the /sbin/dhcpcd, btw. Anything I could have missed?
Terry Youngkin slaxor@mail.utexas.edu

Hello folks !
I have some troubles to activate DHCP on LinuxPPC 2000, did anyone manage to make it work on Ethernet ? (to connect to cable modem: Cybercable in France) . I had no trouble on Linux 99.
Thanks for any Hint.
Ok, this may seem really stupid, but it worked for me after spending 2+ months trying to get my RoadRunner (in Raleigh, NC) to work. If you have the module for your eth0 card _AND_ have support compiled into your kernel for eth0, you will get the standard eth0 message at boot. However the very next line says something like "Address 0x400 in use by eth0" (something like that, I'm doing this from memory). At anyrate, this means that eth0 is _not_ availible!!!!!!! Several web pages on connecting the cable modem that I visited included the step of re-comiling the kernel to support your eth0, apparently with Linux 1999 that may not be nescessary.
At least for LinuxPPC 1999, taking the tulip support (fallaron card) _out_ of the kernel and recompiling did the trick. Apparently the default is to have the tulip support loaded via a module, but I couldn't find where to disable that. After that following the directions in the DHCP HOWTO worked beatifully.
One note, all those "rumors" about linux being a whiz at tcp-ip are true. I normally get 10K/s downloads(ftp) (with the highest burst being 176K/s) with MacOS, with LinuxPPS normal downloads(ftp) are around 20K (with the highest burst being about 275K/s)!
Under LinuxPPC 2000 DHCPcd requires a couple of minor changes to /sbin/ifup and /sbin/ifdown.
in /sbin/ifup change if /sbin/pump $PUMPARGS -i $DEVICE ; then to if /sbin/dhcpcd $PUMPARGS $DEVICE ; then
and in /sbin/ifdown change the line refering to pump to
   dhcpcd -k ${DEVICE} 

[Append to This Answer]
Previous: (Answer) No external hosts on Rev1 G3 minitower (mklinux)
Next: (Answer) Sendmail hangs for a really long time on start up!
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=620
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo