On Sun, Apr 26, 2015 at 1:06 AM, Alex Zetaeffesse <[email protected]> wrote:

> Hi all,
>
> I'm trying to debug pppoe-server on Barrier Breaker but the switch -d that
> is supposed to "Debug session creation", along with -F give just this output
>
> root@OpenWrt:~# pppoe-server -F -d
> Session 1 local 10.0.0.1 remote 10.67.15.1
> Session 2 local 10.0.0.1 remote 10.67.15.2
> [CUT]
> Session 63 local 10.0.0.1 remote 10.67.15.63
> Session 64 local 10.0.0.1 remote 10.67.15.64
>
> and then exists. No process named pppoe-servet runs.
>
> Instead the switch -F just prevents it to run as a daemon but when the
> client tries to connect I see nothing.
> To be honest while troublesooting I saw openwrt displaying PADI and PADO
> packets but I don't remember the sequence of commands/option I issued. I
> guess they were pppoe-server -F but I'm not able to reproduce.
>
>

Ok, I realized that the right way to troubleshoot is to have the following

debug
logfile /var/log/pppoe-server-log

in the file /etc/ppp/pppoe-server-options

In my case I'm missing the pppoe executable.

using channel 48
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sh: /usr/sbin/pppoe: not found
Modem hangup

There is pppoe executable nowhere in the filesystem.

Alex
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to