OpenWrt Forum Archive

Topic: [SOLVED] 3G modem option1 ttyUSB0: option_instat_callback: error -2

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I have finally got modem seen and attached to /dev/ttyUSB0
using OpenWrt Barrier Breaker 14.07 and extroot on a TL-MR10U.

A good victory for me :-)

But I cannot connect,
restarting network I have many messages :

option1 ttyUSB0: option_instat_callback: error -2

I think there is something with USB, sdcard reader and modem are plugged
to a small USB hub.

I have the same message after call of gcom :

root@OpenWrt:/# gcom info -d /dev/ttyUSB0
##### Wireless WAN Modem Configuration #####
Product text:
====

Manufacturer: huawei
Model: K3565
Revision: 11.608.11.00.287
IMEI: 354765032922221
+GCAP: +CGSM,+FCLASS,+DS
OK
====
Manufacturer:           huawei
IMEI and Serial Number: 354765032922221
Manufacturer's Revision: 
11.608.11.00.2
Hardware Revision:      

Network Locked:         0
Customisation:          

Band settings:          (
)
APN:                    1,"IP","Free","0.0.0.0",0,0
##### END #####
[ 1584.600000] option1 ttyUSB0: option_instat_callback: error -2

The router  is now powered by it's battery, and serial to computer with ftdi breakout.

I could not find "error -2" with option_instat_callback,
does someone know what is it from ?
Maybe how could I solve it ?

(Last edited by Jodaille on 2 Jun 2016, 20:06)

Hello,

I have found this issue https://dev.openwrt.org/ticket/16733

I will try with another USB hub, for now I have the same issue with a fresh received gl.inet

cool

root@GL-iNet:/# ping openwrt.org
PING openwrt.org (78.24.191.177): 56 data bytes
64 bytes from 78.24.191.177: seq=0 ttl=48 time=298.561 ms

I have tried with another hub, it was worst, modem was reseting itself in a loop.

I have made another try on my Debian desktop and the modem connects fine.

I have checked the parameters in network manager, phone number was :

*99#

APN:

free

without username nor password.

I have then edit /etc/chatscripts/3g.chat to change to:

OK      "ATD*99#"

and /etc/config/network to remoce username/password

I have plugged a real power source (not USB from computer ...)

After some:

[   78.930000] option1 ttyUSB0: option_instat_callback: error -2
[   82.020000] option1 ttyUSB0: option_instat_callback: error -2
[   83.100000] option1 ttyUSB0: option_instat_callback: error -2

I can see in ifconfig output:

3g-wan6   Link encap:Point-to-Point Protocol

Houra !!!! \o/

(Last edited by Jodaille on 2 Jun 2016, 20:15)

The discussion might have continued from here.