Advertisement
TBotNik

Untitled

Jul 26th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. Gen'd by Script
  2.  
  3. Contents of the NetWork config file /etc/network/interfaces
  4.  
  5. auto lo
  6. iface lo inet loopback
  7. auto wlan0
  8. #iface wlan0 inet dhcp
  9.  
  10. auto eth0
  11. iface eth0 inet static
  12. address 192.168.3.2
  13. gateway 192.168.3.1
  14. netmask 255.255.255.0
  15. network 192.168.3.0
  16. broadcast 192.168.3.255
  17.  
  18.  
  19.  
  20. Contents of the DHCP config file /etc/dhcp3/dhcpd.conf
  21.  
  22. # /etc/dhcp3/dhpcd.conf
  23.  
  24. default-lease-time 600;
  25. max-lease-time 7200;
  26. option subnet-mask 255.255.255.0;
  27. option broadcast-address 192.168.3.255;
  28. option routers 192.168.3.2;
  29. option domain-name-servers 192.168.3.1, 4.2.2.2;
  30. option domain-name "tc-noc-server";
  31. log-facility local7;
  32. subnet 192.168.3.0 netmask 255.255.255.0 { range 192.168.3.10 192.168.3.200;}
  33.  
  34.  
  35. Snap shot of the network settings from ifconfig
  36.  
  37. eth0 Link encap:Ethernet HWaddr 00:07:e9:3d:c3:e8
  38. inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:255.255.255.0
  39. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  40. RX packets:549 errors:0 dropped:0 overruns:0 frame:0
  41. TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
  42. collisions:0 txqueuelen:1000
  43. RX bytes:53436 (53.4 KB) TX bytes:42966 (42.9 KB)
  44.  
  45. lo Link encap:Local Loopback
  46. inet addr:127.0.0.1 Mask:255.0.0.0
  47. UP LOOPBACK RUNNING MTU:16436 Metric:1
  48. RX packets:722 errors:0 dropped:0 overruns:0 frame:0
  49. TX packets:722 errors:0 dropped:0 overruns:0 carrier:0
  50. collisions:0 txqueuelen:0
  51. RX bytes:97530 (97.5 KB) TX bytes:97530 (97.5 KB)
  52.  
  53. wlan0 Link encap:Ethernet HWaddr 00:0f:3d:ad:c3:c8
  54. inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
  55. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  56. RX packets:428 errors:0 dropped:0 overruns:0 frame:0
  57. TX packets:549 errors:0 dropped:0 overruns:0 carrier:0
  58. collisions:0 txqueuelen:1000
  59. RX bytes:191935 (191.9 KB) TX bytes:92095 (92.0 KB)
  60.  
  61. wmaster0 Link encap:UNSPEC HWaddr 00-0F-3D-AD-C3-C8-00-00-00-00-00-00-00-00-00-00
  62. UP RUNNING MTU:0 Metric:1
  63. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  64. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  65. collisions:0 txqueuelen:1000
  66. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement