How do i know whether my NIC works or not?
Christian Schult
cschult at gmx.de
Mon Dec 28 19:14:18 UTC 2009
Hello arshad,
arshad wrote:
> $ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:e0:4d:af:6e:4f
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> Interrupt:252 Base address:0x8000
>
> 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:2037 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2037 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1049382 (1.0 MB) TX bytes:1049382 (1.0 MB)
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:10.200.216.210 P-t-P:10.64.64.64
> Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:5205 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5124 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:4945403 (4.9 MB) TX bytes:767624 (767.6 KB)
>
> usb0 Link encap:Ethernet HWaddr 02:80:37:14:03:00
> inet6 addr: fe80::80:37ff:fe14:300/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> and i don't know how to find the dhcp server :( (very sorry)
Ok, we also need the output of
$ cat /etc/network/interfaces | grep -v "^#"
This will print the content of the file /etc/network/interfaces but with
no comments. Copy that output into your answer.
Then please do
$ route -n
and also send us the output.
What's that ppp0 device and usb0 device? Is it your mobile phone and
your router connected via USB? Pull them out, configure network manager
(that GUI you posted the screenshot of) to use eth0 automatically and
with dhcp server located at 192.168.1.1, then restart your computer and
see if you get connected. Else show again output of /sbin/ifconfig and
route -n.
Christian
More information about the ubuntu-users
mailing list