On Sun, Mar 05, 2023 at 09:22:10PM +0200, Anssi Saari wrote:
> I have just this fun kind of unpredictability in my router's 4G
> module. Mostly, it comes up as wwan0 but sometimes it's wwx<random>. So
> I put something in my 4G management script to rename such interface if
> there's no wwan0.

If you're running systemd, you can create a "dot link" file
(see systemd.link(5)) to assign names to interfaces based on any
criteria you can manage to grab hold of.  MAC address or whatever.

Reply via email to