Comments (10)
I reverted the commit, please re-download the zip file and retry again.
This is a bug of the USG/controller and people will need to apply the MTU change AFTER they applied the configuration first. I will work on workaround for this issue.
Please let me know if the new download works @proddy
from usg-kpn-ftth.
Thanks, I'll test it tonight. So is the idea to try the new config file and then if it works manually adjust both the MTUs using the CLI, like set interfaces ethernet eth0 mtu 1512
for example? Or will that not persist?
from usg-kpn-ftth.
So after the config without the mtu you should be able to use the one with the mtu. Could you please test this?
from usg-kpn-ftth.
Without mtu it works, going back to the original config.gateway.json gives the same error
Apr 21 19:45:00 USG mcad: mcad[3205]: ace_reporter.reporter_handle_response(): commit errors, {"DELETE": {"failure": "0", "success": "1"}, "SESSION_ID": "8e71df6fa870b8807c925c409e", "SET": {"error": {"interfaces ethernet eth0 vif 6 mtu 1508": "MTU must be least than or equal to parent interface MTU\n\nValue validation failed\n"}, "failure": "1", "success": "1"}}#012
from usg-kpn-ftth.
@coolhva any idea how to get the MTU's fixed?
from usg-kpn-ftth.
Yes, a post config hook, just like I did for the VPN.
I need to consolidate the VPN with this post config hook for MTU so we only have one, and it should adapt for VPN automatically so I can make it more simple.
But, this takes time.
For the time being, please set the mtu with ssh and configure command. First eth0, then eth0 vif 6. Then commit and apply the json with the mtu.
from usg-kpn-ftth.
@proddy https://github.com/coolhva/usg-kpn-ftth/tree/kpn-aio
Download the zip, put the kpn.sh in /config/scripts/post-config.d, make it executable.
Restart the USG and then do a force provisioning. Please check (cat /var/log/kpn.log) that it changed the MTU.
Let me know!
from usg-kpn-ftth.
thanks! I did try using the adjusted config with the MTU's removed, and then adding them manually using the CLI like:
% configure
% set interfaces ethernet eth0 mtu 1512
% commit
but it didn't work.
So with this new branch, I'm still using the same config (with no MTU) and replacing setroutes.sh
with kpn.sh
?
from usg-kpn-ftth.
Yes, please try! Did you also use my setvpn script?
from usg-kpn-ftth.
I finally had a slot to test it (no wife or kids hogging the network), and used the latest kpn.sh from the master branch. And it works. nice job!
admin@USG:~$ cat /var/log/kpn.log
[kpn.sh] Executed at Mon May 3 17:49:39 CEST 2021
[kpn.sh] creating lock file at /config/scripts/post-config.d/kpn.lock
[kpn.sh] The file /etc/commit/post-hooks.d/set-kpn-hook.sh does not exists, creating hook now
[kpn.sh] MTU for eth0 not configured, adjusting config
[kpn.sh] Disconnecting pppoe2 before changing MTU
Bringing interface pppoe2 down...
[kpn.sh] Setting mtu for eth0 to 1512
[kpn.sh] Setting mtu for eth0 vif 6 to 1508
[kpn.sh] Commiting
[set-kpn-hook.sh] Executed at Mon May 3 17:49:58 CEST 2021
[set-kpn-hook.sh] Configuration changes have been commited, adding crontab for kpn.sh
[kpn.sh] Connecting pppoe2 after changing MTU
Bringing interface pppoe2 up...
[kpn.sh] removing lock file at /config/scripts/post-config.d/kpn.lock
[kpn.sh] Executed at Mon May 3 17:50:02 CEST 2021
[kpn.sh] creating lock file at /config/scripts/post-config.d/kpn.lock
[kpn.sh] KPN found in crontab, removing /etc/cron.d/kpn
[kpn.sh] removing lock file at /config/scripts/post-config.d/kpn.lock
[kpn.sh] Finished
It looks like the MTUs are set correctly too.
many thanks
from usg-kpn-ftth.
Related Issues (20)
- Make all DNS queries redirect to local pi-hole HOT 2
- No connection HOT 7
- Current config to config.gateway.json as backup HOT 1
- Internet connectivity is lost during provisioning HOT 8
- Using WAN2 instead of WAN1
- USG restarts or connections drops when using XS4ALL zip HOT 4
- Can not change LAN IP after provisioning with kpn.sh and config.gateway.json HOT 3
- Firstime excute issue with KPN.sh HOT 3
- IPS/IDS not working HOT 6
- Traffic overview stops working when enabling IDS/IPS HOT 1
- vlan HOT 2
- igmpproxy script somehow does not do the trick HOT 4
- No activity after kpn.sh creating lock file HOT 2
- No itv. HOT 2
- IPv6 address public HOT 4
- No public WAN IPv4 in controller HOT 1
- Weird 'runs' of kpn.sh script after migration to Cloud Key HOT 1
- Firewall rules not applied
- Support for new Cloud Gateway Ultra HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usg-kpn-ftth.