kuoruan / openwrt-v2ray

V2Ray for OpenWrt
MIT License
2.22k stars 464 forks source link

启用服务导致 ER-X 重启长时间无法连接 #49

Open mrhso opened 4 years ago

mrhso commented 4 years ago

环境:OpenWrt 18.06.5 on UBNT ER-X 版本:core v4.22.1-4,luci-app v1.5.3-1 表现为启动后一段时间(不定),路由器无法与外部端口通信。 若在 LuCI 中勾选「已启用」,重启后会触发问题,反之不会。 附系统日志:

Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] Linux version 4.14.151 (buildbot@b87496cfc8a9) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7897-9d401013fc)) #0 SMP Tue Nov 5 14:12:18 2019
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] MIPS: machine is UBNT-ERX
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Determined physical RAM map:
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]  memory: 10000000 @ 00000000 (usable)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] VPE topology {2,2} total 4
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Zone ranges:
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   HighMem  empty
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Movable zone start for each node
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Early memory node ranges
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] On node 0 totalpages: 65536
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 80556140, node_mem_map 81003000
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 512 pages used for memmap
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] random: get_random_bytes called from 0x80559744 with crng_init=0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Writing ErrCtl register=00048cc0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Readback ErrCtl register=00048cc0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Memory: 253620K/262144K available (4648K kernel code, 243K rwdata, 572K rodata, 220K init, 254K bss, 8524K reserved, 0K cma-reserved, 0K highmem)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Hierarchical RCU implementation.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] NR_IRQS: 256
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.015497] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.087820] pid_max: default: 32768 minimum: 301
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.097137] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.110158] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.125892] Hierarchical SRCU implementation.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.135361] smp: Bringing up secondary CPUs ...
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145069] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145077] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145088] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.145220] CPU1 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.204724] Synchronize counters for CPU 1: done.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268841] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268849] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268857] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.268929] CPU2 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.325575] Synchronize counters for CPU 2: done.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385922] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385930] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385938] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.386028] CPU3 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.445140] Synchronize counters for CPU 3: done.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.504741] smp: Brought up 1 node, 4 CPUs
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.516116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.535582] futex hash table entries: 1024 (order: 3, 32768 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.548030] pinctrl core: initialized pinctrl subsystem
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.558902] NET: Registered protocol family 16
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.572722] FPU Affinity set after 11720 emulations
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.582436] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.593704] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.604890] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.618494] clocksource: Switched to clocksource GIC
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.629805] NET: Registered protocol family 2
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.639169] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.652921] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.665700] TCP: Hash tables configured (established 2048 bind 2048)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.678418] UDP hash table entries: 256 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.689915] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.702568] NET: Registered protocol family 1
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.711119] PCI: CLS 0 bytes, default 32
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.948428] 4 CPUs re-calibrate udelay(lpj = 2924544)
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.959827] Crashlog allocated RAM at address 0x3f00000
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.970373] workingset: timestamp_bits=30 max_order=16 bucket_order=0
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.985686] random: fast init done
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.996688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.008197] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.031186] io scheduler noop registered
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.038867] io scheduler deadline registered (default)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.050125] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.065683] console [ttyS0] disabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.072748] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.090674] console [ttyS0] enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.104463] bootconsole [early0] disabled
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.122512] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.136548] Enable NFI Clock
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.142293] # MTK NAND # : Use HW ECC
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.149606] Device found in MTK table, ID: 1da, EXT_ID: 909546
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.161218] Support this Device in MTK table! 1da
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.170940] [NAND]select ecc bit:12, sparesize :112 spare_per_sector=28
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.184160] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.196808] nand: AMD/Spansion NAND 256MiB 3,3V 8-bit
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.206865] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.221956] Scanning device for bad blocks
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.865386] 6 fixed-partitions partitions found on MTD device MT7621-NAND
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.878905] Creating 6 MTD partitions on "MT7621-NAND":
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.889320] 0x000000000000-0x000000080000 : "u-boot"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.900298] 0x000000080000-0x0000000e0000 : "u-boot-env"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.911903] 0x0000000e0000-0x000000140000 : "factory"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.922985] 0x000000140000-0x000000440000 : "kernel1"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.934087] 0x000000440000-0x000000740000 : "kernel2"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.945187] 0x000000740000-0x00000ff00000 : "ubi"
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.957505] [mtk_nand] probe successfully!
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.966448] Signature matched and data read!
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.974955] load_fact_bbt success 2047
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.983140] libphy: Fixed MDIO Bus: probed
Tue Jan 28 01:02:56 2020 kern.info kernel: [    2.061073] libphy: mdio: probed
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.467086] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.479567] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.498700] NET: Registered protocol family 10
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.509145] Segment Routing with IPv6
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.516510] NET: Registered protocol family 17
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.525447] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.551240] 8021q: 802.1Q VLAN Support v1.8
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    3.562467] UBI: auto-attach mtd5
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    3.569155] ubi0: attaching mtd5
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.876907] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
Tue Jan 28 01:02:56 2020 kern.info kernel: [    4.497961] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:02:56 2020 kern.info kernel: [    4.806812] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.049618] ubi0: scanning is finished
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.075140] ubi0: attached mtd5 (name "ubi", size 247 MiB)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.086114] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.099803] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.113319] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.127183] ubi0: good PEBs: 1982, bad PEBs: 0, corrupted PEBs: 0
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.139319] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.153701] ubi0: max/mean erase counter: 20/13, WL threshold: 4096, image sequence number: 207586175
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.172056] ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 40
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.190620] ubi0: background thread "ubi_bgt0d" started, PID 360
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.192649] block ubiblock0_0: created from ubi0:0(rootfs)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.213532] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.227400] hctosys: unable to open rtc device (rtc0)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.244088] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.258872] Freeing unused kernel memory: 220K
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    6.267715] This architecture does not have kernel memory protection.
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.805268] init: Console is alive
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.812346] init: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.946291] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Tue Jan 28 01:02:56 2020 user.info kernel: [    7.009033] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Tue Jan 28 01:02:56 2020 user.info kernel: [    7.038779] init: - preinit -
Tue Jan 28 01:02:56 2020 kern.info kernel: [    7.676065] mtk_soc_eth 1e100000.ethernet: PPE started
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.889240] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 423
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.942298] random: procd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.965973] UBIFS (ubi0:1): recovery needed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.136139] UBIFS (ubi0:1): recovery completed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.145108] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.160709] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.180452] UBIFS (ubi0:1): FS size: 242651136 bytes (231 MiB, 1911 LEBs), journal size 12189696 bytes (11 MiB, 96 LEBs)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.202087] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.215259] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID A7B3207D-F22B-451D-BD15-798C43F48265, small LPT model
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.254736] mount_root: switching to ubifs overlay
Tue Jan 28 01:02:56 2020 user.warn kernel: [   11.294563] urandom-seed: Seeding with /etc/urandom.seed
Tue Jan 28 01:02:56 2020 kern.info kernel: [   11.480035] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.502686] procd: - early -
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.508645] procd: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.128621] procd: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.135180] procd: - ubus -
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.174031] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.260879] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.273972] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.287496] procd: - init -
Tue Jan 28 01:02:56 2020 user.info kernel: [   13.335721] kmodloader: loading kernel modules from /etc/modules.d/*
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.352030] ip6_tables: (C) 2000-2006 Netfilter Core Team
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.372056] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.408787] Netfilter messages via NETLINK v0.30.
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.424938] ip_set: protocol 6
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.512543] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.533174] ctnetlink v0.93: registering with nfnetlink.
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.583185] xt_time: kernel timezone is -0000
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.596543] PPP generic driver version 2.4.2
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.606278] NET: Registered protocol family 24
Tue Jan 28 01:02:56 2020 user.info kernel: [   13.617332] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Jan 28 01:02:56 2020 kern.warn kernel: [   15.175108] urandom_read: 5 callbacks suppressed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   15.175120] random: jshn: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:57 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Tue Jan 28 01:02:57 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Tue Jan 28 01:02:57 2020 authpriv.info dropbear[762]: Not backgrounding
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: started, version 2.80 cachesize 150
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: DNS service limited to local subnets
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify dumpfile
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain test
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain onion
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain localhost
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain local
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain invalid
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain bind
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 127.0.0.1#5053
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain lan
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 127.0.0.1#5053
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www-googletagmanager.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain update.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain translate.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain toolbarqueries.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl-google-analytics.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain settings.crashlytics.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing-cache.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain redirector.gvt1.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain recaptcha.net
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain pagead-googlehosted.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ocsp.pki.goog
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain media.admob.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm.googleapis.com
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: using 73431 more nameservers
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: read /etc/hosts - 4 addresses
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Tue Jan 28 01:06:13 2020 kern.info kernel: [  212.894252] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:06:16 2020 kern.info kernel: [  215.158493] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:09:43 2020 kern.info kernel: [  422.894772] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:09:46 2020 kern.info kernel: [  425.159046] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:13:13 2020 kern.info kernel: [  632.895328] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:13:16 2020 kern.info kernel: [  635.174612] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:16:43 2020 kern.info kernel: [  842.895909] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:16:46 2020 kern.info kernel: [  845.160185] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:20:13 2020 kern.info kernel: [ 1052.896509] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:20:16 2020 kern.info kernel: [ 1055.325762] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:23:43 2020 kern.info kernel: [ 1262.897079] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:23:46 2020 kern.info kernel: [ 1265.161343] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:27:13 2020 kern.info kernel: [ 1472.897675] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:27:16 2020 kern.info kernel: [ 1475.161926] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:30:43 2020 kern.info kernel: [ 1682.898266] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:30:46 2020 kern.info kernel: [ 1685.387514] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:34:13 2020 kern.info kernel: [ 1892.898881] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:34:16 2020 kern.info kernel: [ 1895.193094] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:37:43 2020 kern.info kernel: [ 2102.899471] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:37:46 2020 kern.info kernel: [ 2105.178693] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:41:13 2020 kern.info kernel: [ 2312.900049] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:41:16 2020 kern.info kernel: [ 2315.164285] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:44:43 2020 kern.info kernel: [ 2522.900650] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:44:46 2020 kern.info kernel: [ 2525.164878] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:48:00 2020 kern.notice kernel: [ 2719.568876] random: crng init done
Tue Jan 28 01:48:10 2020 daemon.info v2ray: Transparent proxy disabled.
Tue Jan 28 01:48:10 2020 daemon.info v2ray[845]: V2Ray 4.22.1 (OpenWrt) R4 (go1.13.6 linux/mipsle)
Tue Jan 28 01:48:10 2020 daemon.info v2ray[845]: A unified platform for anti-censorship.
Tue Jan 28 01:48:11 2020 daemon.info v2ray[845]: 2020/01/27 17:48:10 [Warning] v2ray.com/core: V2Ray 4.22.1 started
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: tunnel
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: Network device
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: bridge
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: veth
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: macvlan
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: 8021ad
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: 8021q
Tue Jan 28 01:48:13 2020 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records in
Tue Jan 28 01:48:13 2020 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records out
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.471212] mtk_soc_eth 1e100000.ethernet: PPE started
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.503065] br-lan: port 1(eth0.1) entered blocking state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.514274] br-lan: port 1(eth0.1) entered disabled state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.525848] device eth0.1 entered promiscuous mode
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.535490] device eth0 entered promiscuous mode
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.547698] br-lan: port 1(eth0.1) entered blocking state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.558519] br-lan: port 1(eth0.1) entered forwarding state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.570084] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is setting up now
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is now up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is now up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: bridge 'br-lan' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Network device 'eth0' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: VLAN 'eth0.1' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Network device 'lo' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: VLAN 'eth0.2' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' is setting up now
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - slhc
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - ppp_generic
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - pppox
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - pppoe
Tue Jan 28 01:48:13 2020 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Jan 28 01:48:14 2020 daemon.info pppd[1101]: Plugin rp-pppoe.so loaded.
Tue Jan 28 01:48:14 2020 daemon.info pppd[1101]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Jan 28 01:48:14 2020 daemon.info dnsmasq[735]: exiting on receipt of SIGTERM
kuoruan commented 4 years ago

看你的防火墙情况。比较一下正常情况下的防火墙规则和不正常情况下的防火墙规则

mrhso commented 4 years ago

开启前后防火墙规则未见变化。另外 random: crng init done 明显滞后,在此之前均处于无法连接的状态。

kuoruan commented 4 years ago

重启时间长是因为需要等待 dnsmasq 载入规则列表,这个时间比较长

mrhso commented 4 years ago

重启时间长是因为需要等待 dnsmasq 载入规则列表,这个时间比较长

45 分钟的话似乎不太正常……载入规则列表也不应当出现阻塞。 另外我用了自定义配置,不知道有没有关系。

kuoruan commented 4 years ago

路由什么架构的?

mrhso commented 4 years ago

mipsel_24kc MT7621

kuoruan commented 4 years ago

重启之前把 /tmp/dnsmasq.d/v2ray 删了试试,或者不要启用 GFWList

mrhso commented 4 years ago

启用 V2Ray 之后 /tmp/dnsmasq.d/ 是空的。

kuoruan commented 4 years ago

不能啊,那你这些日志怎么来的?

Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www-googletagmanager.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain update.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain translate.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain toolbarqueries.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl-google-analytics.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain settings.crashlytics.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing-cache.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain redirector.gvt1.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain recaptcha.net
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain pagead-googlehosted.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ocsp.pki.goog
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain media.admob.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm.googleapis.com
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: using 73431 more nameservers
mrhso commented 4 years ago

不能啊,那你这些日志怎么来的?

Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www-googletagmanager.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain update.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain translate.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain toolbarqueries.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl-google-analytics.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain settings.crashlytics.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing-cache.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain redirector.gvt1.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain recaptcha.net
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain pagead-googlehosted.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ocsp.pki.goog
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain media.admob.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm.googleapis.com
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: using 73431 more nameservers

那是我自己给 dnsmasq 配置的,而且禁用 V2Ray 之后这些也并没有显著拖慢启动。

mrhso commented 4 years ago

不能啊,那你这些日志怎么来的?

Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www-googletagmanager.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain update.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain translate.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain toolbarqueries.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl-google-analytics.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain settings.crashlytics.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing-cache.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain redirector.gvt1.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain recaptcha.net
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain pagead-googlehosted.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ocsp.pki.goog
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain media.admob.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm.googleapis.com
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: using 73431 more nameservers

那是我自己给 dnsmasq 配置的,而且禁用 V2Ray 之后这些也并没有显著拖慢启动。

kuoruan commented 4 years ago

还有就是你这个 CPU 太弱了,本来启动 v2ray 就很慢。

nobk commented 4 years ago

这个问题我也发现,并且已经解决了,不是v2ray的问题,而是luci-app-v2ray的init.d启动脚本被防火墙规则提前reload造成的,按我贴出的方式改一下脚本,路由器就能恢复正常重启时间了。 https://github.com/kuoruan/luci-app-v2ray/issues/141

nobk commented 4 years ago

还有就是你这个 CPU 太弱了,本来启动 v2ray 就很慢。

我也是MT7621,是最高版本MT7621A,双核四线程的,没FPU用软件模拟协处理器做浮点运算,跑V2RAY也能流畅看油管4K视频,外网走代理下载速度能到5MB/s。而且这个硬件平台的路由器特省电,无线只开5G才3W左右,我这里停电后直流UPS也能带机22小时。