Advertisement
Guest User

network config

a guest
Mar 10th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. ======================================== interfaces ===========================
  2. peter@server:/etc/network$ more interfaces
  3. # This file describes the network interfaces available on your system
  4. # and how to activate them. For more information, see interfaces(5).
  5.  
  6. # The loopback network interface
  7. auto lo
  8. iface lo inet loopback
  9.  
  10. # The primary network interface
  11. auto em1
  12. iface em1 inet static
  13. address 192.168.1.4
  14. netmask 255.255.255.0
  15. dns-nameservers 192.168.1.1
  16. gateway 192.168.1.1
  17.  
  18. auto wlan0
  19. iface wlan0 inet static
  20. wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  21. address 192.168.1.3
  22. netmask 255.255.255.0
  23.  
  24.  
  25. ======================================== ifconfig ===========================
  26. peter@server:/etc/network$ ifconfig
  27. em1 Link encap:Ethernet HWaddr e0:69:95:91:62:50
  28. inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
  29. inet6 addr: fe80::e269:95ff:fe91:6250/64 Scope:Link
  30. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  31. RX packets:24773439 errors:0 dropped:30 overruns:0 frame:0
  32. TX packets:16513569 errors:0 dropped:0 overruns:0 carrier:0
  33. collisions:0 txqueuelen:1000
  34. RX bytes:29205558971 (29.2 GB) TX bytes:2034278599 (2.0 GB)
  35. Interrupt:20 Memory:fe500000-fe520000
  36.  
  37. lo Link encap:Local Loopback
  38. inet addr:127.0.0.1 Mask:255.0.0.0
  39. inet6 addr: ::1/128 Scope:Host
  40. UP LOOPBACK RUNNING MTU:65536 Metric:1
  41. RX packets:787 errors:0 dropped:0 overruns:0 frame:0
  42. TX packets:787 errors:0 dropped:0 overruns:0 carrier:0
  43. collisions:0 txqueuelen:0
  44. RX bytes:64525 (64.5 KB) TX bytes:64525 (64.5 KB)
  45.  
  46. wlan0 Link encap:Ethernet HWaddr 00:21:2f:3b:36:c8
  47. inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
  48. inet6 addr: fe80::221:2fff:fe3b:36c8/64 Scope:Link
  49. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  50. RX packets:54293 errors:0 dropped:30700 overruns:0 frame:0
  51. TX packets:18 errors:0 dropped:1 overruns:0 carrier:0
  52. collisions:0 txqueuelen:1000
  53. RX bytes:6366898 (6.3 MB) TX bytes:2329 (2.3 KB)
  54.  
  55.  
  56. ======================================== iwconfig ===========================
  57. peter@server:/etc/network$ iwconfig
  58. lo no wireless extensions.
  59.  
  60. em1 no wireless extensions.
  61.  
  62. wlan0 IEEE 802.11bgn ESSID:"CARLSON" Nickname:"rtl_wifi"
  63. Mode:Managed Frequency:2.412 GHz Access Point: 60:A4:4C:DD:5D:88
  64. Bit Rate:150 Mb/s Sensitivity:0/0
  65. Retry:off RTS thr:off Fragment thr:off
  66. Power Management:off
  67. Link Quality=100/100 Signal level=100/100 Noise level=0/100
  68. Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
  69. Tx excessive retries:0 Invalid misc:0 Missed beacon:0
  70.  
  71.  
  72. ======================================== arp on desktop =====================
  73. peter@OFFICE ~/.ssh arp -a
  74. ? (192.168.1.2) at 00:19:5b:ed:5b:2a [ether] on eth1
  75. ? (192.168.1.1) at 60:a4:4c:dd:5d:88 [ether] on eth1
  76. ? (192.168.1.3) at e0:69:95:91:62:50 [ether] on eth1
  77. ? (192.168.1.4) at e0:69:95:91:62:50 [ether] on eth1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement