15 июля | 2024г. | 17:07:11


АвторТема: Настройка интернет через CDMA модемы  (Прочитано 339836 раз)

0 Пользователей и 1 Гость смотрят эту тему.

Оффлайн artems

  • Младший Джедай
  • **
  • Сообщений: 67
  • Поблагодарили: 0
  • Уважение: 0
Вот результат, вроде на порту модем.
А права на файл драйвера 744?

Спойлер   :
[root@stlinux]#echo "12d1 1506" > /sys/bus/usb-serial/drivers/option1/new_id
[root@stlinux]#/etc/ppp/usb_modeswitch -W -I -c /etc/ppp/switch/12d1:155b

Reading config file: /etc/ppp/switch/12d1:155b

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.4 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x155b
TargetVendor=   0x12d1
TargetProduct=  0x1506
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243000000000000000000000011060000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check disabled
System integration mode disabled


usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:155b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:155b
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
 Found device in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer:
     Product: Mobile Connect
  Serial No.: not provided
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
USB error: error reaping URB: No such device
 Device seems to have vanished right after sending. Good.
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

[root@stlinux]#cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
0: module:option name:"GSM modem (1-port)" vendor:12d1 product:1506 num_ports:1 port:1 path:usb-stm-ehci.0-1
1: module:option name:"GSM modem (1-port)" vendor:12d1 product:1506 num_ports:1 port:1 path:usb-stm-ehci.0-1
[root@stlinux]#


Ещё раз попробовал


Спойлер   :
[root@stlinux]#/etc/ppp/usb_modeswitch -I -W -c /etc/ppp/switch/12d1:155b

Reading config file: /etc/ppp/switch/12d1:155b

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.4 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x155b
TargetVendor=   0x12d1
TargetProduct=  0x1506
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243000000000000000000000011060000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check disabled
System integration mode disabled


usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:155b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:155b
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
 Found device in default mode, class or configuration (1)
Accessing device 006 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer:
     Product: Mobile Connect
  Serial No.: not provided
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x81
USB error: could not clear/halt ep 129: No such device
 Could not reset endpoint (probably harmless): -19
Resetting message endpoint 0x01
USB error: could not clear/halt ep 1: No such device
 Could not reset endpoint (probably harmless): -19
USB error: could not release intf 0: No such device
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

[root@stlinux]#/etc/ppp/usb_modeswitch -I -W -c /etc/ppp/switch/12d1:155b

Reading config file: /etc/ppp/switch/12d1:155b

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.4 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x155b
TargetVendor=   0x12d1
TargetProduct=  0x1506
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243000000000000000000000011060000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check disabled
System integration mode disabled


usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 007 on 001
skipped 4 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:1506
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
 Found devices in target mode or class (1)
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:1506
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in default mode found. Nothing to do. Bye.

[root@stlinux]#cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
[root@stlinux]#dmesg | tail -n40
<4>save exit: isCheckpointed 1
<6>usb 1-1: USB disconnect, address 3
<6>usb 1-1: new high speed USB device using stm-ehci and address 4
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usb-storage
<6>scsi1 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 4
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 1:0:0:0: CD-ROM                     Mass Storage     2.31 PQ: 0 ANSI: 2
<7>usb-storage: device scan complete
<6>usb 1-1: USB disconnect, address 4
<6>usb 1-1: new high speed USB device using stm-ehci and address 5
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=usbserial_generic
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<6>usb 1-1: USB disconnect, address 5
<6>usb 1-1: new high speed USB device using stm-ehci and address 6
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usb-storage
<6>scsi2 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 6
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 2:0:0:0: CD-ROM                     Mass Storage     2.31 PQ: 0 ANSI: 2
<7>usb-storage: device scan complete
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<6>warning: `vsftpd' uses 32-bit capabilities (legacy support in use)
<6>usb 1-1: USB disconnect, address 6
<6>usb 1-1: new high speed USB device using stm-ehci and address 7
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=usbserial_generic
[root@stlinux]#

Вот засада. Не коннектится сегодня никак.....



Теги:
 

Похожие темы

  Тема / Автор Ответов Последний ответ
15 Ответов
18989 Просмотров
Последний ответ 27 декабря | 2017г. | 14:40:50
от Schwarz
1 Ответов
3623 Просмотров
Последний ответ 07 января | 2014г. | 00:23:11
от Const
11 Ответов
9172 Просмотров
Последний ответ 19 июня | 2016г. | 12:08:06
от Ser6
3 Ответов
5000 Просмотров
Последний ответ 06 апреля | 2016г. | 13:32:01
от rovshik
0 Ответов
6712 Просмотров
Последний ответ 26 сентября | 2016г. | 02:25:48
от vodker



X

Добро пожаловать!

Мы заметили, что у Вас установлено расширение AdBlock или ему подобное. Пожалуйста добавьте наш Клуб в белый список, внесите этим посильную лепту в его развитие. Спасибо!