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#2853 - The netifd is unable to find correct network interface #7642

Open
openwrt-bot opened this issue Feb 24, 2020 · 0 comments
Open

FS#2853 - The netifd is unable to find correct network interface #7642

openwrt-bot opened this issue Feb 24, 2020 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

tsrdel:

Supply the following if possible:

  • Device problem occurs on
    RouterBoard RB912UAG-5HPnD + R11e-LTE PCIe LTE card

  • Software versions of OpenWrt/LEDE release, packages, etc.
    NAME="OpenWrt"
    VERSION="19.07.1"
    Configuration of network device:
    config interface 'wwan'
    option proto 'ncm'
    option ifname 'wwan0'
    option device '/dev/ttyACM1'
    option apn 'internet.eplus.de'
    option mode 'preferlte'
    option delay '5'

  • Steps to reproduce

The netifd is unable to find which logical ethXXX interface is bound with serial port /dev/ttyACM1 for NCM - both handled by the R11e-LTE card.
In logread following messages appear:
Mon Feb 24 17:19:42 2020 daemon.notice netifd: wwan (3952): ls: /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.4/../../*/net: No such file or directory

The only net directory in the tree /sys/devices/platform/ehci-platform/usb1 is /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.0/net - the content of the directory is a directory eth1. Really eth1 is correct network interface name bound, so the problem looks like listing with ls not assuming the partigular directory tree depth.

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