PDA

View Full Version : Failed to bring up eth0


british.assassin
20th March 2009, 14:01
Hi,

I have been trying to set up a Debian 5.0 server to run ISPConfig 3 as per this guide: http://howtoforge.com/perfect-server-debian-lenny-ispconfig3

However, whenever I get to the step that sets up eth0 to use a static ip address I get the following error when trying to restart the network:

Reconfiguring network interfaces...SIOCADDRT No such process
Failed to bring up eth0
done

And after that my computer has no access to the internet at all. I have tried rebooting it to see if that made any difference, but it didn't.

I would appreciate any help anyone can give.

Thanks

EDIT: Forgot to mention that it was working fine straight after the installation with dhcp

falko
21st March 2009, 21:31
Can you post the outputs of ifconfig and route -nee while you're uisng DHCP?

lychee_lch
7th August 2009, 09:37
Hi Falko,

I have the same issue with thread starter here. Any helps? initially i am trying to setup static wired network thru the GUI but the gateway keep resetting to 0.0.0.0. So i manually edit /etc/network/interfaces to my setting. After that i cant bring up the network anymore. :confused: I am new to ubuntu but already have certain knowledge on Redhat. Seem like Ubuntu distro not that stable as it should. Please help. Thanks.

falko
8th August 2009, 14:17
What's in /etc/network/interfaces? What's your router's internal IP?

lychee_lch
11th August 2009, 09:59
internal ip = 10.2.21.152
netmask = 255.255.255.0
gateway = 10.2.1.251

interface
=======
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 10.2.21.152
netmask 255.255.255.0
gateway 10.2.1.251

I am using a dell vostro 1500 laptop. Could it be the driver issue?
Somehow, there will be no issue if i use wireless. Please advise. Thanks.

smaj84
11th August 2009, 14:35
Falko knows NOTHING...he just give silly ideas and links..

falko
12th August 2009, 14:30
internal ip = 10.2.21.152
netmask = 255.255.255.0
gateway = 10.2.1.251

interface
=======
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 10.2.21.152
netmask 255.255.255.0
gateway 10.2.1.251

I am using a dell vostro 1500 laptop. Could it be the driver issue?
Somehow, there will be no issue if i use wireless. Please advise. Thanks.
Use
netmask 255.0.0.0

lychee_lch
19th August 2009, 13:28
but i am using the exact same setting to online in my windows... but when i put that setting to ubuntu it wont work.

falko
20th August 2009, 16:43
Does it work with DHCP? If so, can you enable DHCP again and post the outputs of ifconfig and route -nee?