Advertisement
TBotNik

Untitled

Jul 25th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 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. inet6 addr: fe80::207:e9ff:fe3d:c3e8/64 Scope:Link
  40. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  41. RX packets:529 errors:0 dropped:0 overruns:0 frame:0
  42. TX packets:665 errors:0 dropped:0 overruns:0 carrier:0
  43. collisions:0 txqueuelen:1000
  44. RX bytes:100081 (100.0 KB) TX bytes:102971 (102.9 KB)
  45.  
  46. lo Link encap:Local Loopback
  47. inet addr:127.0.0.1 Mask:255.0.0.0
  48. inet6 addr: ::1/128 Scope:Host
  49. UP LOOPBACK RUNNING MTU:16436 Metric:1
  50. RX packets:1063 errors:0 dropped:0 overruns:0 frame:0
  51. TX packets:1063 errors:0 dropped:0 overruns:0 carrier:0
  52. collisions:0 txqueuelen:0
  53. RX bytes:200344 (200.3 KB) TX bytes:200344 (200.3 KB)
  54.  
  55. wlan0 Link encap:Ethernet HWaddr 00:0f:3d:ad:c3:c8
  56. inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
  57. inet6 addr: fe80::20f:3dff:fead:c3c8/64 Scope:Link
  58. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  59. RX packets:2418 errors:0 dropped:0 overruns:0 frame:0
  60. TX packets:3401 errors:0 dropped:0 overruns:0 carrier:0
  61. collisions:0 txqueuelen:1000
  62. RX bytes:628099 (628.0 KB) TX bytes:506103 (506.1 KB)
  63.  
  64. wmaster0 Link encap:UNSPEC HWaddr 00-0F-3D-AD-C3-C8-61-64-00-00-00-00-00-00-00-00
  65. UP RUNNING MTU:0 Metric:1
  66. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  67. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  68. collisions:0 txqueuelen:1000
  69. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement