I have a strange issue which maybe RSP related, as I had no issue using pppoe on previous RSP.
Anyway I posted it on Whirlpool
https://forums.whirlpool.net.au/thread/ ... =-1#bottom
It has been suggest I check the Gargoyle log file for pppoe up and down times, unfortunately I have no idea which file or where that file would be. I have had look around using WinSCP, searched for pppoe and wan nothing comes up as a log file.
Where do I find pppoe log file?
Moderator: Moderators
Re: Where do I find pppoe log file?
logread | grep "pppd"
Should be sufficient
Should be sufficient
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Where do I find pppoe log file?
Ok I have got around to playing with PPPoe again, and using
logread | grep "pppd" command.
It gives this output (I have blanked out IP's/MAC's etc)
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: PPP session is 312
Mon Feb 24 17:07:30 2025 daemon.warn pppd[4738]: Connected to xx:xx:xx:xx:xx:xx via interface wan
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: Renamed interface ppp0 to pppoe-wan
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: Using interface pppoe-wan
Mon Feb 24 17:07:30 2025 daemon.notice pppd[4738]: Connect: pppoe-wan <--> wan
Mon Feb 24 17:07:31 2025 daemon.info pppd[4738]: CHAP authentication succeeded
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: CHAP authentication succeeded
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: peer from calling number xx:xx:xx:xx:xx:xx authorized
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: local IP address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: remote IP address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: primary DNS address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: secondary DNS address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: local LL address fe80::xxxx:xxxx:xxxx:xxxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: remote LL address fe80::xxxx:xxxx:xxxx:xxxx
I did this a few times and it didn't change, but WAN up time on status page got up to 3 minutes then 0 then 2 while typing this up and editing above output, I reckon was more than 3 minute easily, I went to refresh that status page and it reported 2 minutes.
Now if type logread | grep "pppd" it shows nothing, yet the status page seem to indicate the connection is not stable.
At last refresh it was reporting 5 minutes
So not sure logread | grep "pppd" command is good at showing connection up and down times.
logread | grep "pppd" command.
It gives this output (I have blanked out IP's/MAC's etc)
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: PPP session is 312
Mon Feb 24 17:07:30 2025 daemon.warn pppd[4738]: Connected to xx:xx:xx:xx:xx:xx via interface wan
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: Renamed interface ppp0 to pppoe-wan
Mon Feb 24 17:07:30 2025 daemon.info pppd[4738]: Using interface pppoe-wan
Mon Feb 24 17:07:30 2025 daemon.notice pppd[4738]: Connect: pppoe-wan <--> wan
Mon Feb 24 17:07:31 2025 daemon.info pppd[4738]: CHAP authentication succeeded
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: CHAP authentication succeeded
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: peer from calling number xx:xx:xx:xx:xx:xx authorized
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: local IP address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: remote IP address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: primary DNS address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: secondary DNS address xxx.xxx.xxx.xxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: local LL address fe80::xxxx:xxxx:xxxx:xxxx
Mon Feb 24 17:07:31 2025 daemon.notice pppd[4738]: remote LL address fe80::xxxx:xxxx:xxxx:xxxx
I did this a few times and it didn't change, but WAN up time on status page got up to 3 minutes then 0 then 2 while typing this up and editing above output, I reckon was more than 3 minute easily, I went to refresh that status page and it reported 2 minutes.
Now if type logread | grep "pppd" it shows nothing, yet the status page seem to indicate the connection is not stable.
At last refresh it was reporting 5 minutes
So not sure logread | grep "pppd" command is good at showing connection up and down times.
Re: Where do I find pppoe log file?
There is no other log.
You can create your own hotplug.d script if you need more information.
Or there are ppp up and down scripts you could modify to output information.
Have you searched the forum? This is covered before.
viewtopic.php?t=12089
You can create your own hotplug.d script if you need more information.
Or there are ppp up and down scripts you could modify to output information.
Have you searched the forum? This is covered before.
viewtopic.php?t=12089
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Where do I find pppoe log file?
More info about hotplug scripting can be found in the OpenWrt Wiki article.