RNDIS on Huawei E3372
-
I found a topic which I thought would answer my question, namely "How to configure RNDIS on E3372"
https://forum.netgate.com/topic/130040/how-to-configure-rndis-on-e3372?_=1707344063128
Unfortunately it doesn't.
When I plug in the dongle I get msgs such as
u3g0 on uhub0
u3g0: Found 1 port.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus5
cdce0: faking MAC addressFurher details can be found here:-
https://forums.freebsd.org/threads/internet-access-via-4g-dongle-using-rndis.92169/#post-642413
-
It's appearing as a USB Ethernet device. What are you wanting it to do?
-
@stephenw10 said in RNDIS on Huawei E3372:
It's appearing as a USB Ethernet device. What are you wanting it to do?
I'd like it to connect to my ISP.
I can do this using OpenWrt.
USB tethering uses RNDIS and pfSense works fine when connecting via my phone.
The topic which I referred to - "How to configure RNDIS on E3372" suggests that there is some way to do this, or am I mistaken?
-
rndis is just a driver for virtual Ethernet connections. Usually from phones or tablets etc. A modem could use that since it's basically a small router not much different to a phone but it doesn't have to. Here it uses cdce.
The problem is that the USB Ethernet interface by itself does not provide an interface to configure the modem connection. So you need to either use a 'router' firmware that provides some sort of user interface to configure it, usually a web interface. Or set the connection via a separate ppp link which is what it looks like this is exposing.
Do you see an AT interface on any of those USB serial ports? I assume those are created when you connect it? -
@stephenw10 said in RNDIS on Huawei E3372:
rndis is just a driver for virtual Ethernet connections. Usually from phones or tablets etc. A modem could use that since it's basically a small router not much different to a phone but it doesn't have to. Here it uses cdce.
The problem is that the USB Ethernet interface by itself does not provide an interface to configure the modem connection. So you need to either use a 'router' firmware that provides some sort of user interface to configure it, usually a web interface. Or set the connection via a separate ppp link which is what it looks like this is exposing.
Do you see an AT interface on any of those USB serial ports? I assume those are created when you connect it?What exactly am I looking for?
crw-rw---- 1 uucp dialer 0x1e5 Feb 3 20:47 cuaU0 crw-rw---- 1 uucp dialer 0x1e6 Feb 3 20:47 cuaU0.init crw-rw---- 1 uucp dialer 0x1e7 Feb 3 20:47 cuaU0.lock crw-rw---- 1 uucp dialer 0x1eb Feb 3 20:47 cuaU1 crw-rw---- 1 uucp dialer 0x1ec Feb 3 20:47 cuaU1.init crw-rw---- 1 uucp dialer 0x1ed Feb 3 20:47 cuaU1.lock crw-rw---- 1 uucp dialer 0x1f1 Feb 3 20:47 cuaU2 crw-rw---- 1 uucp dialer 0x1f2 Feb 3 20:47 cuaU2.init crw-rw---- 1 uucp dialer 0x1f3 Feb 3 20:47 cuaU2.lock crw-rw---- 1 uucp dialer 0x37 Feb 3 20:47 cuau2 crw-rw---- 1 uucp dialer 0x38 Feb 3 20:47 cuau2.init crw-rw---- 1 uucp dialer 0x39 Feb 3 20:47 cuau2.lock crw-rw---- 1 uucp dialer 0x1e5 Feb 3 20:47 cuaU0 crw-rw---- 1 uucp dialer 0x1e6 Feb 3 20:47 cuaU0.init crw-rw---- 1 uucp dialer 0x1e7 Feb 3 20:47 cuaU0.lock crw-rw---- 1 uucp dialer 0x1eb Feb 3 20:47 cuaU1 crw-rw---- 1 uucp dialer 0x1ec Feb 3 20:47 cuaU1.init crw-rw---- 1 uucp dialer 0x1ed Feb 3 20:47 cuaU1.lock crw-rw---- 1 uucp dialer 0x1f1 Feb 3 20:47 cuaU2 crw-rw---- 1 uucp dialer 0x1f2 Feb 3 20:47 cuaU2.init crw-rw---- 1 uucp dialer 0x1f3 Feb 3 20:47 cuaU2.lock crw-rw---- 1 uucp dialer 0x37 Feb 3 20:47 cuau2 crw-rw---- 1 uucp dialer 0x38 Feb 3 20:47 cuau2.init crw-rw---- 1 uucp dialer 0x39 Feb 3 20:47 cuau2.lock
Which do I pick and what command should I run?
-
Unplug it then plug it back in then check the new system log entries.
It has to be one of the cuaUx entries though. The upper case U indicates a USB connected com port.