HELP Gutsy is down and can't get up

Larry Alkoff labradley at mindspring.com
Mon Dec 10 19:35:06 UTC 2007


Nils Kassube wrote:
> Larry Alkoff wrote:
>> Ifconfig eth0 does not report an inet, Bcast or mask address.
>>
>> The router and other computers in the house are working normally.
>>
>> The route command gives a blank table with no entries.
>>
>> I have tried /etc/init.d/networking restart with no results.
> 
> Is your setup static or do you get an IP from the router via DHCP? Have a 
> look at /etc/network/interfaces - perhaps there is something wrong with 
> that file. It should look like this:
> 
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet dhcp
> 
> Only if you are using static routing you will have to change the entries 
> for eth0 giving it an IP address, netmask and gateway.
> 
> Then check the HWaddr of eth0 with "ifconfig eth0" and compare it with the 
> one you can see if you use Feisty. It should be the same.
> 
> Finally you could try "dhclient3 eth0" to get an IP address from your 
> router. That should be done with "/etc/init.d/networking restart" but it 
> doesn't hurt to try it anyway - and maybe there is an error message.
> 
> 
> Nils
> 


Thanks for your reply Nils.

I use a static address on my local non-routable network.

My /etc/network/interfaces file looks like this:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


iface eth0 inet static
address 192.168.1.4
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254

Should I add an
auto eth0
above the iface eth0 line?

 From reading man interfaces I thought 'auto' was only for dhcp
or does it mean 'automatically bring up this interface'?

Larry
-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux




More information about the ubuntu-users mailing list