Skip to content

Instantly share code, notes, and snippets.

@brunneis
Last active July 26, 2021 11:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunneis/bbb6f0bf4b8a734fc3d0c433eac0b649 to your computer and use it in GitHub Desktop.
Save brunneis/bbb6f0bf4b8a734fc3d0c433eac0b649 to your computer and use it in GitHub Desktop.
Fix MMVV Práctica de Seguridad en Redes

1. Editar archivo /etc/network/interfaces

Añadir auto eth0 tras el fragmento:

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
auto eth0

Si aparece la interfaz eth1 en lugar de eth0, añadir auto eth1.

2. Relanzar el demonio de red y comprobar que la interfaz ya está habilitada

nohup /etc/init.d/networking restart &
ifconfig

3. Si la interfaz sigue sin aparecer, cambiar el nombre de la interfaz a eth1 o eth0 según corresponda (hay 3 apariciones):

# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
auto eth1

Volver a ejecutar el paso 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment