• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Wired connection for Huawei T5377Ts-32 to pfSense on Shuttle DS437

Hardware
2
7
2.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    AW_sensepf
    last edited by Apr 19, 2016, 8:03 PM

    I have pfSense 2.3-RELEASE (amd64) installed on a SHUTTLE DS437.

    I also have a Huawei T5377Ts-32.

    Connecting the Huawei to Linux Fedora 23 xfce dmesg shows:

    53363.398525] usb 2-1.8: new high-speed USB device number 4 using ehci-pci
    [53363.486080] usb 2-1.8: New USB device found, idVendor=12d1, idProduct=1f02
    [53363.486084] usb 2-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [53363.486086] usb 2-1.8: Product: HUAWEI_MOBILE
    [53363.486088] usb 2-1.8: Manufacturer: HUAWEI_MOBILE
    [53363.486089] usb 2-1.8: SerialNumber: 012345678xxxxxxxx
    [53363.536014] usb-storage 2-1.8:1.0: USB Mass Storage device detected
    [53363.536181] scsi host10: usb-storage 2-1.8:1.0
    [53364.245326] usb 2-1.8: USB disconnect, device number 4
    [53364.677506] usb 2-1.8: new high-speed USB device number 5 using ehci-pci
    [53364.763807] usb 2-1.8: New USB device found, idVendor=12d1, idProduct=14dc
    [53364.763822] usb 2-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [53364.763824] usb 2-1.8: Product: HUAWEI_MOBILE
    [53364.763825] usb 2-1.8: Manufacturer: HUAWEI_MOBILE
    [53364.846728] usb-storage 2-1.8:1.2: USB Mass Storage device detected
    [53364.847412] scsi host11: usb-storage 2-1.8:1.2
    [53365.255711] cdc_ether 2-1.8:1.0 eth0: register 'cdc_ether' at usb-0000:00:1d.0-1.8, CDC Ethernet Device, 0c:5b:8f:27:9a:64
    [53365.255775] usbcore: registered new interface driver cdc_ether
    [53365.259576] cdc_ether 2-1.8:1.0 enp0s29u1u8: renamed from eth0
    [53365.272900] IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u8: link is not ready
    [53365.273027] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.273033] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.274239] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.274575] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.274585] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.303931] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped
    [53365.303950] cdc_ether 2-1.8:1.0 enp0s29u1u8: kevent 12 may have been dropped

    and is immediately available as wired connection/link in network manager.

    Now it acts as data modem 4G by WLAN to pfSense but I would like to have a wired connection to pfSense.

    Any chance to make it running as cdc ethernet device?

    Any suggestion for wiring this device to pfSense on Shuttle DS437. No free ethernet port available anymore.

    Best rgds
    AW

    1 Reply Last reply Reply Quote 0
    • A
      AndrewZ
      last edited by Apr 19, 2016, 9:19 PM

      I suspect this one should be similar to E5372. Please check my configuration example:
      https://forum.pfsense.org/index.php?topic=106477.msg594536#msg594536

      1 Reply Last reply Reply Quote 0
      • A
        AW_sensepf
        last edited by Apr 20, 2016, 4:49 AM

        Plugging-in dmesg shows: "ugen0.4: <huaweimobile>at usbus0"

        Shell Output - usbconfig -d ugen0.4 dump_device_desc

        ugen0.4: <huaweimobile huaweimobile="">at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

        bLength = 0x0012
          bDescriptorType = 0x0001
          bcdUSB = 0x0210
          bDeviceClass = 0x0000  <probed by="" interface="" class="">bDeviceSubClass = 0x0000
          bDeviceProtocol = 0x0000
          bMaxPacketSize0 = 0x0040
          idVendor = 0x12d1
          idProduct = 0x1f02
          bcdDevice = 0x0102
          iManufacturer = 0x0001  <huawei_mobile>iProduct = 0x0002  <huawei_mobile>iSerialNumber = 0x0003  <0123456789ABxxxxxxxxxxxxxx>
          bNumConfigurations = 0x0001

        But dmesg doesn't show any creation of inteface like this "ue0: <usb ethernet="">on cdce0"

        Does pfSense know about "idProduct  = 0x1f02"

        Where to check this?

        Thanks.

        Best rgds
        AW</usb></huawei_mobile></huawei_mobile></probed></huaweimobile></huaweimobile>

        1 Reply Last reply Reply Quote 0
        • A
          AndrewZ
          last edited by Apr 20, 2016, 8:24 AM

          Please check/set device composition with AT^SETPORT as described.

          1 Reply Last reply Reply Quote 0
          • A
            AW_sensepf
            last edited by Apr 26, 2016, 3:08 AM

            I am trying to figure out how to access my Huawei E5377Ts-32 with Putty/SSH to send these modem (Hayes) commands "Send:AT^SETPORT?" by terminal to the E5377Ts-32.

            The Huawei E5377Ts-32 is a HIlink host-less modem http://ofmodemsandmen.com/hostless.html

            It seems it has no modem mode (anymore).

            Can these kind of devices still be accessed with Putty/SSH to send AT-commands?

            I scanned its IP 192.168.8.1 with nmap. It has no ssh ports open.

            Here http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=2210 Post Tue Feb 10, 2015 5:14 am says: "this dongle which doesn't have any serial interfaces."

            So a silly question: Is it still possible to use Hayes AT-commands with Huawei Hilink modems/dongles? And how to do this?

            Any idea?

            Rgds
            AW

            1 Reply Last reply Reply Quote 0
            • A
              AndrewZ
              last edited by Apr 26, 2016, 8:11 AM

              I suppose you can avoid using AT commands and try usb_modeswitch. I believe someone posted some examples earlier.

              1 Reply Last reply Reply Quote 0
              • A
                AW_sensepf
                last edited by Aug 28, 2016, 12:53 PM

                Yes.

                Finally after a long time I got it working with "usb_modeswitch" as per this thread

                https://forum.pfsense.org/index.php?topic=111787.0

                lte.cfg file:
                #######################################################

                Huawei E5377

                DefaultVendor= 0x12d1
                DefaultProduct=0x1f02

                TargetVendor= 0x12d1
                TargetProduct= 0x14dc

                MessageContent="55534243123456780000000000000011062000000100000000000000000000"
                NoDriverLoading=1

                #######################

                Download and upload speeds with LTE now as per speedof.me from 26 to 32 Mbps symmetrical. With DSL only 14 down and 1 up.

                FW 21.301.03.00.00

                ifconfig ue0 and pfsense-Gui don't show a media for interface ue0 (USB ethernet).

                Rgds
                AW

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.