Configurar red por consola
De Reyesoft
Ver todas las interfaces arriba:
ifconfig
Ver todas las interfaces:
ifconfig -a
Para dar ABM las interfaces editamos /etc/network/interfaces
sudo vim /etc/network/interfaces
Ejemplo archivo interfaces:
auto lo iface lo inet loopback auto wlan0 iface wlan0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 wpa-driver wext wpa-ssid pablo@srtk.com wpa-ap-scan 1 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx iface eth1 inet static address 192.168.2.1 netmask 255.255.255.0 auto eth1
