LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2005, 06:49 AM   #1
MikeyS
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Cannot seem to get ethernet card working. Help!!


Hi - Wondered if anyone might be able to help?
I've just got hold of an old machine, which I decided to use for learning Linux. I put in the ethernet card (netgear something or other - not sure on the model) and an extra hard drive. I burnt the Debian 3.1 net inst cd and off I went. It seems that the machine couldn't communicate with any of the download mirrors, so I decided to install the base system, which was fine.

Now, logged into debian3.1 (Kernel 2.6) as root, I can ping my loopback interface, and my own IP address. I cannot ping the router or any of the other machines (windows) on my network.I have verified IP settings are all correct, and now, to be honest, I'm stuck.

I'm knowledgeable in windows, and so I understand most technical issues, however, when it comes to Linux, well, I'm here to learn!

What steps should I take next? Is it true to say that since the machine can ping itself then the NICs drivers are correctly installed?

It's not easy for me to take screenshots fromt he Linux box, since the ethernet card isn't working :-) but if anyone can think of anything obvious, or of the next steps I should take, I'd be grateful.

Thanks,
Mike
 
Old 08-12-2005, 06:54 AM   #2
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Mike,
Can you post what ifconfig tells you as well as route?
 
Old 08-12-2005, 06:57 AM   #3
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
Drivers's are installed in your case ,that's why it is showing self ping, but some problem in your card pins(where we putting rj45 jacks) or network cable.Did you try this same network card and cable in some other working computer.Let me know your status
 
Old 08-12-2005, 07:06 AM   #4
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Might also pay to check
Code:
/etc/resolv.conf
which is where your dns IP's are, should look something like this
Code:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

and welcome to LQ
 
Old 08-12-2005, 08:40 AM   #5
MikeyS
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by n0xvb
Mike,
Can you post what ifconfig tells you as well as route?
ifconfig shows a valid MAC addr, correct IP addr, bcast addr and subnet mask.

the next line says:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

All values set to 0 - no rx packets, nno tx packets (except for 5 tx errors), txqueuelen 1000
Interrupt 9, Base address:0x2000


Route gives:

0.0.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


Thanks,
Mike
 
Old 08-12-2005, 08:41 AM   #6
MikeyS
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Looks like DNS server is set correctly (to the router, which forwards all DNS requests).
Thanks,
Mike
 
Old 08-12-2005, 08:42 AM   #7
MikeyS
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by hardcorelinux
Drivers's are installed in your case ,that's why it is showing self ping, but some problem in your card pins(where we putting rj45 jacks) or network cable.Did you try this same network card and cable in some other working computer.Let me know your status
No, i haven't tried the card in another machine - however, the link light is there on the hub that it's plugged into. Also, mii-tool reports that a physical link is there.

Thanks,
Mike
 
Old 08-18-2005, 07:46 AM   #8
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Try adding a routing table entry to your router. If the router is 192.168.2.1, then add it with this command (just substitute the IP address of your router):

route add 192.168.2.1 eth0

Then try to ping the router again.
 
  


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
ethernet card not working joshyjosh1289 Linux - Hardware 5 02-21-2005 03:48 PM
ethernet card not working Dasc Linux - Hardware 3 08-13-2004 11:21 AM
Ethernet card not working... MATDEV Linux - Hardware 2 05-05-2004 01:10 PM
ethernet card not working now after i compile h/w Linux - Newbie 11 11-14-2003 08:15 PM
ethernet card not working deca Linux - Networking 8 07-29-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration