Answer the question
In order to leave comments, you need to log in
How to connect multiple 4g modems to linux?
Given:
Server with CentOS 7
Two e3372 usb modems with HiLink firmware
On the second modem, the interface does not rise.
At first I encountered the fact that both modems have one poppy address, changed according to this instruction on one, it did not help.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 003: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
enp0s19f2u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.101.100 netmask 255.255.255.0 broadcast 192.168.101.255
inet6 fe80::f951:2e0c:e4b6:51d5 prefixlen 64 scopeid 0x20<link>
ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)
RX packets 2121 bytes 1850004 (1.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1777 bytes 142123 (138.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp3s0u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 0c:5b:8f:27:9a:63 txqueuelen 1000 (Ethernet)
RX packets 398 bytes 186951 (182.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Answer the question
In order to leave comments, you need to log in
These modems work like routers, each of them not only has the same MAC, they also each have their own dhcp server inside, and the same IP address on the built-in usb-Ethernet. In other words, you also need to change the internal ip and dhcp subnet of a single modem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question