Modify

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#11725 closed defect (fixed)

usb_modeswitch problem on boot with MR3420

Reported by: Massy Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I'm using r32468 on a TP-LINK MR3420 and I have a problem with usb_modeswitch on boot

Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] MyLoader: sysp=f0f0f0f0, boardp=f0f0f0f0, parts=f0f0f0f0
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] bootconsole [early0] enabled
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] SoC: Atheros AR7241 rev 1
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Determined physical RAM map:
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] memory: 02000000 @ 00000000 (usable)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Zone PFN ranges:
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Normal 0x00000000 -> 0x00002000
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Movable zone start PFN for each node
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Early memory PFN ranges
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] 0: 0x00000000 -> 0x00002000
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] On node 0 totalpages: 8192
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 802cd520, node_mem_map 81000000
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] Normal zone: 64 pages used for memmap
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] Normal zone: 8128 pages, LIFO batch:0
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.000000] Kernel command line: board=TL-MR3420 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Memory: 29288k/32768k available (2089k kernel code, 3480k reserved, 397k data, 200k init, 0k highmem)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] NR_IRQS:48
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.080000] pid_max: default: 32768 minimum: 301
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.080000] Mount-cache hash table entries: 512
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.090000] NET: Registered protocol family 16
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.100000] MIPS: machine is TP-LINK TL-MR3420
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.500000] registering PCI controller with io_map_base unset
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.540000] bio: create slab <bio-0> at 0
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.550000] PCI host bridge to bus 0000:00
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000]
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.560000] pci 0000:00:00.0: [168c:002e] type 0 class 0x000280
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.560000] pci 0000:00:00.0: fixup device configuration
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.570000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1000ffff 64bit]
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.570000] pci 0000:00:00.0: supports D1
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.570000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.570000] pci 0000:00:00.0: using irq 40 for pin 1
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.580000] Switching to clocksource MIPS
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.580000] NET: Registered protocol family 2
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.600000] TCP: Hash tables configured (established 1024 bind 1024)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.610000] TCP reno registered
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.630000] NET: Registered protocol family 1
Jun 20 19:24:05 OpenWrt kern.debug kernel: [ 0.630000] PCI: CLS 0 bytes, default 32
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.660000] msgmni has been set to 57
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.670000] io scheduler noop registered
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.670000] io scheduler deadline registered (default)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.710000] console [ttyS0] enabled, bootconsole disabled
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.730000] m25p80 spi0.0: found s25sl032a, expected m25p80
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.730000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.740000] 5 tp-link partitions found on MTD device spi0.0
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.740000] Creating 5 MTD partitions on "spi0.0":
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.750000] 0x000000000000-0x000000020000 : "u-boot"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.760000] 0x000000020000-0x0000000ffe00 : "kernel"
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.760000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.770000] 0x0000000ffe00-0x0000003f0000 : "rootfs"
Jun 20 19:24:05 OpenWrt kern.warn kernel: [ 0.780000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.790000] mtd: partition "rootfs" set to be root filesystem
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 0.800000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C0000
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.810000] 0x000000330000-0x0000003f0000 : "rootfs_data"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.820000] 0x0000003f0000-0x000000400000 : "art"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [ 0.820000] 0x000000020000-0x0000003f0000 : "firmware"
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 1.070000] ag71xx_mdio: probed
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 1.070000] eth0: Atheros AG71xx at 0xba000000, irq 5
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 1.670000] eth0: Found an AR7240/AR9330 built-in switch
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 14.670000] hub 1-0:1.0: 1 port detected
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 14.690000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.170000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.230000] xt_time: kernel timezone is -0000
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.610000] usbcore: registered new interface driver cdc_acm
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.620000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.740000] usbcore: registered new interface driver usbserial
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.750000] USB Serial support registered for generic
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.750000] usbcore: registered new interface driver usbserial_generic
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.760000] usbserial: USB Serial Driver core
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.850000] USB Serial support registered for GSM modem (1-port)
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.860000] usbcore: registered new interface driver option
Jun 20 19:24:05 OpenWrt kern.info kernel: [ 15.870000] option: v0.7.2:USB Driver for GSM modems
Jun 20 19:24:07 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Jun 20 19:24:09 OpenWrt kern.info kernel: [ 21.000000] device eth0 entered promiscuous mode
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'wan' is now down
Jun 20 19:24:09 OpenWrt kern.info kernel: [ 21.700000] eth0: link up (1000Mbps/Full duplex)
Jun 20 19:24:09 OpenWrt kern.info kernel: [ 21.700000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:09 OpenWrt kern.info kernel: [ 21.710000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:09 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.710000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.710000] cfg80211: Calling CRDA for country: IT
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.720000] cfg80211: Regulatory domain changed to country: IT
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.720000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.730000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.740000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.750000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [ 23.750000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jun 20 19:24:12 OpenWrt user.notice upnp daemon: external interface not found, not starting
Jun 20 19:24:12 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Jun 20 19:24:13 OpenWrt kern.info kernel: [ 25.350000] device wlan0 entered promiscuous mode
Jun 20 19:24:15 OpenWrt kern.info kernel: [ 26.920000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:15 OpenWrt kern.info kernel: [ 26.930000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:17 OpenWrt kern.info kernel: [ 28.930000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading defaults
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading synflood protection
Jun 20 19:24:18 OpenWrt user.info sysinit: Adding custom chains
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading zones
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading forwardings
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading rules
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading redirects
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading includes
Jun 20 19:24:19 OpenWrt user.info sysinit: Optimizing conntrack
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading interfaces
Jun 20 19:24:19 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jun 20 19:24:21 OpenWrt authpriv.info dropbear[1264]: Running in background
Jun 20 19:24:23 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jun 20 19:24:23 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: started, version 2.59 cachesize 150
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCP, IP range 192.168.1.10 -- 192.168.1.59, lease time 1d12h
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: using local addresses only for domain lan
Jun 20 19:24:27 OpenWrt daemon.warn dnsmasq[1403]: no servers found in /tmp/resolv.conf.auto, will retry
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: read /etc/hosts - 1 addresses
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq-dhcp[1403]: read /etc/ethers - 0 addresses
Jun 20 19:24:27 OpenWrt user.info sysinit: setting up led USB

If I unplug and plug the 3g dongle after boot 3G connection works

Jun 20 19:27:36 OpenWrt kern.info kernel: [ 227.900000] usb 1-1: USB disconnect, device number 2
Jun 20 19:27:40 OpenWrt kern.info kernel: [ 232.450000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jun 20 19:27:40 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:40 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:27:40 OpenWrt syslog.notice usb_modeswitch: switching device 12d1:1446 on 001/003
Jun 20 19:27:40 OpenWrt kern.info kernel: [ 232.860000] usb 1-1: USB disconnect, device number 3
Jun 20 19:27:44 OpenWrt kern.info kernel: [ 236.870000] usb 1-1: new high-speed USB device number 4 using ehci-platform
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.020000] option 1-1:1.0: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.030000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.040000] option 1-1:1.1: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.040000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.050000] option 1-1:1.2: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [ 237.060000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jun 20 19:27:46 OpenWrt syslog.notice usb_modeswitch: switched to 12d1:1506 on 001/003
Jun 20 19:27:46 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:46 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:47 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:47 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:48 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:48 OpenWrt user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:49 OpenWrt daemon.notice pppd[1619]: pppd 2.4.5 started by root, uid 0
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (BUSY)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (NO CARRIER)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (ERROR)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: report (CONNECT)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: timeout set to 10 seconds
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (AT&FM)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: AT&F
MM
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (ATE1
M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ATE1
MM
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (AT+CGDCONT=1,"IP","datacard.tre.it"
M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: timeout set to 30 seconds
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: AT+CGDCONT=1,"IP","datacard.tre.it"
MM
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (ATD*99*1#
M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (CONNECT)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ATD*99
*1#MM
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: CONNECT
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (
M)
Jun 20 19:27:50 OpenWrt daemon.info pppd[1619]: Serial connection established.
Jun 20 19:27:50 OpenWrt daemon.info pppd[1619]: Using interface 3g-wan
Jun 20 19:27:50 OpenWrt daemon.notice pppd[1619]: Connect: 3g-wan <--> /dev/ttyUSB0
Jun 20 19:27:54 OpenWrt daemon.warn pppd[1619]: Could not determine remote IP address: defaulting to 10.64.64.64
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: local IP address 10.88.104.84
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: remote IP address 10.64.64.64
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: primary DNS address 62.13.173.92
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: secondary DNS address 62.13.173.93
Jun 20 19:27:54 OpenWrt daemon.notice netifd: Interface 'wan' is now up
Jun 20 19:27:55 OpenWrt user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jun 20 19:27:56 OpenWrt user.info firewall: adding wan (3g-wan) to zone wan
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: reading /tmp/resolv.conf.auto
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using nameserver 62.13.173.92#53
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using nameserver 62.13.173.93#53
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using local addresses only for domain lan
Jun 20 19:27:58 OpenWrt user.info syslog: SNet version started
Jun 20 19:27:58 OpenWrt daemon.notice miniupnpd[1920]: HTTP listening on port 5000
Jun 20 19:27:58 OpenWrt daemon.notice miniupnpd[1920]: Listening for NAT-PMP traffic on port 5351
Jun 20 19:27:58 OpenWrt user.notice miniupnpd: adding firewall rules for 3g-wan to zone wan
Jun 20 19:28:02 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCPINFORM(br-lan) 192.168.1.136 00:26:18:49:ff:0c
Jun 20 19:28:02 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCPACK(br-lan) 192.168.1.136 00:26:18:49:ff:0c Massy-PC
Jun 20 19:37:30 OpenWrt daemon.info pppd[1619]: System time change detected.

Many thanks ;)

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by Massy

Sorry ... now the log is more clear:

Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000] MyLoader: sysp=f0f0f0f0, boardp=f0f0f0f0, parts=f0f0f0f0
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] bootconsole [early0] enabled
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] SoC: Atheros AR7241 rev 1
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Determined physical RAM map:
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Zone PFN ranges:
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000]   Normal   0x00000000 -> 0x00002000
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Movable zone start PFN for each node
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Early memory PFN ranges
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000]     0: 0x00000000 -> 0x00002000
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 802cd520, node_mem_map 81000000
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 8128 pages, LIFO batch:0
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.000000] Kernel command line:  board=TL-MR3420 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Memory: 29288k/32768k available (2089k kernel code, 3480k reserved, 397k data, 200k init, 0k highmem)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] NR_IRQS:48
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.080000] pid_max: default: 32768 minimum: 301
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.080000] Mount-cache hash table entries: 512
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.090000] NET: Registered protocol family 16
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.100000] MIPS: machine is TP-LINK TL-MR3420
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.500000] registering PCI controller with io_map_base unset
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.540000] bio: create slab <bio-0> at 0
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.550000] PCI host bridge to bus 0000:00
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.560000] pci_bus 0000:00: root bus resource [io  0x0000]
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.560000] pci 0000:00:00.0: [168c:002e] type 0 class 0x000280
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.560000] pci 0000:00:00.0: fixup device configuration
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.570000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1000ffff 64bit]
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.570000] pci 0000:00:00.0: supports D1
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.570000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.570000] pci 0000:00:00.0: using irq 40 for pin 1
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.580000] Switching to clocksource MIPS
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.580000] NET: Registered protocol family 2
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.600000] TCP: Hash tables configured (established 1024 bind 1024)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.610000] TCP reno registered
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.630000] NET: Registered protocol family 1
Jun 20 19:24:05 OpenWrt kern.debug kernel: [    0.630000] PCI: CLS 0 bytes, default 32
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.660000] msgmni has been set to 57
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.670000] io scheduler noop registered
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.670000] io scheduler deadline registered (default)
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.710000] console [ttyS0] enabled, bootconsole disabled
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.730000] m25p80 spi0.0: found s25sl032a, expected m25p80
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.730000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.740000] 5 tp-link partitions found on MTD device spi0.0
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.740000] Creating 5 MTD partitions on "spi0.0":
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.750000] 0x000000000000-0x000000020000 : "u-boot"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.760000] 0x000000020000-0x0000000ffe00 : "kernel"
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.760000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.770000] 0x0000000ffe00-0x0000003f0000 : "rootfs"
Jun 20 19:24:05 OpenWrt kern.warn kernel: [    0.780000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.790000] mtd: partition "rootfs" set to be root filesystem
Jun 20 19:24:05 OpenWrt kern.info kernel: [    0.800000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C0000 
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.810000] 0x000000330000-0x0000003f0000 : "rootfs_data"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.820000] 0x0000003f0000-0x000000400000 : "art"
Jun 20 19:24:05 OpenWrt kern.notice kernel: [    0.820000] 0x000000020000-0x0000003f0000 : "firmware"
Jun 20 19:24:05 OpenWrt kern.info kernel: [    1.070000] ag71xx_mdio: probed
Jun 20 19:24:05 OpenWrt kern.info kernel: [    1.070000] eth0: Atheros AG71xx at 0xba000000, irq 5
Jun 20 19:24:05 OpenWrt kern.info kernel: [    1.670000] eth0: Found an AR7240/AR9330 built-in switch
Jun 20 19:24:05 OpenWrt kern.info kernel: [   14.670000] hub 1-0:1.0: 1 port detected
Jun 20 19:24:05 OpenWrt kern.info kernel: [   14.690000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.170000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.230000] xt_time: kernel timezone is -0000
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.610000] usbcore: registered new interface driver cdc_acm
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.620000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.740000] usbcore: registered new interface driver usbserial
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.750000] USB Serial support registered for generic
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.750000] usbcore: registered new interface driver usbserial_generic
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.760000] usbserial: USB Serial Driver core
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.850000] USB Serial support registered for GSM modem (1-port)
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.860000] usbcore: registered new interface driver option
Jun 20 19:24:05 OpenWrt kern.info kernel: [   15.870000] option: v0.7.2:USB Driver for GSM modems
Jun 20 19:24:07 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:08 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Jun 20 19:24:09 OpenWrt kern.info kernel: [   21.000000] device eth0 entered promiscuous mode
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Jun 20 19:24:09 OpenWrt daemon.notice netifd: Interface 'wan' is now down
Jun 20 19:24:09 OpenWrt kern.info kernel: [   21.700000] eth0: link up (1000Mbps/Full duplex)
Jun 20 19:24:09 OpenWrt kern.info kernel: [   21.700000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:09 OpenWrt kern.info kernel: [   21.710000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:09 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.710000] br-lan: port 1(eth0) entered forwarding state
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.710000] cfg80211: Calling CRDA for country: IT
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.720000] cfg80211: Regulatory domain changed to country: IT
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.720000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.730000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.740000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.750000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun 20 19:24:11 OpenWrt kern.info kernel: [   23.750000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jun 20 19:24:12 OpenWrt user.notice upnp daemon: external interface not found, not starting
Jun 20 19:24:12 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Jun 20 19:24:13 OpenWrt kern.info kernel: [   25.350000] device wlan0 entered promiscuous mode
Jun 20 19:24:15 OpenWrt kern.info kernel: [   26.920000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:15 OpenWrt kern.info kernel: [   26.930000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:17 OpenWrt kern.info kernel: [   28.930000] br-lan: port 2(wlan0) entered forwarding state
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading defaults
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading synflood protection
Jun 20 19:24:18 OpenWrt user.info sysinit: Adding custom chains
Jun 20 19:24:18 OpenWrt user.info sysinit: Loading zones
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading forwardings
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading rules
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading redirects
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading includes
Jun 20 19:24:19 OpenWrt user.info sysinit: Optimizing conntrack
Jun 20 19:24:19 OpenWrt user.info sysinit: Loading interfaces
Jun 20 19:24:19 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jun 20 19:24:21 OpenWrt authpriv.info dropbear[1264]: Running in background
Jun 20 19:24:23 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jun 20 19:24:23 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: started, version 2.59 cachesize 150
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCP, IP range 192.168.1.10 -- 192.168.1.59, lease time 1d12h
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: using local addresses only for domain lan
Jun 20 19:24:27 OpenWrt daemon.warn dnsmasq[1403]: no servers found in /tmp/resolv.conf.auto, will retry
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq[1403]: read /etc/hosts - 1 addresses
Jun 20 19:24:27 OpenWrt daemon.info dnsmasq-dhcp[1403]: read /etc/ethers - 0 addresses
Jun 20 19:24:27 OpenWrt user.info sysinit: setting up led USB

If I unplug and plug the 3g dongle after boot 3G connection works

Jun 20 19:27:36 OpenWrt kern.info kernel: [  227.900000] usb 1-1: USB disconnect, device number 2
Jun 20 19:27:40 OpenWrt kern.info kernel: [  232.450000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jun 20 19:27:40 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:40 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 20 19:27:40 OpenWrt syslog.notice usb_modeswitch: switching device 12d1:1446 on 001/003
Jun 20 19:27:40 OpenWrt kern.info kernel: [  232.860000] usb 1-1: USB disconnect, device number 3
Jun 20 19:27:44 OpenWrt kern.info kernel: [  236.870000] usb 1-1: new high-speed USB device number 4 using ehci-platform
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.020000] option 1-1:1.0: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.030000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.040000] option 1-1:1.1: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.040000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.050000] option 1-1:1.2: GSM modem (1-port) converter detected
Jun 20 19:27:45 OpenWrt kern.info kernel: [  237.060000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jun 20 19:27:46 OpenWrt syslog.notice usb_modeswitch: switched to 12d1:1506 on 001/003
Jun 20 19:27:46 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:46 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:47 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:47 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:48 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:48 OpenWrt user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 20 19:27:49 OpenWrt daemon.notice pppd[1619]: pppd 2.4.5 started by root, uid 0
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (BUSY)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (NO CARRIER)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: abort on (ERROR)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: report (CONNECT)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: timeout set to 10 seconds
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (AT&F^M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: AT&F^M^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]:  -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (ATE1^M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ATE1^M^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]:  -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (AT+CGDCONT=1,"IP","datacard.tre.it"^M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: timeout set to 30 seconds
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (OK)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: AT+CGDCONT=1,"IP","datacard.tre.it"^M^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: OK
Jun 20 19:27:50 OpenWrt local2.info chat[1623]:  -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send (ATD*99***1#^M)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: expect (CONNECT)
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: ATD*99***1#^M^M
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: CONNECT
Jun 20 19:27:50 OpenWrt local2.info chat[1623]:  -- got it
Jun 20 19:27:50 OpenWrt local2.info chat[1623]: send ( ^M)
Jun 20 19:27:50 OpenWrt daemon.info pppd[1619]: Serial connection established.
Jun 20 19:27:50 OpenWrt daemon.info pppd[1619]: Using interface 3g-wan
Jun 20 19:27:50 OpenWrt daemon.notice pppd[1619]: Connect: 3g-wan <--> /dev/ttyUSB0
Jun 20 19:27:54 OpenWrt daemon.warn pppd[1619]: Could not determine remote IP address: defaulting to 10.64.64.64
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: local  IP address 10.88.104.84
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: remote IP address 10.64.64.64
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: primary   DNS address 62.13.173.92
Jun 20 19:27:54 OpenWrt daemon.notice pppd[1619]: secondary DNS address 62.13.173.93
Jun 20 19:27:54 OpenWrt daemon.notice netifd: Interface 'wan' is now up
Jun 20 19:27:55 OpenWrt user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jun 20 19:27:56 OpenWrt user.info firewall: adding wan (3g-wan) to zone wan
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: reading /tmp/resolv.conf.auto
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using nameserver 62.13.173.92#53
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using nameserver 62.13.173.93#53
Jun 20 19:27:58 OpenWrt daemon.info dnsmasq[1403]: using local addresses only for domain lan
Jun 20 19:27:58 OpenWrt user.info syslog: SNet version started
Jun 20 19:27:58 OpenWrt daemon.notice miniupnpd[1920]: HTTP listening on port 5000
Jun 20 19:27:58 OpenWrt daemon.notice miniupnpd[1920]: Listening for NAT-PMP traffic on port 5351
Jun 20 19:27:58 OpenWrt user.notice miniupnpd: adding firewall rules for 3g-wan to zone wan
Jun 20 19:28:02 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCPINFORM(br-lan) 192.168.1.136 00:26:18:49:ff:0c 
Jun 20 19:28:02 OpenWrt daemon.info dnsmasq-dhcp[1403]: DHCPACK(br-lan) 192.168.1.136 00:26:18:49:ff:0c Massy-PC
Jun 20 19:37:30 OpenWrt daemon.info pppd[1619]: System time change detected.

comment:2 Changed 6 years ago by raver@…

I've been having the same issue with the following hardware:

  • WNDR3700v2 + Huawei E173s
  • WL500gPv1 + Vodafone K5005

Here's what happened after power off/on.

Jun 21 03:32:07 Netgear user.notice usb-modeswitch: 1-1.7:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: 1-1.7:1.0: Selecting /etc/usb_modeswitch.d/12d1:1c0b for mode switching
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:07 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: 1-1.7:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: 1-1.7:1.1: Selecting /etc/usb_modeswitch.d/12d1:1c0b for mode switching
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed
Jun 21 03:32:08 Netgear user.notice usb-modeswitch: switching seemingly failed

usb_modewitch is called by hotplug but the device doesn't switch to modem mode. However the device switches mode if I manually run usb_modeswitch without unplugging it.

root@Netgear:~# usb_modeswitch -v 12d1 -p 1c0b -c /etc/usb_modeswitch.d/12d1:1c0b

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 007 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI  
   Model String: Mass Storage    
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x0f for message sending ...
Trying to send message 1 to endpoint 0x0f ...
 OK, message successfully sent
Resetting response endpoint 0x8f
 Could not reset endpoint (probably harmless): -71
Resetting message endpoint 0x0f
 Could not reset endpoint (probably harmless): -19
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

comment:3 Changed 6 years ago by Massy

Fixed with r32602

comment:4 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.