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

3G modem showing up 2 x as /dev/cua?

Scheduled Pinned Locked Moved Hardware
3 Posts 2 Posters 2.3k Views
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.
  • S
    srynoname
    last edited by Jan 11, 2013, 3:07 PM

    I have an USB 3 modem (Huawei E353-u2) on 2.0.2, in the PPP configuration (Link Type PPP) it shows up twice:

    /dev/cuaU0.0
    /dev/cuaU0.3

    1. Why are there 2 devices? Is one of them maybe the usb mass storage of the stick? If yes, shouldn't that be automatically hidden in the PPP screen?
    2. On the OS level (shell), how can I find out which of those 2 devices is the "real modem" / to what /dev/cuaUx.y is mapped?

    Thanks for any hint :-)

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jan 11, 2013, 3:23 PM

      Both of those devices are USB serial ports. /dev/cua* devices are serial ports, the capital 'U' in the name implies it is USB connected. 3G modems often appear as more than one serial port, usually one is available for modem connection and others provide diagnostic output such as signal strength etc.
      You can just try each of them via the pfSense gui to find out which it is. Alternatively you can talk to the device with a terminal emulator, the real modem will respond to AT commands. E.g.

      cu -l /dev/cuaU0.0 -s 115200
      

      You may have to try several speeds or other variations on that command.  ;)

      Steve

      1 Reply Last reply Reply Quote 0
      • S
        srynoname
        last edited by Jan 11, 2013, 8:15 PM

        Thank you for your reply! Using a baud rate of "115200" works. It hangs after trying AT multiple times though. Also both devices return OK for the AT command. Only one of the devices however gives a output of BOOT and some numbers (repeated again and again).
        Just wondering, isn't it somehow possible to map the output of "usbconfig list" to the /dev/dua* devices?

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received