Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-15-2006, 02:02 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Bringing up interface eth0: failed

Dear all,

I cannot establish Internet connection in Linux.
This question was asked one thousand times,
I read the answers and followed them - nothing
worked for me. For example, I tryed /netconfig -
file not found.
On start up I have 'Bringing up interface eth0: failed'.
I tryed to change /etc/resolv.conf
and wrote nameserver and my IP-address (is it wrong?)

Please, help me; before I had
cable connection with automatic IP detection, now I have
fixed IP and have to use LAN-modem.
I have Mandrake Linux 9.1;
my mashine is Dell Inspiron 5150.
Many thanks for your help!

Old 11-15-2006, 10:36 PM   #2
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
Hi Natasha,

Mandrake/Mandriva comes with a Network and Internet Configuration Wizard, which is preferably started up from Mandrake's Control Center. For static configuration you can enter the IP address, netmask, DNS server and default gateway manualy (DNS and default gw is your modem IP address e.g. and the netmask is usually, OR you can try this long manual way:

First type this in the console:

# ifconfig

which will list all your network devices. If you use modem/router with enabled DHCP server (which usually is the case by default) then you can get an IP address by typing:

# dhclient eth0

loged as root. You will see some messages about quering the DHCP server and requesting an IP address. If this command is succesfull you will get an IP address for eth0 interface and this will also set the DNS for you in the /etc/resolv.conf file and the default gateway for internet access. You can check this with one of these commands as root:

# route -n
# netstat -r

If this works you are ready for surfing .

If your only option is manual setting of the network then run this command but you have to know at least one DNS server IP (you can obtain this from your ISP or just use the modem one) and IP address for your interface (let say your network is, you can find this in your modem/router manual):

# ifconfig eth0 netmask broadcast

Then you have to set the default gateway also manualy which is usually the IP address of the modem/router which in this case will be

# route add default gw dev eth0

and the DNS server(s) in /etc/resolve.conf:

# vi /etc/resolve.conf - put here the following line(s), you can use some other text editor if you are not comfortable with vi

nameserver DNS_address1
nameserver DNS_address2

(you can have only one nameserver line in this file usually the address of the modem in this example) then type:

# ifconfig eth0 up

and you are ready to go (check with ifconfig command again).

In case of manual setup you should know that your eth0 interface will loose it's settings after restart so to make these changes permanent you have to edit the network file /etc/sysconfig/network-scripts/ifcfg-eth0 and put/change lines like this for eth0 section:


and save the file. On the next boot up the network should be already configured for you. Please change all these values from the example with your apropriate ones.

I hope this helps.



eth0, networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bringing up interface eth0:....FAILED M K Mandriva 2 05-07-2006 02:45 AM
bringing up interface eth0 [FAILED] 0ver12ide Linux - Newbie 3 06-27-2004 03:31 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 06:33 PM
Bringing up interface eth0.... failed synecdoche Linux - Hardware 2 08-20-2003 01:39 PM
Bringing up interface eth0: FAILED Kinstonian Linux - General 6 03-31-2002 11:57 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration