Всем здравствуйте. У меня есть модем Huawei E1550 от МТС, и мне его надо подключить в Ubuntu 16.04. До этого я подключал такой же модем в Ubutu 14.04 посредством usb-modeswitch и minicom согласно инструкции из этот статьи.
http://rus-linux.net/nlib.php?name=/MyLDP/internet/modem-ru.htmlТогда все заработало без проблем, правда, перед этим я попробовал кучу других способов, которые результата не дали, но я даже не помню, что я конкретно делал. Тот модем остался на даче, к нему была приделана направленная антенна, припаянная прямо вместо встроенной. В общем, носить с собой эту конструкцию уже не так просто, как флешку. Решил купить другой такой же модем, тем более, способ настройки я вроде бы нашел. Правда, систему переустановил на 16.04. Установил usb-modeswitch и usb-modeswitch-data.
Запустив команду
sudo usb_modeswitch
, получил вместо
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 007 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
OK, message successfully sent
Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.
список параметров
Usage: usb_modeswitch [<params>] [-c filename]
-h, --help this help
-e, --version print version information and exit
-j, --find-mbim return config no. with MBIM interface, exit
-v, --default-vendor NUM vendor ID of original mode (mandatory)
-p, --default-product NUM product ID of original mode (mandatory)
-V, --target-vendor NUM target mode vendor ID (optional)
-P, --target-product NUM target mode product ID (optional)
-C, --target-class NUM target mode device class (optional)
-b, --bus-num NUM system bus number of device (for hard ID)
-g, --device-num NUM system device number (for hard ID)
-m, --message-endpoint NUM direct the message transfer there (optional)
-M, --message-content <msg> message to send (hex number as string)
-2 <msg>, -3 <msg> additional messages to send (-n recommended)
-n, --need-response read response to the message transfer (CSW)
-r, --response-endpoint NUM read response from there (optional)
-K, --std-eject send standard EJECT sequence
-d, --detach-only detach the active driver, no further action
-H, --huawei-mode apply a special procedure
-J, --huawei-new-mode apply a special procedure
-S, --sierra-mode apply a special procedure
-O, --sony-mode apply a special procedure
-G, --gct-mode apply a special procedure
-N, --sequans-mode apply a special procedure
-A, --mobileaction-mode apply a special procedure
-T, --kobil-mode apply a special procedure
-L, --cisco-mode apply a special procedure
-B, --qisda-mode apply a special procedure
-E, --quanta-mode apply a special procedure
-F, --pantech-mode NUM apply a special procedure, pass NUM through
-R, --reset-usb reset the device after all other actions
-Q, --quiet don't show progress or error messages
-W, --verbose print all settings and debug output
-D, --sysmode specific result and syslog message
-s, --success <seconds> switching result check with timeout
-I, --inquire retrieve SCSI attributes initially
-c, --config-file <filename> load long configuration from file
-t, --stdinput read long configuration from stdin
-f, --long-config <text> get long configuration from string
-i, --interface NUM select initial USB interface (default 0)
-u, --configuration NUM select USB configuration
-a, --altsetting NUM select alternative USB interface setting
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.5 (C) Josua Dietze 2015
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
Тем не менее, в инструкции никакого параметра не стояло. На форуме и в интернете есть куча информации, но относится она к старым дистрибутивам. Что из этого всего стоит попробовать? Вывод lsusb для модема такой
Bus 002 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. Broadband stick (modem on)
ТС не появлялся на Форуме более полугода по состоянию на 14/07/2019 (последняя явка: 24/12/2017). Модератором раздела принято решение закрыть тему.
--zg_nico