Closed GoogleCodeExporter closed 8 years ago
Please describe more exactly situation when the data and the user port are
changed. What are you doing before? Was the modem unplugged? May be the power
problem exist?
Please attach http://my.router/Main_SysInfo_Content.asp and syslogs in operable
and nonoperable states.
Original comment by rssdev10@gmail.com
on 2 May 2012 at 5:26
Hello and thanks for the reply.
I am truly sorry, but there I have to change some things in the descritption.
First I do not have a Huawei E220 modem but Huawei E160 modem. The
autodetection of the modem now seems to be working Ok. The last 5-10 times I
turned the router On/Off everything worked as expected. But then I pluged the
modem in a Windows 7 computer, used it for a half hour and then plugged back to
the Asus WL500gp v1 router again and switched the router On.
The modem seems to be recognized well, BUTT still do no want to connect. The
Syslog showed :
Jan 1 00:00:03 syslogd started: BusyBox v1.19.3
Jan 1 00:00:03 kernel: klogd started: BusyBox v1.19.3 (2012-04-02 21:13:42 MSK)
Jan 1 00:00:03 kernel: Linux version 2.6.22.19 (root@localhost) (gcc version
4.5.3 (GCC) ) #2 Mon Apr 2 21:59:34 MSK 2012
Jan 1 00:00:03 kernel: CPU revision is: 00029006
Jan 1 00:00:03 kernel: Setting the PFC to its default value
Jan 1 00:00:03 kernel: Determined physical RAM map:
Jan 1 00:00:03 kernel: memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:04 dropbear[211]: Running in background
Jan 1 00:00:04 dnsmasq[218]: started, version cachesize 512
Jan 1 00:00:04 dnsmasq[218]: compile time options: IPv6 GNU-getopt no-RTC
no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-scripts no-TFTP no-conntrack
Jan 1 00:00:04 dnsmasq-dhcp[218]: DHCP, IP range 192.168.1.101 --
192.168.1.254, lease time 1d
Jan 1 00:00:04 dnsmasq[218]: read /etc/hosts - 2 addresses
Jan 1 00:00:04 miniupnpd[219]: version 1.6 started
Jan 1 00:00:04 miniupnpd[219]: HTTP listening on port 38867
Jan 1 00:00:04 miniupnpd[219]: Listening for NAT-PMP traffic on port 5351
Jan 1 00:00:05 kernel: usbcore: registered new interface driver usbfs
Jan 1 00:00:05 kernel: usbcore: registered new interface driver hub
Jan 1 00:00:05 kernel: usbcore: registered new device driver usb
Jan 1 00:00:05 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.2 (0000 -> 0002)
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: EHCI Host Controller
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: new USB bus registered, assigned
bus number 1
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: irq 12, io mem 0x40004000
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: USB 2.0 started, EHCI 1.00
Jan 1 00:00:05 kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 1-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 1-0:1.0: 4 ports detected
Jan 1 00:00:05 kernel: uhci_hcd: USB Universal Host Controller Interface driver
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.0 (0000 -> 0001)
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: UHCI Host Controller
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: new USB bus registered, assigned
bus number 2
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: irq 12, io base 0x00000100
Jan 1 00:00:05 kernel: usb 1-1: new high speed USB device using ehci_hcd and
address 2
Jan 1 00:00:05 kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 2-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 2-0:1.0: 2 ports detected
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.1 (0000 -> 0001)
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: UHCI Host Controller
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: new USB bus registered, assigned
bus number 3
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: irq 12, io base 0x00000120
Jan 1 00:00:05 kernel: usb usb3: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 3-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 3-0:1.0: 2 ports detected
Jan 1 00:00:06 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:00:06 kernel: usbcore: registered new interface driver usblp
Jan 1 00:00:06 usb_modeswitch: switching device 12d1:1003 on 001/002
Jan 1 00:00:06 kernel: usb 1-1: USB disconnect, address 2
Jan 1 00:00:06 USB storage: removed
Jan 1 00:00:07 kernel: SCSI subsystem initialized
Jan 1 00:00:07 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:07 kernel: usbcore: registered new interface driver usb-storage
Jan 1 00:00:07 kernel: USB Mass Storage support registered.
Jan 1 00:00:08 kernel: fuse init (API version 7.9)
Jan 1 00:00:09 WAN port: cable disconnected
Jan 1 00:00:12 kernel: usb 1-1: new high speed USB device using ehci_hcd and
address 3
Jan 1 00:00:12 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:00:12 kernel: usb-storage: probe of 1-1:1.0 failed with error -5
Jan 1 00:00:12 kernel: usb-storage: probe of 1-1:1.1 failed with error -5
Jan 1 00:00:12 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:12 kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:12 kernel: usbcore: registered new interface driver usbserial
Jan 1 00:00:12 kernel: drivers/usb/serial/usb-serial.c: USB Serial support
registered for generic
Jan 1 00:00:12 kernel: usbcore: registered new interface driver
usbserial_generic
Jan 1 00:00:12 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jan 1 00:00:13 kernel: drivers/usb/serial/usb-serial.c: USB Serial support
registered for GSM modem (1-port)
Jan 1 00:00:13 kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Jan 1 00:00:13 kernel: usb 1-1: GSM modem (1-port) converter now attached to
ttyUSB0
Jan 1 00:00:13 kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Jan 1 00:00:13 kernel: usb 1-1: GSM modem (1-port) converter now attached to
ttyUSB1
Jan 1 00:00:13 kernel: usbcore: registered new interface driver option
Jan 1 00:00:13 kernel: drivers/usb/serial/option.c: USB Driver for GSM modems:
v0.7.2
Jan 1 00:00:13 kernel: usbcore: registered new interface driver cdc_acm
Jan 1 00:00:13 kernel: drivers/usb/class/cdc-acm.c: v0.26:USB Abstract Control
Model driver for USB modems and ISDN adapters
Jan 1 00:00:14 kernel: scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 2
Jan 1 00:00:14 kernel: scsi 3:0:0:0: Direct-Access HUAWEI MMC Storage
2.31 PQ: 0 ANSI: 2
Jan 1 00:00:14 kernel: sd 3:0:0:0: [sda] 1888256 512-byte hardware sectors
(967 MB)
Jan 1 00:00:14 kernel: sd 3:0:0:0: [sda] Write Protect is off
Jan 1 00:00:14 kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:14 kernel: sda: sda1
Jan 1 00:00:14 kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Jan 1 00:00:15 pppd[441]: pppd 2.4.5 started by admin, uid 0
Jan 1 00:00:16 pppd[441]: Connect script failed
Jan 1 00:00:18 kernel: FAT: utf8 is not a recommended IO charset for FAT
filesystems, filesystem will be case sensitive!
Jan 1 00:00:18 USB storage: vfat fs at /dev/discs/disca/part1 mounted to
/tmp/mnt/disca_1
Jan 1 00:00:28 pppd[441]: Connect script failed
Jan 1 00:00:35 pppd[441]: Connect script failed
I turned the router Off and after some minutes On again. I got :
Jan 1 00:00:03 syslogd started: BusyBox v1.19.3
Jan 1 00:00:03 kernel: klogd started: BusyBox v1.19.3 (2012-04-02 21:13:42 MSK)
Jan 1 00:00:03 kernel: Linux version 2.6.22.19 (root@localhost) (gcc version
4.5.3 (GCC) ) #2 Mon Apr 2 21:59:34 MSK 2012
Jan 1 00:00:03 kernel: CPU revision is: 00029006
Jan 1 00:00:03 kernel: Setting the PFC to its default value
Jan 1 00:00:03 kernel: Determined physical RAM map:
Jan 1 00:00:03 kernel: memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:04 dropbear[211]: Running in background
Jan 1 00:00:04 dnsmasq[218]: started, version cachesize 512
Jan 1 00:00:04 dnsmasq[218]: compile time options: IPv6 GNU-getopt no-RTC
no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-scripts no-TFTP no-conntrack
Jan 1 00:00:04 dnsmasq-dhcp[218]: DHCP, IP range 192.168.1.101 --
192.168.1.254, lease time 1d
Jan 1 00:00:04 dnsmasq[218]: read /etc/hosts - 2 addresses
Jan 1 00:00:04 miniupnpd[219]: version 1.6 started
Jan 1 00:00:04 miniupnpd[219]: HTTP listening on port 47163
Jan 1 00:00:04 miniupnpd[219]: Listening for NAT-PMP traffic on port 5351
Jan 1 00:00:05 kernel: usbcore: registered new interface driver usbfs
Jan 1 00:00:05 kernel: usbcore: registered new interface driver hub
Jan 1 00:00:05 kernel: usbcore: registered new device driver usb
Jan 1 00:00:05 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.2 (0000 -> 0002)
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: EHCI Host Controller
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: new USB bus registered, assigned
bus number 1
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: irq 12, io mem 0x40004000
Jan 1 00:00:05 kernel: ehci_hcd 0000:01:03.2: USB 2.0 started, EHCI 1.00
Jan 1 00:00:05 kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 1-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 1-0:1.0: 4 ports detected
Jan 1 00:00:05 kernel: uhci_hcd: USB Universal Host Controller Interface driver
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.0 (0000 -> 0001)
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: UHCI Host Controller
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: new USB bus registered, assigned
bus number 2
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.0: irq 12, io base 0x00000100
Jan 1 00:00:05 kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 2-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 2-0:1.0: 2 ports detected
Jan 1 00:00:05 kernel: PCI: Enabling device 0000:01:03.1 (0000 -> 0001)
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: UHCI Host Controller
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: new USB bus registered, assigned
bus number 3
Jan 1 00:00:05 kernel: uhci_hcd 0000:01:03.1: irq 12, io base 0x00000120
Jan 1 00:00:05 kernel: usb 1-1: new high speed USB device using ehci_hcd and
address 2
Jan 1 00:00:05 kernel: usb usb3: configuration #1 chosen from 1 choice
Jan 1 00:00:05 kernel: hub 3-0:1.0: USB hub found
Jan 1 00:00:05 kernel: hub 3-0:1.0: 2 ports detected
Jan 1 00:00:06 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:00:06 kernel: usbcore: registered new interface driver usblp
Jan 1 00:00:06 usb_modeswitch: switching device 12d1:1003 on 001/002
Jan 1 00:00:06 kernel: usb 1-1: USB disconnect, address 2
Jan 1 00:00:06 USB storage: removed
Jan 1 00:00:07 kernel: SCSI subsystem initialized
Jan 1 00:00:08 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:08 kernel: usbcore: registered new interface driver usb-storage
Jan 1 00:00:08 kernel: USB Mass Storage support registered.
Jan 1 00:00:08 kernel: fuse init (API version 7.9)
Jan 1 00:00:09 WAN port: cable disconnected
Jan 1 00:00:17 kernel: usb 1-1: new high speed USB device using ehci_hcd and
address 3
Jan 1 00:00:17 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:00:17 kernel: usb-storage: probe of 1-1:1.0 failed with error -5
Jan 1 00:00:17 kernel: usb-storage: probe of 1-1:1.1 failed with error -5
Jan 1 00:00:17 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:17 kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:17 kernel: usbcore: registered new interface driver usbserial
Jan 1 00:00:17 kernel: drivers/usb/serial/usb-serial.c: USB Serial support
registered for generic
Jan 1 00:00:17 kernel: usbcore: registered new interface driver
usbserial_generic
Jan 1 00:00:17 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jan 1 00:00:17 kernel: drivers/usb/serial/usb-serial.c: USB Serial support
registered for GSM modem (1-port)
Jan 1 00:00:17 kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Jan 1 00:00:18 kernel: usb 1-1: GSM modem (1-port) converter now attached to
ttyUSB0
Jan 1 00:00:18 kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Jan 1 00:00:18 kernel: usb 1-1: GSM modem (1-port) converter now attached to
ttyUSB1
Jan 1 00:00:18 kernel: usbcore: registered new interface driver option
Jan 1 00:00:18 kernel: drivers/usb/serial/option.c: USB Driver for GSM modems:
v0.7.2
Jan 1 00:00:18 kernel: usbcore: registered new interface driver cdc_acm
Jan 1 00:00:18 kernel: drivers/usb/class/cdc-acm.c: v0.26:USB Abstract Control
Model driver for USB modems and ISDN adapters
Jan 1 00:00:19 kernel: scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 2
Jan 1 00:00:19 kernel: scsi 3:0:0:0: Direct-Access HUAWEI MMC Storage
2.31 PQ: 0 ANSI: 2
Jan 1 00:00:19 kernel: sd 3:0:0:0: [sda] 1888256 512-byte hardware sectors
(967 MB)
Jan 1 00:00:19 kernel: sd 3:0:0:0: [sda] Write Protect is off
Jan 1 00:00:19 kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:19 kernel: sda: sda1
Jan 1 00:00:19 kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Jan 1 00:00:20 pppd[443]: pppd 2.4.5 started by admin, uid 0
Jan 1 00:00:21 pppd[443]: Connect script failed
Jan 1 00:00:29 pppd[443]: Connect script failed
Jan 1 00:00:37 pppd[443]: Connect script failed
Jan 1 00:00:44 pppd[443]: Connect script failed
So I think the Bug-descritpion should be changed to : Problems with
autoconnection of Huawei e160 3G modem. I am attaching the Diagnostic
Information file as requested. You can see lot of errors in the PPP chat log
section. To be sure it is not s problem with the modem or connection I plugged
the modem in to my Ubuntu 11.10 machine and was able to connect to the network
just fine.
I very appreciate your help. The auto-connection function is very important
for me. I have a very sick dad and I wanted to provide him some internet
connectivity in the hospital. He wont be able to do any setting in the
interface, I has to work out-of-the box.
Original comment by karli...@seznam.cz
on 3 May 2012 at 10:15
Attachments:
That is autodetect works correctly, but there is a problem with connection...
Look at http://en.gentoo-wiki.com/wiki/Huawei_E160 . In this article an
additional init string "ATQ0 V1 E1 S0=0 +FCLASS=0" is present. It may be one of
reasons of unstable modem work. Try to add this string in the field "Additional
AT commands:" at http://my.router/Advanced_ConnectionMode_Content.asp (and
press finish/save).
Also it is very useful to compare connection files from Ubuntu and from our
firmware. First of all file /tmp/ppp/peers/wan0_chat.
Original comment by rssdev10@gmail.com
on 3 May 2012 at 6:38
No response from issue creator.
Original comment by lly.dev
on 1 Jan 2013 at 9:32
Original issue reported on code.google.com by
karli...@seznam.cz
on 30 Apr 2012 at 8:57