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

FS#1857 - pppd 14 failed attempts to set up wan (+ system log spam) - LEDE nedded only 1. #6781

Open
openwrt-bot opened this issue Sep 19, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

Vento:

Device: TD-W8970 v1
OpenWRT version affected:

  • LEDE 17.0x NOT AFFECTED
  • 18.06.00 NOT TESTED
  • 18.06.01 YES
  • 18.06 SNAPSHOT (r7313-4f6ad3c13a) YES
  • master YES

Protocol: PPPoA (other not tested).

What happen:

Too many early attempts to bring up the wan interface. The system logs is filled with:
daemon.notice netifd: Interface 'wan' is setting up now
daemon.info pppd[]: Plugin pppoatm.so loaded.
daemon.info pppd[]: PPPoATM plugin_init
daemon.info pppd[]: PPPoATM setdevname_pppoatm - SUCCESS:0.8.35
daemon.notice pppd[]: pppd 2.4.7 started by root, uid 0
daemon.err pppd[]: connect(0.8.35): No such device
daemon.info pppd[]: Exit.
daemon.notice netifd: Interface 'wan' is now down

14 attempts before successful one. This wasn't the case on LEDE where only 1 failed attempt was made.
After all the failed connection, this shows up:
daemon.notice dsl-notify: Switching to TC-Layer ATM
kern.info kernel: [] ATM1.0.26 ATM (A1) firmware version 0.24
kern.warn kernel: [] ifxmips_atm: ATM init succeed

... and after that, finally:
daemon.info pppd[2218]: Plugin pppoatm.so loaded.
daemon.info pppd[]: PPPoATM plugin_init
daemon.info pppd[]: PPPoATM setdevname_pppoatm - SUCCESS:0.8.35
daemon.notice pppd[]: pppd 2.4.7 started by root, uid 0
kern.info kernel: [] pppoa-wan: renamed from ppp0
daemon.info pppd[]: Using interface pppoa-wan
daemon.notice pppd[]: Connect: pppoa-wan <--> 0.8.35
daemon.info pppd[]: CHAP authentication succeeded
daemon.notice pppd[]: CHAP authentication succeeded
daemon.notice pppd[]: local IP address 151.95.61.61
daemon.notice pppd[]: remote IP address 151.6.141.72
daemon.notice netifd: Network device 'pppoa-wan' link is up
daemon.notice netifd: Interface 'wan' is now up

Regarding the whole "Switching to TC-Layer ATM" block of messages:

  • I do not know if is 100% needed to properly setup wan ..
  • ... but for sure I've always seen failed attempts before it and the successful one after it ...
  • Sometimes there is 1 more failed attempt after the "Switching to TC-Layer ATM" stuffs (and before the successful one).
  • I do not know if is triggered by the failures or if is simple placed "too late" in the boot order

Also:

  • After the first failure all the other after it will also trigger warnings (more spam inside logs) form insmod since each needed module (slhc, ppp_generic and pppoatm) is already loaded.
  • On LEDE the whole process required only one "failure"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant