core
core copied to clipboard
PPPoE not working anymore
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
You may not believe, but: When I deactivated the company VPN (Openconnect) at my notebook the PPPoE connection at OPNsense stopped working about 10-20 seconds later.
From there on the PPPoE is broken as can be seen on the screenshot. There's also no specific message as the logging message seems to be empty:
[opt5_link0] PPPoE: Connecting to ''
[opt5_link0] PPPoE connection timeout after 9 seconds
[opt5_link0] Link: DOWN event
[opt5_link0] LCP: Down event
I tested the DSL modem directly with my notebook and it's still working as expected.
I updated the OPNsense twice within the last weeks, but nothing seems to be changed.
To Reproduce
Steps to reproduce the behavior: PPPoE has been configured via VLAN 5.
Expected behavior
There are more verbose logging messages and the connection to the modem will be established.
Describe alternatives you considered
None
Screenshots
Relevant log files
Here is the log from the web UI:
[opt5_link0] PPPoE: Connecting to ''
[opt5_link0] PPPoE connection timeout after 9 seconds
[opt5_link0] Link: DOWN event
[opt5_link0] LCP: Down event
Additional context
None
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.9_4-amd64 FreeBSD 13.2-RELEASE-p11 OpenSSL 3.0.14 AMD Ryzen 3 3200G with Radeon Vega Graphics (4 cores, 4 threads)
I tried several days several things and yesterday I found out that the modem has a bug (?) that leads to returning packets being on the wrong link. Without the management link the modem is working again with OPNsense! :joy:
So: It's not a bug in OPNsense! :smiley:
But: That leads me to another question: Is there any way to improve the logging entries for PPPoE? Is that even technically possible? Because:
- The message
PPPoE: Connecting to ''is empty. Why? - What can a message
PPPoE: connection timed out after x secondsmean?- Has OPNsense found a modem on layer 2? Is there even a MAC address? In my case no MAC address was available as I know from my switch in between the devices. I'm also missing a MAC table overview in the web gui, but I also found out that the command
ifconfig vtnet0 addrfor showing the MAC addresses is not working with any of my interfaces. So I found no way to confirm if a communication on layer2 was even working - Has the PPPoE connection attempt with the provider timed out?
- Has OPNsense found a modem on layer 2? Is there even a MAC address? In my case no MAC address was available as I know from my switch in between the devices. I'm also missing a MAC table overview in the web gui, but I also found out that the command
Could you tell me what you mean with "Without the management link" ? I am having a similar issue and would like to see if your fix might also resolve my problem.
@Zerwin My Draytek modem has two LAN links that can be used for management or PPPoE (you can choose which port you use for which purpose by simple connecting the cables, there's no configuration logic in the web gui).
My modem stopped working and i found out that I had to disconnect the management cable, reboot the modem and PPPoE is working again. ...but I can't connect to the web gui anymore due to the missing managament cable... but at least I'm able to use PPPoE again.
This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.