Advertisement
Guest User

Untitled

a guest
Sep 12th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #netstat -nr
  2. Kernel IP routing table
  3. Destination Gateway Genmask Flags MSS Window irtt Iface
  4. 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1
  5. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan1
  6.  
  7. #ls /sys/class/net
  8. lo wlan0 wlan1
  9.  
  10. #nano /etc/network/interfaces
  11. auto lo
  12. iface lo inet loopback
  13.  
  14. iface wlan1 inet dhcp
  15. gateway 192.168.1.1
  16. wpa-ssid Home143
  17. wpa-psk rsrcload
  18. pre-up wpa_supplicant -d wext -i wlan1 -c /etc/wpa_supplicant/conf -B
  19. post-down killall wpa_supplicant
  20.  
  21. auto eth0
  22. allow-hotplug eth0
  23. iface eth0 inet static
  24. address 192.168.2.10
  25. netmask 255.255.255.0
  26. gateway 192.168.2.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement