This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is used to change the default configuration of Realtek USB ethernet adapters | |
ACTION!="add", GOTO="usb_realtek_net_end" | |
SUBSYSTEM!="usb", GOTO="usb_realtek_net_end" | |
ENV{DEVTYPE}!="usb_device", GOTO="usb_realtek_net_end" | |
# Modify this to change the default value | |
ENV{REALTEK_MODE1}="1" | |
ENV{REALTEK_MODE2}="3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
[Unit] | |
Description=Vigilante Bridge Ethernet con Norte | |
Wants=network-online.target internet_wait.service | |
After=network-online.target internet_wait.service | |
[Service] | |
Type=simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
[Unit] | |
Description=Vigila y activa el tunel ethernet bridge con Norte | |
[Timer] | |
# Cuanto espero tras el boot para ejecutar por primera vez | |
OnBootSec=1min | |
# Tiempo entre ejecuciones |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/default/watch_eth_bridge_con_sur | |
# Fichero de configuración para watch_eth_bridge_xxxxx.service | |
# | |
# Un ejemplo de caso de uso está descrito en este apunte: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# Opciones watch_eth_bridge.sh | |
# -l <name> Nombre DNS Público del este host (i.e. sur.midominio.com) | |
# -r <name> Nombre DNS Público del host remoto (i.e. norte.midominio.com) | |
# -b <interface> Nombre del interfaz utilizado para montar el BRIDGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Vigilante Bridge Ethernet con Sur | |
Wants=network-online.target internet_wait.service | |
After=network-online.target internet_wait.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/watch_eth_bridge.sh $WATCH_ETH_BRIDGE_OPTS | |
EnvironmentFile=-/etc/default/watch_eth_bridge_con_sur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Vigila y activa el tunel ethernet bridge con Sur | |
[Timer] | |
# Cuanto espero tras el boot para ejecutar por primera vez | |
OnBootSec=1min | |
# Tiempo entre ejecuciones | |
OnUnitActiveSec=1min | |
# Nombre del servicio a ejecutar | |
Unit=watch_eth_bridge_con_sur.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## /root/firewall/sur_firewall_2_post_network.sh | |
## | |
## Script que configura iptables en un servidor Raspbian OS | |
## actuando de "norte" en este apunte: | |
## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
## | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## /root/firewall/sur_firewall_2_post_network.sh | |
## | |
## Script que configura iptables en un servidor Raspbian OS | |
## | |
## Este fichero está relacionado con este apunte: | |
## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script que verifica que la configuracion de la red es correcta, | |
# que hay conectividad con internet, prueba servicios, etc. | |
# | |
# Copyright (C) 2006 Luis Palacios | |
# | |
# Variables de trabajo | |
temporal=/tmp/temp-parchis-verifica.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## /root/firewall/norte_firewall_1_pre_network.sh | |
## | |
## Script que configura iptables en un servidor Raspbian OS | |
## que actúa como "norte" en este apunte: | |
## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
## | |
## |