sudo su -
mcedit /etc/NetworkManager/NetworkManager.conf
cambiar "managed=true" a "managed=false".
service network-manager restart
sudo gedit /etc/network/interfaces
ejemplo
# The loopback network interface auto lo iface lo inet loopback # Set the wired NIC to automatically start in DHCP mode auto eth0 iface eth0 inet dhcp # Set the wireless NIC to auto start in ad-hoc mode auto wlan0 iface wlan0 inet static address 10.11.12.1 netmask 255.255.255.0 wireless-essid pharos wireless-mode ad-hoc wireless-channel 1 wireless-key off
otro ejemplo
# The following were already part of the config file auto lo iface lo inet loopback # Set static IP address auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 127.0.0.1 dns-search hsddd1.il.comddcast.org
sudo /etc/init.d/networking restart
No hay comentarios:
Publicar un comentario