[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
Hey AppLeaDaY, generally: 1. cd /var/log 2. ls -ltr 3. try to connect to VPN (reproduce the issue) 4. ls -ltr 5. look which log changed latest (compare result of step 2 and step 4) 6. tail -f syslog (or other suspicious log file) to see appear new messages in the log 7. try to connect to VPN (reproduce the issue) 8. ^C to interrupt tail -f command and read what messages appeared (read few times and try to understand, compare with successful log from other machine) there are different approach more modern commands using systemd, however I usually use this when trying to debug some problem in OS. If there are not enough messages, then try to increase log level or turn on debug or find log in other place and repeat the steps. Hope that helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
I also took a look at /var/log/syslog, though it's a general log, and I'm not sure how to filter the lines related to the mentioned problem. How did you proceed? I'm quite inexperienced when it comes to VPN connections, but I was just supposed to use that software. I wonder how I can help experienced people in helping me. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
I was looking into /var/log/syslog also you can probably set l2tp into debug mode in config file in /etc/ however I'm not sure if that helps or not -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
I applied all the suggestions from comment #2 but my VPN connection still fails. I don't know how to get a debug log like the one in comment #1. After the upgrade to Ubuntu MATE "Noble Numbat", I found myself without a crucial element to continue working in a certain context. What am I supposed to do to use the latest Ubuntu MATE for work? Thanks in advance! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
Upstream go-l2tp issue that's been resolved: https://github.com/katalix/go-l2tp/issues/6 In the network-manager-l2tp PPA I've created a no-modification backport of golang-github-katalix-go-l2tp-0.1.8-1 for Ubuntu 24.04 : https://launchpad.net/~nm-l2tp/+archive/ubuntu/network-manager-l2tp So, Ubuntu 24.04 users wanting the latest network-manager-l2tp from the PPA will also get a newer go-l2tp package which includes the fix for this issue. ** Bug watch added: github.com/katalix/go-l2tp/issues #6 https://github.com/katalix/go-l2tp/issues/6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: golang-github-katalix-go-l2tp (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
Regarding the original go-l2tp kl2tpd error: level=error tunnel_name=t1 message="bad control message" message_type=avpMsgTypeSli error="no specification for v2 message avpMsgTypeSli" Looks like the missing avpMsgTypeSli message_type was recently fixed with the following commit that's in go-l2tp 0.1.8 : https://github.com/katalix/go-l2tp/commit/5720acff49c0deda96b132c21c7431ae5300a56a I'm changing the package from network-manager-l2tp to go-l2tp for this bug. ** Package changed: network-manager-l2tp (Ubuntu) => golang-github-katalix-go-l2tp (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-katalix-go-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
after sudo apt install xl2tpd sudo apt purge go-l2tp connection to VPN works. Thanks for your help Douglas, much appreciated :man-bowing: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
Thanks Douglas for quick reaction, will try those and let you know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2068687] Re: L2TP VPN is not working in Ubuntu 24.04
I'm not sure why the user authentication is failing for you with go-l2tp's kl2tpd, you could try disabling all of the authentication methods in the PPP settings other than MSCHAPv2. You could also try switching to xl2tpd and see if you have the same problem, e.g.: sudo apt install xl2tpd sudo apt purge go-l2tp the other Linux distros you mentioned don't ship with go-l2tp, so they would have been defaulting to xl2tpd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068687 Title: L2TP VPN is not working in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-l2tp/+bug/2068687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs