On Tue, Sep 12, 2000 at 01:30:28PM +0200, Chmouel Boudjnah wrote:
> Reinhard Katzmann <[EMAIL PROTECTED]> writes:
> 
> > No, when using DYNCONFIG the GATEWAY variables are ignored (as they are
> > only recogniced in the else clause, i.e. no DYNCONFIG (bootp/dhcp, both
> > the same probably).
> 
> and isn't the dhcp job to set the gateway ?

Well then pump does a very bad job indeed :-(
Ok, I replaced pump by dhcpcd (which is smaller anyway ;) and it works,
at least when plainly starting. Resarting the network (/etc/init.d/network restart)
fails:

Sep 12 13:43:06 pc-suamor ifup:  done.
Sep 12 13:43:06 pc-suamor network: Bringing up interface eth0:  succeeded
Sep 12 13:43:44 pc-suamor pumpd[2318]: renewed lease for interface eth0
Sep 12 13:43:59 pc-suamor network: Shutting down interface eth0:  succeeded
Sep 12 13:44:00 pc-suamor network: Disabling IPv4 packet forwarding:  succeeded
Sep 12 13:44:00 pc-suamor sysctl: error: 'kernel.sysrq' is an unknown key
Sep 12 13:44:00 pc-suamor sysctl: error: 'net.ipv4.tcp_timestamp' is an unknown key
Sep 12 13:44:00 pc-suamor network: Setting network parameters:  succeeded
Sep 12 13:44:00 pc-suamor ifup: SIOCADDRT: Das Netzwerk ist nicht erreichbar
Sep 12 13:44:00 pc-suamor network: Bringing up interface lo:  succeeded
Sep 12 13:44:00 pc-suamor network: Enabling IPv4 packet forwarding succeeded
Sep 12 13:44:00 pc-suamor ifup: Determining IP information for eth0 via dhcpcd...
Sep 12 13:44:00 pc-suamor ifup:  failed.
Sep 12 13:44:00 pc-suamor ifup: ****  /sbin/dhcpcd: already running
Sep 12 13:44:00 pc-suamor ifup: ****  /sbin/dhcpcd: if not then delete 
/var/run/dhcpcd-eth0.pid file
Sep 12 13:44:00 pc-suamor network: Bringing up interface eth0:  failed
Sep 12 13:44:00 pc-suamor dhcpcd[31330]: terminating on signal 1 

The interface is gone now. A simple start will bring it up again.. strange 
After a new start still some errors (warnings ?) remain:

Sep 12 13:44:15 pc-suamor network: Disabling IPv4 packet forwarding:  succeeded
Sep 12 13:44:19 pc-suamor sysctl: error: 'kernel.sysrq' is an unknown key
Sep 12 13:44:19 pc-suamor sysctl: error: 'net.ipv4.tcp_timestamp' is an unknown key
Sep 12 13:44:19 pc-suamor network: Setting network parameters:  succeeded
Sep 12 13:44:20 pc-suamor ifup: SIOCADDRT: Das Netzwerk ist nicht erreichbar
Sep 12 13:44:20 pc-suamor network: Bringing up interface lo:  succeeded
Sep 12 13:44:20 pc-suamor network: Enabling IPv4 packet forwarding succeeded
Sep 12 13:44:20 pc-suamor ifup: Determining IP information for eth0 via dhcpcd...
Sep 12 13:44:24 pc-suamor ifup:  done.
Sep 12 13:44:24 pc-suamor network: Bringing up interface eth0:  succeeded
Sep 12 13:44:53 pc-suamor pumpd[2318]: renewed lease for interface eth0

I have a plain kernel 2.2.18pre3 (with reiserfs patch), so maybe some kernel
patch is needed for the messages going away.

Best regards,

Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]

Reply via email to