[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4680: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4681: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru • Просмотр темы - Запуск 3G модема Мегафон E173




 

Управляем чем угодно откуда угодно

Запуск 3G модема Мегафон E173

Виртурилка, 3G/4G, WiFi, моторчики, датчики, GPS и прочее - питание, драйвера, совместимость и т.д.

Запуск 3G модема Мегафон E173

Сообщение Klimuch » 24 фев 2015, 23:02

Собираюсь сделать машинку на управлении через интернет. По вайфаю(свисток) всё заработало, а usb модем даже запускаться не хочет. Делаю всё как на вики(запуск 3G модема), но не проходит команда переключения режима модема. После её выполнения модем определяется в системе как "Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. ", и не создаются файлы ttyUSB. И система ругается на /dev/sda/.
Вот лог из "сообщения системы":
Jan 1 03:02:29 virt2real user.info kernel: [ 151.576144] usbcore: registered new interface driver cdc_ether
Jan 1 03:02:29 virt2real user.notice kernel: [ 152.291636] scsi 7:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jan 1 03:02:30 virt2real user.notice kernel: [ 152.311386] scsi 8:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
Jan 1 03:02:30 virt2real user.notice kernel: [ 152.359378] scsi 7:0:0:0: Attached scsi generic sg0 type 5
Jan 1 03:02:30 virt2real user.notice kernel: [ 152.404244] sd 8:0:0:0: Attached scsi generic sg1 type 0
Jan 1 03:02:30 virt2real user.notice kernel: [ 152.416291] sd 8:0:0:0: [sda] Attached SCSI removable disk
Jan 1 03:02:31 virt2real user.info usbmount[1740]: /dev/sda does not contain a filesystem or disklabel
Хочу отметить, что к виртурилки подключён хаб(качество не очень, но свою работу выполняет), к которому подключён wifi и usb модем. все настройки делаю по wifi
Klimuch
 
Сообщения: 26
Зарегистрирован: 05 фев 2015, 17:15

Re: Запуск 3G модема Мегафон E173

Сообщение realizator » 25 фев 2015, 02:19

Аватара пользователя
realizator
virt2real team
 
Сообщения: 653
Зарегистрирован: 17 фев 2012, 23:18

Re: Запуск 3G модема Мегафон E173

Сообщение Klimuch » 25 фев 2015, 17:28

Глянул тему. usb_modeswitch, приведённый в ней, вообще ничего не делает(даже не изменяется состояние модема). А который на вики для E353 хотя бы модем дисконектит, начинает видеть его по новому и ругается на файл /dev/sda/
После изменения в файлах megafon и option выполнение команды pppd call megafon выдаёт такой вот лог:
Jan 1 03:07:42 virt2real daemon.notice pppd[2188]: pppd 2.4.5 started by root, uid 0
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (BUSY)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (NO CARRIER)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (VOICE)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (NO DIALTONE)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (NO DIAL TONE)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (NO ANSWER)
Jan 1 03:07:43 virt2real local2.info chat[2190]: abort on (DELAYED)
Jan 1 03:07:43 virt2real local2.info chat[2190]: timeout set to 6 seconds
Jan 1 03:07:43 virt2real local2.info chat[2190]: send (ATQ0^M)
Jan 1 03:07:43 virt2real local2.info chat[2190]: expect (OK)
Jan 1 03:07:49 virt2real local2.info chat[2190]: alarm
Jan 1 03:07:49 virt2real local2.info chat[2190]: send (AT^M)
Jan 1 03:07:49 virt2real local2.info chat[2190]: expect (OK)
Jan 1 03:07:53 virt2real local7.info dhcpd: DHCPDISCOVER from 00:11:67:73:38:8e (ADMIN-5H6VELENP) via wlan0
Jan 1 03:07:54 virt2real local7.info dhcpd: DHCPOFFER on 192.168.1.10 to 00:11:67:73:38:8e (ADMIN-5H6VELENP) via wlan0
Jan 1 03:07:55 virt2real local2.info chat[2190]: alarm
Jan 1 03:07:55 virt2real local2.info chat[2190]: Failed
Jan 1 03:07:56 virt2real daemon.err pppd[2188]: Connect script failed
Klimuch
 
Сообщения: 26
Зарегистрирован: 05 фев 2015, 17:15

Re: Запуск 3G модема Мегафон E173

Сообщение Klimuch » 25 фев 2015, 22:23

Вроде уже запустилось.
Поменял во всех файлах, касающихся мегафону на строки из темы, которую вы кинули.
Но usb_modeswitch делал как на вики
Klimuch
 
Сообщения: 26
Зарегистрирован: 05 фев 2015, 17:15


Вернуться в Железо - заставляем работать

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 17

cron