Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. sudo /etc/init.d/nscd restart
  2.  
  3. iptable -S
  4. -P INPUT ACCEPT
  5. -P FORWARD ACCEPT
  6. -P OUTPUT ACCEPT
  7.  
  8. route
  9. Kernel IP routing table
  10. Destination Gateway Genmask Flags Metric Ref Use Iface
  11. default Freebox-Server. 0.0.0.0 UG 0 0 0 eth0
  12. link-local * 255.255.0.0 U 1000 0 0 eth0
  13. 192.168.0.0 * 255.255.255.0 U 1 0 0 eth0
  14. 192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0
  15.  
  16. ifconfig
  17. eth0 Link encap:Ethernet HWaddr 3c:97:0e:51:40:d5
  18. inet addr:192.168.0.37 Bcast:192.168.0.255 Mask:255.255.255.0
  19. inet6 addr: 2a01:e35:2ef5:2d70:dc68:1b24:46c9:de23/64 Scope:Global
  20. inet6 addr: 2a01:e35:2ef5:2d70:3e97:eff:fe51:40d5/64 Scope:Global
  21. inet6 addr: fe80::3e97:eff:fe51:40d5/64 Scope:Link
  22. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  23. RX packets:81287 errors:0 dropped:0 overruns:0 frame:0
  24. TX packets:53613 errors:0 dropped:0 overruns:0 carrier:0
  25. collisions:0 txqueuelen:1000
  26. RX bytes:98941644 (98.9 MB) TX bytes:6023773 (6.0 MB)
  27.  
  28. lo Link encap:Local Loopback
  29. inet addr:127.0.0.1 Mask:255.0.0.0
  30. inet6 addr: ::1/128 Scope:Host
  31. UP LOOPBACK RUNNING MTU:65536 Metric:1
  32. RX packets:5364 errors:0 dropped:0 overruns:0 frame:0
  33. TX packets:5364 errors:0 dropped:0 overruns:0 carrier:0
  34. collisions:0 txqueuelen:0
  35. RX bytes:552811 (552.8 KB) TX bytes:552811 (552.8 KB)
  36.  
  37. wlan0 Link encap:Ethernet HWaddr 60:36:dd:68:45:e3
  38. inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
  39. inet6 addr: fe80::6236:ddff:fe68:45e3/64 Scope:Link
  40. inet6 addr: 2a01:e35:2ef5:2d70:5089:74a0:c1cd:d849/64 Scope:Global
  41. inet6 addr: 2a01:e35:2ef5:2d70:6236:ddff:fe68:45e3/64 Scope:Global
  42. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  43. RX packets:2595 errors:0 dropped:0 overruns:0 frame:0
  44. TX packets:158 errors:0 dropped:0 overruns:0 carrier:0
  45. collisions:0 txqueuelen:1000
  46. RX bytes:217141 (217.1 KB) TX bytes:25352 (25.3 KB)
  47.  
  48. cat /etc/hosts
  49. 127.0.0.1 localhost
  50. 127.0.1.1 ericTPE330
  51.  
  52. # The following lines are desirable for IPv6 capable hosts
  53. ::1 ip6-localhost ip6-loopback
  54. fe00::0 ip6-localnet
  55. ff00::0 ip6-mcastprefix
  56. ff02::1 ip6-allnodes
  57. ff02::2 ip6-allrouters
  58.  
  59. nslookup facebook.com
  60. Server: 127.0.0.1
  61. Address: 127.0.0.1#53
  62.  
  63. Non-authoritative answer:
  64. Name: facebook.com
  65. Address: 173.252.110.27
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement