LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 06:48 AM   #1
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Rep: Reputation: 16
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, 10: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, 12:23 PM   #3
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Original Poster
Rep: Reputation: 16
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, 03:22 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

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

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

Original Poster
Rep: Reputation: 16
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, 06:09 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
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 06:40 PM.
 
Old 08-03-2004, 01: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, 05:42 AM   #8
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration