Am 23.09.2015 um 17:03 schrieb Christian Kellermann:
> Dear list,
>
> I have flashed the latest release (Chaos Chalmer) on a TL-MR3020. I
> have installed the following packages on the device:
>
> $ opkg install comgt kmod-usb-serial-option kmod-usb-acm usb-modeswitch 
> luci-proto-3g
Hi Christian,

I use a 3g UMTS Modem (also Medion) on a TP-Link. There's at least one
more package I've installed: kmod-usb-serial-wwan

As far as I can tell this package is needed when using an USB-Modem as
WAN-Connection.

Regards

Markus
>
> I have added a section in /etc/config/network called 'wan':
>
> config interface 'wan'
>         #option ifname ppp0
>         option pincode 1234
>         option device /dev/ttyUSB0
>         option apn your.apn
>         option service umts
>         option proto 3g
>
> (I have been following the suggestions written at:
> http://blog.philippklaus.de/2012/04/using-the-huawei-e352s-5-umts-usb-modem-stick-with-ubuntu-and-openwrt/)
>
> The stick, a Medion Webstick S4011 (rebranded Huawei idVendor=12d1,
> idProduct=1003) is connected directly to the usb port of the device,
> gcom says it's connected:
>
> gcom -d /dev/ttyUSB0
> SIM ready
> Waiting for Registration..(120 sec max)...................
> Registered on Home network: "myprovider",0
> Signal Quality: 18,99
>
> When I try to start the interface with "ifon wan", I see
>
> Wed Sep 23 14:49:51 2015 daemon.notice netifd: Interface 'wan' is setting up 
> now
> Wed Sep 23 14:49:54 2015 daemon.notice netifd: wan (2254): SIM ready
> Wed Sep 23 14:49:54 2015 daemon.notice netifd: wan (2254): PIN set 
> successfully
> Wed Sep 23 14:49:55 2015 daemon.notice netifd: wan (2254): Trying to set mode
> Wed Sep 23 14:49:55 2015 daemon.notice pppd[2276]: pppd 2.4.7 started by 
> root, uid 0
>
> [snipped off pppd chat messages]
>
> Wed Sep 23 14:49:57 2015 daemon.notice pppd[2276]: Connect: 3g-wan <--> 
> /dev/ttyUSB0
> Wed Sep 23 14:49:57 2015 kern.info kernel: [ 4935.560000] 3g-wan: renamed 
> from ppp0
> Wed Sep 23 14:50:00 2015 kern.err kernel: [ 4938.520000] option1 ttyUSB0: 
> option_instat_callback: error -71
> Wed Sep 23 14:50:00 2015 kern.err kernel: [ 4938.720000] option1 ttyUSB0: 
> option_instat_callback: error -71
> [10-30 repetitions snipped]
> Wed Sep 23 14:50:30 2015 daemon.notice netifd: Interface 'wan' is now down
>
>
> My questions:
>
> What does the option_instat_callback error number mean? What can I do about 
> it?
>
> What does installing the luci-proto-3g module do? When I add the section 
> above I get a parsing error:
>
> /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute arcombine dispatcher 
> target for entry '/admin/network/network'.
> The called action terminated with an exception:
> /usr/lib/lua/luci/cbi.lua:311: Unable to read UCI data: network
> stack traceback:
>       [C]: in function 'assert'
>       /usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'
>       /usr/lib/lua/luci/dispatcher.lua:168: in function 
> </usr/lib/lua/luci/dispatcher.lua:167>
>
> Thanks for some hints on how to debug the situation.
>
> Kind regards,
>
> Christian
>
> --
> May you be peaceful, may you live in safety, may you be free from
> suffering, and may you live with ease.
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

-- 

Markus Hutmacher

[email protected]


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to