LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-16-2007, 04:20 AM   #1
karamkumar
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Red face How to find the details of NIC


Hi,

I have a PCI (RTL8139) base Ethernet card connected to my Intel 865GBF motherboard. I am using UBUNTU 7.04 Linux. I properly configured the IP and DNS address. But I am not able to access internet.

I am very sure that the hardware is good, because in windows I can able to access internet.

I just want to know, how I can find out whether the proper driver for my Ethernet card is installed or not. How can I find out the details of NIC which is connected on my PC.

Please inform me the steps to install a PCI base Ethernet card and for its settings.

Without internet I am unable to update Ubuntu. Please help me out…

Regards,
Ramkumar K.A.
 
Old 05-16-2007, 05:24 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
give the results of the following:

lspci -v (look for the section on your ethernet card)
lsmod

ifconfig
ifup eth0

How are you connecting to the internet?
That you can connect with windows suggests that you have not configured the card correctly.
 
Old 05-16-2007, 05:49 AM   #3
karamkumar
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Simon,

Right now I am at office. Once I reached home I will check with the commands and inform the results.

Thanks,
Ramkumar K.A.
 
Old 05-16-2007, 01:59 PM   #4
karamkumar
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
for lspci -v it is showing a lot of interfaces. I am showing here ethernet related only:

lspci -v

gs: bus master, medium devsel, latency 32, IRQ 10
Memory at ff8ffc00 (32-bit, non-prefetchable) [size=256]
I/O ports at b800 [size=256]
Expansion ROM at 20000000 [disabled] [size=128K]
Capabilities: <access denied>

-------------
ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:A3:3E:C6:14
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:a3ff:fe3e:c614/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:272 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:314 errors:0 dropped:0 overruns:0 frame:0
TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30554 (29.8 KiB) TX bytes:30554 (29.8 KiB)

-------------
ifup eth0

ifup: interface eth0 already configured

-------------

it looks ethernet card is not configured properly.

thanks,
Ramkumar K.A.
 
Old 05-16-2007, 03:19 PM   #5
lozza1978
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
Hi There,

Gonna try and help you out here, but you might of tried this already.

This is your ifconfig.

ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:A3:3E:C6:14
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:a3ff:fe3e:c614/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:272 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


to me this shows your IP as 192.168.1.104. so 1st thing todo is make sure the nic has this IP -
run the following command from the terminal.

"ping 192.168.1.104" (without the quotes) wait a few seconds and you should see loads of reply's, meaning we have comunication to the NIC at least - if the screen just pauses - then this is a driver/hardware issue -

Ill assume you have a reply from the ping command above. right, the 2nd step is to ping the gateway and make sure we have a reply. (Ill guess and say your gateway is 192.168.1.1 - but please check and ping it)

ping 192.168.1.1 - again we want a reply from this IP - if there is no ping reply - then either, A network cable upplugged or not the correct gateway IP being used -

So Ill assume again that we have comms to the nic and to the gateway(Router).
right so it all seems setup?. wait!
can you ping bbc.co.uk? and get a reply

"ping bbc.co.uk"

do you get a reply from

ping 212.58.224.131



do you get a reply from ping bbc.co.uk - if not what about ping 212.58.224.131 - this is the bbc.co.uk IP address -

if you get a reply from the IP and not the domain(bbc.co.uk) it means you have the wrong DNS servers setup.

if your still having problems - let me know the outcome from the commands above and ill try and help out.

hth
lozza1978

Last edited by lozza1978; 05-16-2007 at 03:25 PM.
 
Old 05-16-2007, 11:39 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
And: you missed a question - How are you connecting to the internet?
Ethernet to a phone line will not work so we are guessing some sort of modem, maybe one of those modem/switch/router things. But thats a guess.
 
  


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
where can i find details of blocked emails karen.pertierra Linux - Security 1 02-22-2007 02:46 PM
Can't find HD, CD or NIC jdtiede Linux - Hardware 5 02-12-2006 11:12 PM
Can't find the nic or soundcard dad1001 Linux - Newbie 5 02-01-2006 10:54 PM
commads in tcl/tk to find out the hardware details lexersrp Linux - Hardware 3 01-24-2005 10:16 AM
Where to find the Folder Preferences Details joeyBig Linux - General 5 08-06-2004 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:03 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