lsusb
ls /dev/ttyUSB*
ls /dev/ttyACM*
Настоятельно просим вас при общении соблюдать Правила форума и законы РФ. Наша тематика вне политики, поэтому воздержитесь от обсуждения ситуации на Украине и связанных с ней событий, независимо от того, какую сторону вы поддерживаете.
Также напоминаем, что наш форум находится в доменной зоне .ru, физически расположен на российских серверах и мы соблюдаем действующее законодательство России. Любые сообщения о политике будут удаляться.
Linux Forum → Mandriva Linux, ROSA → Настройка интернета для USB GPRS модема
везде пишет -command not found
шутите что ли? от рута выполняли?
да!может быть не нужно энтер нажимать после каждой строки?
Блин,как меня заколебал этот мтс(((((((Я уже 5 день места себе не нахожу.
команды надо по отдельности вводить
я так и делала:1susb-enter
ls /dev/ttyUSB*-enter
command not found он мне пишет
не 1susb а lsusb
Возможно, не установлен пакет usbutils?
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1210:25f4
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 007: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 12d1:14ac Huawei Technologies Co., Ltd.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
вот что выдал.
А как установить и откуда usbutils?Если можете распишите по-подробнее.
А как установить и откуда usbutils?
Как показывает ваш последний пост, у вас есть этот пакет. wink
уже хорошо.А дальше как быть?
mcg14, usb-modeswitch установлен?
не знаю(((и как его установить?
наберите
command not found
А какой у вас модем
МТС КОННЕКТ
Это пакет подключения, как модем называется, на коробке должно быть написано: huawei ?
ссори, да huawei E150
mcg14, после подключения модема, подождав секунд двадцать, выполните в терминале
dmesg | tail -n 50
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
mcg14, извините, введите команду несколько иначе:
dmesg | head -n 50
n0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
mcg14, вы бы на время настройки USB-модема отключили WiFi. wink
Вы сделали именно так?
...после подключения модема, подождав секунд двадцать, выполните в терминале...
...введите команду несколько иначе:
Консоль:
dmesg | head -n 50
dmesg | head -n 50
P 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
wlan0: RX ReassocResp from 1c:af:f7:88:38:6c (capab=0xc31 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
mcg14, вы что-то делаете явно не так.
Подключив USB-модем, подождите секунд 20 и выполните команду, затем покажите вывод
Подключив USB-модем, подождите секунд 20 и выполните команду, затем покажите вывод-это 85 сообщение
вот эту
dmesg | egrep -i 'usb|modem|huawei' -A 5
usb 7-1: USB disconnect, address 3
option: option_instat_callback: error -108
option: option_instat_callback: error -108
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 7-1:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 7-1:1.1: device disconnected
option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
option 7-1:1.2: device disconnected
option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
option 7-1:1.3: device disconnected
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
--
usb 7-1: new full speed USB device using uhci_hcd and address 4
usb 7-1: New USB device found, idVendor=12d1, idProduct=1446
usb 7-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 7-1: Product: HUAWEI Mobile
usb 7-1: Manufacturer: HUAWEI Technology
usb 7-1: configuration #1 chosen from 1 choice
scsi19 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
--
usb 7-1: USB disconnect, address 4
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
--
usb 7-1: new full speed USB device using uhci_hcd and address 5
wlan0: deauthenticated (Reason: 2)
usb 7-1: New USB device found, idVendor=12d1, idProduct=14ac
usb 7-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 7-1: Product: HUAWEI Mobile
usb 7-1: Manufacturer: HUAWEI Technology
usb 7-1: configuration #1 chosen from 1 choice
option 7-1:1.0: GSM modem (1-port) converter detected
usb 7-1: GSM modem (1-port) converter now attached to ttyUSB0
option 7-1:1.1: GSM modem (1-port) converter detected
usb 7-1: GSM modem (1-port) converter now attached to ttyUSB1
option 7-1:1.2: GSM modem (1-port) converter detected
usb 7-1: GSM modem (1-port) converter now attached to ttyUSB2
option 7-1:1.3: GSM modem (1-port) converter detected
usb 7-1: GSM modem (1-port) converter now attached to ttyUSB3
scsi20 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
--
scsi 20:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
sr1: scsi-1 drive
sr 20:0:0:0: Attached scsi CD-ROM sr1
sr 20:0:0:0: Attached scsi generic sg3 type 5
usb-storage: device scan complete
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
--
usb 2-1: USB disconnect, address 12
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
wlan0: associate with AP 1c:af:f7:88:38:6c
--
usb 2-1: new high speed USB device using ehci_hcd and address 15
usb 2-1: New USB device found, idVendor=1307, idProduct=0163
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: USB Mass Storage Device
usb 2-1: Manufacturer: USBest Technology
usb 2-1: SerialNumber: 5d66c3f6169754
usb 2-1: configuration #1 chosen from 1 choice
scsi21 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
wlan0: deauthenticated (Reason: 2)
wlan0: direct probe to AP 1c:af:f7:88:38:6c try 1
wlan0 direct probe responded
wlan0: authenticate with AP 1c:af:f7:88:38:6c
wlan0: authenticated
--
usb-storage: device scan complete
sd 21:0:0:0: [sdb] 4014079 512-byte logical blocks: (2.05 GB/1.91 GiB)
sd 21:0:0:0: [sdb] Write Protect is off
sd 21:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 21:0:0:0: [sdb] Assuming drive cache: write through
sd 21:0:0:0: [sdb] Assuming drive cache: write through
mcg14, ну и теперь ещё вывод команд, не вынимая модем:
Linux Forum → Mandriva Linux, ROSA → Настройка интернета для USB GPRS модема
Форум работает на PunBB, при поддержке Informer Technologies, Inc