OpenWrt Forum Archive

Topic: TP-Link MR3420 v1.2 and ZTE AC2791

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

Hi

I have the above devices and installed Huntsman on my TP Link
The problem is that I cannot get an internet connection via my usb

Checking logs I can see that the device is identified but then wan reports as down
I have some small doubts as to whether I am entering the correct APN, password etc in the correct place

I am a complete newbie to this and have read many threads but with no joy

Any and all help will be appreciated from the community

Below is the info from the sytem log - if anyone can interpret it for me

Aug 24 15:41:06 ROOter kern.debug kernel: [    0.590000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1000ffff 64bit]
Aug 24 15:41:06 ROOter kern.debug kernel: [    0.590000] pci 0000:00:00.0: supports D1
Aug 24 15:41:06 ROOter kern.debug kernel: [    0.590000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Aug 24 15:41:06 ROOter kern.debug kernel: [    0.590000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Aug 24 15:41:06 ROOter kern.info kernel: [    0.590000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
Aug 24 15:41:06 ROOter kern.info kernel: [    0.600000] pci 0000:00:00.0: using irq 40 for pin 1
Aug 24 15:41:06 ROOter kern.info kernel: [    0.600000] Switching to clocksource MIPS
Aug 24 15:41:06 ROOter kern.info kernel: [    0.610000] NET: Registered protocol family 2
Aug 24 15:41:06 ROOter kern.info kernel: [    0.610000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.620000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.630000] TCP: Hash tables configured (established 512 bind 512)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.630000] TCP: reno registered
Aug 24 15:41:06 ROOter kern.info kernel: [    0.640000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.650000] NET: Registered protocol family 1
Aug 24 15:41:06 ROOter kern.debug kernel: [    0.650000] PCI: CLS 0 bytes, default 32
Aug 24 15:41:06 ROOter kern.info kernel: [    0.670000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Aug 24 15:41:06 ROOter kern.info kernel: [    0.680000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Aug 24 15:41:06 ROOter kern.info kernel: [    0.690000] msgmni has been set to 55
Aug 24 15:41:06 ROOter kern.info kernel: [    0.690000] io scheduler noop registered
Aug 24 15:41:06 ROOter kern.info kernel: [    0.700000] io scheduler deadline registered (default)
Aug 24 15:41:06 ROOter kern.info kernel: [    0.700000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Aug 24 15:41:06 ROOter kern.info kernel: [    0.730000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Aug 24 15:41:06 ROOter kern.info kernel: [    0.740000] console [ttyS0] enabled, bootconsole disabled
Aug 24 15:41:06 ROOter kern.info kernel: [    0.750000] ath79-spi ath79-spi: master is unqueued, this is deprecated
Aug 24 15:41:06 ROOter kern.warn kernel: [    0.760000] m25p80 spi0.0: found s25sl032p, expected m25p80
Aug 24 15:41:06 ROOter kern.info kernel: [    0.760000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
Aug 24 15:41:06 ROOter kern.notice kernel: [    0.770000] 5 tp-link partitions found on MTD device spi0.0
Aug 24 15:41:06 ROOter kern.info kernel: [   13.760000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 24 15:41:06 ROOter kern.info kernel: [   13.760000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 24 15:41:06 ROOter kern.info kernel: [   13.770000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 24 15:41:06 ROOter kern.info kernel: [   13.780000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Aug 24 15:41:06 ROOter kern.info kernel: [   13.990000] PPP generic driver version 2.4.2
Aug 24 15:41:06 ROOter kern.info kernel: [   14.260000] ip_tables: (C) 2000-2006 Netfilter Core Team
Aug 24 15:41:06 ROOter kern.info kernel: [   14.400000] xt_time: kernel timezone is -0000
Aug 24 15:41:06 ROOter kern.info kernel: [   14.450000] NET: Registered protocol family 24
Aug 24 15:41:06 ROOter kern.info kernel: [   14.470000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Aug 24 15:41:06 ROOter kern.info kernel: [   14.490000] ehci-platform: EHCI generic platform driver
Aug 24 15:41:06 ROOter kern.info kernel: [   14.500000] ehci-platform ehci-platform: EHCI Host Controller
Aug 24 15:41:06 ROOter kern.info kernel: [   14.510000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Aug 24 15:41:06 ROOter kern.info kernel: [   14.510000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Aug 24 15:41:06 ROOter kern.info kernel: [   14.540000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Aug 24 15:41:06 ROOter kern.info kernel: [   14.540000] hub 1-0:1.0: USB hub found
Aug 24 15:41:06 ROOter kern.info kernel: [   14.550000] hub 1-0:1.0: 1 port detected
Aug 24 15:41:06 ROOter kern.info kernel: [   14.570000] nf_conntrack version 0.5.0 (451 buckets, 1804 max)
Aug 24 15:41:06 ROOter kern.info kernel: [   14.870000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Aug 24 15:41:06 ROOter kern.info kernel: [   15.140000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Aug 24 15:41:06 ROOter kern.info kernel: [   15.380000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Aug 24 15:41:06 ROOter kern.info kernel: [   15.410000] uhci_hcd: USB Universal Host Controller Interface driver
Aug 24 15:41:06 ROOter kern.info kernel: [   15.550000] usbcore: registered new interface driver usbserial
Aug 24 15:41:06 ROOter kern.info kernel: [   15.560000] usbcore: registered new interface driver usbserial_generic
Aug 24 15:41:06 ROOter kern.info kernel: [   15.560000] usbserial: USB Serial support registered for generic
Aug 24 15:41:06 ROOter kern.info kernel: [   15.700000] usbcore: registered new interface driver option
Aug 24 15:41:06 ROOter kern.info kernel: [   15.710000] usbserial: USB Serial support registered for GSM modem (1-port)
Aug 24 15:41:06 ROOter kern.info kernel: [   15.730000] usbcore: registered new interface driver sierra
Aug 24 15:41:06 ROOter kern.info kernel: [   15.730000] usbserial: USB Serial support registered for Sierra USB modem
Aug 24 15:41:06 ROOter kern.info kernel: [   16.060000] u32 classifier
Aug 24 15:41:06 ROOter kern.info kernel: [   16.060000]     Performance counters on
Aug 24 15:41:06 ROOter kern.info kernel: [   16.070000]     input device check on
Aug 24 15:41:06 ROOter kern.info kernel: [   16.070000]     Actions configured
Aug 24 15:41:06 ROOter kern.info kernel: [   16.190000] Mirror/redirect action on
Aug 24 15:41:06 ROOter user.notice usb-modeswitch: 1-1: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=dd1829730000 19d2 fff5 1 1
Aug 24 15:41:06 ROOter user.notice usb-modeswitch: Delay for boot up
Aug 24 15:41:10 ROOter kern.info kernel: [   21.920000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Aug 24 15:41:10 ROOter kern.info kernel: [   21.920000] device eth0 entered promiscuous mode
Aug 24 15:41:10 ROOter kern.info kernel: [   21.930000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Aug 24 15:41:10 ROOter daemon.notice netifd: Interface 'lan' is now up
Aug 24 15:41:10 ROOter daemon.notice netifd: Interface 'loopback' is now up
Aug 24 15:41:10 ROOter kern.info kernel: [   22.610000] eth0: link up (1000Mbps/Full duplex)
Aug 24 15:41:10 ROOter kern.info kernel: [   22.610000] br-lan: port 1(eth0) entered forwarding state
Aug 24 15:41:10 ROOter kern.info kernel: [   22.620000] br-lan: port 1(eth0) entered forwarding state
Aug 24 15:41:10 ROOter kern.info kernel: [   22.620000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Aug 24 15:41:10 ROOter kern.info kernel: [   22.630000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Aug 24 15:41:12 ROOter kern.info kernel: [   24.620000] br-lan: port 1(eth0) entered forwarding state
Aug 24 15:41:17 ROOter kern.info kernel: [   28.890000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 24 15:41:17 ROOter kern.info kernel: [   28.910000] device wlan0 entered promiscuous mode
Aug 24 15:41:17 ROOter kern.info kernel: [   28.930000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 24 15:41:17 ROOter kern.info kernel: [   28.960000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:17 ROOter kern.info kernel: [   28.960000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:17 ROOter kern.info kernel: [   28.970000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Aug 24 15:41:19 ROOter kern.info kernel: [   30.960000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:21 ROOter user.info sysinit: Loading defaults
Aug 24 15:41:21 ROOter user.info sysinit: Loading synflood protection
Aug 24 15:41:22 ROOter user.info sysinit: Adding custom chains
Aug 24 15:41:22 ROOter user.info sysinit: Loading zones
Aug 24 15:41:24 ROOter user.info sysinit: Loading forwardings
Aug 24 15:41:24 ROOter user.info sysinit: Loading rules
Aug 24 15:41:24 ROOter user.info sysinit: Loading redirects
Aug 24 15:41:24 ROOter user.info sysinit: Loading includes
Aug 24 15:41:24 ROOter user.info sysinit: Optimizing conntrack
Aug 24 15:41:24 ROOter user.info sysinit: Loading interfaces
Aug 24 15:41:25 ROOter user.info firewall: adding lan (br-lan) to zone lan
Aug 24 15:41:26 ROOter authpriv.info dropbear[1248]: Not backgrounding
Aug 24 15:41:30 ROOter user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Aug 24 15:41:30 ROOter user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Aug 24 15:41:33 ROOter daemon.info dnsmasq[1407]: started, version 2.66 cachesize 150
Aug 24 15:41:33 ROOter daemon.info dnsmasq[1407]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Aug 24 15:41:33 ROOter daemon.info dnsmasq-dhcp[1407]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Aug 24 15:41:33 ROOter daemon.info dnsmasq[1407]: using local addresses only for domain lan
Aug 24 15:41:33 ROOter daemon.warn dnsmasq[1407]: no servers found in /tmp/resolv.conf.auto, will retry
Aug 24 15:41:33 ROOter daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Aug 24 15:41:33 ROOter daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: *
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: * Start of Modem Detection and Connection Information
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: *
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: * Product=ZTE_CDMA_Tech 19d2 fff5
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: *
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:41:34 ROOter kern.info kernel: [   46.400000] device wlan0 left promiscuous mode
Aug 24 15:41:34 ROOter kern.info kernel: [   46.400000] br-lan: port 2(wlan0) entered disabled state
Aug 24 15:41:34 ROOter user.notice usb-modeswitch: 1-1: Selecting /etc/usb_modeswitch.d/19d2:fff5 for mode switching
Aug 24 15:41:35 ROOter syslog.notice usb_modeswitch: switching device 19d2:fff5 on 001/002
Aug 24 15:41:35 ROOter kern.info kernel: [   47.230000] usb 1-1: USB disconnect, device number 2
Aug 24 15:41:35 ROOter kern.info kernel: [   47.650000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Aug 24 15:41:36 ROOter kern.info kernel: [   47.820000] option 1-1:1.0: GSM modem (1-port) converter detected
Aug 24 15:41:36 ROOter kern.info kernel: [   47.820000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Aug 24 15:41:36 ROOter kern.info kernel: [   47.830000] option 1-1:1.1: GSM modem (1-port) converter detected
Aug 24 15:41:36 ROOter kern.info kernel: [   47.840000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Aug 24 15:41:36 ROOter kern.info kernel: [   47.850000] option 1-1:1.2: GSM modem (1-port) converter detected
Aug 24 15:41:36 ROOter kern.info kernel: [   47.850000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Aug 24 15:41:36 ROOter kern.info kernel: [   47.860000] option 1-1:1.3: GSM modem (1-port) converter detected
Aug 24 15:41:36 ROOter kern.info kernel: [   47.870000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
Aug 24 15:41:36 ROOter kern.info kernel: [   48.040000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 24 15:41:36 ROOter kern.info kernel: [   48.070000] device wlan0 entered promiscuous mode
Aug 24 15:41:36 ROOter kern.info kernel: [   48.130000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 24 15:41:36 ROOter kern.info kernel: [   48.170000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:36 ROOter kern.info kernel: [   48.180000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:36 ROOter kern.info kernel: [   48.180000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Aug 24 15:41:38 ROOter kern.info kernel: [   50.180000] br-lan: port 2(wlan0) entered forwarding state
Aug 24 15:41:38 ROOter daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.1.195 00:1d:ba:87:40:45
Aug 24 15:41:38 ROOter daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.1.195 00:1d:ba:87:40:45 Home-PC
Aug 24 15:41:39 ROOter user.info sysinit: setting up led USB
Aug 24 15:41:43 ROOter daemon.info dnsmasq-dhcp[1407]: DHCPINFORM(br-lan) 192.168.1.195 00:1d:ba:87:40:45
Aug 24 15:41:43 ROOter daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.1.195 00:1d:ba:87:40:45 Home-PC
Aug 24 15:42:05 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:42:05 ROOter user.notice usb-modeswitch: *
Aug 24 15:42:05 ROOter user.notice usb-modeswitch: * Switched to : 19d2:fffe
Aug 24 15:42:05 ROOter user.notice usb-modeswitch: *
Aug 24 15:42:05 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:42:06 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:42:06 ROOter user.notice usb-modeswitch: *
Aug 24 15:42:06 ROOter user.notice Script Print : Driver Name : 1 option
Aug 24 15:42:06 ROOter user.notice Script Print : Driver Name : 2 option
Aug 24 15:42:06 ROOter user.notice Script Print : Driver Name : 3 option
Aug 24 15:42:06 ROOter user.notice Script Print : Driver Name : 4 option
Aug 24 15:42:06 ROOter user.notice usb-modeswitch: * ProtoFind returns : 11
Aug 24 15:42:06 ROOter user.notice usb-modeswitch: *
Aug 24 15:42:06 ROOter user.notice usb-modeswitch: *******************************************************
Aug 24 15:42:06 ROOter daemon.notice netifd: Interface 'wan' is now down
Aug 24 15:42:07 ROOter user.notice usb-modeswitch: usb1: Manufacturer=Linux_3.8.13_ehci_hcd Product=EHCI_Host_Controller Serial=ehci-platform 1d6b 0002 1 1
Aug 24 15:42:07 ROOter user.notice usb-modeswitch: Ignoring Linux Hub
Aug 24 15:42:07 ROOter daemon.notice netifd: Interface 'wan' is now down
Aug 24 15:42:07 ROOter user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.8.13_ehci_hcd Product=EHCI_Host_Controller Serial=ehci-platform 1d6b 0002 1 1
Aug 24 15:42:07 ROOter user.notice usb-modeswitch: Ignoring Linux Hub
Aug 24 15:42:07 ROOter user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:11 ROOter user.notice usb-modeswitch: Remove 1-1:1.0 19d2
Aug 24 15:42:11 ROOter user.notice usb-modeswitch: Remove 1-1 19d2
Aug 24 15:42:11 ROOter user.notice usb-modeswitch: 1-1: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:12 ROOter user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:12 ROOter user.notice usb-modeswitch: 1-1:1.1: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:13 ROOter user.notice usb-modeswitch: 1-1:1.2: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:13 ROOter user.notice usb-modeswitch: 1-1:1.3: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1
Aug 24 15:42:13 ROOter user.notice usb-modeswitch: 1-1:1.4: Manufacturer=ZTE,_Incorporated Product=ZTE_CDMA_Tech Serial=? 19d2 fffe 1 1

(Last edited by malik75 on 25 Aug 2013, 13:59)

log ended there??

i see no pppd or chat messages..

but maybe there is something different from openwrt...

also post your config files for wan..

or maybe try openwrt and follow the wiki

http://wiki.openwrt.org/doc/recipes/3gdongle

nebbia88 wrote:

log ended there??

i see no pppd or chat messages..

but maybe there is something different from openwrt...

also post your config files for wan..

or maybe try openwrt and follow the wiki

http://wiki.openwrt.org/doc/recipes/3gdongle


Yes the log always ends at that point
I've tried the link you provided but it doesn't seem to apply to my situation
I have to add that the usb is EVDO Rev.B but each time I choose this option in the GUI it reverts to UMTS
Not sure what you meant by wan config file but hope the below is correct


config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd99:128b:427a::/48'

config interface 'lan'
    option ifname 'eth0'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan6'
    option ifname '@wan'
    option proto 'dhcpv6'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 3 4'

config interface 'wan'
    option _orig_ifname 'eth1'
    option _orig_bridge 'false'
    option proto '3g'
    option service 'umts'
    option keepalive '0'
    option device '/dev/ttyUSB1'
    option username 'vwireless@ptcl.com'
    option password 'ptcl'
    option pincode '#777'
    option pppd_options 'noipdefault'

(Last edited by malik75 on 25 Aug 2013, 15:27)

The discussion might have continued from here.