LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-30-2004, 07:48 AM   #1
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Rep: Reputation: 15
Exclamation Cannot bring up Eth0


I am having some basic problems with my networking: I have just installed Mandrake 10 on a PIII-600 machine that was working fine in Win2K yesterday (including networking). I have not changed my network card, the configuration of the rest of the network, nor the NIC's PCI slot since it was working under Win2K.

However, I cannot get even basic networking (pinging other machines on my home LAN) to operate after I installed Linux. When I have installed Mandrake Linux before (on another machine), I had no problems with networking; indeed, it installed automatically, and I was able to access internet updates during the install process (via my ICS gateway).

I set up the machine to use DCHP (as is necessary when working with an ICS gateway (Win XP Pro)), but, on bootup, it either fails to start Eth0 at all (red [FAILED]), or, when I disabled network hotplugging, purported to work, but assigned an odd IP address (127.255.255.255), incompatible with the network which requires 192.168.0.x, and then, when I try to ping 192.168.0.1, it does not even attempt to send packets, but responds "network unreachable". It will ping localhost and 127.0.0.1 with no problems.

I am using a 3Com 3C905B-TX network card, which is correctly detected in the network configuration tool, and the appropriate drivers selected.

Does anybody have any idea what might be the problem? I have run the network configuration tool countless times with no success. Thank you in advance for any help :-)
 
Old 07-30-2004, 11:27 AM   #2
Booster
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

Rep: Reputation: 15
What's the output if you type "ifconfig"? I'm guessing that it will only show "lo", not eth0, if so, try:
ifconfig eth0 192.168.0.5
(change ip to suit)

then type ifconfig again to see if it's there, if so, try pinging your gateway, if that fails, try pinging the address you assigned to eth0 and see what happens.
 
Old 08-02-2004, 01:23 PM   #3
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
Thank you very much for your reply :-)

Actually, though, ifconfig returns information for eth0 as well as lo, stating that eth0 is using the illegal IP and subnet mask mentioned above. Trying to set the IP manually using ifconfig has no effect: it still reports it set at the same IP address and subnet mask. This might be because the ICS gateway (the XP machine) is setup to allocate addresses via DCHP, however; I also configured the Linux machine in question to receive its IP address via DCHP.

The trick seems to be to get it to recognise the correct subnet mask, and get a network-legal IP address allocated to it...
 
Old 08-02-2004, 04:22 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,048

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
Try
ifconfig eth0 192.168.0.x netmask 255.255.255.0 up

Change x to the desired address.
 
Old 08-02-2004, 05:32 PM   #5
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
Thank you for your suggestion :-) However, I tried that, and had no success: the settings were exactly the same as before, with the bad IP addresses. I have some doubts that setting the IP address manually will work if there's a DCHP server about, anyway.
 
Old 08-02-2004, 07:09 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,048

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
I do not know the workings of XP's ICS but your correct it could be a DHCP problem if your lease time is small or an incompatablity between linux and windows. There should be a DHCP client running on MDK, probably pump or dhclient. Kill it and then try to manually configure an IP address.

To check the status when its running:
pump -i eth0 --status

Last edited by michaelk; 08-02-2004 at 07:40 PM.
 
Old 08-03-2004, 02:27 AM   #7
j4b
LQ Newbie
 
Registered: Aug 2004
Location: huntsville, AL
Posts: 6

Rep: Reputation: 0
Also on FC2

I have just built an FC2 configuration. All went well until eth0 attempted to activate. Bummer

AMD 2-500 CPU
3Com 3C900 - COMBO NIC

D-Link DI-704P router to a DSL modem
(Router also hosts this W-XP machine -- otherwise I'm completely in the dark.....)

The network configuration tool sees the 3Com NIC
It fails on activation.

During FC2 bootup there are some "FW" messages. Does FC2 default some type of firewall?

manually configure eth0
--> ifconfig eth0 192.168.0.10 netmask 255.255.255.0 up
--> ping 192.168.0.1 fails

activity lite on NIC and router indicates a connection.


I'm lost.
 
Old 08-03-2004, 06:42 AM   #8
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
After another attempt at running the network config tool, miraculously and without explanation, it started to work. Very odd indeed.
 
  


Reply


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
Cannot bring up eth0 zhex900 Linux - Distributions 5 04-24-2005 04:33 PM
can not bring up eth0 summerfish Linux - Networking 2 07-19-2004 11:09 PM
failed to bring eth0 up k_brother Linux - Newbie 2 10-17-2003 11:30 AM
couldn't bring up interface eth0 mikez Linux - Networking 9 02-28-2002 01:02 PM
Can't bring up eth0 cyrano Linux - Networking 4 08-21-2001 11:21 AM


All times are GMT -5. The time now is 06:34 AM.

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