Gebruik een eigen router i.p.v. de Experia Box



Toon eerste bericht

1001 reacties

Reputatie 1
@wjb Stap voor stap, regel 54 miste een " daarna zie putty.log

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 16:22:18 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 16:22:16:671] login as: ubnt
[30/12/18 - 16:22:21:792] Welcome to EdgeOS
[30/12/18 - 16:22:21:792]
[30/12/18 - 16:22:21:792] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 16:22:21:793] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 16:22:21:794] License Agreement (available in the Web UI at, by default,
[30/12/18 - 16:22:21:794] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 16:22:21:795]
[30/12/18 - 16:22:21:795] ubnt@192.168.1.1's password:
[30/12/18 - 16:22:25:257] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 16:22:25:257] Welcome to EdgeOS
[30/12/18 - 16:22:25:514] ubnt@ubnt:~$
ubnt@ubnt:~$ show version
[30/12/18 - 16:22:32:731] =
[30/12/18 - 16:22:32:749] Version: v1.10.8
[30/12/18 - 16:22:32:749] Build ID: 5142440
[30/12/18 - 16:22:32:750] Build on: 11/20/18 16:45
[30/12/18 - 16:22:32:751] Copyright: 2012-2018 Ubiquiti Networks, Inc.
[30/12/18 - 16:22:32:751] HW model: EdgeRouter Lite 3-Port
[30/12/18 - 16:22:32:752] HW S/N: 788A207F4675
[30/12/18 - 16:22:32:770] Uptime: 04:05:22 up 4 min, 1 user, load average: 0.07, 0.30, 0.16
[30/12/18 - 16:22:32:772]
>[30/12/18 - 16:22:32:773] ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 16:22:44:664] ubnt@ubnt:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 16:22:53:643] Het script copy-rfc3442-classless-routes wordt geïnstalleerd.
[30/12/18 - 16:22:53:673] De rfc3442-classless-routes worden geactiveerd.
[30/12/18 - 16:22:53:699]
[30/12/18 - 16:22:53:699] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 16:22:53:699] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 16:22:53:700] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 16:22:53:700] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 16:22:58:790] /config/user-data/KPN-Setup: line 57: syntax error near unexpected token `('
[30/12/18 - 16:22:58:790] /config/user-data/KPN-Setup: line 57: ` read -p "Heb je vaste telefonie bij KPN (j/n)?" jn'
[30/12/18 - 16:22:58:798] ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 16:29:02:699] ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
ubnt@ubnt:~$ [1@sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 16:29:06:173]
[30/12/18 - 16:29:06:174] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 16:29:06:175] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 16:29:06:176] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 16:29:06:177] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 16:29:09:359] Heb je vaste telefonie bij KPN (j/n)?j
[30/12/18 - 16:29:12:053] De configuratie van de LAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 16:29:12:343] Nothing to delete (the specified node does not exist)
[30/12/18 - 16:29:19:692] [ interfaces ethernet eth1 address dhcp ]
[30/12/18 - 16:29:19:692] Stopping DHCP client on eth1 ...
[30/12/18 - 16:29:19:817]
[30/12/18 - 16:29:21:411] [ interfaces ethernet eth2 vif 7 bridge-group ]
[30/12/18 - 16:29:21:411] Adding interface eth2.7 to bridge br0
[30/12/18 - 16:29:21:482]
[30/12/18 - 16:29:21:583] [ interfaces ethernet eth1 ipv6 router-advert ]
[30/12/18 - 16:29:21:583] Re-generating radvd config file for interface eth1...
[30/12/18 - 16:29:23:150] Starting radvd...
[30/12/18 - 16:29:23:279] Starting radvd: radvd.
[30/12/18 - 16:29:23:449]
[30/12/18 - 16:29:26:744] [ service ssh ]
[30/12/18 - 16:29:26:744] Starting the SSH service. Check /var/log/messages.
[30/12/18 - 16:29:26:805]
[30/12/18 - 16:29:26:936] [ service telnet ]
[30/12/18 - 16:29:26:936] Starting the telnet service. Check /var/log/messages.
[30/12/18 - 16:29:29:945]
[30/12/18 - 16:29:32:766] [ service dhcp-server ]
[30/12/18 - 16:29:32:767] Starting DHCP server daemon...
[30/12/18 - 16:29:35:030]
[30/12/18 - 16:29:39:393] : invalid character in domain name
[30/12/18 - 16:29:39:394]
[30/12/18 - 16:29:39:399] Value validation failed
[30/12/18 - 16:29:39:399] Set failed


@FredK2017 de laatste versie staat er reeds op. weet het ook niet. heb wat gespeeld met de IE security settings, maar kom niet verder.
Reputatie 1
Met uitsluitend de fabrieksinstellingen kun je wel inloggen?

Draait er op je pc op de achtergrond geen beveiligingssoftware die te strak is afgesteld? Norton o.i.d.
Reputatie 7
Het missende quotje in regel 54 heb ik gecorrigeerd.
Ik snap niet waar die "invalid character in domain name" melding vandaan komt, de domain-name settings zien er mijns inziens goed uit.
Kan jij in het configuratiebestand LAN-met-VoIP de twee regels waar de domain-name gezet wordt eens één voor één verwijderen en kijken of het script dan wel tot een succesvolle commit kan komen.
Reputatie 1
Neem, ook dan lukt het inloggen niet.
Ik draai bitdefender, maar krijg niet het idee dat die iets tegenhoud. Ga eens kijken of ik hem uit kan zetten.
Reputatie 3
Badge +2
Heeft even geduurd want moet tussendoor, maar eea geeft al minder meldingen:


Deze site kan geen beveiligde verbinding leveren
192.168.1.1/2.254 gebruikt een niet-ondersteund protocol
ERR_SSL_VERSION_OR_CIPHER_MISMATCH

De client en server ondersteunen geen algemene SSL-protocolversie of coderingssuite


In de browser even de S weghalen, dus niet https:// maar http://
Reputatie 1
Ook al geprobeerd, dan gaat hij toch maar https
Reputatie 3
Badge +2
Probeer het eens op een device waar je normaal niet via je browser inlogt, telefoon of andere laptop.
Ik had er ook last van toen ik van de EB terug ging naar de ER. (cache misschien)
Reputatie 1
Wel ja...... Heb bitdefender even helemaal uitgezet (zit toch niet op internet met deze pc want probeer alleen de router te configureren) en dan kan ik wel om de beveiliging van het missende certificaat heen komen. Wellicht toch idd iets met een cash van eerder toen er een ander apparaat op dit ip adres zat. Ooit een eigen router op 1.1 gehad en de EB op 2.254
Bedankt voor het meedenken
Reputatie 7
@Arthur71, heb je mijn vorige bericht gelezen?
Reputatie 1
@wjb wel had je berichtje gemist.

bedoel je deze:

set system domain-name thuis.local
set service dhcp-server shared-network-name Thuis subnet 192.168.2.0/24 domain-name thuis.local
Reputatie 7
Yep,
Ik zou het heel fijn vinden als jij het script zou willen draaien met
1) alleen de eerste regel verwijderd
2) alleen de tweede regel verwijderd
en als geen van beide succesvol ook nog met beide regels verwijderd.
Reputatie 1
Dit zijn de 3 resultaten:

Zonder 2e:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 17:51:33 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 17:51:31:850] login as: ubnt
[30/12/18 - 17:51:35:992] Welcome to EdgeOS
[30/12/18 - 17:51:35:993]
[30/12/18 - 17:51:35:993] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 17:51:35:993] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 17:51:35:994] License Agreement (available in the Web UI at, by default,
[30/12/18 - 17:51:35:994] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 17:51:35:995]
[30/12/18 - 17:51:35:995] ubnt@192.168.1.1's password:
[30/12/18 - 17:51:37:777] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 17:51:37:778] Welcome to EdgeOS
[30/12/18 - 17:51:37:778] Last login: Thu Jan 1 06:29:56 2015 from 192.168.1.2

[30/12/18 - 17:51:38:000] ubnt@ubnt:~$
ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 17:52:15:114] ubnt@ubnt:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 17:52:24:403] Het script copy-rfc3442-classless-routes wordt ge?talleerd.
[30/12/18 - 17:52:24:431] De rfc3442-classless-routes worden geactiveerd.
[30/12/18 - 17:52:24:456]
[30/12/18 - 17:52:24:458] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 17:52:24:459] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 17:52:24:460] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 17:52:24:462] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 17:52:28:385] Heb je vaste telefonie bij KPN (j/n)?1 j
[30/12/18 - 17:52:31:510] De configuratie van de LAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 17:52:31:802] Nothing to delete (the specified node does not exist)
[30/12/18 - 17:52:39:248] [ interfaces ethernet eth1 address dhcp ]
[30/12/18 - 17:52:39:248] Stopping DHCP client on eth1 ...
[30/12/18 - 17:52:39:402]
[30/12/18 - 17:52:40:970] [ interfaces ethernet eth2 vif 7 bridge-group ]
[30/12/18 - 17:52:40:971] Adding interface eth2.7 to bridge br0
[30/12/18 - 17:52:41:042]
[30/12/18 - 17:52:41:143] [ interfaces ethernet eth1 ipv6 router-advert ]
[30/12/18 - 17:52:41:144] Re-generating radvd config file for interface eth1...
[30/12/18 - 17:52:42:617] Starting radvd...
[30/12/18 - 17:52:42:732] Starting radvd: radvd.
[30/12/18 - 17:52:42:890]
[30/12/18 - 17:52:46:196] [ service ssh ]
[30/12/18 - 17:52:46:196] Starting the SSH service. Check /var/log/messages.
[30/12/18 - 17:52:46:257]
[30/12/18 - 17:52:46:388] [ service telnet ]
[30/12/18 - 17:52:46:388] Starting the telnet service. Check /var/log/messages.
[30/12/18 - 17:52:49:397]
[30/12/18 - 17:52:52:161] [ service dhcp-server ]
[30/12/18 - 17:52:52:161] Starting DHCP server daemon...
[30/12/18 - 17:52:54:342]
[30/12/18 - 17:52:58:846] : invalid character in domain name
[30/12/18 - 17:52:58:850]
[30/12/18 - 17:52:58:855] Value validation failed
[30/12/18 - 17:52:58:855] Set failed

--------------
Zonder 1st:

[30/12/18 - 17:58:26:810] login as: ubnt
[30/12/18 - 17:58:30:331] Welcome to EdgeOS
[30/12/18 - 17:58:30:332]
[30/12/18 - 17:58:30:332] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 17:58:30:333] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 17:58:30:335] License Agreement (available in the Web UI at, by default,
[30/12/18 - 17:58:30:335] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 17:58:30:336]
[30/12/18 - 17:58:30:336] ubnt@192.168.1.1's password:
[30/12/18 - 17:58:32:494] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 17:58:32:495] Welcome to EdgeOS
[30/12/18 - 17:58:32:884] ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 17:59:55:396] ubnt@ubnt:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 18:00:03:131] Het script copy-rfc3442-classless-routes wordt geïnstalleerd.
[30/12/18 - 18:00:03:160] De rfc3442-classless-routes worden geactiveerd.
[30/12/18 - 18:00:03:185]
[30/12/18 - 18:00:03:186] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 18:00:03:187] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 18:00:03:188] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 18:00:03:190] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 18:00:05:641] Heb je vaste telefonie bij KPN (j/n)?j
[30/12/18 - 18:00:07:756] De configuratie van de LAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 18:00:08:046] Nothing to delete (the specified node does not exist)
[30/12/18 - 18:00:15:345] [ interfaces ethernet eth1 address dhcp ]
[30/12/18 - 18:00:15:345] Stopping DHCP client on eth1 ...
[30/12/18 - 18:00:15:489]
[30/12/18 - 18:00:17:160] [ interfaces ethernet eth2 vif 7 bridge-group ]
[30/12/18 - 18:00:17:160] Adding interface eth2.7 to bridge br0
[30/12/18 - 18:00:17:231]
[30/12/18 - 18:00:17:332] [ interfaces ethernet eth1 ipv6 router-advert ]
[30/12/18 - 18:00:17:333] Re-generating radvd config file for interface eth1...
[30/12/18 - 18:00:18:846] Starting radvd...
[30/12/18 - 18:00:18:961] Starting radvd: radvd.
[30/12/18 - 18:00:19:121]
[30/12/18 - 18:00:22:467] [ service ssh ]
[30/12/18 - 18:00:22:467] Starting the SSH service. Check /var/log/messages.
[30/12/18 - 18:00:22:526]
[30/12/18 - 18:00:22:653] [ service telnet ]
[30/12/18 - 18:00:22:653] Starting the telnet service. Check /var/log/messages.
[30/12/18 - 18:00:25:663]
[30/12/18 - 18:00:28:503] [ service dhcp-server ]
[30/12/18 - 18:00:28:504] Starting DHCP server daemon...
[30/12/18 - 18:00:30:660]
[30/12/18 - 18:00:47:152] [ system login ]
[30/12/18 - 18:00:47:152] Attempting to delete current user: ubnt
[30/12/18 - 18:00:47:153]
[30/12/18 - 18:00:48:280] [ system ntp ]
[30/12/18 - 18:00:48:280] Stopping NTP server: ntpd.
[30/12/18 - 18:00:50:395] Starting NTP server: ntpd.
[30/12/18 - 18:00:50:444]
[30/12/18 - 18:00:51:858] Commit failed
[30/12/18 - 18:00:54:111] Saving configuration to '/config/config.boot'...
[30/12/18 - 18:00:54:606] Done
[30/12/18 - 18:00:54:626] De configuratie van de LAN zijde van jouw EdgeRouter is klaar.
[30/12/18 - 18:00:54:626] Sluit deze telnet/ssh sessie en sluit de PC aan op eth1.
[30/12/18 - 18:00:54:627] Open een telnet/ssh sessie naar het LAN IP adres van de EdgeRouter (192.168.2.254).
[30/12/18 - 18:00:54:627] Login als gebruiker admin (wachtwoord is admin).
[30/12/18 - 18:00:54:627]
[30/12/18 - 18:00:54:627] Start opnieuw het configuratiescript voor het configureren van de WAN zijde met sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 18:00:54:633] ubnt@ubnt:~$

-----------

Zonder beide:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 19:06:12 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 19:06:11:325] login as: ubnt
[30/12/18 - 19:06:14:997] Welcome to EdgeOS
[30/12/18 - 19:06:14:998]
[30/12/18 - 19:06:14:998] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 19:06:14:998] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 19:06:14:999] License Agreement (available in the Web UI at, by default,
[30/12/18 - 19:06:14:999] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 19:06:15:000]
[30/12/18 - 19:06:15:000] ubnt@192.168.1.1's password:
[30/12/18 - 19:06:17:742] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 19:06:17:742] Welcome to EdgeOS
[30/12/18 - 19:06:18:005] ubnt@ubnt:~$
ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 19:06:21:793] ubnt@ubnt:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 19:06:28:482] Het script copy-rfc3442-classless-routes wordt geïnstalleerd.
[30/12/18 - 19:06:28:509] De rfc3442-classless-routes worden geactiveerd.
[30/12/18 - 19:06:28:538]
[30/12/18 - 19:06:28:538] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 19:06:28:538] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 19:06:28:539] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 19:06:28:539] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 19:06:31:315] Heb je vaste telefonie bij KPN (j/n)?j
[30/12/18 - 19:06:33:699] De configuratie van de LAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 19:06:34:003] Nothing to delete (the specified node does not exist)
[30/12/18 - 19:06:41:527] [ interfaces ethernet eth1 address dhcp ]
[30/12/18 - 19:06:41:527] Stopping DHCP client on eth1 ...
[30/12/18 - 19:06:41:640]
[30/12/18 - 19:06:43:218] [ interfaces ethernet eth2 vif 7 bridge-group ]
[30/12/18 - 19:06:43:218] Adding interface eth2.7 to bridge br0
[30/12/18 - 19:06:43:290]
[30/12/18 - 19:06:43:391] [ interfaces ethernet eth1 ipv6 router-advert ]
[30/12/18 - 19:06:43:391] Re-generating radvd config file for interface eth1...
[30/12/18 - 19:06:44:888] Starting radvd...
[30/12/18 - 19:06:45:003] Starting radvd: radvd.
[30/12/18 - 19:06:45:165]
[30/12/18 - 19:06:48:425] [ service ssh ]
[30/12/18 - 19:06:48:425] Starting the SSH service. Check /var/log/messages.
[30/12/18 - 19:06:48:481]
[30/12/18 - 19:06:48:610] [ service telnet ]
[30/12/18 - 19:06:48:610] Starting the telnet service. Check /var/log/messages.
[30/12/18 - 19:06:51:620]
[30/12/18 - 19:06:54:416] [ service dhcp-server ]
[30/12/18 - 19:06:54:416] Starting DHCP server daemon...
[30/12/18 - 19:06:56:596]
[30/12/18 - 19:07:13:108] [ system login ]
[30/12/18 - 19:07:13:108] Attempting to delete current user: ubnt
[30/12/18 - 19:07:13:123]
[30/12/18 - 19:07:14:225] [ system ntp ]
[30/12/18 - 19:07:14:225] Stopping NTP server: ntpd.
[30/12/18 - 19:07:16:341] Starting NTP server: ntpd.
[30/12/18 - 19:07:16:389]
[30/12/18 - 19:07:17:800] Commit failed
[30/12/18 - 19:07:20:115] Saving configuration to '/config/config.boot'...
[30/12/18 - 19:07:20:628] Done
[30/12/18 - 19:07:20:647] De configuratie van de LAN zijde van jouw EdgeRouter is klaar.
[30/12/18 - 19:07:20:647] Sluit deze telnet/ssh sessie en sluit de PC aan op eth1.
[30/12/18 - 19:07:20:648] Open een telnet/ssh sessie naar het LAN IP adres van de EdgeRouter (192.168.2.254).
[30/12/18 - 19:07:20:648] Login als gebruiker admin (wachtwoord is admin).
[30/12/18 - 19:07:20:648]
[30/12/18 - 19:07:20:648] Start opnieuw het configuratiescript voor het configureren van de WAN zijde met sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 19:07:20:654] ubnt@ubnt:~$
Reputatie 7
@Arthur71, zou je nog één keer van scratch af aan de configuratie willen doorvoeren op basis van het configuratiescript dat ik zojuist in het openingsbericht heb opgenomen.

Als het nu nog altijd niet werkt, dan zal ik echt mijn tweede EdgeRouter Lite 3 moeten gaan resetten want dan zal ik jou niet langer lastig willen vallen om mijn script te testen.
Reputatie 1
resultaat fase1 LAN:


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 20:19:20 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 20:19:19:223] login as: ubnt
[30/12/18 - 20:19:24:535] Welcome to EdgeOS
[30/12/18 - 20:19:24:535]
[30/12/18 - 20:19:24:535] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 20:19:24:536] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 20:19:24:537] License Agreement (available in the Web UI at, by default,
[30/12/18 - 20:19:24:537] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 20:19:24:538]
[30/12/18 - 20:19:24:538] ubnt@192.168.1.1's password:
[30/12/18 - 20:19:26:796] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 20:19:26:796] Welcome to EdgeOS
[30/12/18 - 20:19:27:059] ubnt@ubnt:~$ chmod 744 /config/user-data/KPN-Setup
[30/12/18 - 20:19:44:166] ubnt@ubnt:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 20:19:51:959] Het script copy-rfc3442-classless-routes wordt geïnstalleerd.
[30/12/18 - 20:19:51:988] De rfc3442-classless-routes worden geactiveerd.
[30/12/18 - 20:19:52:015]
[30/12/18 - 20:19:52:015] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 20:19:52:016] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 20:19:52:016] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 20:19:52:017] Welke fase van de configuratie moet worden uitgevoerd (1/2)?1
[30/12/18 - 20:19:54:655] Heb je vaste telefonie bij KPN (j/n)?j
[30/12/18 - 20:19:56:455] De configuratie van de LAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 20:19:56:743] Nothing to delete (the specified node does not exist)
[30/12/18 - 20:20:04:207] [ interfaces ethernet eth1 address dhcp ]
[30/12/18 - 20:20:04:208] Stopping DHCP client on eth1 ...
[30/12/18 - 20:20:04:315]
[30/12/18 - 20:20:05:968] [ interfaces ethernet eth2 vif 7 bridge-group ]
[30/12/18 - 20:20:05:968] Adding interface eth2.7 to bridge br0
[30/12/18 - 20:20:06:039]
[30/12/18 - 20:20:06:141] [ interfaces ethernet eth1 ipv6 router-advert ]
[30/12/18 - 20:20:06:141] Re-generating radvd config file for interface eth1...
[30/12/18 - 20:20:07:631] Starting radvd...
[30/12/18 - 20:20:07:745] Starting radvd: radvd.
[30/12/18 - 20:20:07:904]
[30/12/18 - 20:20:11:244] [ service ssh ]
[30/12/18 - 20:20:11:244] Starting the SSH service. Check /var/log/messages.
[30/12/18 - 20:20:11:297]
[30/12/18 - 20:20:11:432] [ service telnet ]
[30/12/18 - 20:20:11:432] Starting the telnet service. Check /var/log/messages.
[30/12/18 - 20:20:14:438]
[30/12/18 - 20:20:17:270] [ service dhcp-server ]
[30/12/18 - 20:20:17:270] Starting DHCP server daemon...
[30/12/18 - 20:20:19:540]
[30/12/18 - 20:20:24:517] Nothing to delete (the specified node does not exist)
[30/12/18 - 20:20:35:165] [ system ntp ]
[30/12/18 - 20:20:35:165] Stopping NTP server: ntpd.
[30/12/18 - 20:20:37:264] Starting NTP server: ntpd.
[30/12/18 - 20:20:37:311]
[30/12/18 - 20:20:40:540] Saving configuration to '/config/config.boot'...
[30/12/18 - 20:20:41:023] Done
[30/12/18 - 20:20:41:035] De configuratie van de LAN zijde van jouw EdgeRouter is klaar.
[30/12/18 - 20:20:41:035] Sluit deze telnet/ssh sessie en sluit de PC aan op eth1.
[30/12/18 - 20:20:41:035] Open een telnet/ssh sessie naar het LAN IP adres van de EdgeRouter (192.168.2.254).
[30/12/18 - 20:20:41:036] Start opnieuw het configuratiescript voor het configureren van de WAN zijde met sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 20:20:41:042] ubnt@ubnt:~$

Zijn die Nothing to delete (the specified node does not exist) acties wat je verwacht?

Kan ik verder met fase2?
Reputatie 7
Ja, je kan verder met fase 2.

Die meldingen dat er niets te verwijderen valt zijn prima.
Die verwijder opdrachten zijn er voor als je het script nog een tweede keer zou uitvoeren.
Reputatie 1
Helaas gaat die niet goed, fase2 WAN:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 20:29:57 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 20:29:56:492] login as: ubnt
[30/12/18 - 20:30:01:297] Welcome to EdgeOS
[30/12/18 - 20:30:01:297]
[30/12/18 - 20:30:01:297] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 20:30:01:298] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 20:30:01:298] License Agreement (available in the Web UI at, by default,
[30/12/18 - 20:30:01:299] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 20:30:01:299]
[30/12/18 - 20:30:01:300] ubnt@192.168.1.1's password:
[30/12/18 - 20:30:06:988] Linux Thuis 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 20:30:06:988] Welcome to EdgeOS
[30/12/18 - 20:30:06:988] Last login: Thu Jan 1 11:24:13 2015 from 192.168.2.1

[30/12/18 - 20:30:07:213] ubnt@Thuis:~$
ubnt@Thuis:~$ ls -ltr
[30/12/18 - 20:30:12:244] total 0
[30/12/18 - 20:30:12:246] ubnt@Thuis:~$ pwd
[30/12/18 - 20:30:13:763] /home/ubnt
[30/12/18 - 20:30:13:764] ubnt@Thuis:~$ ` sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 20:31:07:381]
[30/12/18 - 20:31:07:382] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 20:31:07:383] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 20:31:07:384] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 20:31:07:386] Welke fase van de configuratie moet worden uitgevoerd (1/2)?2
[30/12/18 - 20:31:11:246] Heb je vaste telefonie bij KPN (j/n)?j
[30/12/18 - 20:31:16:905] De configuratie van de WAN zijde van jouw EdgeRouter is gestart.
[30/12/18 - 20:31:17:199] Nothing to delete (the specified node does not exist)
[30/12/18 - 20:31:34:411] [ firewall ipv6-name WANv6_IN ]
[30/12/18 - 20:31:34:411] Unexpected static status [ipv6-name][WANv6_IN]
[30/12/18 - 20:31:34:482] Error: [sudo /sbin/ip6tables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:34:557] Iptables restore OK
[30/12/18 - 20:31:34:560]
[30/12/18 - 20:31:35:039] [ firewall name WAN_LOCAL ]
[30/12/18 - 20:31:35:039] Unexpected static status [name][WAN_LOCAL]
[30/12/18 - 20:31:35:110] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:35:191] Iptables restore OK
[30/12/18 - 20:31:35:193]
[30/12/18 - 20:31:35:676] [ firewall name WAN_IN ]
[30/12/18 - 20:31:35:676] Unexpected static status [name][WAN_IN]
[30/12/18 - 20:31:35:747] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:35:839] Iptables restore OK
[30/12/18 - 20:31:35:839]
[30/12/18 - 20:31:36:329] [ firewall ipv6-name WANv6_LOCAL ]
[30/12/18 - 20:31:36:329] Unexpected static status [ipv6-name][WANv6_LOCAL]
[30/12/18 - 20:31:36:399] Error: [sudo /sbin/ip6tables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:36:473] Iptables restore OK
[30/12/18 - 20:31:36:483]
[30/12/18 - 20:31:36:483] Commit failed
[30/12/18 - 20:31:43:528] Warning: priority inversion [interfaces ethernet eth0 vif 6 pppoe 0 ipv6 address](400) /tmp/iptables.out] = 256
[30/12/18 - 20:31:43:953] Iptables restore OK
[30/12/18 - 20:31:43:953]
[30/12/18 - 20:31:44:438] [ firewall name WAN_LOCAL ]
[30/12/18 - 20:31:44:439] Unexpected static status [name][WAN_LOCAL]
[30/12/18 - 20:31:44:506] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:44:590] Iptables restore OK
[30/12/18 - 20:31:44:590]
[30/12/18 - 20:31:45:070] [ firewall name WAN_IN ]
[30/12/18 - 20:31:45:070] Unexpected static status [name][WAN_IN]
[30/12/18 - 20:31:45:141] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:45:222] Iptables restore OK
[30/12/18 - 20:31:45:224]
[30/12/18 - 20:31:45:714] [ firewall ipv6-name WANv6_LOCAL ]
[30/12/18 - 20:31:45:715] Unexpected static status [ipv6-name][WANv6_LOCAL]
[30/12/18 - 20:31:45:786] Error: [sudo /sbin/ip6tables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 20:31:45:864] Iptables restore OK
[30/12/18 - 20:31:45:868]
Reputatie 7
Hmmm, hier moet ik eens rustig over nadenken.
Ik denk dat als je de stappen uit fase 2 handmatig (met copy/paste) binnen putty zou uitvoeren dat deze dan wel goed gaan.
Zou je dat eens willen doen?
De configuratie van de LAN zijde lijkt goed afgerond te zijn.
Reputatie 1
tot en met de eerste commit:


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.30 21:28:57 =~=~=~=~=~=~=~=~=~=~=~=
[30/12/18 - 21:28:56:287] login as: ubnt
[30/12/18 - 21:29:02:635] Welcome to EdgeOS
[30/12/18 - 21:29:02:635]
[30/12/18 - 21:29:02:635] By logging in, accessing, or using the Ubiquiti product, you
[30/12/18 - 21:29:02:636] acknowledge that you have read and understood the Ubiquiti
[30/12/18 - 21:29:02:636] License Agreement (available in the Web UI at, by default,
[30/12/18 - 21:29:02:637] http://192.168.1.1) and agree to be bound by its terms.
[30/12/18 - 21:29:02:637]
[30/12/18 - 21:29:02:637] ubnt@192.168.2.254's password:
[30/12/18 - 21:29:04:830] Linux ubnt 3.10.107-UBNT #1 SMP Tue Nov 20 17:01:37 UTC 2018 mips64
[30/12/18 - 21:29:04:830] Welcome to EdgeOS
[30/12/18 - 21:29:04:830] Last login: Thu Jan 1 13:16:46 2015 from 192.168.1.2

[30/12/18 - 21:29:05:055] ubnt@Thuis:~$ sudo su -c /config/user-data/KPN-Setup
[30/12/18 - 21:29:12:800]
[30/12/18 - 21:29:12:801] Configuratiescript om jouw EdgeRouter voor het KPN netwerk te configureren.
[30/12/18 - 21:29:12:802] In fase 1 van de configuratie wordt de LAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 21:29:12:804] In fase 2 van de configuratie wordt de WAN zijde van de EdgeRouter geconfigureerd.
[30/12/18 - 21:29:12:805] Welke fase van de configuratie moet worden uitgevoerd (1/2)?2
[30/12/18 - 21:29:14:593] Heb je vaste telefonie bij KPN (j/n)?^C
[30/12/18 - 21:29:17:967] Session terminated, terminating shell... ...terminated.
[30/12/18 - 21:29:17:970]
[30/12/18 - 21:29:17:970] ubnt@Thuis:~$ #!/bin/vbash
[30/12/18 - 21:29:58:187] ubnt@Thuis:~$ source /opt/vyatta/etc/functions/script-template
[30/12/18 - 21:30:08:452] ubnt@Thuis:~$
ubnt@Thuis:~$
ubnt@Thuis:~$ configure
[30/12/18 - 21:30:25:698] ubnt@Thuis:~$ delete firewall
[30/12/18 - 21:30:31:277] Nothing to delete (the specified node does not exist)
[30/12/18 - 21:30:31:280] ubnt@Thuis:~$ set firewall all-ping enable
[30/12/18 - 21:30:39:336] ubnt@Thuis:~$ set firewall broadcast-ping disable
[30/12/18 - 21:30:43:152] ubnt@Thuis:~$ set firewall ipv6-receive-redirects disable
[30/12/18 - 21:30:46:926] ubnt@Thuis:~$ set firewall ipv6-src-route disable
[30/12/18 - 21:30:50:854] ubnt@Thuis:~$ set firewall ip-src-route disable
[30/12/18 - 21:30:55:356] ubnt@Thuis:~$ set firewall log-martians enable
[30/12/18 - 21:31:10:107] ubnt@Thuis:~$ set firewall receive-redirects disable
[30/12/18 - 21:31:14:830] ubnt@Thuis:~$ set firewall send-redirects enable
[30/12/18 - 21:31:18:485] ubnt@Thuis:~$ set firewall source-validation disable
[30/12/18 - 21:31:21:958] ubnt@Thuis:~$ set firewall syn-cookies enable
[30/12/18 - 21:31:25:749] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN default-action drop
[30/12/18 - 21:31:30:501] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN description 'WAN IPv6 naar Inte
[30/12/18 - 21:31:34:592]
rn'
[30/12/18 - 21:31:34:783] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN enable-default-log
[30/12/18 - 21:31:44:364] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 10 action accept
[30/12/18 - 21:31:48:273] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 10 description 'Allow esta
[30/12/18 - 21:31:51:281]
blished/related'
[30/12/18 - 21:31:51:474] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 10 state established enabl
[30/12/18 - 21:31:55:656]
e
[30/12/18 - 21:31:55:856] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 10 state related enable
[30/12/18 - 21:32:00:379] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 20 action drop
[30/12/18 - 21:32:04:370] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 20 description 'Drop inval
[30/12/18 - 21:32:08:060]
id state'
[30/12/18 - 21:32:08:253] ubnt@Thuis:~$ set firewall ipv6-name WANv6_IN rule 20 state invalid enable
[30/12/18 - 21:32:13:647] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL default-action drop
[30/12/18 - 21:32:20:299] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL description 'WAN IPv6 naar R
[30/12/18 - 21:32:23:632]
outer'
[30/12/18 - 21:32:23:822] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL enable-default-log
[30/12/18 - 21:32:28:691] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 10 action accept
[30/12/18 - 21:32:32:470] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 10 description 'Allow e
[30/12/18 - 21:32:35:641]
stablished/related'
[30/12/18 - 21:32:35:835] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 10 state established en
[30/12/18 - 21:32:40:343]
able
[30/12/18 - 21:32:40:543] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 10 state related enable
[30/12/18 - 21:32:45:744]
ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 10 state related enable
[30/12/18 - 21:32:45:938] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 20 action drop
[30/12/18 - 21:32:49:595] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 20 description 'Drop in
[30/12/18 - 21:32:52:937]
valid state'
[30/12/18 - 21:32:53:130] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 20 state invalid enable
[30/12/18 - 21:32:59:351]
ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 20 state invalid enable
[30/12/18 - 21:32:59:551] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 30 action accept
[30/12/18 - 21:33:03:459] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 30 description 'Allow I
[30/12/18 - 21:33:07:520]
Pv6 icmp'
[30/12/18 - 21:33:07:714] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 30 protocol ipv6-icmp
[30/12/18 - 21:33:12:395] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 action accept
[30/12/18 - 21:33:16:398] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 description 'allow d
[30/12/18 - 21:33:21:568]
hcpv6'
[30/12/18 - 21:33:21:762] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 destination port 546
[30/12/18 - 21:33:25:295]
ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 destination port 546
[30/12/18 - 21:33:25:495] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 protocol udp
[30/12/18 - 21:33:29:337] ubnt@Thuis:~$ set firewall ipv6-name WANv6_LOCAL rule 40 source port 547
[30/12/18 - 21:33:39:960] ubnt@Thuis:~$ set firewall name WAN_IN default-action drop
[30/12/18 - 21:33:46:321] ubnt@Thuis:~$ set firewall name WAN_IN description 'WAN naar Intern'
[30/12/18 - 21:33:56:182] ubnt@Thuis:~$ set firewall name WAN_IN enable-default-log
[30/12/18 - 21:34:02:051] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 action accept
[30/12/18 - 21:34:05:842] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 description 'Allow established
[30/12/18 - 21:34:09:488]
/related'
[30/12/18 - 21:34:09:681] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 log enable
[30/12/18 - 21:34:14:089] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 protocol all
[30/12/18 - 21:34:18:262] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 state established enable
[30/12/18 - 21:34:22:063] ubnt@Thuis:~$ set firewall name WAN_IN rule 10 state related enable
[30/12/18 - 21:34:26:105] ubnt@Thuis:~$ set firewall name WAN_IN rule 20 action drop
[30/12/18 - 21:34:30:916] ubnt@Thuis:~$ set firewall name WAN_IN rule 20 description 'Drop invalid stat
[30/12/18 - 21:34:36:032]
e'
[30/12/18 - 21:34:36:226] ubnt@Thuis:~$ set firewall name WAN_IN rule 20 log enable
[30/12/18 - 21:34:40:682] ubnt@Thuis:~$ set firewall name WAN_IN rule 20 protocol all
[30/12/18 - 21:34:44:164] ubnt@Thuis:~$ set firewall name WAN_IN rule 20 state invalid enable
[30/12/18 - 21:34:48:014] ubnt@Thuis:~$ set firewall name WAN_LOCAL default-action drop
[30/12/18 - 21:34:51:652] ubnt@Thuis:~$ set firewall name WAN_LOCAL description 'WAN naar Router'
[30/12/18 - 21:34:55:510] ubnt@Thuis:~$ set firewall name WAN_LOCAL enable-default-log
[30/12/18 - 21:34:58:547] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 action accept
[30/12/18 - 21:35:03:729] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 description 'Allow establis
[30/12/18 - 21:35:07:473]
hed/related'
[30/12/18 - 21:35:07:665] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 log disable
[30/12/18 - 21:35:13:184] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 protocol all
[30/12/18 - 21:35:18:244] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 state established enable
[30/12/18 - 21:35:21:592] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 state invalid disable
[30/12/18 - 21:35:25:378] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 state new disable
[30/12/18 - 21:35:29:249] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 10 state new disable
[30/12/18 - 21:35:33:002] The specified configuration node already exists
[30/12/18 - 21:35:33:005] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 action drop
[30/12/18 - 21:36:14:380] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 description 'Drop invalid s
[30/12/18 - 21:36:19:607]
tate'
[30/12/18 - 21:36:19:801] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 log disable
[30/12/18 - 21:36:25:528] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 protocol all
[30/12/18 - 21:36:29:924] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 state established disable
[30/12/18 - 21:36:34:583] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 state invalid enable
[30/12/18 - 21:36:40:433] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 state new disable
[30/12/18 - 21:36:45:049] ubnt@Thuis:~$ set firewall name WAN_LOCAL rule 20 state related disable
[30/12/18 - 21:36:49:561] ubnt@Thuis:~$ commit
[30/12/18 - 21:36:57:982] [ firewall ipv6-name WANv6_IN ]
[30/12/18 - 21:36:57:982] Unexpected static status [ipv6-name][WANv6_IN]
[30/12/18 - 21:36:58:059] Error: [sudo /sbin/ip6tables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 21:36:58:135] Iptables restore OK
[30/12/18 - 21:36:58:137]
[30/12/18 - 21:36:58:622] [ firewall name WAN_LOCAL ]
[30/12/18 - 21:36:58:622] Unexpected static status [name][WAN_LOCAL]
[30/12/18 - 21:36:58:696] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 21:36:58:780] Iptables restore OK
[30/12/18 - 21:36:58:782]
[30/12/18 - 21:36:59:264] [ firewall name WAN_IN ]
[30/12/18 - 21:36:59:264] Unexpected static status [name][WAN_IN]
[30/12/18 - 21:36:59:337] Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 21:36:59:421] Iptables restore OK
[30/12/18 - 21:36:59:424]
[30/12/18 - 21:36:59:914] [ firewall ipv6-name WANv6_LOCAL ]
[30/12/18 - 21:36:59:914] Unexpected static status [ipv6-name][WANv6_LOCAL]
[30/12/18 - 21:36:59:988] Error: [sudo /sbin/ip6tables-restore -n -v 2> /tmp/iptables.out] = 256
[30/12/18 - 21:37:00:069] Iptables restore OK
[30/12/18 - 21:37:00:069]
[30/12/18 - 21:37:00:069] Commit failed
[30/12/18 - 21:37:01:542] ubnt@Thuis:~$
Reputatie 7
Dank je voor het testen.
Dat betekent helaas dat ik morgen mijn tweede EdgeRouter Lite 3, na het maken van een backup van de configuratie, een factory reset zal geven om te analyseren waarom dit niet geaccepteerd wordt.
Als ik vanuit mijn huidige configuratie dit gedeelte laat genereren dan resulteert dat in 100% dezelfde commando's dus zou je verwachten dat dit gewoon goed zou moeten werken.
Helaas is de praktijk blijkbaar weerbarstiger.
Reputatie 1
Had ik dichterbij gewoond had ik mijn router wel even gebracht om als test object te gebruiken.
Reputatie 7
Ach, die backup is zo gemaakt en ook zo weer teruggezet.
Ik denk er zelfs over om gewoon de config.boot na de initiële configuratie te kopiëren en die als "installatiescript" te gaan gebruiken.
Dat zou betekenen dat de installatie op jouw EdgeRouter niet meer zal behelzen dan het kopiëren van drie bestanden en het rebooten van de EdgeRouter.
Reputatie 3
Badge +2
All,

Ik zie dat mijn goed bedoelde opmerkingen tussen al het test geweld misschien niet zijn opgevallen maar wilde toch nog een opmerking kwijt.
Ik ben al 2 jaar aan het testen met de ER en begonnen met het script van kriegsman.io. In het begin werkte dit niet meteen feilloos gezien er geen default thuisnetwerken bestaan en ieder zijn eigen apparatuur heeft aangesloten.
Uiteraard heb ik met de eerste installatie het script van kriegsman op de letter nauwkeurig uitgevoerd wat resulteerde in een werkende internet verbinding met een haperende TV. Toen heb ik de installatie nogmaals gedaan zonder ipv6, simpelweg gezien de ipv4 adressen en complicaties makkelijker te achterhalen zijn dan ipv6 adressen en omdat niet alle apparatuur in mijn netwerk kon omgaan met ipv6. Dit werkte een half jaar prima en toen begon bij mij de hapernde tv weer, en weer terug naar de EB en wachten op een goed moment voor verder te testen.

Ik zou dus eerst een werkende ipv4 verbinding opzetten en daarna pas alle regels m.b.t. ipv6 inspoelen.

@Arthur71
Gezien je toch aan het testen bent, kan je misschien het script van kriegsman.io eens inspoelen m.u.v. het ipv6 gedeelte en kijken wat er dan gebeurt. (volg wel elke stap m.b.t. het inspoelen en hoe je het moet doen, putty en het moment van omschakelen tussen oth0 en eth1).

@wjb

Ik wil ook met alle liefde vd week mijn edge resetten en je script inspoelen, kijken wat er bij mij gebeurt.

Cheers Ed
Reputatie 7
Bij @Arthur71 is de configuratie van de LAN zijde ondertussen succesvol geweest, inclusief IPv6, dus daar hoeven we niet meer naar te kijken.
Het gaat puur nog om de configuratie van de WAN zijde waarbij het definiëren van de firewall nog roet in het eten lijkt te gooien. Uiteraard is de definitie van de firewall wel een cruciale stap in het geheel, maar ook daar verwacht ik dat de oplossing zeer nabij is.

Mijn doelstelling is om de initiële configuratie zo eenvoudig mogelijk te houden waarbij je dus niet met copy/paste de configuratie opdrachten handmatig moet gaan uitvoeren, maar gewoon door een scriptje te draaien die de configuratie voor je verzorgt.
Reputatie 3
Badge +2
Oke, als ik wat moet doen m.b.t. het testen dan hoor ik het wel. Morgen niet😉 dan ben ik waarschijnlijk niet in staat om überhaupt iets zinnigs bij te dragen.

Alvast fijne jaarwisseling en keep up the good work👏

Cheers Ed
Reputatie 1
@WJB,
als je mijn medewerking nodig hebt om e.e.a. uit te testen verneem ik dat graag.

Reageer