Teología 101

Porque no es tan difícil...

Herramientas de usuario

Herramientas del sitio


configs

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
configs [2020/04/17 16:31] – [ip command] gregkedroconfigs [2020/04/17 16:49] (actual) gregkedro
Línea 368: Línea 368:
 **Debian Method** (as root): **Debian Method** (as root):
 <code> <code>
-/etc/init.d/networking restart Restart network interface, or stop/start...  +/etc/init.d/networking restart Restarts network interfaces, or stop/start...  
-/etc/init.d/networking stop     # Stops network interface +/etc/init.d/networking stop     # Stops network interfaces 
-/etc/init.d/networking start    # Starts network interface+/etc/init.d/networking start    # Starts network interfaces
  
 systemctl restart networking    # For those with lovely systemd systemctl restart networking    # For those with lovely systemd
Línea 397: Línea 397:
 **Usage of the** ''ip'' **command:** **Usage of the** ''ip'' **command:**
   * If your distro did not install ifconfig, you can install it in Debian with ''apt install net-tools''.   * If your distro did not install ifconfig, you can install it in Debian with ''apt install net-tools''.
-  * Or you can use the horridly ugly syntax for ''ip'' (complex and hard-to-understand help can be found [[https://www.howtogeek.com/657911/how-to-use-the-ip-command-on-linux/|here]]).+  * Or you can use the horridly ugly syntax for ''ip'' (complex and hard-to-understand help can be found [[https://www.howtogeek.com/657911/how-to-use-the-ip-command-on-linux/|here]] or an easier-to-understand explanation [[https://www.tecmint.com/ip-command-examples/|here]]).
   * From the following example you will need to replace the IP and the interface with your own.   * From the following example you will need to replace the IP and the interface with your own.
  
Línea 416: Línea 416:
 </code> </code>
  
-Note: This will only set up your network for your current work session. You'll lose it on reboot.+**Note on Persistence:** This will only set up your network for your current work session. You'll lose it on reboot.
   * ''ip'' (like the old net-tools ''ifconfig'' stuff) interacts with ''/etc/network/interfaces'', so put all your network configuration information there and just up/down your network with these commands:    * ''ip'' (like the old net-tools ''ifconfig'' stuff) interacts with ''/etc/network/interfaces'', so put all your network configuration information there and just up/down your network with these commands: 
 +
 +<code>
 +/etc/init.d/networking restart  # Restarts network interfaces, or stop/start... 
 +/etc/init.d/networking stop     # Stops network interfaces
 +/etc/init.d/networking start    # Starts network interfaces
 +</code>
  
 ---- ----
configs.1587141082.txt.gz · Última modificación: 2020/04/17 16:31 por gregkedro