SG-1100 LTE USB-Modem
-
Hi,
is anyone successfully running a USB modem on an sg-1100? I'm currently trying to get my Huawei E3372h-320 working, but I can't even get to the point where I could assign it to any kind of interface. It doesn't stay connected on the USB level:
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) random: unblocking device. ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 cdce0 on uhub0 cdce0: <CDC Ethernet Control Model ECM> on usbus0 ue0: <USB Ethernet> on cdce0 ue0: ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) Ethernet address: 00:1e:10:1f:00:00 cdce0: at uhub0, port 2, addr 1 (disconnected) cdce0: detached ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected)
I thought it might just not get enough power, but according to the LED on the stick it boots up successfully and even connects to the mobile network.
Any ideas what might be at play here? The stick works just fine under Windows.Thanks
Max -
Does it work correctly in a different device?
Does it behave any differently in the two USB ports?
Steve
-
It works fine on multiple windows machines, I haven't gotten around to trying it with pfsense (or any linux/FreeBSD in general) on different hardware yet.
I tried both ports, exactly the same results. -
Just tried it with pfsense running in a vmware vm and the stick passed through to it. Same results as with the sg-1100. I then tested with an ubuntu 20 vm and the stick passed through. That worked without issue.
-
I did one more test with a pfsense 2.5 snapshot (pfSense-CE-2.5.0-DEVELOPMENT-amd64-20200816-0050). The stick works without issue there. My guess is FreeBSD 11 is either missing drivers, or has broken drivers for the sticks chip.
-
Hmm, it could well be missing something in FreeBSD 11 that is present in 12.
Does it appear the same way? Still creates a ue0 interface?
Steve
-
yes, under 12 it still creates the ue0 interface
-
Hi, I bought the SG-1100 for a project and still have the same problems that the Huawei E3372 isnt seen as an interface after updating to 21.02
in the 2.0 port it shows in the log
ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 (disconnected) ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 (disconnected) ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 (disconnected) ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1 (disconnected)
And in the 3.0 port
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 cdce0 on uhub0 cdce0: <CDC Ethernet Control Model (ECM)> on usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) cdce0: at uhub0, port 2, addr 1 (disconnected) cdce0: detached ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 cdce0 on uhub0 cdce0: <CDC Ethernet Control Model (ECM)> on usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) cdce0: at uhub0, port 2, addr 1 (disconnected) cdce0: detached
I have 10 of those modems and would like to use them, my goal is to use the SG-1100 and an USB modem as a remote point that will connect by VPN to my infrastructure. If those modems are usless please tell me a recomendation i can buy to use in my project.
-
Are those disconnects shown you physically unplugging it?
You may need to access the modem in something else, Windows say, and change it's mode then move it back. Some devices have permanent settings like that.
Steve
-
@stephenw10 The modem is constatly connected I check 3 of them and they all behave the same. The modem led shows its connected to LTE but the console shows it's constantly connecting and disconnecting. The modems work fine under windows.
-
Hmm, well either it's constantly cycling through modes or it's rebooting.
I would be still be looking to set a mode permanently in the modem firmware if possible.
Try running usbconfig dump_all_config_desc against it. If it has more than one config index you can set a device quirk to force one of them.
But here it looks like it's exposing the cdcether interface already.Steve
-
@stephenw10 The modem isnt reseting, its status led show connected to LTE so its working, the software side of pfsense has a problem managing the modem and resets the buss or something?
-
Potentially, though I've never seen it do that.
If it's a recognised device u3g will either create virtual com ports for it or try to change it's mode first.
I don't see any logs for u3g and it appears as a USB Ethernet device anyway.Need to check that usbconfig output at different stages to see if it is changing and what IDs it's using at each stage.
Steve
-
@stephenw10 After a week of work, the modems i have are all E3372-320, its the last version E3372 that is blocked from flashing at home, even the needle recovery trick dosent work on them.
As for usbconfig dump_all_config_desc it hangs and after it show output the same
[21.02-RELEASE][root@pfSense.localdomain]/root: usbconfig dump_all_config_desc ugen0.1: <Marvell XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00 ugen1.1: <Marvell EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 [21.02-RELEASE][root@pfSense.localdomain]/root: usbconfig dump_all_config_desc ugen0.1: <Marvell XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00 ugen1.1: <Marvell EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 [21.02-RELEASE][root@pfSense.localdomain]/root: usbconfig dump_all_config_descugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 cdce0 on uhub0 cdce0: <CDC Ethernet Control Model (ECM)> on usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) cdce0: at uhub0, port 2, addr 1 (disconnected) cdce0: detached ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) ugen0.1: <Marvell XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00 ugen1.1: <Marvell EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 [21.02-RELEASE][root@pfSense.localdomain]/root: ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 cdce0 on uhub0 cdce0: <CDC Ethernet Control Model (ECM)> on usbus0 ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected) cdce0: at uhub0, port 2, addr 1 (disconnected) cdce0: detached
-
Can some one please confirm a working modem? It can be a virtual usb card nat is not a problem for me. I'm a bit negative to buy modems to try them one by one.
-
You might just open a new thread in the Wireless section. This is not something that is specific to the SG-1100 and it will get more eyes there.
I don't have a USB modem I can recommend myself.Steve
-
@kitsufan Hi, I hit the same issue. Have you figured out how to get it to work?