How do i know whether my NIC works or not?

arshad arshad3m at gmail.com
Thu Dec 31 01:37:51 UTC 2009


On Wed, 2009-12-30 at 18:31 +0100, Christian Schult wrote:
> Hello arshad,
> 

> 
> If formating means installing Ubuntu again - no, don't do this, it's not
> necessary. This is not W*ndows.
> 
> But i must say, i've got no more idea what to try out now.
> Do you have a firewall running on your desktop pc?
> 
> What gives:
> 
> $ /sbin/ifconfig
> $ route -n
> $ sudo /sbin/iptables -nL
> 
> Do you have other computers in your network which can connect to the
> router?
> 
> Is the router running? Did you try to reboot the router (plug power off
> and on after a few seconds)?
> 
> 
> Christian
> 
Hallo Christian,
i think only the default firewall is running.
i don't have other PCs or im not connected to a network. The router
worked in another PC, but it won't reset. i mean the way i used to reset
it before is using a pencil etc... but that now won't work.

here are the outputs:

$ /sbin/ifconfig
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:19918 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19918 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12415122 (12.4 MB)  TX bytes:12415122 (12.4 MB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.200.208.14  P-t-P:10.64.64.64
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:10063 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9024 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:9338315 (9.3 MB)  TX bytes:2125508 (2.1 MB)

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)


$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0
ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0
ppp0
0.0.0.0         10.64.64.64     0.0.0.0         UG    0      0        0
ppp0


$ sudo /sbin/iptables -nL
[sudo] password for arshad: 
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

Thank you very much.





More information about the ubuntu-users mailing list