Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Zentyal version ~3.5 PPPoE connection is not obtain the gateway #1880

Open
nntc opened this issue Jun 11, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@nntc
Copy link

commented Jun 11, 2019

Developers! Help!

After Zentyal version ~3.5 PPPoE connection is not obtain the gateway (In version 6.0 - ALSO NOT WORKING).

When I add gateway by hand (ip route add default via here address behind p-t-p PPPoe Addr) then Zentyal server can access to internet, but workstations in zentyal local network (which ise zentyal as gateway) does not have access to internet.

If i try add default gw by hand from zentyal web interface then form is not success validation.

Problem exists about 5-7 years :-( (https://forum.zentyal.org/index.php?topic=8525.0)?

@tomasz89

This comment has been minimized.

Copy link

commented Jun 19, 2019

I've just had this problem tonight after getting a new Internet connection. It's a pretty sloppy miss by the team, thankfully the fix is easy.

When transitioning from Perl's TryCatch::Lite to TryCatch, they missed the ppp module. A simple grep should have found this!

Anyway, in /usr/share/zentyal-network/ppp-set-iface.pl, line 24 (at least in my version):
use TryCatch::Lite;
Change this to:
use TryCatch;

I found this by examining the /etc/ppp/ip-up.d/zentyal-ppp-up script. I edited this to enable debug/logging output, fed the parameters in to the program that's run whenever a new PPPoE link is established, which runs:
/usr/share/zentyal-network/ppp-set-iface.pl

When I ran this, I got module import errors on TryCatch::Lite. I figured that was bad..

@tomasz89

This comment has been minimized.

Copy link

commented Jun 19, 2019

Created pull request #1882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.