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

    USB Modem is always down

    Routing and Multi WAN
    2
    5
    557
    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
      abelcallejo
      last edited by

      I am trying to setup a multi-WAN setup using USB mobile broadband.

      The modem I am using is Huawei E5372 and it is listed in the known working modems.

      I tried to connect the device but seems to be always down.
      OPT2-down.png

      I also tried to connect directly to the device using a smartphone to verify the connection and it is connected to the internet.

      Did I miss something that was not on the modems documentation?

      Looking forward to any help on this from you guys.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @abelcallejo
        last edited by

        @abelcallejo
        Take a look in the logs for hints what's the issue.

        A 1 Reply Last reply Reply Quote 0
        • A
          abelcallejo @viragomann
          last edited by

          @viragomann

          Some hints from the logs:

          MODEM: Fail to open serial port /dev/cuau0 on speed 115200
          
          can't open /dev/cuau0: Device busy
          

          Here is the full version of a certain batch

          Jun 3 08:02:07	ppp	43386	[opt2_link0] Link: reconnection attempt 23 in 2 seconds
          Jun 3 08:02:07	ppp	43386	[opt2_link0] LCP: Down event
          Jun 3 08:02:07	ppp	43386	[opt2_link0] Link: DOWN event
          Jun 3 08:02:07	ppp	43386	[opt2_link0] MODEM: Fail to open serial port /dev/cuau0 on speed 115200
          Jun 3 08:02:07	ppp	43386	[opt2_link0] can't open /dev/cuau0: Device busy
          

          I looked it up online but found nothing useful. Is this something that needs to be overridden via shell?

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @abelcallejo
            last edited by

            @abelcallejo
            "Device busy" let me suspect that any other process had accessed it before and occupies it still. So possibly there might be something in the log accessing /dev/cuau0?

            Maybe @stephenw10 can tell, what's going wrong with it. He is the hardware guru here. ๐Ÿ™‚

            1 Reply Last reply Reply Quote 0
            • A
              abelcallejo
              last edited by

              Further investigation

              I issued the statement via shell

              usbconfig
              

              It then displayed:

              ugen0.1: <Marvell XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
              ugen1.1: <Marvell EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
              ugen0.2: <HUAWEI Technology HUAWEI Mobile> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
              

              I then checked those devices:

              ls -l /dev/ugen*
              

              It then displayed:

              lrwxr-xr-x  1 root  wheel  9 Jun  4 21:44 /dev/ugen0.1 -> usb/0.1.0
              lrwxr-xr-x  1 root  wheel  9 Jun  4 21:43 /dev/ugen0.2 -> usb/0.2.0
              lrwxr-xr-x  1 root  wheel  9 Jun  4 21:44 /dev/ugen1.1 -> usb/1.1.0
              

              The USB device is on /dev/ugen0.2 but the Netgate device's PPP is only acknowledging /dev/cuau0

              I also tried editing the file /etc/ppp/ppp.conf and tried to replace anything the says "cuau*" into "ugen*" to test if it is about the configurations. I rebooted the device and after it was on, Netgate still just recognizes /dev/cuau0 on the PPP lists and not /dev/ugen0.2

              Do you guys know what could be done to solve this? Any hint or direction is much appreciated ๐Ÿ˜„

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