siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
129 stars 76 forks source link

WWAN interface changes name #460

Closed rFond closed 11 months ago

rFond commented 1 year ago

Hi,

I have a problem with the wwan interface which changes its name randomly on reboot. Is it possible to freeze this (like the serial port X30) ?

Thank's

jan-kiszka commented 12 months ago

Which interface of which driver? And to which service is the naming change an issue?

There is always the option to have an own udev rule to pin the interface name, but there also other ways to keep track of the same interface, e.g. MAC- based interface selection in NetworkManager.

rFond commented 12 months ago

I use mpcie interface with a 4G modem (all it's work correctly). When I do "ifconfig" randomly name of interface "wwan0" in (more of time) change for exemple to "xwwxcodm0".

It's a detail, but if I can fix its more.

For X30 for exemple you use udev rules ? (for me MAC Address change in function of IOT)

jan-kiszka commented 12 months ago

https://github.com/siemens/meta-iot2050/blob/master/recipes-core/customizations-example/files/20-assign-ethernet-names.rules

jan-kiszka commented 11 months ago

Please close if that helped.