Temat: WDR 3600 LEDE LUCI i ZTE MF821
Cześć,
Mam problem z nawiązaniem połączenia LTE w modemie ZTE MF821, który podłączony jest do portu USB w TP-LINKu WDR3600. Mam wgrane LEDE z LUCI. Wersja: LEDE Reboot 17.01-SNAPSHOT r3825-28483d4 / LuCI lede-17.01 branch (git-18.039.58469-1c94003)
Pierwszy pytanie to dlaczego w typach protokołu nie mam wyboru LTE, najwyżej co mogę ustawić to UMTS/GPRS/EV-DO. Jeśli wybiorę tę opcję to Internetu nie mam. Dioda na modemie świeci na czerwono a powinno na zielone. Zasięg LTE mam, bo wcześniej na wersji Gargoyle wszystko działało.
Tak mam ustawiony wan
config interface 'wan'
option proto '3g'
option device '/dev/ttyUSB2'
option apn 'internet'
option ipv6 'auto'logread
[ 0.000000] Linux version 4.4.112 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3785-ceea0ac) ) #0 Fri Jan 26 07:37:28 2018
[ 0.000000] MyLoader: sysp=d41aa8a5, boardp=3bb52003, parts=bd952718
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 804384d0, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124944K/131072K available (3122K kernel code, 162K rwdata, 780K rodata, 280K init, 205K bss, 6128K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.008299] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.081137] pid_max: default: 32768 minimum: 301
[ 0.086177] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093230] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.103194] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.113722] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.121416] NET: Registered protocol family 16
[ 0.127602] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[ 0.136705] registering PCI controller with io_map_base unset
[ 0.370109] PCI host bridge to bus 0000:00
[ 0.374482] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.381843] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.387772] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.395004] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.403476] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000
[ 0.403508] pci 0000:00:00.0: invalid calibration data
[ 0.409013] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[ 0.409074] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.409144] pci 0000:00:00.0: supports D1
[ 0.409161] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.409392] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.409427] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[ 0.417222] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[ 0.424942] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.431090] clocksource: Switched to clocksource MIPS
[ 0.437815] NET: Registered protocol family 2
[ 0.443371] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.450802] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.457614] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.464463] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.470687] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.477670] NET: Registered protocol family 1
[ 0.482441] PCI: CLS 0 bytes, default 32
[ 0.487053] Crashlog allocated RAM at address 0x3f00000
[ 0.507281] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.513548] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.526526] io scheduler noop registered
[ 0.530709] io scheduler deadline registered (default)
[ 0.536487] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.546011] console [ttyS0] disabled
[ 0.569889] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.579085] console [ttyS0] enabled
[ 0.586506] bootconsole [early0] disabled
[ 0.599928] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.605650] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.611629] 5 tp-link partitions found on MTD device spi0.0
[ 0.617286] Creating 5 MTD partitions on "spi0.0":
[ 0.622184] 0x000000000000-0x000000020000 : "u-boot"
[ 0.628616] 0x000000020000-0x00000016e4a8 : "kernel"
[ 0.635284] 0x00000016e4a8-0x0000007f0000 : "rootfs"
[ 0.641935] mtd: device 2 (rootfs) set to be root filesystem
[ 0.647707] 1 squashfs-split partitions found on MTD device rootfs
[ 0.654037] 0x000000600000-0x0000007f0000 : "rootfs_data"
[ 0.661144] 0x0000007f0000-0x000000800000 : "art"
[ 0.667527] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.681781] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0
[ 1.292945] libphy: ag71xx_mdio: probed
[ 1.882483] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[ 1.893942] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.902524] NET: Registered protocol family 10
[ 1.910932] NET: Registered protocol family 17
[ 1.915580] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.928520] 8021q: 802.1Q VLAN Support v1.8
[ 1.934523] hctosys: unable to open rtc device (rtc0)
[ 1.944641] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.953122] Freeing unused kernel memory: 280K
[ 3.029904] init: Console is alive
[ 3.033631] init: - watchdog -
[ 4.586495] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.724185] usbcore: registered new interface driver usbfs
[ 4.729851] usbcore: registered new interface driver hub
[ 4.735381] usbcore: registered new device driver usb
[ 4.780413] SCSI subsystem initialized
[ 4.790626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.798931] ehci-platform: EHCI generic platform driver
[ 4.804388] ehci-platform ehci-platform: EHCI Host Controller
[ 4.810269] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.820413] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.841169] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.848471] hub 1-0:1.0: USB hub found
[ 4.852646] hub 1-0:1.0: 1 port detected
[ 4.861322] usbcore: registered new interface driver usb-storage
[ 4.868153] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.878238] init: - preinit -
[ 5.297330] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 5.602345] hub 1-1:1.0: USB hub found
[ 5.606697] hub 1-1:1.0: 4 ports detected
[ 5.630354] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.703182] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[ 5.891112] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[ 6.006639] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 6.013713] scsi host0: usb-storage 1-1.2:1.0
[ 6.882348] eth0: link up (1000Mbps/Full duplex)
[ 6.887116] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.012807] scsi 0:0:0:0: CD-ROM L_T_E USB SCSI CD-ROM USB PQ: 0 ANSI: 0
[ 7.023304] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 0
[ 7.034116] sd 0:0:0:1: [sda] 7959552 512-byte logical blocks: (4.08 GB/3.79 GiB)
[ 7.042472] sd 0:0:0:1: [sda] Write Protect is off
[ 7.047350] sd 0:0:0:1: [sda] Mode Sense: 0f 0e 00 00
[ 7.047966] sd 0:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 7.063478] sda: sda1 sda2
[ 7.070845] sd 0:0:0:1: [sda] Attached SCSI removable disk
[ 8.834009] mount_root: loading kmods from internal overlay
[ 8.876908] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 8.885805] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 9.153490] jffs2: notice: (463) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 9.169582] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 9.182817] block: extroot: not configured
[ 9.227313] jffs2: notice: (460) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 9.402667] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 9.415579] block: extroot: not configured
[ 9.420646] mount_root: switching to jffs2 overlay
[ 9.432526] urandom-seed: Seeding with /etc/urandom.seed
[ 9.562910] eth0: link down
[ 9.577733] procd: - early -
[ 9.580755] procd: - watchdog -
[ 10.164913] random: jshn: uninitialized urandom read (4 bytes read, 42 bits of entropy available)
[ 10.318830] procd: - watchdog -
[ 10.331468] procd: - ubus -
[ 10.482153] random: jshn: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.736168] random: jshn: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.745637] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.761601] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.770755] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.786897] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.796115] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.805759] random: ubusd: uninitialized urandom read (4 bytes read, 43 bits of entropy available)
[ 10.815494] procd: - init -
[ 11.888946] sd 0:0:0:1: [sda] Synchronizing SCSI cache
[ 12.013223] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.061661] tun: Universal TUN/TAP device driver, 1.6
[ 12.066798] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 12.103364] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.139249] fuse init (API version 7.23)
[ 12.166833] usbcore: registered new interface driver cdc_acm
[ 12.172645] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 12.203438] usbcore: registered new interface driver cdc_wdm
[ 12.223365] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 12.231537] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 12.252598] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.281212] nf_conntrack version 0.5.0 (1956 buckets, 7824 max)
[ 12.386735] usbcore: registered new interface driver usblp
[ 12.411674] usbcore: registered new interface driver usbserial
[ 12.417720] usbcore: registered new interface driver usbserial_generic
[ 12.424486] usbserial: USB Serial support registered for generic
[ 12.492220] xt_time: kernel timezone is -0000
[ 12.500993] usbcore: registered new interface driver cdc_ether
[ 12.521010] usbcore: registered new interface driver cdc_ncm
[ 12.592720] usbcore: registered new interface driver huawei_cdc_ncm
[ 12.719336] PPP generic driver version 2.4.2
[ 12.731154] NET: Registered protocol family 24
[ 12.742271] usbcore: registered new interface driver qmi_wwan
[ 12.763995] usbcore: registered new interface driver rndis_host
[ 12.783464] usbcore: registered new interface driver sierra
[ 12.789229] usbserial: USB Serial support registered for Sierra USB modem
[ 12.810162] usbcore: registered new interface driver sierra_net
[ 12.893446] usbcore: registered new interface driver cdc_mbim
[ 12.910931] usbcore: registered new interface driver option
[ 12.916759] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.946216] usbcore: registered new interface driver qcserial
[ 12.952229] usbserial: USB Serial support registered for Qualcomm USB modem
[ 13.001399] ath: EEPROM regdomain: 0x0
[ 13.001419] ath: EEPROM indicates default country code should be used
[ 13.001429] ath: doing EEPROM country->regdmn map search
[ 13.001450] ath: country maps to regdmn code: 0x3a
[ 13.001462] ath: Country alpha2 being used: US
[ 13.001471] ath: Regpair used: 0x3a
[ 13.013666] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.018535] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
[ 13.025502] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 13.036807] ath: EEPROM regdomain: 0x0
[ 13.036824] ath: EEPROM indicates default country code should be used
[ 13.036834] ath: doing EEPROM country->regdmn map search
[ 13.036855] ath: country maps to regdmn code: 0x3a
[ 13.036867] ath: Country alpha2 being used: US
[ 13.036877] ath: Regpair used: 0x3a
[ 13.046437] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 13.051420] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[ 13.131491] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 14.562325] usb 1-1.2: USB disconnect, device number 3
[ 18.891110] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[ 19.008058] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 19.014789] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 19.022756] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 19.029402] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 19.037347] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 19.044050] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 19.052000] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 19.058630] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 19.200753] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[ 19.207185] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-ehci-platform-1.2, WWAN/QMI device, 52:a8:80:cb:ce:b1
[ 19.218447] usb-storage 1-1.2:1.5: USB Mass Storage device detected
[ 19.301173] scsi host1: usb-storage 1-1.2:1.5
[ 20.312068] scsi 1:0:0:0: CD-ROM L_T_E USB SCSI CD-ROM USB PQ: 0 ANSI: 0
[ 20.353519] scsi 1:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 0
[ 20.364416] sd 1:0:0:1: [sda] 7959552 512-byte logical blocks: (4.08 GB/3.79 GiB)
[ 20.405263] sd 1:0:0:1: [sda] Write Protect is off
[ 20.410167] sd 1:0:0:1: [sda] Mode Sense: 0f 0e 00 00
[ 20.441195] sd 1:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 20.486750] sda: sda1 sda2
[ 20.534374] sd 1:0:0:1: [sda] Attached SCSI removable disk
[ 24.911745] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.922857] device eth0.1 entered promiscuous mode
[ 24.927727] device eth0 entered promiscuous mode
[ 24.934193] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 24.962443] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 26.243598] eth0: link up (1000Mbps/Full duplex)
[ 26.248367] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 26.321257] br-lan: port 1(eth0.1) entered forwarding state
[ 26.326967] br-lan: port 1(eth0.1) entered forwarding state
[ 26.332752] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 26.416353] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 26.452747] ath: EEPROM regdomain: 0x8268
[ 26.452767] ath: EEPROM indicates we should expect a country code
[ 26.452782] ath: doing EEPROM country->regdmn map search
[ 26.452795] ath: country maps to regdmn code: 0x37
[ 26.452807] ath: Country alpha2 being used: PL
[ 26.452818] ath: Regpair used: 0x37
[ 26.452831] ath: regdomain 0x8268 dynamically updated by user
[ 26.452916] ath: EEPROM regdomain: 0x8268
[ 26.452926] ath: EEPROM indicates we should expect a country code
[ 26.452939] ath: doing EEPROM country->regdmn map search
[ 26.452952] ath: country maps to regdmn code: 0x37
[ 26.452963] ath: Country alpha2 being used: PL
[ 26.452973] ath: Regpair used: 0x37
[ 26.452984] ath: regdomain 0x8268 dynamically updated by user
[ 28.321146] br-lan: port 1(eth0.1) entered forwarding state
[ 29.659784] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 29.739484] device wlan0 entered promiscuous mode
[ 29.821276] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 29.827903] br-lan: port 2(wlan0) entered forwarding state
[ 29.833569] br-lan: port 2(wlan0) entered forwarding state
[ 31.324208] random: nonblocking pool is initialized
[ 31.767355] 3g-wan: renamed from ppp0
[ 31.856395] br-lan: port 2(wlan0) entered forwarding state
[ 34.012635] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.Prośba o podpowiedź co może być nie tak.