Перейти к содержанию

3G/CDMA USB модемы на PGI


Рекомендуемые сообщения

Используйте команды из gprs.chat раз определился как ttyACM0, а строку инициализации просто закоментируйте

Спасибо!

Не пришла как-то в голову эта мысль!

Видимо поэтому он не завелся и с DIR-655 (он работатет с 3G модемами).

Попробую как доберусь домой, отпишусь.

IPBox910HD(PGIv0.7.3+INDB6)-OpenboxX820(5.46)-90E,80E,75E,53E,36E-DiSEqC1.1

AzboxElite(0.9.ХХХХ)WinQuestMD460(90E-37.5W)-DiSEqC1.0+36E

Ссылка на комментарий
Поделиться на другие сайты

Может подскажете, чем лечить?

Подключаю к 91му модем 3G HUAWEI E1550.

при вызове в телнете dmesg, получаю лог с какими-то ошибками:

Если Вы о вот этих сообщениях

CLEANMARKER node found at 0x00310000, not first node in block (0x00300000)

... то они к модему не имеют отношения. Ваш модем подключается в режиме CD-ROM и в базе usb_modeswitch он есть

1) Отсоедините модем и перезагрузите ресивер

2) Отредактируйте файл pgi.conf:

USB_MODEM="12d1:1446"

3) при работающем ресивере, с отредактированным файлом pgi.conf, подсоедините модем

4) покажите содержимое всех файлов /tmp/usb_modem.*.log

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Прочитав внимательно все в этой ветке,пришел для себя к выводу.

У моего провайдера частенько пропадает интернет,так вот чтоб подстраховатся и не пропустить свой любимый футбол мне надо подключить телефон Nokia,так вот дайте 100% рабочие модели телефонов или модем,которые у вас завелись.Так что можно было пойти и купить,а дома без граблей настроить.

Зарание благодарен,жду предложений :rolleyes:

AB Ipbox 910HD PGI 0.7.3+E2,Xtrend ET9000 HD Twin (Clarke-Tech ET9000),Dreambox 500S

1,20(85.2°E+75°E+60°E) 0,9(42°E+36°E+31,5°E) 0,8(28,2°E-30°W)-мотоводвес Moteck SG-2100A

Samsung 40,LG 32.

Ссылка на комментарий
Поделиться на другие сайты

Прочитав внимательно все в этой ветке,пришел для себя к выводу.

У моего провайдера частенько пропадает интернет,так вот чтоб подстраховатся и не пропустить свой любимый футбол мне надо подключить телефон Nokia,так вот дайте 100% рабочие модели телефонов или модем,которые у вас завелись.Так что можно было пойти и купить,а дома без граблей настроить.

Зарание благодарен,жду предложений :rolleyes:

А у самого какой телефон?

N95 подошел, значит с большой вероятностью подойдет любой Symbian 9.1 (вероятно и другие), но это дорого, дешевле купить вот такое http://www.mts.ru/services/internet/connect/

можно проделать вот это http://habrahabr.ru/blogs/hardware/81971/

Ссылка на комментарий
Поделиться на другие сайты

у меня есть парочка моторол и sony eriksson w205

а вот по ссылке про модемы обьясните,что подойдет любая карточка к этому модему,или они привязаны к оператору.Ходил узнавать в магазин Теле2,они ничего не понимают. просто у меня связь- http://www.tele2.lv/ru/index.html

а конкретно http://www.zeltazivtina.lv/ru/rates

я в этом ни черта не понимаю.Буду очень признателен,если кто знающий посмотрит и подскажет.

AB Ipbox 910HD PGI 0.7.3+E2,Xtrend ET9000 HD Twin (Clarke-Tech ET9000),Dreambox 500S

1,20(85.2°E+75°E+60°E) 0,9(42°E+36°E+31,5°E) 0,8(28,2°E-30°W)-мотоводвес Moteck SG-2100A

Samsung 40,LG 32.

Ссылка на комментарий
Поделиться на другие сайты

у меня есть парочка моторол и sony eriksson w205

а вот по ссылке про модемы обьясните,что подойдет любая карточка к этому модему,или они привязаны к оператору.Ходил узнавать в магазин Теле2,они ничего не понимают. просто у меня связь- http://www.tele2.lv/ru/index.html

а конкретно http://www.zeltazivtina.lv/ru/rates

я в этом ни черта не понимаю.Буду очень признателен,если кто знающий посмотрит и подскажет.

Сории не заметил что вы из Латвии

http://www.tele2.lv/ru/internet/modemi_i_k...amp;model=E1752

Насчет этой модели точно сказать не могу, сам разблокировал только ZTE, но с очень большой вероятностью можно сказать что, практически любой 3G USB модем можно разблокировать, для использования с любым оператором, к тому же не все модели вообще залочены под оператора. Поищите в интернете.

Плюс покупки USB модема в том что:

1. Дешевле

2. Быстрее

3. Не требуется подзарядка (в некоторых телефон тоже предусмотрено питание от USB)

Ссылка на комментарий
Поделиться на другие сайты

Прочитав внимательно все в этой ветке,пришел для себя к выводу.

У моего провайдера частенько пропадает интернет,так вот чтоб подстраховатся и не пропустить свой любимый футбол мне надо подключить телефон Nokia,так вот дайте 100% рабочие модели телефонов или модем,которые у вас завелись.Так что можно было пойти и купить,а дома без граблей настроить.

Зарание благодарен,жду предложений :rolleyes:

У меня завелось 2 старинных Nokia серии 62xx.

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Сделал, получил

usb_modem.967.log:

minimum pid in action is , my pid is 967reading pgi.confUSB_MODEM is set to 12d1:1446 in pgi.congattempt #0: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #1: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #2: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #3: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #4: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #5: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #6: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #7: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #8: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446attempt #9: usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446could not switch the device, check /tmp/usb_modeswitch.967.logepic fail. bye.

usb_modeswitch.967.log0:

usb_set_debug: Setting debugging level to 15 (on)usb_os_find_busses: Found 002usb_os_find_busses: Found 001usb_os_find_busses: Skipping non bus directory devicesusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 002 on 001usb_os_find_devices: Found 001 on 001Reading config file: /var/etc/usb_modeswitch.d/12d1:1446* usb-modeswitch: handle USB devices with multiple modes* Version 1.1.1 © Josua Dietze 2010* Based on libusb0 (0.1.12 and above)! PLEASE REPORT NEW CONFIGURATIONS !DefaultVendor=  0x12d1DefaultProduct= 0x1446TargetVendor=   0x12d1TargetProduct=  not setTargetProductList=1001,1406,140c,14acTargetClass=    not setDetachStorageOnly=0HuaweiMode=0SierraMode=0SonyMode=0GCTMode=0MessageEndpoint= not setMessageContent="55534243123456780000000000000011060000000000000000000000000000"NeedResponse=0ResponseEndpoint= not setInterface=0x00InquireDevice disabledSuccess check enabled, max. wait time 20 secondsSystem integration mode enabledLooking for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1446   found matching vendor ID  searching devices, found USB ID 0000:0000No devices in target mode or class foundLooking for default devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1446   found matching vendor ID   found matching product ID   adding device  searching devices, found USB ID 0000:0000Found devices in default mode or class (1)Accessing device 033 on bus 001 ...USB description data (for identification)-------------------------Manufacturer: HUAWEI Technology     Product: HUAWEI Mobile  Serial No.: not provided-------------------------Looking for active driver ...OK, driver found ("usb-storage")OK, driver "usb-storage" detachedSetting up communication with interface 0 ...Trying to send the message to endpoint 0x01 ...USB error: could not clear/halt ep 1: Protocol errorusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001OK, message successfully sentDevice is gone, skipping any further commandsChecking for mode switch (max. 20 times, once per second) ...Original device is gone already, not checkingSearching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000Searching for target devices ...  searching devices, found USB ID 0000:0000  searching devices, found USB ID 12d1:1001   found matching vendor ID   found matching product ID from list  searching devices, found USB ID 0000:0000No new devices in target mode or class foundMode switch has failed. Bye.fail:

и остальные

usb_modeswitch.967.log1 ... usb_modeswitch.967.log9

которые заканчиваются текстом:

No devices in default mode or class found. Nothing to do. Bye.

PS

Удалите плиз мои предыдущие два сообщения в теме.

Я больше так не буду.

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

Сделал, получил

Занятненько! Судя по логу от usb_modeswitch, устройство переключается в режим данных, получая новый ID:

searching devices, found USB ID 12d1:1001

Но, почему-то при этом, сам usb_modeswitch пытается подвердить, что работа выполненена, и в упор не видит новое устройство.

Давайте сделаем так. Вручную.

1) уберите USB_MODEM из pgi.conf (можно просто поставить # в начале строки)

2) отключите модем, перезагрузите ресивер

3) зайдите в Telnet

4) подключите модем

5) дайте команду:

/usr/sbin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446

Покажите лог usb_modeswitch и результат команды lsusb, после того как отработает usb_modeswitch.

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Сории не заметил что вы из Латвии

http://www.tele2.lv/ru/internet/modemi_i_k...amp;model=E1752

Насчет этой модели точно сказать не могу, сам разблокировал только ZTE, но с очень большой вероятностью можно сказать что, практически любой 3G USB модем можно разблокировать, для использования с любым оператором, к тому же не все модели вообще залочены под оператора. Поищите в интернете.

А зачем разблокировать?Какой именно модем подойдет для нашего тюнера-просто действительно в этом не понимаю.

У меня завелось 2 старинных Nokia серии 62xx.

спасибо,с телефоном понятно

AB Ipbox 910HD PGI 0.7.3+E2,Xtrend ET9000 HD Twin (Clarke-Tech ET9000),Dreambox 500S

1,20(85.2°E+75°E+60°E) 0,9(42°E+36°E+31,5°E) 0,8(28,2°E-30°W)-мотоводвес Moteck SG-2100A

Samsung 40,LG 32.

Ссылка на комментарий
Поделиться на другие сайты

Вот лог:

 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.03.30 16:03:15 =~=~=~=~=~=~=~=~=~=~=~=


Welcome to Cuberevo

cuberevo login: root
Password: 
[PGI ~]$ /usr/sbin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:144

6
Reading config file: /var/etc/usb_modeswitch.d/12d1:1446

* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.1 © Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   0x12d1
TargetProduct=  not set
TargetProductList=1001,1406,140c,14ac
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled

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

Looking for target devices ...
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1446
  found matching vendor ID
 searching devices, found USB ID 0000:0000
No devices in target mode or class found
Looking for default devices ...
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1446
  found matching vendor ID
  found matching product ID
  adding device
 searching devices, found USB ID 0000:0000
Found devices in default mode or class (1)
Accessing device 033 on bus 001 ...

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
    Product: HUAWEI Mobile
 Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
OK, message successfully sent
USB error: could not clear/halt ep 1: Protocol error
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Original device is gone already, not checking
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
 searching devices, found USB ID 0000:0000
 searching devices, found USB ID 12d1:1001
  found matching vendor ID
  found matching product ID from list
 searching devices, found USB ID 0000:0000
No new devices in target mode or class found

Mode switch has failed. Bye.

fail:
[PGI ~]$ lsusb
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 001 Device 001: ID 0000:0000  
[PGI ~]$  

PS У меня модем мобильного инета от Киевстара, но перешитый для работы и с другими мобильными опереторами.

Может все фокусы из-за этого?

В нетбуке через него инет работает нормально.

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

PS У меня модем мобильного инета от Киевстара, но перешитый для работы и с другими мобильными опереторами.

Может все фокусы из-за этого?

Может.. всё может..

Не понятно почему usb_modeswitch всё таки переключает ваш девайс в другой режим (о чем свидетельствует lsusb), но сам его не видит при проверке после переключения.

Давайте дальше, на том месте, где Вы остановились с lsusb, продолжаем вручную:

modprobe usbserial vendor=0x12d1 product=0x1001

и смотрим что у нас в dmesg и появилось ли устройство (или несколько) /dev/ttyUSB*

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

и смотрим что у нас в dmesg и появилось ли устройство (или несколько) /dev/ttyUSB*

Вот, что получилось:

[PGI ~]$ modprobe usbserial vendor=0x12d1 product=0x1001[PGI ~]$ dmesgnd 2048)TCP reno registeredsquashfs: version 3.4 (2008/08/26) Phillip LougherNTFS driver 2.1.27 [Flags: R/O].JFFS2 version 2.2. (NAND) © 2001-2003 Red Hat, Inc.Initializing Cryptographic APIio scheduler noop registeredio scheduler anticipatory registered (default)io scheduler deadline registeredio scheduler cfq registeredSTPIO layer initialisedSTMicroelectronics ASC driver initializedttyAS0 at MMIO 0xb8032000 (irq = 121) is a ascttyAS1 at MMIO 0xb8033000 (irq = 120) is a ascRTL8201: Registered new driverPPP generic driver version 2.4.2NET: Registered protocol family 24STMMAC driver:        platform registration... <6>done!        HW MAC address: 00:13:18:02:b1:fcmdiobus_register: found PHY and assigning IRQ -6STMMAC MII Bus: probednetconsole: not configured, abortingnwhw_config: device not foundlibata version 1.20 loaded.sata_stm version 0.3sata_stm using hardware scatter/gathersata_stm SATA version 1.00 DMA version 2.02ata1: SATA max UDMA/133 cmd 0xB9209000 ctl 0xB9209820 bmdma 0x0 irq 170ata1: SATA link down (SStatus 0)scsi0 : sata_stmGeneric ST boards onboard flash device: 0x02000000 (32.0MB) at 0x00000000drivers/mtd/maps/cuberevo-250hd.c init_stboards[206] onboard_map.virt = 0xa0000000Onboard_Flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040Onboard_Flash: CFI does not contain boot bank location. Assuming top.number of CFI chips: 1cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.Creating 9 MTD partitions on "Onboard_Flash":0x00000000-0x00040000 : "nor.boot"0x00040000-0x00060000 : "nor.config_welcome"0x00060000-0x00260000 : "nor.kernel"0x00260000-0x01600000 : "nor.root"0x01600000-0x02000000 : "nor.db"0x00060000-0x01600000 : "nor.kernel_root"0x00060000-0x02000000 : "nor.kernel_root_db"0x00040000-0x02000000 : "nor.all_noboot"0x00000000-0x02000000 : "nor.all"usbmon: debugfs is not availableST40_start_host_controlST40_start_host_control proceedingST40-ehci ST40-ehci.2: ST EHCI Host ControllerST40-ehci ST40-ehci.2: new USB bus registered, assigned bus number 1ST40-ehci ST40-ehci.2: irq 169, io mem 0xb91ffe00ST40-ehci ST40-ehci.2: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004usb usb1: configuration #1 chosen from 1 choicehub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detected2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ST40)ST40_start_host_controlST40-ohci ST40-ohci.1: STB7100 OHCIST40-ohci ST40-ohci.1: new USB bus registered, assigned bus number 2ST40-ohci ST40-ohci.1: irq 168, io mem 0xb91ffc00usb usb2: configuration #1 chosen from 1 choicehub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedInitializing USB Mass Storage driver...usbcore: registered new driver usb-storageUSB Mass Storage support registered.usbcore: registered new driver usbhiddrivers/usb/input/hid-core.c: v2.6:USB HID core driverusbcore: registered new driver asixusbcore: registered new driver net1080usbcore: registered new driver plusbi2c /dev entries driveri2c_st40_pio: ST40 PIO based I2C Driveri2c_st40_pio: allocated pin (2,0) for scl (0x847a7c0c)i2c_st40_pio: allocated pin (2,1) for sda (0x847a7c1c)i2c_st40_pio: allocated pin (3,0) for scl (0x847a7c8c)i2c_st40_pio: allocated pin (3,2) for sda (0x847a7cac)i2c_st40_pio: allocated pin (4,0) for scl (0x847a7d0c)i2c_st40_pio: allocated pin (4,1) for sda (0x847a7d1c)i2c_st40_pio bus 0: SCL=PIO2[0], SDA=PIO2[1]i2c_st40_pio bus 1: SCL=PIO3[0], SDA=PIO3[2]i2c_st40_pio bus 2: SCL=PIO4[0], SDA=PIO4[1]STMicroelectronics - Coprocessors st231 Initst-coprocessor-0: No RAM reservedst231-0 Coprocessor -------------------------------------------    not configured!---------------------------------------------------------------st-coprocessor-1: No RAM reservedst231-1 Coprocessor -------------------------------------------    not configured!---------------------------------------------------------------ip_conntrack version 2.4 (648 buckets, 5184 max) - 224 bytes per conntrackip_conntrack_pptp version 3.1 loadedip_nat_pptp version 3.0 loadedip_tables: © 2000-2006 Netfilter Core Teamipt_recent v0.3.1: Stephen Frost <[email protected]>.  http://snowman.net/projects/ipt_recent/TCP bic registeredNET: Registered protocol family 1NET: Registered protocol family 17ieee80211: 802.11 data/management/control stack, git-1.1.7ieee80211: Copyright © 2004-2005 Intel Corporation <[email protected]>ieee80211_crypt: registered algorithm 'NULL'ieee80211_crypt: registered algorithm 'WEP'stmmac_open: MAC address 00:13:18:02:b1:fcVFS: Mounted root (squashfs filesystem) readonly.Freeing unused kernel memory: 96k freedWarning: unable to open an initial console.Empty flash at 0x0000fffc ends at 0x00010000CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)CLEANMARKER node found at 0x00030000, not first node in block (0x00020000)Empty flash at 0x0004fffc ends at 0x00050000CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)Empty flash at 0x0006fffc ends at 0x00070000CLEANMARKER node found at 0x00070000, not first node in block (0x00060000)Empty flash at 0x0008fffc ends at 0x00090000CLEANMARKER node found at 0x00090000, not first node in block (0x00080000)Empty flash at 0x000afffc ends at 0x000b0000CLEANMARKER node found at 0x000b0000, not first node in block (0x000a0000)Empty flash at 0x000cffc0 ends at 0x000d0000CLEANMARKER node found at 0x000d0000, not first node in block (0x000c0000)Empty flash at 0x000efffc ends at 0x000f0000CLEANMARKER node found at 0x000f0000, not first node in block (0x000e0000)Empty flash at 0x0010fffc ends at 0x00110000CLEANMARKER node found at 0x00110000, not first node in block (0x00100000)Empty flash at 0x0012fffc ends at 0x00130000CLEANMARKER node found at 0x00130000, not first node in block (0x00120000)Empty flash at 0x0014fffc ends at 0x00150000CLEANMARKER node found at 0x00150000, not first node in block (0x00140000)Empty flash at 0x0016fffc ends at 0x00170000CLEANMARKER node found at 0x00170000, not first node in block (0x00160000)Empty flash at 0x0018fffc ends at 0x00190000CLEANMARKER node found at 0x00190000, not first node in block (0x00180000)Empty flash at 0x001afffc ends at 0x001b0000CLEANMARKER node found at 0x001b0000, not first node in block (0x001a0000)Empty flash at 0x001cfffc ends at 0x001d0000CLEANMARKER node found at 0x001d0000, not first node in block (0x001c0000)CLEANMARKER node found at 0x001f0000, not first node in block (0x001e0000)Empty flash at 0x0020fffc ends at 0x00210000CLEANMARKER node found at 0x00210000, not first node in block (0x00200000)Empty flash at 0x0022fffc ends at 0x00230000CLEANMARKER node found at 0x00230000, not first node in block (0x00220000)Empty flash at 0x0024fffc ends at 0x00250000CLEANMARKER node found at 0x00250000, not first node in block (0x00240000)Empty flash at 0x0026fffc ends at 0x00270000CLEANMARKER node found at 0x00270000, not first node in block (0x00260000)Empty flash at 0x0028fffc ends at 0x00290000CLEANMARKER node found at 0x00290000, not first node in block (0x00280000)Empty flash at 0x002affbc ends at 0x002b0000CLEANMARKER node found at 0x002b0000, not first node in block (0x002a0000)CLEANMARKER node found at 0x002d0000, not first node in block (0x002c0000)CLEANMARKER node found at 0x002f0000, not first node in block (0x002e0000)Empty flash at 0x0030ff60 ends at 0x00310000CLEANMARKER node found at 0x00310000, not first node in block (0x00300000)Empty flash at 0x0032fffc ends at 0x00330000CLEANMARKER node found at 0x00330000, not first node in block (0x00320000)input: Relook IR Keyboard as /class/input/input0ciio: module license 'unspecified' taints kernel.ciio device driver.ciio_starci2win: i2c_transfer failed.(-121)ciio_starci2win: starci2win_init failed.stos_core: no version magic, tainting kernel.stos_core_init_module(): Initializing STOS Modulestcommon_core: no version magic, tainting kernel.stcommon_core_init_module(): Initializing STCOMMON ModuleSetting all Group priorities donePTI Clock: Cut 3.0 detected -> applying 27000000Hz oscillator config ...Preproc Clock: Cut 3.0 detected -> setting Preproc clock.mod_lxload_init: Initializing LXLOAD kernel Module, StartAddress: 0x04200000LXLOADER virtual io kernel address of phys 0xa4200000 = 0xa4200000lxload_open: major=254 minor=0setting up Audio LX in NON-DEBUG modelxload_release: major=254 minor=0Starting Audio LX by disabling resetLX loaded:  Base: 0xa4200000  Last: 0xa42cab04  Size:830212mod_lxload_exit: Exiting LXLOAD kernel Modulestmmac_open: MAC address 00:13:18:02:b1:fcmod_lxload_init: Initializing LXLOAD kernel Module, StartAddress: 0x04000000LXLOADER virtual io kernel address of phys 0xa4000000 = 0xa4000000lxload_open: major=254 minor=0setting up LX in NON-DEBUG modelxload_release: major=254 minor=0Starting video LX by disabling resetLX loaded:  Base: 0xa4000000  Last: 0xa4093d9c  Size:605596mod_lxload_exit: Exiting LXLOAD kernel Modulerelook dvb device driver.DVB: registering new adapter (relook).Unable to handle kernel NULL pointer dereference at virtual address 00000004pc = c01e95aastapi: no version magic, tainting kernel.*pde = 00000000Oops: 0000 [#1]Pid : 510, Comm:          kdvb-ca-0:0PC is at readreg+0xa/0xa0 [ciio]PC  : c01e95aa SP  : 88533e74 SR  : 40008000 TEA : c01ea7d2    Tainted: PF    R0  : c01e95a0 R1  : c01ebb74 R2  : 00000000 R3  : 00000000R4  : 00000004 R5  : 00000000 R6  : 88533e83 R7  : 00000001R8  : 00000000 R9  : c01ebb64 R10 : 88533e83 R11 : 845b5440R12 : 844337e0 R13 : 845b5540 R14 : 892026c0MACH: 00000000 MACL: 00000000 GBR : 00000000 PR  : c01e96e4Call trace: [<c01e96e4>] ciio_detect+0x44/0xc0 [ciio][<c01ebb64>] jif.12009+0x0/0xffffe5dc [ciio][<c01e700c>] poll_slot_status+0xc/0x60 [dvb_inf][<845b548e>] dvb_ca_en50221_check_camstatus+0x4e/0x100[<845b6c90>] dvb_ca_en50221_thread+0x1b0/0xaa0[<844335e0>] autoremove_wake_function+0x0/0x40[<84405156>] ret_from_fork+0x6/0x10[<844163a0>] schedule_tail+0x0/0x160[<845b6ae0>] dvb_ca_en50221_thread+0x0/0xaa0[<84403004>] kernel_thread_helper+0x4/0x20stblit_ioctl_init_module: Initializing STBLIT IOCTL ModuleLoad module stclkrv_core by modprobe (pid 486)stvmix_ioctl_init_module: Initializing STVMIX IOCTL ModuleLoad module stavmem_ioctl [248]         by modprobe (pid 486)stpio_core_init_module(): Initializing STPIO ModulePHY: 0:01 - Link is Up - 100/Fullstvout_ioctl_init_module: Initializing STVOUT IOCTL ModuleLoad module stfdma_ioctl [243]          by modprobe (pid 486)Load module fdma [242] by modprobe (pid 486)stvtg_ioctl_init_module: Initializing STVTG IOCTL ModuleLoad module stpti4_core by modprobe (pid 486)Load module staudlx_core [237]          by modprobe (pid 486)sthdmi_ioctl_init_module: Initializing STHDMI IOCTL Moduleutils_ioctl_init_module: Initializing UTILS IOCTL ModuleACCESS 00000002Open Read/Writestevt: Setting New buffer Size 102400ACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteUTILS: ioctl command 0 [0x00007e00]ACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteFixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c82c ins=0x6141Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c83c ins=0x2411Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c82c ins=0x6141Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c83c ins=0x2411Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c82c ins=0x6141Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c83c ins=0x2411Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c82c ins=0x6141Fixing up unaligned userspace access in "sbox" pid=785 pc=0x0046c83c ins=0x2411Fixing up unaligned userspace access in "sbox" pid=785 pc=0x297add4e ins=0x6101Fixing up unaligned userspace access in "sbox" pid=785 pc=0x297add5a ins=0x2011REAP:+I-STC=1301964712 PTS=1302028549, Drift=63837 Th=1890, NumberToDo=36PCMPLAYER(PCMPLAYER0) => Pause (ms)=41PCMPLAYER(PCMPLAYER1) => Pause (ms)=40PCMPLAYER(PCMPLAYER0) => Pause (ms)=24PCMPLAYER(PCMPLAYER1) => Pause (ms)=24usb 1-1: new high speed USB device using ST40-ehci and address 2usb 1-1: configuration #1 chosen from 1 choicescsi1 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 2usb-storage: waiting for device to settle before scanningscsi2 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 2usb-storage: waiting for device to settle before scanning  Vendor: HUAWEI    Model: Mass Storage      Rev: 2.31  Type:   CD-ROM                             ANSI SCSI revision: 02  Vendor: HUAWEI    Model: MMC Storage       Rev: 2.31  Type:   Direct-Access                      ANSI SCSI revision: 02usb-storage: device scan completesd 2:0:0:0: Attached scsi removable disk sdausb-storage: device scan completeSKIP:+I-STC=1307400723 PTS=1307396149, Drift=4574 Th=1890, NumberToDo=2 usb 1-1: USB disconnect, address 2SKIP:+P-STC=1307951554 PTS=1307939749, Drift=11805 Th=1890, NumberToDo=6 REAP:+I-STC=1308034350 PTS=1308098149, Drift=63799 Th=1890, NumberToDo=36usb 1-1: new high speed USB device using ST40-ehci and address 3usb 1-1: configuration #1 chosen from 1 choicescsi3 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 3usb-storage: waiting for device to settle before scanningscsi4 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 3usb-storage: waiting for device to settle before scanning  Vendor: HUAWEI    Model: Mass Storage      Rev: 2.31  Type:   CD-ROM                             ANSI SCSI revision: 02  Vendor: HUAWEI    Model: MMC Storage       Rev: 2.31  Type:   Direct-Access                      ANSI SCSI revision: 02usb-storage: device scan completesd 4:0:0:0: Attached scsi removable disk sdausb-storage: device scan completeREAP:+I-STC=1310493179 PTS=1310546149, Drift=52970 Th=1890, NumberToDo=30PCMPLAYER(PCMPLAYER0) => Pause (ms)=173PCMPLAYER(PCMPLAYER1) => Pause (ms)=172PCMPLAYER(PCMPLAYER0) => Pause (ms)=151PCMPLAYER(PCMPLAYER1) => Pause (ms)=150PCMPLAYER(PCMPLAYER0) => Pause (ms)=79PCMPLAYER(PCMPLAYER1) => Pause (ms)=78PCMPLAYER(PCMPLAYER0) => Skip (ms)=51PCMPLAYER(PCMPLAYER1) => Skip (ms)=51PCMPLAYER(PCMPLAYER0) => Skip (ms)=31PCMPLAYER(PCMPLAYER1) => Skip (ms)=32REAP:+I-STC=1310691183 PTS=1310754949, Drift=63766 Th=1890, NumberToDo=36PCMPLAYER(PCMPLAYER1) => Pause (ms)=17PCMPLAYER(PCMPLAYER0) => Pause (ms)=13PCMPLAYER(PCMPLAYER1) => Pause (ms)=6usbserial: no version magic, tainting kernel.usbcore: registered new driver usbserialdrivers/usb/serial/usb-serial.c: USB Serial support registered for genericusbserial_generic 1-1:1.0: generic converter detectedusb 1-1: generic converter now attached to ttyUSB0usbserial_generic 1-1:1.1: generic converter detectedusb 1-1: generic converter now attached to ttyUSB1usbserial_generic 1-1:1.2: generic converter detectedusb 1-1: generic converter now attached to ttyUSB2usbcore: registered new driver usbserial_genericdrivers/usb/serial/usb-serial.c: USB Serial Driver core[PGI ~]$

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор подскажите пож какие параметры надо поправить под свой модем, а какие оставлять как есть в шаблонах 3g.chat и 3g? Может быть я что-то недоделал или неправильно сделал в этих файлах?

3g.chat

ABORT BUSY 
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 120
"" "AT&F"
OK "ATE1" 
# Is there a PIN set on the SIM? 
#OK "AT+CPIN?"
# What network are we connected to?
OK "AT+COPS?"
# Next line can be used to get a full list of available
# networks, but it takes a long time!
#OK "AT+COPS=?"
# List what AT commands we can issue to this card.
#OK "AT&V"
# Prefer UMTS networks over GPRS networks
# (but connect to GPRS if UMTS unavailable)
OK "AT_OPSYS=3"
# Current network signal strength
OK "AT+CSQ"
# Note the single quotes at the beginning and end,
# reversing the quoting (double at ends, single
# inside) does NOT work!
OK 'AT+CGDCONT=1,"IP","internet"'
TIMEOUT 60
OK "ATD*99#"
CONNECT c

3g

# If pppd reports this as a non-modem thing, then run the huaweiAktBbo program
/dev/ttyUSB0
#Baudrate -- Note that setting this to 384000 yields an error message
# about this speed not being supported!
460800
#Idle time for closing connection
idle   7200
#Lock the device for this PPPD process use only
lock
#Use normal handshaking
crtscts
#Assume it is a modem device and force modem control methods
modem
#Any user can start the connection
noauth
#If a default route exists replace it with the ppp link
#You get an error if this command is not supported
#by your version of PPPD
#
#Make the ppp link the default root
defaultroute
#Username and Password for computer/GlobeTrotter ppp link
#Normally ignored. Change if GSM Operator requires it
#user               Anyname
#password           Anypassword
#Change the path to chat if required for your version of Linux
connect "/sbin/chat -V -f /var/etc/ppp/3g.chat"
#Accept IP address provided by network
noipdefault
#Detach PPPD from console used to run the program {optional}
#updetach
#Get DNS addresses from operator
usepeerdns
#Don't use VJ compression for ppp link
novj
# Make the connection persistent, and not terminate if/when errors occur.
persist
maxfail 0
debug
kdebug 4

Ссылка на комментарий
Поделиться на другие сайты

Вот, что получилось:

Ну понятно, в общем все работает (устройство обнаружилось и может быть теперь использовано для подключения)

Всё работает, кроме того что usb_modeswitch, похоже, глючит.

Я нашел вот что на форуме usb_modeswitch (и уже запостил туда запрос):

http://www.draisberghof.de/usb_modeswitch/...php?p=2204#2204

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

manco

А у тебя какой оператор?

Если Киевстар, то вместо

OK 'AT+CGDCONT=1,"IP","internet"'

напиши

OK 'AT+CGDCONT=1,"IP","3g.kyivstar.net"'

или посмотри на сайте оператора настройки.

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор подскажите пож какие параметры надо поправить под свой модем, а какие оставлять как есть в шаблонах 3g.chat и 3g? Может быть я что-то недоделал или неправильно сделал в этих файлах?

к сожалению, я не могу вам больше помочь ничем. всё что я знал по этой теме я расписал в NETWORK_ru.txt и больше мне добавить нечего. Вы же, надеюсь, не думаете, что у меня в голове есть все настройки для любых модемов и любых операторов в мире? Google Вам в помощь и форумы по этим устройствам под Линуксом. В вашей проблеме нет ничего "особого для IPBox" - это уже чисто конфигурационная задача под конкретный модем, под конкретного оператора.

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор

Спасибо.

Я так понял, что в скриптах пустить usb_modeswitch по правильному пути, не получится?

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор

Спасибо.

Я так понял, что в скриптах пустить usb_modeswitch по правильному пути, не получится?

ну можно, конечно, чисто под себя "напролом" похакать скрипты. но хочется разобраться в чем глюк с usb_modeswitch.

если сильно руки чешутся, можно просто убрать порцию в скрипте, где он проверяет, завршился ли usb_modeswitch успешно или нет.

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Заработал usb modem ZTE 626 (перепрошитый родной прошивкой от тесра) Раскажу как все делал: Значит втыкаем модем в ресивер, даем команду #dmesg видим что устройство опредилилось как флэшка.. Затем даем в телнете #lsusb видим Bus 001 Device 002: 19d2:0031 вот эти строки вписываем в pgi.conf в секцию USB_MODEM="19d2:0031" Затем перегружаемся и снова в телнете #dmesg при выводе появляются новые usb устройства

drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbserial_generic 1-1:1.1: generic converter detected
usb 1-1: generic converter now attached to ttyUSB1
usbserial_generic 1-1:1.3: generic converter detected
usb 1-1: generic converter now attached to ttyUSB2
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

почему то их три???

Затем я привел по шаблону ув. Дяди Федора два файла к этому виду

1. /var/etc/ppp/peers/zte

#this file contains all the parameters pppd will pass to the modem to establish the GPRS connection
#
# The user and password has been commented out becasue the "noauth" command is being used
#user web
#password web
#
# This places a default route in the routing table with the peer as the gateway
defaultroute
#
# This can also be used to replace existing default routes
#replacedefaultroute
#
# Serial Modem to use
/dev/ttyUSB2
460800
#
# Call this chat script to issue the modem commands
connect "/sbin/chat -v -f /var/etc/ppp/chats/zte.chat"
#
# Enable debugging to /var/log/messages
debug
#
# Enable kernel debugging level 4
kdebug 4
#
#
ipcp-no-addresses
#
#
noipdefault
#
# Do not require the peer to use authentication
noauth
#
# Disable Van Jacobson style TCP/IP header compression in both TX and RX
novj
#
# Disable compression control protocol,if peer doesnt accept requests for CCP from pppd
noccp
#
# Use RTS/CTS hardware flow control
crtscts
#
# I cant find what this means, but if its not included there is no output to the command prompt
modem -detach
#
# Use DNS given to peer and rewrite /etc/resolv.conf
usepeerdns
#
# pppd will accept the peers idea of its remote ip address
ipcp-accept-remote
#
# pppd will accept the peers idea of its local ip address
ipcp-accept-local
#

2. /var/etc/ppp/chats/zte.chat

# GPRS Chat File, contains all parameters that /usr/sbin/chat will pass to the modem to create the GPRS connection
#
#
# Abort Strings
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'TIMEOUT' '10'
#
# Modem Init
'' 'ATZ'
#
#
'OK' 'ATM1L1'
#
# "internet" represents Vodafone's APN, whereas "general.t-mobile.uk" is T-mobiles UK APN address
'OK' 'AT&f+cgdcont=1,"IP","home.beeline.ru","",0,0'
'OK' 'ATDT*99***1#'
'CONNECT' ''

После # pppd call zte &

В итоге есть коннект. Спасибо Вам Дядя Фёдор and Pacco!!!!!

Sezam 901HD_PGI-0.6.1 (36E-60E-75E-80E-90E)+HDD 160 Gb SATA-2 Fujitsu 2.5"

Ссылка на комментарий
Поделиться на другие сайты

В итоге есть коннект. Спасибо Вам Дядя Фёдор and Pacco!!!!!

Отлично! Спасибо большое за то, что поделились информацией.

Думаю, Ваш шаблон теперь многие смогут использовать.

Я включу его в следущую версию PGI.

P.S. увидел, что Вы использовали chat скрипт от GPRS - у вас интересно какая скорость соединения в связи с этим? 3G или GPRS?

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

P.S. увидел, что Вы использовали chat скрипт от GPRS - у вас интересно какая скорость соединения в связи с этим? 3G или GPRS?

Вам спасибо. Провайдер beeline, симка 3G, на компе иногда доходит до 1-1.5 мегабит в сек.

Sezam 901HD_PGI-0.6.1 (36E-60E-75E-80E-90E)+HDD 160 Gb SATA-2 Fujitsu 2.5"

Ссылка на комментарий
Поделиться на другие сайты

Вам спасибо. Провайдер beeline, симка 3G, на компе иногда доходит до 1-1.5 мегабит в сек.

на компе - это одно. а вот на ресивере - совсем другое...

может у вас идет коннект в GPRS режиме?

можно попробовать проверить коннект скачав большой файл утилитой wget с Интернета (сохранить в никуда - посмотреть нужно опции wget, чтобы файл не сохранялся) прямо с ресивера

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

на компе - это одно. а вот на ресивере - совсем другое...

может у вас идет коннект в GPRS режиме?

можно попробовать проверить коннект скачав большой файл утилитой wget с Интернета (сохранить в никуда - посмотреть нужно опции wget, чтобы файл не сохранялся) прямо с ресивера

Я попробую скачать.. На моем модеме есть индикатор он имеет три вида подсветки если моргает зеленым это GPRS-EGDE если синим то это UMTS/. Так вот, на сезаме он моргал синим цветом..

Может я ошибаюсь, но я думаю, что конфиг файлы служат для установки дозвона (конечно при верно вбитых значениях), а устройство работает по полной своей пропускной способности, а также способностью сети?

Sezam 901HD_PGI-0.6.1 (36E-60E-75E-80E-90E)+HDD 160 Gb SATA-2 Fujitsu 2.5"

Ссылка на комментарий
Поделиться на другие сайты

Я попробую скачать.. На моем модеме есть индикатор он имеет три вида подсветки если моргает зеленым это GPRS-EGDE если синим то это UMTS/. Так вот, на сезаме он моргал синим цветом..

Может я ошибаюсь, но я думаю, что конфиг файлы служат для установки дозвона (конечно при верно вбитых значениях), а устройство работает по полной своей пропускной способности, а также способностью сети?

всё может быть... зависит от устройства. некоторые устройства могу работать в разных режимах и им нужна дополнительная команда для включения высоко (или наоборот низко) скоростного режима.

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

всё может быть... зависит от устройства. некоторые устройства могу работать в разных режимах и им нужна дополнительная команда для включения высоко (или наоборот низко) скоростного режима.

Согласен.

Sezam 901HD_PGI-0.6.1 (36E-60E-75E-80E-90E)+HDD 160 Gb SATA-2 Fujitsu 2.5"

Ссылка на комментарий
Поделиться на другие сайты

Попробуйте вот что... отредактируйте файл /var/bin/scrplg-ppp-connect-start.sh

в строке где команда "pppd call" добавьте символ & в конце строки:

pppd call $PPPD_PEER &

напишите помогло или нет...

Помогло полностью!

Единственно ругается на меня. Видимо за то что я не ввел инфо про используемый телефон(смартфон). Но в итоге сдается и показывает.

Можеть и не надо ничего вводить, про некоторые Nokia.

Ссылка на комментарий
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
×
×
  • Создать...