LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to find the details of NIC (https://www.linuxquestions.org/questions/ubuntu-63/how-to-find-the-details-of-nic-554287/)

karamkumar 05-16-2007 04:20 AM

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.

Simon Bridge 05-16-2007 05:24 AM

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.

karamkumar 05-16-2007 05:49 AM

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.

karamkumar 05-16-2007 01:59 PM

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.

lozza1978 05-16-2007 03:19 PM

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

Simon Bridge 05-16-2007 11:39 PM

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.


All times are GMT -5. The time now is 01:04 PM.