Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #netstat -nr
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan1
- #ls /sys/class/net
- lo wlan0 wlan1
- #nano /etc/network/interfaces
- auto lo
- iface lo inet loopback
- iface wlan1 inet dhcp
- gateway 192.168.1.1
- wpa-ssid Home143
- wpa-psk rsrcload
- pre-up wpa_supplicant -d wext -i wlan1 -c /etc/wpa_supplicant/conf -B
- post-down killall wpa_supplicant
- auto eth0
- allow-hotplug eth0
- iface eth0 inet static
- address 192.168.2.10
- netmask 255.255.255.0
- gateway 192.168.2.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement