Closed Hey-Leo closed 3 years ago
你这个不需要使用新的物理接口,你这个可以直接添加新接口,然后包含原来的wan口,协议选dhcp就可以了
你这个不需要使用新的物理接口,你这个可以直接添加新接口,然后包含原来的wan口,协议选dhcp就可以了
我是要双线一起的啊,就是需要物理接口,因为单口是100M的网速(没办法,学校交换机老了),而且新接口不能独立一个MAC的话不能拨号出去的,单口就没意义了;双口才能最大化叠加到200M
设置完成后重启路由试试
因为家里普通路由没有用openwrt系统了,所以不能确定,我记得要在交换机里先untagged,还要新建个vlan的吧.具体可以网上找下
因为家里普通路由没有用openwrt系统了,所以不能确定,我记得要在交换机里先untagged,还要新建个vlan的吧.具体可以网上找下
luci没有带vlan的设置,又不知道怎么划分
因为家里普通路由没有用openwrt系统了,所以不能确定,我记得要在交换机里先untagged,还要新建个vlan的吧.具体可以网上找下
luci没有带vlan的设置,又不知道怎么划分
我印象中openwrt的vlan也在交换机那边的
因为家里普通路由没有用openwrt系统了,所以不能确定,我记得要在交换机里先untagged,还要新建个vlan的吧.具体可以网上找下
luci没有带vlan的设置,又不知道怎么划分
我印象中openwrt的vlan也在交换机那边的
没
没有这个路由,现编译了一个路由宝的固件,是有交换机设置的,请检查你自己的编译选项
没有这个路由,现编译了一个路由宝的固件,是有交换机设置的,请检查你自己的编译选项
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_hiwifi_hc5962=y
# CONFIG_PACKAGE_kmod-xmurp-ua=y
CONFIG_PACKAGE_nginx-mod-luci=y
CONFIG_PACKAGE_luci-app-adbyby-plus=y
CONFIG_PACKAGE_UnblockNeteaseMusic=y
CONFIG_PACKAGE_UnblockNeteaseMusicGo=y
CONFIG_UnblockNeteaseMusic_Go=y
CONFIG_UnblockNeteaseMusic_NodeJS=y
# CONFIG_PACKAGE_luci-app-adguardhome=y
# CONFIG_PACKAGE_luci-app-ipsec-vpnd=y
# CONFIG_PACKAGE_luci-app-jd-dailybonus=y
# CONFIG_PACKAGE_luci-app-mwan3=y
CONFIG_PACKAGE_luci-app-syncdial=y
# CONFIG_PACKAGE_luci-app-softethervpn=y
CONFIG_PACKAGE_luci-theme-argon=y
CONFIG_PACKAGE_luci-app-argon-config=y
# CONFIG_PACKAGE_luci-theme-atmaterial=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
# CONFIG_PACKAGE_luci-theme-infinityfreedom=y
# CONFIG_PACKAGE_luci-theme-purple=y
# CONFIG_PACKAGE_luci-theme-rosy=y
# CONFIG_PACKAGE_luci-app-vssr=y
CONFIG_PACKAGE_luci-app-ssr-plus=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y
CONFIG_PACKAGE_automount=y
CONFIG_PACKAGE_luci-app-aria2=y
# CONFIG_PACKAGE_luci-app-hd-idle=y
# CONFIG_PACKAGE_luci-app-minidlna=y
# CONFIG_PACKAGE_luci-app-samba4=y
# CONFIG_PACKAGE_webui-aria2=y
# CONFIG_PACKAGE_yaaw=y
# CONFIG_PACKAGE_luci-app-familycloud=y
# CONFIG_PACKAGE_luci-app-frpc=y
# CONFIG_PACKAGE_luci-app-frps=y
# CONFIG_PACKAGE_luci-app-kodexplorer=y
# CONFIG_PACKAGE_luci-app-music-remote-center=y
# CONFIG_PACKAGE_luci-app-oaf=y
# CONFIG_PACKAGE_luci-app-rclone=y
# CONFIG_PACKAGE_luci-app-wrtbwmon=y
# CONFIG_PACKAGE_luci-app-transmission=y
# CONFIG_PACKAGE_luci-app-qbittorrent=y
# CONFIG_PACKAGE_luci-app-e2guardian=y
#
CONFIG_PACKAGE_luci-app-ttyd=y
# CONFIG_PACKAGE_luci-app-watchcat=y
# CONFIG_PACKAGE_luci-app-meshwizard=y
这都没关什么
好像在交换机中设置一下,再添加接口就可以了。
就是,默认的没有带交换机的配置界面,,所以不晓得怎么弄了,,,不知道要添加哪个插件
已经尝试过:试过在lan口取消桥接lan3,然后重新添加新的接口,设置名lan3,物理接口lan3,DHCP客户端,防火墙为WAN 设置完成后:无法取得IPv4地址,直接将默认带有的DHCPv6那个改DHCP是能获得正确地址的
你有没有手动固定一下 lan3 的 MAC 地址?理论上这样设置没有问题
已经尝试过:试过在lan口取消桥接lan3,然后重新添加新的接口,设置名lan3,物理接口lan3,DHCP客户端,防火墙为WAN 设置完成后:无法取得IPv4地址,直接将默认带有的DHCPv6那个改DHCP是能获得正确地址的
你有没有手动固定一下 lan3 的 MAC 地址?理论上这样设置没有问题
没懂
没懂
确保 LAN3 和 WAN 的 MAC 地址不一样,否则接在同一广播域下会冲突
确保 LAN3 和 WAN 的 MAC 地址不一样,否则接在同一广播域下会冲突
他本身就是不一样的,而且直接改wan6协议dhcp是可以拿到IP地址的,wan和wan6口MAC是一样的都没问题(dhcp协议)
我又搜了一下交换机,似乎,5.4内核上投过票,去掉了交换机的那个东西 ? 同步官方???
无能为力了,找不到方法 /摊手
有说可以改dts/dtsi ? 但是没说具体需要怎么改,,, 我太难了
给我看看你的配置 /etc/config/network,和内核日志
周末看看,现在要上班,,,我没能设置成功就重置了网络
[ 0.000000] Linux version 5.4.84 (Hey-Leo@GitHub Actions) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0-af6a5cc)) #0 SMP Wed Dec 23 04:31:24 2020
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is HiWiFi HC5962
[ 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-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 14 pages/cpu s27184 r8192 d21968 u57344
[ 0.000000] pcpu-alloc: s27184 r8192 d21968 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: 64960
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 250600K/262144K available (5756K kernel code, 248K rwdata, 1240K rodata, 1256K init, 238K bss, 11544K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x550 with crng_init=0
[ 0.000000] CPU Clock: 880MHz, start overclocking
[ 0.000000] CPU Clock: 1000MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520893 ns
[ 0.000008] sched_clock: 32 bits at 500MHz, resolution 2ns, wraps every 4294967295ns
[ 0.007794] Calibrating delay loop... 663.55 BogoMIPS (lpj=1327104)
[ 0.046005] pid_max: default: 32768 minimum: 301
[ 0.050758] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057979] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.068277] rcu: Hierarchical SRCU implementation.
[ 0.073682] smp: Bringing up secondary CPUs ...
[ 6.537897] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.537905] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.537917] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.538016] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.110443] Synchronize counters for CPU 1: done.
[ 6.547187] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.547195] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.547202] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.547255] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.179093] Synchronize counters for CPU 2: done.
[ 6.614502] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.614509] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.614516] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.614570] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.240949] Synchronize counters for CPU 3: done.
[ 0.270805] smp: Brought up 1 node, 4 CPUs
[ 0.278782] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.288462] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.295610] pinctrl core: initialized pinctrl subsystem
[ 0.302268] NET: Registered protocol family 16
[ 0.317827] FPU Affinity set after 5328 emulations
[ 0.334200] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.345405] clocksource: Switched to clocksource GIC
[ 0.351586] random: fast init done
[ 0.351940] NET: Registered protocol family 2
[ 0.359922] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.368226] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.375826] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.382903] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.389307] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.395785] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.402933] NET: Registered protocol family 1
[ 0.407251] PCI: CLS 0 bytes, default 32
[ 0.505371] 4 CPUs re-calibrate udelay(lpj = 1327104)
[ 0.512112] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.529109] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.534874] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.547731] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.553628] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.559431] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.565685] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.573155] printk: console [ttyS0] disabled
[ 0.577452] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 0.586428] printk: console [ttyS0] enabled
[ 0.594687] printk: bootconsole [early0] disabled
[ 0.606138] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[ 0.613544] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 0.619876] nand: ESMT NAND 128MiB 3,3V 8-bit
[ 0.624221] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.631770] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 0.638301] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[ 0.645592] Scanning device for bad blocks
[ 2.426304] 7 fixed-partitions partitions found on MTD device mt7621-nand
[ 2.433069] Creating 7 MTD partitions on "mt7621-nand":
[ 2.438301] 0x000000000000-0x000000080000 : "u-boot"
[ 2.444433] 0x000000080000-0x000000100000 : "debug"
[ 2.450458] 0x000000100000-0x000000140000 : "factory"
[ 2.456660] 0x000000140000-0x000000540000 : "kernel"
[ 2.462733] 0x000000540000-0x0000021c0000 : "ubipart0"
[ 2.469158] 0x0000021c0000-0x000002240000 : "bdinfo"
[ 2.475287] 0x000002240000-0x000007f80000 : "ubipart1"
[ 2.482538] Concatenating MTD devices:
[ 2.486306] (0): "ubipart0"
[ 2.489081] (1): "ubipart1"
[ 2.491866] into device "ubi-concat"
[ 2.495471] 1 fixed-partitions partitions found on MTD device ubi-concat
[ 2.502153] Creating 1 MTD partitions on "ubi-concat":
[ 2.507284] 0x000000000000-0x0000079c0000 : "ubi"
[ 2.514849] libphy: Fixed MDIO Bus: probed
[ 2.543786] libphy: mdio: probed
[ 2.547252] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.555616] mtk_soc_eth 1e100000.ethernet: generated random MAC address 56:06:42:5c:74:a4
[ 2.564651] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 2.575244] mt7621-pci 1e140000.pcie: Parsing DT failed
[ 2.582955] NET: Registered protocol family 10
[ 2.588925] Segment Routing with IPv6
[ 2.592697] NET: Registered protocol family 17
[ 2.597523] 8021q: 802.1Q VLAN Support v1.8
[ 2.603427] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.620537] libphy: dsa slave smi: probed
[ 2.625136] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[ 2.634759] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 2.644360] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 2.654043] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[ 2.663659] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 2.674854] DSA: tree 0 setup
[ 2.678148] rt2880-pinmux pinctrl: pcie is already enabled
[ 2.683632] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[ 2.691230] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[ 2.698785] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[ 2.806164] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[ 2.811734] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[ 2.917220] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 2.924166] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 2.929029] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 2.933902] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 2.943326] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 2.949679] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 2.956533] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 2.963392] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.968899] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 2.974923] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 2.981176] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[ 2.987499] pci 0000:00:00.0: supports D1
[ 2.991501] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.997581] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 3.003605] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 3.009864] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[ 3.016165] pci 0000:00:01.0: supports D1
[ 3.020167] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 3.027138] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[ 3.033177] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 3.039562] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 3.046734] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.051959] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 3.058039] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 3.064807] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 3.072015] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.078800] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[ 3.084844] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 3.091653] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 3.098435] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 3.105661] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 3.110885] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 3.116966] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 3.123738] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 3.130945] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 3.137596] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 3.144191] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.151136] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 3.157732] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.164675] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 3.171449] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 3.178655] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 3.185429] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[ 3.192629] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[ 3.199406] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[ 3.206181] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff]
[ 3.212950] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff]
[ 3.219733] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 3.226507] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.231459] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff]
[ 3.238231] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 3.245004] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 3.252215] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[ 3.259517] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[ 3.266718] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 3.271670] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff]
[ 3.278440] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 3.285207] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 3.292933] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[ 3.293998] UBI: auto-attach mtd7
[ 3.303150] ubi0: attaching mtd7
[ 4.437981] ubi0: scanning is finished
[ 4.457522] ubi0: attached mtd7 (name "ubi", size 121 MiB)
[ 4.463012] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.469866] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.476628] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.483567] ubi0: good PEBs: 974, bad PEBs: 0, corrupted PEBs: 0
[ 4.489555] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 4.496753] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 1602653476
[ 4.505855] ubi0: available PEBs: 0, total reserved PEBs: 974, PEBs reserved for bad PEB handling: 20
[ 4.515064] ubi0: background thread "ubi_bgt0d" started, PID 452
[ 4.517194] block ubiblock0_0: created from ubi0:0(rootfs)
[ 4.526570] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 4.533526] hctosys: unable to open rtc device (rtc0)
[ 4.544880] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.556139] Freeing unused kernel memory: 1256K
[ 4.560685] This architecture does not have kernel memory protection.
[ 4.567106] Run /sbin/init as init process
[ 5.016307] init: Console is alive
[ 5.019954] init: - watchdog -
[ 6.290007] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.390624] usbcore: registered new interface driver usbfs
[ 6.396230] usbcore: registered new interface driver hub
[ 6.401683] usbcore: registered new device driver usb
[ 6.417918] ANTFS Module: Version 07.19-b41ba529
[ 6.453175] SCSI subsystem initialized
[ 6.466651] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[ 6.475390] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[ 6.484359] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.489696] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 6.505583] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 6.514792] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[ 6.521725] hub 1-0:1.0: USB hub found
[ 6.525577] hub 1-0:1.0: 2 ports detected
[ 6.530143] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.535485] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 6.542998] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[ 6.549535] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.558411] hub 2-0:1.0: USB hub found
[ 6.562243] hub 2-0:1.0: 1 port detected
[ 6.574343] usbcore: registered new interface driver usb-storage
[ 6.580727] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.593687] init: - preinit -
[ 7.025461] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[ 7.185031] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 7.185042] random: procd: uninitialized urandom read (4 bytes read)
[ 7.198215] scsi host0: usb-storage 1-2:1.0
[ 7.262511] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 7.270787] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7.279282] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.397910] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.453686] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.117438] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 8.124395] 8021q: adding VLAN 0 to HW filter on device lan1
[ 8.247999] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[ 8.257971] sd 0:0:0:0: [sda] 30233588 512-byte logical blocks: (15.5 GB/14.4 GiB)
[ 8.265835] sd 0:0:0:0: [sda] Write Protect is off
[ 8.270641] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 8.270922] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 8.283356] sda: sda1
[ 8.287572] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 12.333465] mount_root: loading kmods from internal overlay
[ 12.367807] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 12.375747] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 12.787280] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 12.793196] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 646
[ 12.867034] UBIFS (ubi0:1): recovery needed
[ 13.080898] UBIFS (ubi0:1): recovery completed
[ 13.085491] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 13.093311] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 13.103195] UBIFS (ubi0:1): FS size: 94089216 bytes (89 MiB, 741 LEBs), journal size 4698112 bytes (4 MiB, 37 LEBs)
[ 13.113603] UBIFS (ubi0:1): reserved for root: 4444065 bytes (4339 KiB)
[ 13.120199] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID E8138E29-040E-4252-8B69-D17FA498FD67, small LPT model
[ 13.133023] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 13.140166] block: unable to load configuration (fstab: Entry not found)
[ 13.146923] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 13.153462] block: unable to load configuration (fstab: Entry not found)
[ 13.160206] block: attempting to load /etc/config/fstab
[ 13.170488] block: unable to load configuration (fstab: Entry not found)
[ 13.177245] block: no usable configuration
[ 13.181613] UBIFS (ubi0:1): un-mount UBI device 0
[ 13.186336] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[ 13.198260] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 13.204134] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 649
[ 13.249988] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 13.257571] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[ 13.379863] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 13.387699] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 13.397584] UBIFS (ubi0:1): FS size: 94089216 bytes (89 MiB, 741 LEBs), journal size 4698112 bytes (4 MiB, 37 LEBs)
[ 13.407980] UBIFS (ubi0:1): reserved for root: 4444065 bytes (4339 KiB)
[ 13.414580] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID E8138E29-040E-4252-8B69-D17FA498FD67, small LPT model
[ 13.749746] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 13.756830] block: unable to load configuration (fstab: Entry not found)
[ 13.763589] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 13.770209] block: unable to load configuration (fstab: Entry not found)
[ 13.776965] block: attempting to load /etc/config/fstab
[ 13.782274] block: unable to load configuration (fstab: Entry not found)
[ 13.789016] block: no usable configuration
[ 13.795740] mount_root: overlay filesystem has not been fully initialized yet
[ 13.803959] mount_root: switching to ubifs overlay
[ 13.842723] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 13.979186] mt7530 mdio-bus:1f lan1: Link is Down
[ 13.993216] procd: - early -
[ 13.996214] procd: - watchdog -
[ 14.577552] procd: - watchdog -
[ 14.580974] procd: - ubus -
[ 14.678579] urandom_read: 5 callbacks suppressed
[ 14.678591] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.787678] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.795523] procd: - init -
[ 15.366143] kmodloader: loading kernel modules from /etc/modules.d/*
[ 15.380848] NET: Registered protocol family 38
[ 15.443105] cryptodev: driver 1.10 loaded.
[ 15.454272] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 15.461564] Backport generated by backports.git v5.8-1-0-g79400d9e
[ 15.492358] usbcore: registered new interface driver ums-alauda
[ 15.493413] urngd: v1.0.2 started.
[ 15.499630] usbcore: registered new interface driver ums-cypress
[ 15.509118] usbcore: registered new interface driver ums-datafab
[ 15.516427] usbcore: registered new interface driver ums-freecom
[ 15.523832] usbcore: registered new interface driver ums-isd200
[ 15.531201] usbcore: registered new interface driver ums-jumpshot
[ 15.538633] usbcore: registered new interface driver ums-karma
[ 15.546229] usbcore: registered new interface driver ums-sddr09
[ 15.553672] usbcore: registered new interface driver ums-sddr55
[ 15.561152] usbcore: registered new interface driver ums-usbat
[ 15.586578] xt_time: kernel timezone is -0000
[ 15.622497] random: crng init done
[ 15.661996] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[ 15.667477] pci 0000:00:00.0: enabling device (0006 -> 0007)
[ 15.673146] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[ 15.679419] mt7603e 0000:01:00.0: ASIC revision: 76030010
[ 16.302814] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[ 16.308405] mt7603e 0000:01:00.0: Build Time: 20160107100755
[ 16.341385] mt7603e 0000:01:00.0: firmware init done
[ 16.521494] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 16.534780] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[ 16.540337] pci 0000:00:01.0: enabling device (0006 -> 0007)
[ 16.546078] mt76x2e 0000:02:00.0: enabling device (0000 -> 0002)
[ 16.552372] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[ 17.030057] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
[ 17.039625] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[ 17.045125] mt76x2e 0000:02:00.0: Build: 1
[ 17.049211] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[ 17.069388] mt76x2e 0000:02:00.0: Firmware running!
[ 17.075979] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 17.129435] PPP generic driver version 2.4.2
[ 17.135347] PPP MPPE Compression module registered
[ 17.141887] NET: Registered protocol family 24
[ 17.169173] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 71.796246] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[ 71.802871] mtk_soc_eth 1e100000.ethernet: PPE table busy
[ 71.816722] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 71.825008] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 71.827436] device eth0 entered promiscuous mode
[ 71.840053] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 71.848886] 8021q: adding VLAN 0 to HW filter on device lan1
[ 71.858014] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 71.865186] br-lan: port 1(lan1) entered blocking state
[ 71.870606] br-lan: port 1(lan1) entered disabled state
[ 71.877188] device lan1 entered promiscuous mode
[ 71.898961] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 71.907723] 8021q: adding VLAN 0 to HW filter on device lan2
[ 71.916870] br-lan: port 2(lan2) entered blocking state
[ 71.922233] br-lan: port 2(lan2) entered disabled state
[ 71.928758] device lan2 entered promiscuous mode
[ 71.940175] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 71.947430] 8021q: adding VLAN 0 to HW filter on device lan3
[ 71.956308] br-lan: port 3(lan3) entered blocking state
[ 71.961604] br-lan: port 3(lan3) entered disabled state
[ 71.968063] device lan3 entered promiscuous mode
[ 71.983100] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[ 71.990078] 8021q: adding VLAN 0 to HW filter on device wan
[ 74.050136] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[ 74.058175] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[ 74.065277] br-lan: port 4(wlan0) entered blocking state
[ 74.070734] br-lan: port 4(wlan0) entered disabled state
[ 74.077109] device wlan0 entered promiscuous mode
[ 74.526665] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 74.533309] br-lan: port 4(wlan0) entered blocking state
[ 74.538645] br-lan: port 4(wlan0) entered forwarding state
[ 74.544796] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 74.965669] br-lan: port 5(wlan1) entered blocking state
[ 74.971002] br-lan: port 5(wlan1) entered disabled state
[ 74.976762] device wlan1 entered promiscuous mode
[ 74.981720] br-lan: port 5(wlan1) entered blocking state
[ 74.987061] br-lan: port 5(wlan1) entered forwarding state
[ 75.073703] br-lan: port 5(wlan1) entered disabled state
[ 75.945988] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 76.044543] br-lan: port 1(lan1) entered blocking state
[ 76.049816] br-lan: port 1(lan1) entered forwarding state
[ 76.055779] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 76.062482] br-lan: port 5(wlan1) entered blocking state
[ 76.067820] br-lan: port 5(wlan1) entered forwarding state
[ 76.961716] mt7530 mdio-bus:1f lan1: Link is Down
[ 76.967049] br-lan: port 1(lan1) entered disabled state
[ 81.057806] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 81.065481] br-lan: port 1(lan1) entered blocking state
[ 81.070766] br-lan: port 1(lan1) entered forwarding state
[ 82.081707] mt7530 mdio-bus:1f lan1: Link is Down
[ 82.086622] br-lan: port 1(lan1) entered disabled state
[ 84.556934] pppoe-wan: renamed from ppp0
[ 85.153856] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 85.161484] br-lan: port 1(lan1) entered blocking state
[ 85.166767] br-lan: port 1(lan1) entered forwarding state
[ 86.177658] mt7530 mdio-bus:1f lan1: Link is Down
[ 86.182530] br-lan: port 1(lan1) entered disabled state
[ 89.250065] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 89.257852] br-lan: port 1(lan1) entered blocking state
[ 89.263231] br-lan: port 1(lan1) entered forwarding state
[ 716.426566] device lan3 left promiscuous mode
[ 716.431270] br-lan: port 3(lan3) entered disabled state
[ 716.479186] device wlan0 left promiscuous mode
[ 716.484026] br-lan: port 4(wlan0) entered disabled state
[ 716.521868] device wlan1 left promiscuous mode
[ 716.526687] br-lan: port 5(wlan1) entered disabled state
[ 722.367028] br-lan: port 3(wlan0) entered blocking state
[ 722.372429] br-lan: port 3(wlan0) entered disabled state
[ 722.378457] device wlan0 entered promiscuous mode
[ 722.470279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 722.477088] br-lan: port 3(wlan0) entered blocking state
[ 722.482551] br-lan: port 3(wlan0) entered forwarding state
[ 722.870199] br-lan: port 4(wlan1) entered blocking state
[ 722.875568] br-lan: port 4(wlan1) entered disabled state
[ 722.881582] device wlan1 entered promiscuous mode
[ 722.886735] br-lan: port 4(wlan1) entered blocking state
[ 722.892209] br-lan: port 4(wlan1) entered forwarding state
[ 723.509038] br-lan: port 4(wlan1) entered disabled state
[ 723.925399] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 723.932002] br-lan: port 4(wlan1) entered blocking state
[ 723.937368] br-lan: port 4(wlan1) entered forwarding state
[ 823.505116] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 823.512066] 8021q: adding VLAN 0 to HW filter on device lan3
[ 940.233823] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
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 'fddd:27aa:5f97::/48'
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.199.1'
option netmask '255.255.255.0'
option ip6assign '60'
option _orig_ifname 'lan1 lan2 lan3 ra0 rai0 wlan0 wlan1'
option _orig_bridge 'true'
option ifname 'lan1 lan2'
config device 'lan_lan1_dev'
option name 'lan1'
option macaddr 'd4:ee:00:00:9f:f6'
config device 'lan_lan2_dev'
option name 'lan2'
option macaddr 'd4:ee:00:00:9f:f6'
config device 'lan_lan3_dev'
option name 'lan3'
option macaddr 'd4:ee:00:00:9f:f6'
config device 'lan_ra0_dev'
option name 'ra0'
option macaddr 'd4:ee:00:00:9f:f6'
config device 'lan_rai0_dev'
option name 'rai0'
option macaddr 'd4:ee:00:00:9f:f6'
config interface 'wan'
option ifname 'wan'
option _orig_ifname 'wan'
option _orig_bridge 'false'
option proto 'pppoe'
option username '31'
option password '12'
option ipv6 'auto'
option peerdns '0'
option dns '119.29.29.29 222.200.115.251 223.5.5.5 222.200.115.252'
option keepalive '0'
config device 'wan_wan_dev'
option name 'wan'
option macaddr 'd4:ee:00:00:9f:f7'
config interface 'wan6'
option ifname 'wan'
option proto 'dhcpv6'
config interface 'lan3'
option proto 'dhcp'
option ifname 'lan3'
现在 LAN3 可以 DHCP 吗?
好像又可以了
改pppoe还是接不上去,正常的那个wan口是可以的
[ 673.729265] mt7530 mdio-bus:1f lan3: Link is Down
[ 673.752819] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 673.764870] 8021q: adding VLAN 0 to HW filter on device lan3
[ 674.274323] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 674.281555] 8021q: adding VLAN 0 to HW filter on device lan3
[ 676.343472] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 676.351039] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 678.141798] pppoe-wan: renamed from ppp0
[ 691.678283] mt7530 mdio-bus:1f lan3: Link is Down
[ 691.700378] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 691.708395] 8021q: adding VLAN 0 to HW filter on device lan3
[ 691.853479] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 691.860679] 8021q: adding VLAN 0 to HW filter on device lan3
[ 693.911124] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 693.918650] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 709.245242] mt7530 mdio-bus:1f lan3: Link is Down
[ 709.264767] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 709.271960] 8021q: adding VLAN 0 to HW filter on device lan3
[ 709.415488] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 709.423134] 8021q: adding VLAN 0 to HW filter on device lan3
[ 711.478984] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 711.486511] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 726.782641] mt7530 mdio-bus:1f lan3: Link is Down
[ 726.798310] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 726.805678] 8021q: adding VLAN 0 to HW filter on device lan3
[ 726.914152] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 726.921219] 8021q: adding VLAN 0 to HW filter on device lan3
[ 728.982844] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 728.990363] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 744.290656] mt7530 mdio-bus:1f lan3: Link is Down
[ 744.305906] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 744.313206] 8021q: adding VLAN 0 to HW filter on device lan3
[ 744.424892] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 744.431911] 8021q: adding VLAN 0 to HW filter on device lan3
[ 746.486594] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 746.494116] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 761.791317] mt7530 mdio-bus:1f lan3: Link is Down
[ 761.806072] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 761.814385] 8021q: adding VLAN 0 to HW filter on device lan3
[ 761.927543] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 761.934610] 8021q: adding VLAN 0 to HW filter on device lan3
[ 763.990372] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 763.997909] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 779.282726] mt7530 mdio-bus:1f lan3: Link is Down
[ 779.296979] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 779.304809] 8021q: adding VLAN 0 to HW filter on device lan3
[ 779.419591] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 779.426644] 8021q: adding VLAN 0 to HW filter on device lan3
[ 781.462115] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 781.469650] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 796.781645] mt7530 mdio-bus:1f lan3: Link is Down
[ 796.799924] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 796.807237] 8021q: adding VLAN 0 to HW filter on device lan3
[ 796.973658] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 796.980647] 8021q: adding VLAN 0 to HW filter on device lan3
[ 799.029926] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 799.037468] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 814.347272] mt7530 mdio-bus:1f lan3: Link is Down
[ 814.364746] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 814.372023] 8021q: adding VLAN 0 to HW filter on device lan3
[ 814.486507] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 814.493805] 8021q: adding VLAN 0 to HW filter on device lan3
[ 816.533668] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 816.541195] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 831.829406] mt7530 mdio-bus:1f lan3: Link is Down
[ 831.844149] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 831.851621] 8021q: adding VLAN 0 to HW filter on device lan3
[ 831.974919] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 831.982516] 8021q: adding VLAN 0 to HW filter on device lan3
[ 834.037545] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 834.045132] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 849.345156] mt7530 mdio-bus:1f lan3: Link is Down
[ 849.363396] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 849.370865] 8021q: adding VLAN 0 to HW filter on device lan3
[ 849.484870] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 849.491867] 8021q: adding VLAN 0 to HW filter on device lan3
[ 851.541146] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 851.548681] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
[ 866.833621] mt7530 mdio-bus:1f lan3: Link is Down
[ 866.851495] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 866.858896] 8021q: adding VLAN 0 to HW filter on device lan3
[ 866.963511] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 866.970556] 8021q: adding VLAN 0 to HW filter on device lan3
[ 869.012763] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
[ 869.020374] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
系统日志重复报下面这段
Fri Dec 25 22:29:59 2020 kern.info kernel: [ 1272.236941] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Fri Dec 25 22:29:59 2020 kern.info kernel: [ 1272.244186] 8021q: adding VLAN 0 to HW filter on device lan3
Fri Dec 25 22:29:59 2020 daemon.notice netifd: Interface 'lan3' is enabled
Fri Dec 25 22:30:01 2020 kern.info kernel: [ 1274.283309] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
Fri Dec 25 22:30:01 2020 kern.info kernel: [ 1274.290990] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
Fri Dec 25 22:30:01 2020 daemon.notice netifd: Network device 'lan3' link is up
Fri Dec 25 22:30:01 2020 daemon.notice netifd: Interface 'lan3' has link connectivity
Fri Dec 25 22:30:01 2020 daemon.notice netifd: Interface 'lan3' is setting up now
Fri Dec 25 22:30:01 2020 daemon.err insmod: module is already loaded - slhc
Fri Dec 25 22:30:01 2020 daemon.err insmod: module is already loaded - ppp_generic
Fri Dec 25 22:30:01 2020 daemon.err insmod: module is already loaded - pppox
Fri Dec 25 22:30:01 2020 daemon.err insmod: module is already loaded - pppoe
Fri Dec 25 22:30:01 2020 daemon.info pppd[8299]: Plugin rp-pppoe.so loaded.
Fri Dec 25 22:30:01 2020 daemon.info pppd[8299]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Fri Dec 25 22:30:01 2020 daemon.notice pppd[8299]: pppd 2.4.8 started by root, uid 0
Fri Dec 25 22:30:16 2020 daemon.warn pppd[8299]: Timeout waiting for PADO packets
Fri Dec 25 22:30:16 2020 daemon.err pppd[8299]: Unable to complete PPPoE Discovery
Fri Dec 25 22:30:16 2020 daemon.info pppd[8299]: Exit.
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Interface 'lan3' is now down
Fri Dec 25 22:30:16 2020 kern.info kernel: [ 1289.623509] mt7530 mdio-bus:1f lan3: Link is Down
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Interface 'lan3' is disabled
Fri Dec 25 22:30:16 2020 kern.info kernel: [ 1289.642764] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Fri Dec 25 22:30:16 2020 kern.info kernel: [ 1289.650304] 8021q: adding VLAN 0 to HW filter on device lan3
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Interface 'lan3' is enabled
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Interface 'lan3' is setting up now
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Network device 'lan3' link is down
Fri Dec 25 22:30:16 2020 daemon.notice netifd: Interface 'lan3' has link connectivity loss
Fri Dec 25 22:30:16 2020 daemon.err insmod: module is already loaded - slhc
Fri Dec 25 22:30:16 2020 daemon.err insmod: module is already loaded - ppp_generic
Fri Dec 25 22:30:16 2020 daemon.err insmod: module is already loaded - pppox
Fri Dec 25 22:30:16 2020 daemon.err insmod: module is already loaded - pppoe
Fri Dec 25 22:30:16 2020 daemon.notice netifd: lan3 (8450): Command failed: Permission denied
Fri Dec 25 22:30:17 2020 daemon.notice netifd: Interface 'lan3' is now down
Fri Dec 25 22:30:17 2020 daemon.notice netifd: Interface 'lan3' is disabled
Fri Dec 25 22:30:17 2020 kern.info kernel: [ 1290.166071] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Fri Dec 25 22:30:17 2020 kern.info kernel: [ 1290.173449] 8021q: adding VLAN 0 to HW filter on device lan3
Fri Dec 25 22:30:17 2020 daemon.notice netifd: Interface 'lan3' is enabled
Fri Dec 25 22:30:19 2020 kern.info kernel: [ 1292.235179] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
Fri Dec 25 22:30:19 2020 kern.info kernel: [ 1292.243908] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
Timeout waiting for PADO packets
这个就是找不到 PPPoE 服务器的意思,也有可能是 MAC 地址 d4:ee:00:00:9f:f6
被服务器封了
你用台电脑改 MAC 为 d4:ee:00:00:9f:f6
,连接 LAN3 所在的网口,可以正常 PPPoE 拨号吗?
改回dhcp后,又连不了了,系统日志
Fri Dec 25 22:34:32 2020 kern.info kernel: [ 1545.747133] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Fri Dec 25 22:34:32 2020 kern.info kernel: [ 1545.755624] 8021q: adding VLAN 0 to HW filter on device lan3
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Interface 'lan3' is enabled
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Interface 'lan3' has link connectivity
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Interface 'lan3' is setting up now
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Network device 'lan3' link is down
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Interface 'lan3' has link connectivity loss
Fri Dec 25 22:34:32 2020 daemon.notice netifd: lan3 (14631): Command failed: Permission denied
Fri Dec 25 22:34:32 2020 daemon.notice netifd: Interface 'lan3' is now down
Fri Dec 25 22:34:33 2020 daemon.notice netifd: Interface 'lan3' is disabled
Fri Dec 25 22:34:33 2020 kern.info kernel: [ 1546.072982] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Fri Dec 25 22:34:33 2020 kern.info kernel: [ 1546.086463] 8021q: adding VLAN 0 to HW filter on device lan3
Fri Dec 25 22:34:33 2020 daemon.notice netifd: Interface 'lan3' is enabled
Fri Dec 25 22:34:33 2020 daemon.info dnsmasq[14621]: Connected to system UBus
Fri Dec 25 22:34:33 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Fri Dec 25 22:34:33 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Fri Dec 25 22:34:35 2020 kern.info kernel: [ 1548.132484] mt7530 mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control off
Fri Dec 25 22:34:35 2020 kern.info kernel: [ 1548.140158] IPv6: ADDRCONF(NETDEV_CHANGE): lan3: link becomes ready
Fri Dec 25 22:34:35 2020 daemon.notice netifd: Network device 'lan3' link is up
Fri Dec 25 22:34:35 2020 daemon.notice netifd: Interface 'lan3' has link connectivity
Fri Dec 25 22:34:35 2020 daemon.notice netifd: Interface 'lan3' is setting up now
Fri Dec 25 22:34:35 2020 daemon.notice netifd: lan3 (14943): udhcpc: started, v1.31.1
Fri Dec 25 22:34:35 2020 daemon.notice netifd: lan3 (14943): udhcpc: sending discover
Fri Dec 25 22:34:37 2020 daemon.info dnsmasq[14990]: Connected to system UBus
Fri Dec 25 22:34:37 2020 cron.err crond[15183]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:34:38 2020 daemon.notice netifd: lan3 (14943): udhcpc: sending discover
Fri Dec 25 22:34:38 2020 cron.err crond[15310]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:34:41 2020 daemon.notice netifd: lan3 (14943): udhcpc: sending discover
重启可以连上吗? 如果把 LAN3 的 MAC 地址
config device 'lan_lan3_dev'
option name 'lan3'
option macaddr 'd4:ee:00:00:9f:f6'
改成别的,如 d4:ee:00:00:9f:f0
,再重启可以连上吗?
不行,连正常的wan都会掉
Fri Dec 25 22:46:46 2020 daemon.notice netifd: Interface 'wan' is now down
Fri Dec 25 22:46:46 2020 daemon.notice netifd: Interface 'wan' has link connectivity loss
Fri Dec 25 22:46:46 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Fri Dec 25 22:46:46 2020 daemon.notice netifd: Interface 'wan' is setting up now
Fri Dec 25 22:46:46 2020 daemon.err insmod: module is already loaded - slhc
Fri Dec 25 22:46:46 2020 daemon.err insmod: module is already loaded - ppp_generic
Fri Dec 25 22:46:46 2020 daemon.err insmod: module is already loaded - pppox
Fri Dec 25 22:46:46 2020 daemon.err insmod: module is already loaded - pppoe
Fri Dec 25 22:46:46 2020 daemon.info pppd[7284]: Plugin rp-pppoe.so loaded.
Fri Dec 25 22:46:46 2020 daemon.info pppd[7284]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Fri Dec 25 22:46:46 2020 daemon.notice pppd[7284]: pppd 2.4.8 started by root, uid 0
Fri Dec 25 22:46:47 2020 daemon.info dnsmasq[7316]: Connected to system UBus
Fri Dec 25 22:46:47 2020 user.notice mwan3[7246]: Execute ifdown event on interface wan (unknown)
Fri Dec 25 22:46:47 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Fri Dec 25 22:46:47 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Fri Dec 25 22:46:49 2020 cron.err crond[7672]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:46:49 2020 daemon.info dnsmasq[7635]: Connected to system UBus
Fri Dec 25 22:46:50 2020 cron.err crond[7799]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:46:52 2020 cron.err crond[8161]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:46:54 2020 cron.err crond[8289]: crond (busybox 1.31.1) started, log level 8
Fri Dec 25 22:47:01 2020 daemon.warn pppd[7284]: Timeout waiting for PADO packets
Fri Dec 25 22:47:01 2020 daemon.err pppd[7284]: Unable to complete PPPoE Discovery
Fri Dec 25 22:47:01 2020 daemon.info pppd[7284]: Exit.
Fri Dec 25 22:47:01 2020 daemon.notice netifd: Interface 'wan' is now down
Fri Dec 25 22:47:01 2020 daemon.notice netifd: Interface 'wan' is setting up now
Fri Dec 25 22:47:01 2020 daemon.err insmod: module is already loaded - slhc
Fri Dec 25 22:47:02 2020 daemon.err insmod: module is already loaded - ppp_generic
Fri Dec 25 22:47:02 2020 daemon.err insmod: module is already loaded - pppox
Fri Dec 25 22:47:02 2020 daemon.err insmod: module is already loaded - pppoe
Fri Dec 25 22:47:02 2020 daemon.info pppd[8511]: Plugin rp-pppoe.so loaded.
Fri Dec 25 22:47:02 2020 daemon.info pppd[8511]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Fri Dec 25 22:47:02 2020 daemon.notice pppd[8511]: pppd 2.4.8 started by root, uid 0
我重置了路由器,原本的正常network配置wan是秒上线的, 摸不着头脑,还是算了,,,
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
2. 详细叙述
(1) 具体问题
A:想要将B50的一个lan口转换成wan口,用于双宽带双线接入
已经尝试过:试过在lan口取消桥接lan3,然后重新添加新的接口,设置名lan3,物理接口lan3,DHCP客户端,防火墙为WAN 设置完成后:无法取得IPv4地址,直接将默认带有的DHCPv6那个改DHCP是能获得正确地址的
校园网,里面有DHCP协议和PPPoE协议,这两者并存,在这里我是用DHCP协议检测设置是否正确,正确后再启用PPPoE进行网络拨号(DHCP协议好像是给校园网客户端Dr.com交流通讯的?可以正常访问内网的网络自助管理系统,无法访问外网的,,PPPoE是可以访问外网的)
没有进行过vlan的配置,因为自带的luci里面没有这一选项,
(2) 路由器型号和固件版本
A:B50,R20.10.20