Opened 5 years ago
Last modified 18 months ago
#12008 reopened defect
3G modem does not reconnect
Reported by: | dm1@… | Owned by: | developers |
---|---|---|---|
Priority: | high | Milestone: | Barrier Breaker 14.07 |
Component: | packages | Version: | Trunk |
Keywords: | 3g reconnect | Cc: |
Description
After a physical disconnect or losing network, 3g-wan interface will always remain down. "ifdown wan && ifup wan" has no effect. There is no messages from chat in logread output, it's not even trying to execute chat script.
But "/etc/init.d/network restart" fixes it. Chat script immediately executes and 3g-wan is working until next wan or modem disconnection.
Similar issue is mentioned in OpenWRT 3g dongle FAQ, in multiwan section: http://wiki.openwrt.org/doc/recipes/3gdongle
Tested on the latest trunk, ar71xx, several TP-link MR3220.
Before this, I was using build from 04.05.2012, it worked fine.
Here is full logread output:
========================== After boot ============================= Aug 11 02:30:14 DAN daemon.notice pppd[3222]: pppd 2.4.5 started by root, uid 0 Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (BUSY) Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (NO CARRIER) Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (ERROR) Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (NO DIAL TONE) Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (NO ANSWER) Aug 11 02:30:15 DAN local2.info chat[3226]: abort on (DELAYED) Aug 11 02:30:15 DAN local2.info chat[3226]: report (CONNECT) Aug 11 02:30:15 DAN local2.info chat[3226]: timeout set to 10 seconds Aug 11 02:30:15 DAN local2.info chat[3226]: send (AT^M) Aug 11 02:30:15 DAN local2.info chat[3226]: expect (OK) Aug 11 02:30:15 DAN local2.info chat[3226]: AT^M^M Aug 11 02:30:15 DAN local2.info chat[3226]: OK Aug 11 02:30:15 DAN local2.info chat[3226]: -- got it Aug 11 02:30:15 DAN local2.info chat[3226]: send (ATZ^M) Aug 11 02:30:15 DAN local2.info chat[3226]: timeout set to 30 seconds Aug 11 02:30:15 DAN local2.info chat[3226]: expect (OK) Aug 11 02:30:15 DAN local2.info chat[3226]: ^M Aug 11 02:30:15 DAN local2.info chat[3226]: ATZ^M^M Aug 11 02:30:15 DAN local2.info chat[3226]: OK Aug 11 02:30:15 DAN local2.info chat[3226]: -- got it Aug 11 02:30:15 DAN local2.info chat[3226]: send (ATDT#777^M) Aug 11 02:30:15 DAN local2.info chat[3226]: expect (CONNECT) Aug 11 02:30:15 DAN local2.info chat[3226]: ^M Aug 11 02:30:15 DAN local2.info chat[3226]: ATDT#777^M^M Aug 11 02:30:15 DAN local2.info chat[3226]: CONNECT Aug 11 02:30:15 DAN local2.info chat[3226]: -- got it Aug 11 02:30:15 DAN local2.info chat[3226]: send (^M) Aug 11 02:30:15 DAN daemon.info pppd[3222]: Serial connection established. Aug 11 02:30:15 DAN daemon.info pppd[3222]: Using interface 3g-wan Aug 11 02:30:15 DAN daemon.notice pppd[3222]: Connect: 3g-wan <--> /dev/ttyUSB0 Aug 11 02:30:15 DAN daemon.notice pppd[3222]: PAP authentication succeeded Aug 11 02:30:15 DAN daemon.notice pppd[3222]: local IP address 95.81.32.119 Aug 11 02:30:15 DAN daemon.notice pppd[3222]: remote IP address 195.128.182.33 Aug 11 02:30:15 DAN daemon.notice pppd[3222]: primary DNS address 195.128.182.23 Aug 11 02:30:15 DAN daemon.notice pppd[3222]: secondary DNS address 195.128.182.45 Aug 11 02:30:16 DAN daemon.notice netifd: Interface 'wan' is now up Aug 11 02:30:18 DAN user.notice ifup: Enabling Router Solicitations on wan (3g-wan) Aug 11 02:30:18 DAN user.info firewall: adding wan (3g-wan) to zone wan ================== Unplugging 3g modem from USB ====================== Aug 11 02:32:11 DAN kern.err kernel: [ 3531.070000] option: option_instat_callback: error -71 Aug 11 02:32:11 DAN kern.err kernel: [ 3531.090000] option: option_instat_callback: error -71 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.100000] usb 1-1.1: USB disconnect, device number 8 Aug 11 02:32:11 DAN daemon.notice pppd[3222]: Modem hangup Aug 11 02:32:11 DAN daemon.info pppd[3222]: Connect time 2.0 minutes. Aug 11 02:32:11 DAN daemon.info pppd[3222]: Sent 1183 bytes, received 1785 bytes. Aug 11 02:32:11 DAN daemon.notice pppd[3222]: Connection terminated. Aug 11 02:32:11 DAN daemon.notice netifd: Interface 'wan' has lost the connection Aug 11 02:32:11 DAN kern.err kernel: [ 3531.100000] option: option_instat_callback: error -143 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.110000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 Aug 11 02:32:11 DAN kern.err kernel: [ 3531.120000] option: option_instat_callback: error -71 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.120000] option 1-1.1:1.0: device disconnected Aug 11 02:32:11 DAN kern.info kernel: [ 3531.130000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.140000] option 1-1.1:1.1: device disconnected Aug 11 02:32:11 DAN kern.info kernel: [ 3531.140000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.150000] option 1-1.1:1.2: device disconnected Aug 11 02:32:11 DAN kern.info kernel: [ 3531.150000] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3 Aug 11 02:32:11 DAN kern.info kernel: [ 3531.160000] option 1-1.1:1.3: device disconnected Aug 11 02:32:12 DAN user.info firewall: removing wan (3g-wan) from zone wan ================ Connectin 3g modem to USB port again ================ Aug 11 02:32:20 DAN kern.info kernel: [ 3539.530000] usb 1-1.1: new full-speed USB device number 9 using ehci-platform Aug 11 02:32:20 DAN kern.info kernel: [ 3539.650000] scsi13 : usb-storage 1-1.1:1.0 Aug 11 02:32:20 DAN authpriv.info dropbear[3606]: Child connection from 192.168.0.253:58547 Aug 11 02:32:20 DAN user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Aug 11 02:32:20 DAN user.notice usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching Aug 11 02:32:20 DAN syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/009 Aug 11 02:32:20 DAN kern.info kernel: [ 3540.060000] usb 1-1.1: USB disconnect, device number 9 Aug 11 02:32:24 DAN kern.info kernel: [ 3543.370000] usb 1-1.1: new full-speed USB device number 10 using ehci-platform Aug 11 02:32:24 DAN kern.info kernel: [ 3543.480000] option 1-1.1:1.0: GSM modem (1-port) converter detected Aug 11 02:32:24 DAN kern.info kernel: [ 3543.490000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0 Aug 11 02:32:24 DAN kern.info kernel: [ 3543.490000] option 1-1.1:1.1: GSM modem (1-port) converter detected Aug 11 02:32:24 DAN kern.info kernel: [ 3543.500000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1 Aug 11 02:32:24 DAN kern.info kernel: [ 3543.510000] option 1-1.1:1.2: GSM modem (1-port) converter detected Aug 11 02:32:24 DAN kern.info kernel: [ 3543.520000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2 Aug 11 02:32:24 DAN kern.info kernel: [ 3543.530000] option 1-1.1:1.3: GSM modem (1-port) converter detected Aug 11 02:32:24 DAN kern.info kernel: [ 3543.540000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3 Aug 11 02:32:24 DAN kern.info kernel: [ 3543.540000] scsi18 : usb-storage 1-1.1:1.4 Aug 11 02:32:25 DAN kern.notice kernel: [ 3544.550000] scsi 18:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0 Aug 11 02:32:25 DAN kern.notice kernel: [ 3544.560000] scsi 18:0:0:1: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2 Aug 11 02:32:25 DAN kern.notice kernel: [ 3544.580000] sd 18:0:0:1: [sdb] Attached SCSI removable disk Aug 11 02:32:41 DAN daemon.err pppd[3222]: Failed to open /dev/ttyUSB0: No such file or directory Aug 11 02:32:41 DAN daemon.info pppd[3222]: Exit. Aug 11 02:32:41 DAN daemon.notice netifd: Interface 'wan' is now down Aug 11 02:32:42 DAN daemon.notice netifd: Interface 'wan' is now down Aug 11 02:32:51 DAN user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Aug 11 02:32:51 DAN user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Aug 11 02:32:51 DAN user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Aug 11 02:32:51 DAN user.notice usb-modeswitch: 1-1.1:1.3: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Aug 11 02:32:52 DAN user.notice usb-modeswitch: 1-1.1:1.4: Manufacturer=HUAÿWEI_TECHNOLOGIES Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ============ And that is all, pppd is not working ==================== =================== /etc/init.d/network restart ====================== Aug 11 02:34:23 DAN daemon.notice netifd: Interface 'lan' is now down Aug 11 02:34:23 DAN kern.info kernel: [ 3662.420000] br-lan: port 1(eth0) entered disabled state Aug 11 02:34:23 DAN kern.info kernel: [ 3662.440000] device eth0 left promiscuous mode Aug 11 02:34:23 DAN kern.info kernel: [ 3662.440000] br-lan: port 1(eth0) entered disabled state Aug 11 02:34:23 DAN kern.info kernel: [ 3662.460000] eth0: link down Aug 11 02:34:23 DAN daemon.notice netifd: Interface 'loopback' is now down Aug 11 02:34:23 DAN user.info firewall: removing lan (br-lan) from zone lan Aug 11 02:34:26 DAN daemon.notice netifd: Interface 'lan' is now up Aug 11 02:34:26 DAN kern.info kernel: [ 3665.780000] device eth0 entered promiscuous mode Aug 11 02:34:26 DAN daemon.notice netifd: Interface 'loopback' is now up Aug 11 02:34:26 DAN daemon.notice pppd[3969]: pppd 2.4.5 started by root, uid 0 Aug 11 02:34:26 DAN user.notice ifup: Enabling Router Solicitations on lan (br-lan) Aug 11 02:34:27 DAN kern.info kernel: [ 3666.380000] eth0: link up (1000Mbps/Full duplex) Aug 11 02:34:27 DAN kern.info kernel: [ 3666.380000] br-lan: port 1(eth0) entered forwarding state Aug 11 02:34:27 DAN kern.info kernel: [ 3666.390000] br-lan: port 1(eth0) entered forwarding state Aug 11 02:34:27 DAN user.info firewall: adding lan (br-lan) to zone lan Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (BUSY) Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (NO CARRIER) Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (ERROR) Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (NO DIAL TONE) Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (NO ANSWER) Aug 11 02:34:27 DAN local2.info chat[4040]: abort on (DELAYED) Aug 11 02:34:27 DAN local2.info chat[4040]: report (CONNECT) Aug 11 02:34:27 DAN local2.info chat[4040]: timeout set to 10 seconds Aug 11 02:34:27 DAN local2.info chat[4040]: send (AT^M) Aug 11 02:34:27 DAN local2.info chat[4040]: expect (OK) Aug 11 02:34:27 DAN local2.info chat[4040]: AT^M^M Aug 11 02:34:27 DAN local2.info chat[4040]: OK Aug 11 02:34:27 DAN local2.info chat[4040]: -- got it Aug 11 02:34:27 DAN local2.info chat[4040]: send (ATZ^M) Aug 11 02:34:27 DAN local2.info chat[4040]: timeout set to 30 seconds Aug 11 02:34:27 DAN local2.info chat[4040]: expect (OK) Aug 11 02:34:27 DAN local2.info chat[4040]: ^M Aug 11 02:34:27 DAN local2.info chat[4040]: ATZ^M^M Aug 11 02:34:27 DAN local2.info chat[4040]: OK Aug 11 02:34:27 DAN local2.info chat[4040]: -- got it Aug 11 02:34:27 DAN local2.info chat[4040]: send (ATDT#777^M) Aug 11 02:34:27 DAN local2.info chat[4040]: expect (CONNECT) Aug 11 02:34:27 DAN local2.info chat[4040]: ^M Aug 11 02:34:28 DAN local2.info chat[4040]: ATDT#777^M^M Aug 11 02:34:28 DAN local2.info chat[4040]: CONNECT Aug 11 02:34:28 DAN local2.info chat[4040]: -- got it Aug 11 02:34:28 DAN local2.info chat[4040]: send (^M) Aug 11 02:34:28 DAN daemon.info pppd[3969]: Serial connection established. Aug 11 02:34:28 DAN daemon.info pppd[3969]: Using interface 3g-wan Aug 11 02:34:28 DAN daemon.notice pppd[3969]: Connect: 3g-wan <--> /dev/ttyUSB0 Aug 11 02:34:29 DAN kern.info kernel: [ 3668.390000] br-lan: port 1(eth0) entered forwarding state Aug 11 02:34:29 DAN daemon.err pppd[3969]: PAP authentication failed Aug 11 02:34:32 DAN user.notice ifup: Enabling Router Solicitations on loopback (lo) Aug 11 02:34:35 DAN daemon.notice pppd[3969]: Connection terminated. Aug 11 02:34:36 DAN daemon.notice pppd[3969]: Modem hangup Aug 11 02:34:36 DAN daemon.info pppd[3969]: Exit. Aug 11 02:34:36 DAN daemon.notice netifd: Interface 'wan' is now down Aug 11 02:34:36 DAN daemon.notice pppd[4121]: pppd 2.4.5 started by root, uid 0 Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (BUSY) Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (NO CARRIER) Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (ERROR) Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (NO DIAL TONE) Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (NO ANSWER) Aug 11 02:34:37 DAN local2.info chat[4126]: abort on (DELAYED) Aug 11 02:34:37 DAN local2.info chat[4126]: report (CONNECT) Aug 11 02:34:37 DAN local2.info chat[4126]: timeout set to 10 seconds Aug 11 02:34:37 DAN local2.info chat[4126]: send (AT^M) Aug 11 02:34:37 DAN local2.info chat[4126]: expect (OK) Aug 11 02:34:37 DAN local2.info chat[4126]: AT^M^M Aug 11 02:34:37 DAN local2.info chat[4126]: OK Aug 11 02:34:37 DAN local2.info chat[4126]: -- got it Aug 11 02:34:37 DAN local2.info chat[4126]: send (ATZ^M) Aug 11 02:34:37 DAN local2.info chat[4126]: timeout set to 30 seconds Aug 11 02:34:37 DAN local2.info chat[4126]: expect (OK) Aug 11 02:34:37 DAN local2.info chat[4126]: ^M Aug 11 02:34:37 DAN local2.info chat[4126]: ATZ^M^M Aug 11 02:34:37 DAN local2.info chat[4126]: OK Aug 11 02:34:37 DAN local2.info chat[4126]: -- got it Aug 11 02:34:37 DAN local2.info chat[4126]: send (ATDT#777^M) Aug 11 02:34:37 DAN local2.info chat[4126]: expect (CONNECT) Aug 11 02:34:37 DAN local2.info chat[4126]: ^M Aug 11 02:34:38 DAN local2.info chat[4126]: ATDT#777^M^M Aug 11 02:34:38 DAN local2.info chat[4126]: CONNECT Aug 11 02:34:38 DAN local2.info chat[4126]: -- got it Aug 11 02:34:38 DAN local2.info chat[4126]: send (^M) Aug 11 02:34:38 DAN daemon.info pppd[4121]: Serial connection established. Aug 11 02:34:38 DAN daemon.info pppd[4121]: Using interface 3g-wan Aug 11 02:34:38 DAN daemon.notice pppd[4121]: Connect: 3g-wan <--> /dev/ttyUSB0 Aug 11 02:34:39 DAN daemon.notice pppd[4121]: PAP authentication succeeded Aug 11 02:34:39 DAN daemon.notice pppd[4121]: local IP address 95.81.32.119 Aug 11 02:34:39 DAN daemon.notice pppd[4121]: remote IP address 195.128.182.33 Aug 11 02:34:39 DAN daemon.notice pppd[4121]: primary DNS address 195.128.182.23 Aug 11 02:34:39 DAN daemon.notice pppd[4121]: secondary DNS address 195.128.182.45 Aug 11 02:34:39 DAN daemon.notice netifd: Interface 'wan' is now up Aug 11 02:34:39 DAN user.notice ifup: Enabling Router Solicitations on wan (3g-wan) Aug 11 02:34:40 DAN user.info firewall: adding wan (3g-wan) to zone wan =================== And now it works! ======================
Attachments (0)
Change History (18)
comment:1 Changed 5 years ago by Crazy
comment:2 Changed 5 years ago by Crazy
I do not understand why sometimes it works ...
Today I have unplugged and plugged again many times and all is fine... very strange...
ZTE K4505-Z and 1043ND, trunk r33134
comment:3 Changed 5 years ago by Crazy
Incredible, i can't reproduce again the problem.
I have done many tests with different dongles (e270, e353u-2 and ZTE K4505-Z) and all is fine:
Sep 8 15:57:51 OpenWrt daemon.notice pppd[8299]: Modem hangup Sep 8 15:57:51 OpenWrt daemon.notice pppd[8299]: Connection terminated. Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.760000] usb 1-1: USB disconnect, device number 7 Sep 8 15:57:51 OpenWrt kern.err kernel: [ 861.770000] option: option_instat_callback: error -143 Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.770000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.780000] option 1-1:1.0: device disconnected Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.790000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.790000] option 1-1:1.1: device disconnected Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.800000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2 Sep 8 15:57:51 OpenWrt kern.info kernel: [ 861.810000] option 1-1:1.2: device disconnected Sep 8 15:57:51 OpenWrt daemon.info pppd[8299]: Exit. Sep 8 15:57:51 OpenWrt daemon.notice netifd: Interface 'wan' is now down Sep 8 16:14:39 OpenWrt kern.info kernel: [ 1869.770000] usb 1-1: new high-speed USB device number 8 using ehci-platform Sep 8 16:14:39 OpenWrt kern.info kernel: [ 1869.920000] scsi6 : usb-storage 1-1:1.0 Sep 8 16:14:39 OpenWrt kern.info kernel: [ 1869.940000] scsi7 : usb-storage 1-1:1.1 Sep 8 16:14:39 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:14:39 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching Sep 8 16:14:39 OpenWrt syslog.notice usb_modeswitch: switching device 12d1:1446 on 001/008 Sep 8 16:14:39 OpenWrt kern.info kernel: [ 1870.180000] usb 1-1: USB disconnect, device number 8 Sep 8 16:14:43 OpenWrt kern.info kernel: [ 1874.220000] usb 1-1: new high-speed USB device number 9 using ehci-platform Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.370000] option 1-1:1.0: GSM modem (1-port) converter detected Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.380000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.380000] option 1-1:1.1: GSM modem (1-port) converter detected Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.390000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.400000] option 1-1:1.2: GSM modem (1-port) converter detected Sep 8 16:14:44 OpenWrt kern.info kernel: [ 1874.410000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 Sep 8 16:15:10 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:11 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:11 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:11 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:12 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:12 OpenWrt user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=? Sep 8 16:15:13 OpenWrt daemon.notice pppd[23414]: pppd 2.4.5 started by root, uid 0 Sep 8 16:15:14 OpenWrt local2.info chat[23428]: abort on (BUSY) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: abort on (NO CARRIER) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: abort on (ERROR) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: report (CONNECT) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: timeout set to 10 seconds Sep 8 16:15:14 OpenWrt local2.info chat[23428]: send (AT&F^M) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: expect (OK) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: AT&F^M^M Sep 8 16:15:14 OpenWrt local2.info chat[23428]: OK Sep 8 16:15:14 OpenWrt local2.info chat[23428]: -- got it Sep 8 16:15:14 OpenWrt local2.info chat[23428]: send (ATE1^M) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: expect (OK) Sep 8 16:15:14 OpenWrt local2.info chat[23428]: ^M Sep 8 16:15:14 OpenWrt local2.info chat[23428]: ATE1^M^M Sep 8 16:15:14 OpenWrt local2.info chat[23428]: OK Sep 8 16:15:14 OpenWrt local2.info chat[23428]: -- got it
comment:4 Changed 5 years ago by jow
Mayber power supply related? Maybe your dongle had weak reception when ou had this problem thus drawing more power to compensate?
comment:5 Changed 5 years ago by anonymous
You're probably right jow, dm1 what dongle are you using?
comment:6 Changed 5 years ago by dm1@…
I have two CDMA HUAWEI EC156 and four UMTS HUAWEI E173. I had this issue on all of them, also I forgot to mention, that modem connected through USB HUB, which has optional external power supply. Also, as I written before, on much older builds this problem does not happen.
It is easy reproduceable on r33079, now I'm building latest again and will report about the result.
comment:7 Changed 5 years ago by Crazy
Also i'm using r33079, please try also without USB HUB
comment:8 Changed 5 years ago by dm1@…
I have tried r33146 with the same result with CDMA HUAWEI EC156.
But UMTS HUAWEI E173 through USB extension cord is working fine.
Why USB extension cord? I think this is not related to this ticket and mostly this is hardware specific problem of all TP-Link MR3220 (as I mentioned, I have several of them). With direct connection of near any UMTS modem I have full log of this error:
kern.err kernel: [ 5038.100000] option: option_instat_callback: error -71
I've noticed this long ago and found this solution. I think it caused by interference from modem on USB, but if it could be fixed in software way, I can open another ticket.
For now I'm just sure, that HUAWEI EC156 (or may be some other CDMA modems too?) is not working properly for me in any case: with direct connection, through USB extension and USB HUB. The pppd is not starting again after modem reconnection. I can reproduce this every time I try it.
Thank you for your reply.
comment:9 Changed 5 years ago by anonymous
Tested now Huawei e1820 and MR3420 hw 1.2 (trunk r33146) no problems with reconnections.
comment:10 Changed 5 years ago by dm1@…
May be some one else can try Huawei EC156 or at least another from Huawei EC* series?
comment:11 Changed 5 years ago by Crazy
Hi, you can try also with the new version of usb-modeswitch
https://dev.openwrt.org/ticket/12014#comment:2
You need to apply the patch or wait for someone to insert it into trunk.
comment:12 Changed 5 years ago by dm1@…
Thanks for advice. I've tried this version of usb-modeswitch and usb-modeswitch-data, but this changes nothing with EC156 modem :(
comment:13 Changed 5 years ago by mstm <mstm@…>
Today I update my mr3420 to r33349 and now I have the same problem with 3 dongles (e353, e270 and k4505-z)
comment:14 Changed 5 years ago by jow
- Resolution set to fixed
- Status changed from new to closed
Should be fixed with r33350
comment:15 Changed 5 years ago by ddzako@…
It happens somenimes to me using attitude adjustment and TL-3020 and Huawei K3765.
I removed kmod-usb-uhci_3 and kmod-usb-ohci_3 and solved the problemm.
comment:16 Changed 4 years ago by jow
- Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07
Milestone Attitude Adjustment 12.09 deleted
comment:17 Changed 2 years ago by bvoid
- Resolution fixed deleted
- Status changed from closed to reopened
I still have a similar problem in Chaos Calmer r46697.
After modeswitching with echo "07d1 7e11" > /sys/bus/usb-serial/drivers/option1/new_id
ttyUSB0,ttyUSB1 and ttyUSB2 show up. ttyUSB2 is the one I need.
When I start the configured wan interface with ifup wan, this has no effect (nothing in System log) but /etc/init.d/network restart does has effect. It makes the 3g-wan interface visible in ifconfig and starts the chat script, leading to a working connection.
comment:18 Changed 18 months ago by anonymous
I confirm this Problem still exists
I confirm this problem, i have done some tests with mr3420(r33123) and wr1043nd(r33077).
Tested with Huawei e270, e372 and ZTE K4505-Z