Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.10.2014, 20:39   #11
to_
Member
 
Регистрация: 04.01.2014
Сообщений: 81
Вес репутации: 0
to_ is an unknown quantity at this point
По умолчанию Re: Как подключить Мегафон М100-4 (он же Huawei E3272) на OpenWRT?

Вот спасибо! Списочек модулей то же понадобится!
to_ вне форума   Ответить с цитированием
Старый 04.01.2015, 15:05   #12
coddex
Junior Member
 
Регистрация: 04.01.2015
Сообщений: 1
Вес репутации: 0
coddex is an unknown quantity at this point
По умолчанию Re: Как подключить Мегафон М100-4 (он же Huawei E3272) на OpenWRT?

Добрый день!

До сих пор читал Ваш форум чисто в познавательных целях, и до сих пор не возникало вопросов, а теперь вот возникла крайне интересная ситуация, приобрел я тоже такой же модем, переделал его в hilink, подключил к роутеру asus wl-330n3g с прошивкой openwrt 12.09, r36088 (прошивка собрана под данный роутер и находится на сайте openwrt, под некоторые роутеры там уже есть готовые варианты), установил пакеты:
opkg install kmod-usb-core kmod-usb-net kmod-usb-net-asix kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb2 kmod-usb-ohci kmod-usb-net-cdc-ncm kmod-usb-net-wwan usb-modeswitch usb-modeswitch-data
правда два пакета не установились:
Collected errors:
* opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ncm.
* opkg_install_cmd: Cannot install package kmod-usb-net-wwan.

Модем успешно засветился\заработал, в dmesg выдал успешное (MAC изменен):
[ 1833.110000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
выставил его как внешний интерфейс, полазил в инете без проблем, разрывов и тому подобного, ну и я на радостях оставил его в покое. На следующий день решил продолжить эксперименты, включаю всю эту конструкцию как и было вчера, т.е. питание, шнурок к роутеру, сам роутер и модем и вижу такую картину: модем моргает, соединяется, 5-15 секунд, соединение разрывается, потом опять соединяется, опять 5-15 секунд и снова тоже самое, проверил, воткнув в ноутбук, соединение стабильно. Подумал, что это от того что принудительно стояло 4g, переставил на режим auto, все равно то же самое. Попробовал снова в ноутбук - опять все стабильно, полез в dmesg, а там такое ощущение, что либо модему питания не хватает, то ли какой-то глюк с модулями, может кто сталкивался уже с таким подобным?
Код:
[   16.070000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.120000] nf_conntrack version 0.5.0 (466 buckets, 1864 max)
[   16.640000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.680000] dwc_otg: version 2.72a 24-JUN-2008
[   16.690000] dwc_otg: Core Release: 2.66a
[   16.900000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   16.920000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   16.930000] dwc_otg: Using DMA mode
[   16.940000] dwc_otg: Device using Buffer DMA mode
[   16.950000] dwc_otg dwc_otg.0: DWC OTG Controller
[   16.950000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   16.970000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   16.980000] dwc_otg: Init: Port Power? op_state=1
[   16.990000] dwc_otg: Init: Power Port (0)
[   17.000000] hub 1-0:1.0: USB hub found
[   17.010000] hub 1-0:1.0: 1 port detected
[   17.140000] usbcore: registered new interface driver asix
[   17.180000] usbcore: registered new interface driver cdc_ether
[   17.320000] usbcore: registered new interface driver rndis_host
[   17.390000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[   23.400000] device eth0.2 entered promiscuous mode
[   23.410000] device eth0 entered promiscuous mode
[   23.430000] br-lan: port 1(eth0.2) entered forwarding state
[   23.440000] br-lan: port 1(eth0.2) entered forwarding state
[   25.440000] br-lan: port 1(eth0.2) entered forwarding state
[   29.550000] device wlan0 entered promiscuous mode
[   30.130000] br-lan: port 2(wlan0) entered forwarding state
[   30.140000] br-lan: port 2(wlan0) entered forwarding state
[   32.140000] br-lan: port 2(wlan0) entered forwarding state
[   33.390000] usb 1-1: USB disconnect, device number 2
[   33.400000] dwc_otg: Device Not Supported
[   33.450000] dwc_otg: Device Not Supported
[   33.490000] dwc_otg: Device Not Supported
[   33.530000] dwc_otg: Device Not Supported
....
[   46.630000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   46.650000] dwc_otg: Device Not Supported
[   47.150000] dwc_otg: Device Not Supported
[   47.150000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   47.170000] dwc_otg: Device Not Supported
[   47.730000] usb 1-1: new high-speed USB device number 7 using dwc_otg
[   47.940000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[   48.380000] dwc_otg: Device Not Supported
[   48.610000] usb 1-1: USB disconnect, device number 7
[   48.620000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[   48.730000] dwc_otg: Device Not Supported
...
[   46.630000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   46.650000] dwc_otg: Device Not Supported
[   47.150000] dwc_otg: Device Not Supported
[   47.150000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   47.170000] dwc_otg: Device Not Supported
[   47.730000] usb 1-1: new high-speed USB device number 7 using dwc_otg
[   47.940000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[   48.380000] dwc_otg: Device Not Supported
[   48.610000] usb 1-1: USB disconnect, device number 7
[   48.620000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[   48.730000] dwc_otg: Device Not Supported
[   48.770000] dwc_otg: Device Not Supported
[   48.810000] dwc_otg: Device Not Supported
[   48.850000] dwc_otg: Device Not Supported
[   48.890000] dwc_otg: Device Not Supported
[   48.890000] dwc_otg: Device Not Supported
[   49.400000] dwc_otg: Device Not Supported
[   49.400000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   49.420000] dwc_otg: Device Not Supported
...
[   50.300000] dwc_otg: Device Not Supported
[   50.310000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
[   50.530000] dwc_otg: Device Not Supported
--
Было подозрение, что из-за того, что не хватало зоны покрытия, изменил свое местоположение, какое было вчера - все так же, периодические обрывы...
Код:
[  600.310000] usb 1-1: new high-speed USB device number 34 using dwc_otg
[  600.540000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  601.750000] dwc_otg: Device Not Supported
[  602.000000] usb 1-1: USB disconnect, device number 34
[  602.010000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  602.420000] usb 1-1: new high-speed USB device number 35 using dwc_otg
[  602.680000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  602.700000] dwc_otg: Device Not Supported
[  602.710000] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[  602.950000] usb 1-1: USB disconnect, device number 35
[  602.960000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  603.340000] usb 1-1: new high-speed USB device number 36 using dwc_otg
[  603.570000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  610.500000] dwc_otg: Device Not Supported
[  610.750000] usb 1-1: USB disconnect, device number 36
[  610.760000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  611.080000] dwc_otg: Device Not Supported
[  611.080000] hub 1-0:1.0: unable to enumerate USB device on port 1
[  611.100000] dwc_otg: Device Not Supported
[  611.660000] usb 1-1: new high-speed USB device number 38 using dwc_otg
[  611.900000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  652.000000] dwc_otg: Device Not Supported
[  652.250000] usb 1-1: USB disconnect, device number 38
[  652.260000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  652.730000] usb 1-1: new high-speed USB device number 39 using dwc_otg
[  652.990000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  657.250000] dwc_otg: Device Not Supported
[  657.500000] usb 1-1: USB disconnect, device number 39
[  657.510000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  657.880000] usb 1-1: new high-speed USB device number 40 using dwc_otg
[  658.100000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
---
странно, роутер с модемом "простоялись" и соединение стабилизировалось:
Код:
[  718.500000] dwc_otg: Device Not Supported
[  718.750000] usb 1-1: USB disconnect, device number 43
[  718.760000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  719.190000] usb 1-1: new high-speed USB device number 44 using dwc_otg
[  719.410000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
[  728.500000] dwc_otg: Device Not Supported
[  728.750000] usb 1-1: USB disconnect, device number 44
[  728.760000] cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-dwc_otg.0-1, CDC Ethernet Device
[  729.150000] usb 1-1: new high-speed USB device number 45 using dwc_otg
[  729.490000] cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-dwc_otg.0-1, CDC Ethernet Device, AA:AA:AA:AA:AA:AA
Не понятно, почему...

Последний раз редактировалось coddex; 04.01.2015 в 18:53. Причина: Добавлены "наблюдения"
coddex вне форума   Ответить с цитированием
Ответ

Метки
3g 4g huawei e3272


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 11:44. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика