TransWikia.com

minicom not recognizing the USB modem

Ask Ubuntu Asked by ziro_axis on November 11, 2021

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

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!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP