minicom not recognizing the USB modem

41,120

Your problem is:

  • minicom: cannot open /dev/modem

  • found modem on /dev/ttyUSB0

/dev/modem is not the same as /dev/ttyUSB0. Your modem is device /dev/ttyUSB0. Minicom is failing because it is trying to open /dev/modem/. Change the device in the minicom settings or run:

minicom -D /dev/ttyUSB0

A more creative solution would be to add a udev rule that creates the /dev/modem symlink automatically. Create /etc/udev/rules.d/95-usb-modem.rules

SUBSYSTEM=="tty", ATTRS{idVendor}=="12d0", ATTRS{idProduct}=="1001", SYMLINK+="modem"

Replace the 12d0 and 1001 with the vendor:product for your modem from lsusb

Share:
41,120

Related videos on Youtube

ziro_axis
Author by

ziro_axis

Updated on September 18, 2022

Comments

  • ziro_axis
    ziro_axis almost 2 years

    when inserting the USB GSM modem Huawei K3565, the network manager recognize it and i'm able to activate it from the network manage, but when runin the minicom it says:

    minicom: cannot open /dev/modem: no such file or directory
    

    but when executing the command:

    # wvdialconf /etc/wvdial.conf
    

    the result

    #found modem on /dev/ttyUSB0
    

    what i'm missing or what is the problem

  • ziro_axis
    ziro_axis about 10 years
    the 1st issue is the K3565 is connected to (2 tty_usbs) ttyUSB0 & ttyUSB1, i noticed when unplug the modem from the USB port both the ttyUSB0 & ttyUSB1 disappeared, so how to fine this modem is connected to which one exactly.. BTW k3565 has internal CD-Rom which include the installation files for windows drivers. 2nd, how to link this USB to the modem using generic Linux or (ubuntu/Debian) command, without editing any files
  • ziro_axis
    ziro_axis about 10 years
    BTW, there is no folder /dev/modem/ ????why
  • bain
    bain about 10 years
    Do you have a file /dev/gsmmodem0 ?
  • kanehekili
    kanehekili almost 4 years
    Not good. minicom-s will provide you with an "interface" to setup you serial connection.