5

When inserting the USB GSM modem Huawei K3565, the network manager recognizes it and I'm able to activate it from the network manager. But when run in 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 am I missing, or what is the problem?

AJM
  • 205

2 Answers2

10

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

bain
  • 12,200
0

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.