minicom not recognizing the USB modem

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

Ask Ubuntu Asked by ziro_axis on November 11, 2021

2 Answers

2 Answers

If you get:

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

Link /dev/modem to your serial port device. For COM1, this is usually /dev/ttyS0:

ln -s /dev/ttyS0 /dev/modem

That could solve it.

Answered by Billy Vejo on November 11, 2021

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

Answered by bain on November 11, 2021

Add your own answers!

Related Questions

Keyboard freezing in regular intervals

0  Asked on January 13, 2021 by bharat-arya


Xorg has high CPU load after unlocking XFCE

1  Asked on January 13, 2021 by kanehekili


Better Config multi virtualhost

0  Asked on January 13, 2021 by user3636770


Ubuntu 20.04 AMD [free] radeon driver blank 2nd screen

0  Asked on January 11, 2021 by clipp-wong


16.04 Desktop Sharing not enabling

1  Asked on January 11, 2021 by barryd9545


Dell XPS 13 Cannot Right Click

4  Asked on January 11, 2021 by carai-caldazar


No icons on main screen on VirtualBox

2  Asked on January 10, 2021 by user133125


How to install h.264 decoder?

9  Asked on January 10, 2021 by sonakshi


Ubuntu not display the remote desktop properly?

1  Asked on January 10, 2021 by paul-cheung


Apps are opening on different apps icon in the toolbar

1  Asked on January 10, 2021 by alon-goldenberg


Refresh of udev rules directory does not work

0  Asked on January 9, 2021 by adi


Migrate from mythbuntu 18.04 to xubuntu 20.04

2  Asked on January 9, 2021 by pssturges


Install Ubuntu20.04 in Dell(ALIENWARE M17 2020):

2  Asked on January 9, 2021 by yiping-liu


Ask a Question

Get help from others!

© 2021 All rights reserved.