I am working for a project for which I have 10 USB 4G modems connected to a single Pi, each modem gets an interface name:
Code: Select all
eth1, eth2, eth3 ... etc
The modems are numbered by the order in which they are plugged in, eth1 was plugged in first, eth2 was plugged in second and so on, however, this creates some problems as sometimes I would like to plug one or two modems out or just restart the Pi, which might change their names and mess up my setup.
I would like to the name interfaces based on their port or just give each of them a hard permanent name, independent from restart or plugin order.
I have researched and found no way to do this.
Any ideas ?