On Sunday 09 December 2001 02:53, Michael Heldebrant wrote:
> You want:
> auto ethWHATEVER
> iface inet dhcp ethWHATEVER
> instead of "static dhcp" which, I'm not even sure how it would be
> parsed by ifup.  ifconfig should tell you if your interface iseven
> being brought up.

My fault here, sorry, it is if fact configured that way:

iface eth1 inet dhcp
        hostname pump

I read 'static' form the interface eth0 and wrote things down wrong.

> Assuming it's coming up and has an ip address, check your

As far as I can tell from ifconfig's output, it's up and has the 
correct IP, broadcast and netmask.

> /var/dhcp/dhclient.leases file for a routers entry.  If you have no

My system is now Potato 2.2r0 and this file doesn't even exist. Note 
that I'm using pump as dhcp client, I don't know if this is relevant. 
Querying pump for the status of the interface (pump -i eth1 --status) 
shows that eth1 is fully configured. 

> route add default ethWHATEVER

This is a good clue !!  My old one-diskette system has a routing 
table like this:

Destination     Gateway     Netmask            Iface
10.7.2.1           *        255.255.255.255    eth1
192.168.0.0        *        255.255.255.0      eth0
200.70.32.0        *        255.255.255.0      eth1
default        10.7.2.1     0.0.0.0            eth1

The recently installed Potato system's table has:

Destination     Gateway     Netmask            Iface
localnet           *        255.255.255.0      eth0
200.70.32.0        *        255.255.255.0      eth1

It's strange to me that 'pump -i eth1 --status' shows correctly the 
gateway (10.7.2.1), nameservers, etc. So I tried to add the two missing 
entries, and it failed.

root:> route add default gw 10.7.2.1 dev eth1
SIOCADDRT: Network is unreachable

and:

root:> route add 10.7.2.1 netmask 255.255.255.255 dev eth1
dboostrap_settings: Unknown host

I guess perhaps the initialization scripts also tried to set up the 
correct routing entries and failed.

Any further suggestions ??

Thanks for your help !!

Daniel
-- 
"There is no spoon..." - The Matrix

Reply via email to