|
本帖最后由 hzjnet@163.com 于 2019-7-11 15:24 编辑
如题,具体情况是相同的配置在华硕arch17和网件R7800混合组mesh网成功,具体配置文件如下:config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option legacy_rates '1'
option country 'US'
config wifi-iface
option device 'radio0'
option encryption 'none'
option mode 'mesh'
option mesh_id 'scdxxjsmesh'
option network 'lan'
option mesh_fwding '0'
option mesh_rssi_threshold '0'
option short_preamble '0'
config wifi-iface
option device 'radio0'
option mode 'ap'
option ssid 'scdxxjs-mesh'
option key 'xxx!ssss'
option encryption 'psk2'
option network 'lan'
问题是:
从图看mesh是运行了的,但是mesh逻辑网口和下接的终端都未能获取IP,请教这是什么情况?如何处理?
dmesg的运行log如下:
[ 0.000000] Linux version 4.14.131 (lean@cs7opip18) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10440-8ef6240)) #0 SMP Sun Jul 7 15:37:26 2019
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Phicomm K2P
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] HighMem empty
[ 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 8057e220, node_mem_map 81003000
[ 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] random: get_random_bytes called from 0x80581744 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344
[ 0.000000] pcpu-alloc: s26768 r8192 d22384 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 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=000025e0
[ 0.000000] Readback ErrCtl register=000025e0
[ 0.000000] Memory: 123492K/131072K available (4796K kernel code, 239K rwdata, 588K rodata, 252K init, 250K bss, 7580K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.015505] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087831] pid_max: default: 32768 minimum: 301
[ 0.097150] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110172] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.125972] Hierarchical SRCU implementation.
[ 0.135467] smp: Bringing up secondary CPUs ...
[ 1.849814] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.849824] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.849835] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.849973] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.204833] Synchronize counters for CPU 1: done.
[ 1.593941] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.593949] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.593957] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.594030] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.325687] Synchronize counters for CPU 2: done.
[ 1.712921] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.712929] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 1.712936] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.713019] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.445253] Synchronize counters for CPU 3: done.
[ 0.504855] smp: Brought up 1 node, 4 CPUs
[ 0.516614] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.536082] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.548533] pinctrl core: initialized pinctrl subsystem
[ 0.560343] NET: Registered protocol family 16
[ 0.574434] FPU Affinity set after 11720 emulations
[ 0.575716] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.884586] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.894653] ***** Xtal 40MHz *****
[ 0.901381] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.911586] Port 0 N_FTS = 1b105000
[ 0.918484] Port 1 N_FTS = 1b102800
[ 0.925411] Port 2 N_FTS = 1b102800
[ 2.083566] PCIE1 no card, disable it(RST&CLK)
[ 2.092252] PCIE2 no card, disable it(RST&CLK)
[ 2.101049] -> 21007f2
[ 2.105901] PCIE0 enabled
[ 2.111082] PCI host bridge /pcie@1e140000 ranges:
[ 2.120609] MEM 0x0000000060000000..0x000000006fffffff
[ 2.130968] IO 0x000000001e160000..0x000000001e16ffff
[ 2.141335] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 2.164382] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.175713] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.186961] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.199687] PCI host bridge to bus 0000:00
[ 2.207704] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 2.221387] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 2.233111] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.246590] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.262357] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 2.262398] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 2.262411] pci 0000:00:00.0: reg 0x14: [mem 0x60100000-0x6010ffff]
[ 2.262476] pci 0000:00:00.0: supports D1
[ 2.262485] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.262929] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 2.262982] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 2.263277] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.263298] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 2.263349] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.276399] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.290195] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.303671] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[ 2.317160] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 2.331672] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.341494] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.356341] clocksource: Switched to clocksource GIC
[ 2.367874] NET: Registered protocol family 2
[ 2.377266] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.391012] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.403610] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.416372] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.427867] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.440521] NET: Registered protocol family 1
[ 2.449108] PCI: CLS 0 bytes, default 32
[ 2.686283] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.698102] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 2.718487] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.729997] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.751002] random: fast init done
[ 2.759769] io scheduler noop registered
[ 2.767469] io scheduler deadline registered (default)
[ 2.778777] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.794846] console [ttyS0] disabled
[ 2.801962] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 2.819856] console [ttyS0] enabled
[ 2.833641] bootconsole [early0] disabled
[ 2.850370] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.863309] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.877654] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 2.890757] m25p80 spi0.0: gd25q128 (16384 Kbytes)
[ 2.900387] 5 fixed-partitions partitions found on MTD device spi0.0
[ 2.913031] Creating 5 MTD partitions on "spi0.0":
[ 2.922574] 0x000000000000-0x000000030000 : "u-boot"
[ 2.933404] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.944871] 0x000000040000-0x000000050000 : "factory"
[ 2.955822] 0x000000050000-0x0000000a0000 : "permanent_config"
[ 2.968347] 0x0000000a0000-0x000001000000 : "firmware"
[ 2.979729] 2 uimage-fw partitions found on MTD device firmware
[ 2.991591] Creating 2 MTD partitions on "firmware":
[ 3.001490] 0x000000000000-0x0000001cc237 : "kernel"
[ 3.012335] 0x0000001cc237-0x000000f60000 : "rootfs"
[ 3.023088] mtd: device 6 (rootfs) set to be root filesystem
[ 3.034515] 1 squashfs-split partitions found on MTD device rootfs
[ 3.046869] 0x0000006e0000-0x000000f60000 : "rootfs_data"
[ 3.059289] libphy: Fixed MDIO Bus: probed
[ 3.138342] libphy: mdio: probed
[ 4.544343] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.556945] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 4.576147] NET: Registered protocol family 10
[ 4.586754] Segment Routing with IPv6
[ 4.594123] NET: Registered protocol family 17
[ 4.603046] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 4.628865] 8021q: 802.1Q VLAN Support v1.8
[ 4.639868] hctosys: unable to open rtc device (rtc0)
[ 4.657283] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 4.671886] Freeing unused kernel memory: 252K
[ 4.680763] This architecture does not have kernel memory protection.
[ 5.659636] init: Console is alive
[ 5.666676] init: - watchdog -
[ 6.438702] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[ 6.768688] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.836899] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.866642] init: - preinit -
[ 7.806815] mtk_soc_eth 1e100000.ethernet: PPE started
[ 11.063844] jffs2: notice: (441) jffs2_build_xattr_subsystem: complete building xattr subsystem, 9 of xdatum (0 unchecked, 7 orphan) and 12 of xref (7 dead, 0 orphan) found.
[ 11.097812] mount_root: switching to jffs2 overlay
[ 11.129676] overlayfs: upper fs does not support tmpfile.
[ 11.147444] urandom-seed: Seeding with /etc/urandom.seed
[ 11.247272] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[ 11.270219] procd: - early -
[ 11.276051] procd: - watchdog -
[ 11.936471] procd: - watchdog -
[ 11.943039] procd: - ubus -
[ 12.062590] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.077421] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.090505] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.104076] procd: - init -
[ 12.729905] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.733483] urngd: v1.0.0 started.
[ 12.799863] Netfilter messages via NETLINK v0.30.
[ 12.811388] ip_set: protocol 6
[ 12.848197] Mirror/redirect action on
[ 12.864514] u32 classifier
[ 12.869971] input device check on
[ 12.877314] Actions configured
[ 12.895864] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
[ 12.901932] random: crng init done
[ 12.911050] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
[ 12.917845] random: 7 urandom warning(s) missed due to ratelimiting
[ 12.945875] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.971243] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 12.985645] ctnetlink v0.93: registering with nfnetlink.
[ 13.074995] xt_time: kernel timezone is -0000
[ 13.147372] bus=0x1, slot = 0x0, irq=0x0
[ 13.177220] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[ 13.177220]
[ 13.705641] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
[ 13.731983] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
[ 21.390269] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 21.398006] PPP generic driver version 2.4.2
[ 21.408294] NET: Registered protocol family 24
[ 21.420327] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 27.998249] mtk_soc_eth 1e100000.ethernet: PPE started
[ 28.015887] br-lan: port 1(eth0.1) entered blocking state
[ 28.026826] br-lan: port 1(eth0.1) entered disabled state
[ 28.038211] device eth0.1 entered promiscuous mode
[ 28.047822] device eth0 entered promiscuous mode
[ 28.060456] br-lan: port 1(eth0.1) entered blocking state
[ 28.071354] br-lan: port 1(eth0.1) entered forwarding state
[ 28.082972] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 29.006986] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 31.002997] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 32.254643] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 32.316736] br-lan: port 2(wlan0) entered blocking state
[ 32.327352] br-lan: port 2(wlan0) entered disabled state
[ 32.338375] device wlan0 entered promiscuous mode
[ 32.347948] br-lan: port 2(wlan0) entered blocking state
[ 32.358543] br-lan: port 2(wlan0) entered forwarding state
[ 245.882975] device wlan0 left promiscuous mode
[ 245.892004] br-lan: port 2(wlan0) entered disabled state
[ 247.503303] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 248.767999] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 248.848200] br-lan: port 2(wlan0) entered blocking state
[ 248.858834] br-lan: port 2(wlan0) entered disabled state
[ 248.869855] device wlan0 entered promiscuous mode
[ 248.879418] br-lan: port 2(wlan0) entered blocking state
[ 248.890019] br-lan: port 2(wlan0) entered forwarding state
[ 316.812825] br-lan: port 2(wlan0) entered disabled state
[ 316.867020] device wlan0 left promiscuous mode
[ 316.875878] br-lan: port 2(wlan0) entered disabled state
[ 317.637404] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 317.653358] br-lan: port 2(wlan0-1) entered blocking state
[ 317.664429] br-lan: port 2(wlan0-1) entered disabled state
[ 317.675923] device wlan0-1 entered promiscuous mode
[ 317.685965] br-lan: port 2(wlan0-1) entered blocking state
[ 317.696920] br-lan: port 2(wlan0-1) entered forwarding state
[ 317.826684] br-lan: port 2(wlan0-1) entered disabled state
[ 319.213845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[ 319.227189] br-lan: port 2(wlan0-1) entered blocking state
[ 319.238145] br-lan: port 2(wlan0-1) entered forwarding state
[ 319.315494] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 319.470878] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 319.611477] br-lan: port 3(wlan0) entered blocking state
[ 319.622163] br-lan: port 3(wlan0) entered disabled state
[ 319.633257] device wlan0 entered promiscuous mode
[ 319.642897] br-lan: port 3(wlan0) entered blocking state
[ 319.653506] br-lan: port 3(wlan0) entered forwarding state
注意这是在接口上关闭了IPV6的,前面未关闭也是上面的情况:k2p的mesh逻辑网口和下接终端都不能获取IP
运行中截图如下底部
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|