找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 54920|回复: 52

openwrt/LEDE通过USB连接4G网卡或者手机移动网络共享上网(RNDIS)

 火.. [复制链接]
发表于 2017-8-4 20:20 来自手机 | 显示全部楼层 |阅读模式
现在有无限流量上网卡,可以做为家庭宽带用,通过路由器分享出来,又可以去广告,还可以“购物”,那么,我们可以通过路由器的usb口外接3g、4G(lte)的上网卡,并将其作为wan口,就能实现mifi的功能。 在没有4G上网卡托的情况下,也可以把android手机通过数据线连接到openwrt/LEDE的路由器上,通过android的tether功能使用手机的移动网络,这里以MIUI为例,openwrt的配置如下:
一、需要的软件包:kmod-usb-net kmod-usb-net-rndis kmod-usb-net-cdc-ether usbutils udev
ssh进入终端,执行以下命令:
opkg update
opkg install kmod-usb-net kmod-usb-net-rndis kmod-usb-net-cdc-ether usbutils udev
二、配置手机通过usb线连接到路由器,在手机上,打开tether功能(usb共享网络)。
在路由器端,lsusb,查看是否探测到你的手机: dmesg: 显示发现一个rndis设备,并注册为接口usb0, ifconfig -a查看是否存在usb0接口:
下面开始设置usb0接口为上网口
把RNDIS(这里的名字可以自己命名)设置为usb0接口:
uci del network.xxx(xxx为以前的rndis接口,如果以前有设置的话,没有的话就不用这条命令)
uci set network.RNDIS=interface
uci set network.RNDIS.ifname=usb0
uci set network.RNDIS.proto=dhcp
uci commit network
重启RNDIS
ifdown RNDIS
ifup RNDIS
就可以愉快的上网了

评分

参与人数 1恩山币 +1 收起 理由
某人_ + 1 补充一下,需要把RNDIS放到wan的防火墙区域,不然没有网

查看全部评分

只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2017-8-4 20:59 | 显示全部楼层
好帖留名,感谢楼主。另外请教一下楼主asus的4G网卡怎么搞

点评

据我所知,目前4G网卡还不能做为Modem拨号上网,路由器拿到的IP是192.168.x.x。早期的3G上网卡可以做为Modem拨号,路由器拿到的ip就是运营商分配的ip。你这个华硕的4G网卡理论上可以按照我发布的方法使用,你试一下  详情 回复 发表于 2017-8-5 08:40
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-8-5 08:40 来自手机 | 显示全部楼层
php.c 发表于 2017-8-4 20:59
好帖留名,感谢楼主。另外请教一下楼主asus的4G网卡怎么搞

据我所知,目前4G网卡还不能做为Modem拨号上网,路由器拿到的IP是192.168.x.x。早期的3G上网卡可以做为Modem拨号,路由器拿到的ip就是运营商分配的ip。你这个华硕的4G网卡理论上可以按照我发布的方法使用,你试一下,回来告诉一下结果
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-8-5 09:02 | 显示全部楼层
ios不知道可不可以

点评

你试一下,应该是可以的  详情 回复 发表于 2017-8-5 09:29
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-8-5 09:29 来自手机 | 显示全部楼层
tianlang 发表于 2017-8-5 09:02
ios不知道可不可以

你试一下,应该是可以的
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-8-5 15:26 来自手机 | 显示全部楼层
需要这么复杂?路由中继手机不行了?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-8-28 18:55 | 显示全部楼层
如果长时间使用的话,我还是想用4G上网卡,目前我试过好多方法一直解决不了4G上网卡上网的问题。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-8-30 17:54 | 显示全部楼层
pandorabox可以使用么?

点评

可以  详情 回复 发表于 2017-8-31 16:16
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-8-31 16:16 来自手机 | 显示全部楼层
asun119 发表于 2017-8-30 17:54
pandorabox可以使用么?

可以               
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-9-1 16:37 | 显示全部楼层
如果能4g上网卡插入路由usb接口就好了,现在手机也可以当热点。现在也有带wifi的网卡,但是路由功能垃圾,都不能满足要求。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-10-21 03:30 | 显示全部楼层
路过来看看了
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-10-21 23:21 来自手机 | 显示全部楼层
华硕老毛子如何设置4G上网?

点评

同问, 同问 同问  详情 回复 发表于 2017-10-26 11:03
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-10-26 11:03 | 显示全部楼层
chengran2005 发表于 2017-10-21 23:21
华硕老毛子如何设置4G上网?

同问, 同问  同问
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-11-8 23:24 | 显示全部楼层
本帖最后由 w1634w 于 2017-11-11 13:33 编辑

按照楼主的方法、设置步骤,最终无法实现用本人的小米note顶配版安卓手机通过USB共享网络上网,求解?????????????






root@LEDE:~# lsusb
Bus 003 Device 003: ID 2717:ff88
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.60 (w1634w@w1634w-virtual-machine) (gcc version 5.4.0 (LEDE GCC 5.4.0 r204-f56a918) ) #0 SMP Sat Nov 4 07:39:50 2017
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt:Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000] free_area_init_node: node 0, pgdat c0736180, node_mem_map dda39000
[    0.000000]   Normal zone: 960 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dda04000 s20940 r8192 d24116 u53248
[    0.000000] pcpu-alloc: s20940 r8192 d24116 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 479404K/491520K available (3936K kernel code, 250K rwdata, 748K rodata, 236K init, 242K bss, 12116K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05e0588   (3938 kB)
[    0.000000]       .init : 0xc06bd000 - 0xc06f8000   ( 236 kB)
[    0.000000]       .data : 0xc06f8000 - 0xc0736a80   ( 251 kB)
[    0.000000]        .bss : 0xc0738000 - 0xc07749c8   ( 243 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000231] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000251] pid_max: default: 32768 minimum: 301
[    0.000355] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000369] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001028] CPU: Testing write buffer coherency: ok
[    0.001305] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.004626] Brought up 2 CPUs
[    0.004643] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004652] CPU: All CPU(s) started in SVC mode.
[    0.017755] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.017953] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017980] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.018062] pinctrl core: initialized pinctrl subsystem
[    0.019362] NET: Registered protocol family 16
[    0.019605] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.051769] cpuidle: using governor ladder
[    0.082785] cpuidle: using governor menu
[    0.084956] qcom_rpm 108000.rpm: could not find pctldev for node /soc/pinmux@800000/i2c4_pinmux, deferring probe
[    0.135460] msm_bus_fabric_init_driver
[    0.136967] usbcore: registered new interface driver usbfs
[    0.137066] usbcore: registered new interface driver hub
[    0.137151] usbcore: registered new device driver usb
[    0.137208] pps_core: LinuxPPS API ver. 1 registered
[    0.137221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.137253] PTP clock support registered
[    0.139262] clocksource: Switched to clocksource dg_timer
[    0.143353] NET: Registered protocol family 2
[    0.144016] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.144062] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.144121] TCP: Hash tables configured (established 4096 bind 4096)
[    0.144175] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.144199] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.144380] NET: Registered protocol family 1
[    0.144430] PCI: CLS 0 bytes, default 64
[    0.145911] No memory allocated for crashlog
[    0.146252] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.152936] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.152952] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.160802] io scheduler noop registered
[    0.160820] io scheduler deadline registered (default)
[    0.162595] 1b500000.pci supply vdda not found, using dummy regulator
[    0.162717] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.162810] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.163590] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[    0.163631] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.163658] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.271401] qcom-pcie 1b500000.pci: link up
[    0.273398] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.273419] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.273438] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.273453] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.273469] pci_bus 0000:00: scanning bus
[    0.273513] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.273598] pci 0000:00:00.0: calling 0xc0213b14
[    0.273666] pci 0000:00:00.0: supports D1
[    0.273675] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.273693] pci 0000:00:00.0: PME# disabled
[    0.273961] pci_bus 0000:00: fixups for bus
[    0.273986] PCI: bus0: Fast back to back transfers disabled
[    0.274008] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[    0.274140] pci_bus 0000:01: scanning bus
[    0.274315] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.274543] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.274985] pci 0000:01:00.0: calling 0xc0213b14
[    0.275625] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.275665] pci 0000:01:00.0: PME# disabled
[    0.276006] pci_bus 0000:01: fixups for bus
[    0.276074] PCI: bus1: Fast back to back transfers disabled
[    0.276090] pci_bus 0000:01: bus scan returning with max=01
[    0.276108] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[    0.276125] pci_bus 0000:00: bus scan returning with max=01
[    0.276268] pci 0000:00:00.0: fixup irq: got 136
[    0.276279] pci 0000:00:00.0: assigning IRQ 136
[    0.276362] pci 0000:01:00.0: fixup irq: got 136
[    0.276371] pci 0000:01:00.0: assigning IRQ 136
[    0.276436] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.276460] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.276587] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.276610] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.276997] aer 0000:00:00.0:pcie002: service driver aer loaded
[    0.277396] 1b700000.pci supply vdda not found, using dummy regulator
[    0.277488] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.277585] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.278364] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[    0.278402] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.278425] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.388485] qcom-pcie 1b700000.pci: link up
[    0.390453] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.390471] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.390486] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.390500] pci_bus 0001:00: scanning bus
[    0.390539] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.390608] pci 0001:00:00.0: calling 0xc0213b14
[    0.390668] pci 0001:00:00.0: supports D1
[    0.390678] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.390691] pci 0001:00:00.0: PME# disabled
[    0.390929] pci_bus 0001:00: fixups for bus
[    0.390947] PCI: bus0: Fast back to back transfers disabled
[    0.390963] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[    0.391102] pci_bus 0001:01: scanning bus
[    0.391274] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.391496] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.391937] pci 0001:01:00.0: calling 0xc0213b14
[    0.392574] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.392615] pci 0001:01:00.0: PME# disabled
[    0.392961] pci_bus 0001:01: fixups for bus
[    0.393030] PCI: bus1: Fast back to back transfers disabled
[    0.393043] pci_bus 0001:01: bus scan returning with max=01
[    0.393058] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[    0.393074] pci_bus 0001:00: bus scan returning with max=01
[    0.393138] pcieport 0000:00:00.0: fixup irq: got 136
[    0.393147] pcieport 0000:00:00.0: assigning IRQ 136
[    0.393226] pci 0000:01:00.0: fixup irq: got 136
[    0.393235] pci 0000:01:00.0: assigning IRQ 136
[    0.393364] pci 0001:00:00.0: fixup irq: got 169
[    0.393373] pci 0001:00:00.0: assigning IRQ 169
[    0.393451] pci 0001:01:00.0: fixup irq: got 169
[    0.393461] pci 0001:01:00.0: assigning IRQ 169
[    0.393514] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.393536] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.393657] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.393676] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.394027] aer 0001:00:00.0:pcie002: service driver aer loaded
[    0.396877] L2 @ QSB rate. Forcing new rate.
[    0.397069] L2 @ 384000 KHz
[    0.397248] CPU0 @ 800000 KHz
[    0.397260] CPU1 @ QSB rate. Forcing new rate.
[    0.397384] CPU1 @ 384000 KHz
[    0.401801] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.403293] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.404908] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.405849] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.405951] msm_serial 16340000.serial: uartclk = 7372800
[    0.406035] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 170, base_baud = 460800) is a MSM
[    0.406071] msm_serial: console setup on port #0
[    1.113644] console [ttyMSM0] enabled
[    1.118385] msm_serial: driver initialized
[    1.129910] loop: module loaded
[    1.131965] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[    1.131999] nand: AMD/Spansion S34MS01G2
[    1.138457] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.142552] 10 ofpart partitions found on MTD device qcom_nand.0
[    1.149835] Creating 10 MTD partitions on "qcom_nand.0":
[    1.155910] 0x000000000000-0x000000c80000 : "qcadata"
[    1.166218] random: fast init done
[    1.183537] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.193312] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.196138] 0x000001200000-0x000001340000 : "art"
[    1.201572] 0x000001340000-0x000001480000 : "artbak"
[    1.206344] 0x000001480000-0x000001680000 : "kernel"
[    1.212692] 0x000001680000-0x000003480000 : "ubi"
[    1.270465] 0x000003480000-0x000007900000 : "netgear"
[    1.400580] 0x000007900000-0x000008000000 : "reserve"
[    1.415342] 0x000001480000-0x000003480000 : "firmware"
[    1.478233] no rootfs found after FIT image in "firmware"
[    1.479745] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.484851] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    1.489888] m25p80: probe of spi32766.0 failed with error -2
[    1.497525] libphy: GPIO Bitbanged MDIO: probed
[    1.533860] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    2.529412] libphy: Fixed MDIO Bus: probed
[    2.529453] libphy: mdio_driver_register: qca8k
[    2.536071] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.536837]  Ring mode enabled
[    2.542157]  DMA HW capability register supported
[    2.544998]  Enhanced/Alternate descriptors
[    2.550731]  Enabled extended descriptors
[    2.553594]  RX Checksum Offload Engine supported
[    2.557761]  COE Type 2
[    2.562536]  TX Checksum insertion supported
[    2.564706]  Wake-Up On Lan supported
[    2.569220]  Enable RX Mitigation via HW Watchdog Timer
[    2.575437] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.577815]  Ring mode enabled
[    2.583129]  DMA HW capability register supported
[    2.585973]  Enhanced/Alternate descriptors
[    2.591616]  Enabled extended descriptors
[    2.594574]  RX Checksum Offload Engine supported
[    2.598743]  COE Type 2
[    2.603492]  TX Checksum insertion supported
[    2.605684]  Wake-Up On Lan supported
[    2.610272]  Enable RX Mitigation via HW Watchdog Timer
[    2.615084] i2c /dev entries driver
[    2.620302] Calibration not found.
[    2.622274] qcom-tsens 900000.thermal-sensor: tsens calibration failed
[    2.627510] Speed bin: 0
[    2.632330] PVS bin: 3
[    2.637471] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.637581] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.645259] sdhci: Secure Digital Host Controller Interface driver
[    2.651694] sdhci: Copyright(c) Pierre Ossman
[    2.657858] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.665360] NET: Registered protocol family 10
[    2.670584] NET: Registered protocol family 17
[    2.672730] 8021q: 802.1Q VLAN Support v1.8
[    2.676762] Registering SWP/SWPB emulation handler
[    2.698203] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    2.712945] s1a: Bringing 0uV into 1050000-1050000uV
[    2.713451] s1b: Bringing 0uV into 1050000-1050000uV
[    2.717424] s2a: Bringing 0uV into 775000-775000uV
[    2.722521] s2b: Bringing 0uV into 775000-775000uV
[    2.730949] of: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:0, -19
[    2.732112] of: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:1, -19
[    2.740831] UBI: auto-attach mtd6
[    2.747196] ubi0: attaching mtd6
[    2.880154] random: crng init done
[    2.918091] UBI: EOF marker found, PEBs from 56 will be erased
[    2.942853] ubi0: scanning is finished
[    2.972830] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 162 LEBs
[    2.973284] ubi0: attached mtd6 (name "ubi", size 30 MiB)
[    2.978236] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.983770] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.990545] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.997334] ubi0: good PEBs: 240, bad PEBs: 0, corrupted PEBs: 0
[    3.004168] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.010416] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1655104278
[    3.017391] ubi0: available PEBs: 0, total reserved PEBs: 240, PEBs reserved for bad PEB handling: 20
[    3.027351] ubi0: background thread "ubi_bgt0d" started, PID 78
[    3.036459] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.041609] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.047111] hctosys: unable to open rtc device (rtc0)
[    3.684141] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.684375] Freeing unused kernel memory: 236K
[    3.690328] This architecture does not have kernel memory protection.
[    5.048208] init: Console is alive
[    5.048461] init: - watchdog -
[    6.951368] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.216354] exFAT: Version 1.2.9
[    7.222442] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.223936] SCSI subsystem initialized
[    7.229695] libata version 3.00 loaded.
[    7.231498] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    7.231609] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    7.237061] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
[    7.246396] scsi host0: ahci
[    7.254156] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 95
[    7.581920] ata1: SATA link down (SStatus 0 SControl 300)
[    7.583183] ehci-platform: EHCI generic platform driver
[    7.588461] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.591763] ohci-platform: OHCI generic platform driver
[    7.720148] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.720225] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    7.724784] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x02010010
[    7.732281] xhci-hcd xhci-hcd.0.auto: irq 172, io mem 0x11000000
[    7.741967] hub 1-0:1.0: USB hub found
[    7.747080] hub 1-0:1.0: 1 port detected
[    7.751147] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.754674] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    7.760274] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.768457] hub 2-0:1.0: USB hub found
[    7.776001] hub 2-0:1.0: 1 port detected
[    7.780016] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.783507] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    7.789030] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x02010010
[    7.796466] xhci-hcd xhci-hcd.1.auto: irq 173, io mem 0x10000000
[    7.806099] hub 3-0:1.0: USB hub found
[    7.811545] hub 3-0:1.0: 1 port detected
[    7.814974] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.818891] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    7.824319] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.832176] hub 4-0:1.0: USB hub found
[    7.840144] hub 4-0:1.0: 1 port detected
[    7.845945] usbcore: registered new interface driver usb-storage
[    7.847777] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.855921] init: - preinit -
[   12.228328] dwmac1000: Master AXI performs any burst length
[   12.228401] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   12.233136] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   12.242189] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   13.291629] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   13.291696] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   15.437149] mount_root: loading kmods from internal overlay
[   15.483747] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   15.493383] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   16.103432] blk_update_request: I/O error, dev mtdblock0, sector 0
[   16.104378] blk_update_request: I/O error, dev mtdblock0, sector 8
[   16.109418] blk_update_request: I/O error, dev mtdblock0, sector 16
[   16.115661] blk_update_request: I/O error, dev mtdblock0, sector 24
[   16.121985] blk_update_request: I/O error, dev mtdblock0, sector 0
[   16.127098] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   16.134729] blk_update_request: I/O error, dev mtdblock1, sector 0
[   16.141369] blk_update_request: I/O error, dev mtdblock1, sector 8
[   16.147524] blk_update_request: I/O error, dev mtdblock1, sector 16
[   16.153763] blk_update_request: I/O error, dev mtdblock1, sector 24
[   16.160244] blk_update_request: I/O error, dev mtdblock1, sector 0
[   16.165376] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   16.654952] UBIFS (ubi0:1): default file-system created
[   16.679858] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 164
[   16.802124] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   16.802172] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   16.808953] UBIFS (ubi0:1): FS size: 19300352 bytes (18 MiB, 152 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[   16.818927] UBIFS (ubi0:1): reserved for root: 911602 bytes (890 KiB)
[   16.829184] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID E1561F06-4489-4FAD-84A8-091DD98D67FD, small LPT model
[   16.837354] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   16.846998] block: unable to load configuration (fstab: Entry not found)
[   16.853741] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   16.860695] block: unable to load configuration (fstab: Entry not found)
[   16.866950] block: attempting to load /etc/config/fstab
[   16.874685] block: extroot: not configured
[   16.949649] UBIFS (ubi0:1): un-mount UBI device 0
[   16.949677] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   16.957432] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 165
[   17.080828] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   17.080868] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.087666] UBIFS (ubi0:1): FS size: 19300352 bytes (18 MiB, 152 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[   17.097632] UBIFS (ubi0:1): reserved for root: 911602 bytes (890 KiB)
[   17.107863] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID E1561F06-4489-4FAD-84A8-091DD98D67FD, small LPT model
[   17.126588] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   17.130085] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   17.830996] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   17.831232] block: unable to load configuration (fstab: Entry not found)
[   17.836894] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   17.844039] block: unable to load configuration (fstab: Entry not found)
[   17.850336] block: attempting to load /etc/config/fstab
[   17.857461] block: extroot: not configured
[   17.901343] mount_root: overlay filesystem has not been fully initialized yet
[   17.901847] mount_root: switching to ubifs overlay
[   17.934876] urandom-seed: Seed file not found (/etc/urandom.seed)
[   18.127557] procd: - early -
[   18.127689] procd: - watchdog -
[   18.969844] procd: - watchdog -
[   18.970359] procd: - ubus -
[   19.582096] procd: - init -
[   19.755496] kmodloader: loading kernel modules from /etc/modules.d/*
[   19.762201] Initializing XFRM netlink socket
[   19.762704] NET: Registered protocol family 15
[   19.773892] gre: GRE over IPv4 demultiplexor driver
[   19.774472] ip_gre: GRE over IPv4 tunneling driver
[   19.780090] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.785398] Netfilter messages via NETLINK v0.30.
[   19.793105] ip_set: protocol 6
[   19.805240] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[   19.805263] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[   19.904914] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   19.904995] ath10k_pci 0000:01:00.0: enabling bus mastering
[   19.905448] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   20.137440] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   20.137493] ath10k_pci 0000:01:00.0: Falling back to user helper
[   28.114218] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   28.114269] ath10k_pci 0000:01:00.0: Falling back to user helper
[   28.164241] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   28.578004] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   28.578069] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   28.596552] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[   30.871877] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 751efba1
[   36.724489] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   36.811772] ath: EEPROM regdomain: 0x0
[   36.811778] ath: EEPROM indicates default country code should be used
[   36.811783] ath: doing EEPROM country->regdmn map search
[   36.811791] ath: country maps to regdmn code: 0x3a
[   36.811796] ath: Country alpha2 being used: US
[   36.811801] ath: Regpair used: 0x3a
[   36.815899] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   36.815993] ath10k_pci 0001:01:00.0: enabling bus mastering
[   36.816480] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   37.011153] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2
[   37.011195] ath10k_pci 0001:01:00.0: Falling back to user helper
[   38.075003] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   38.075035] ath10k_pci 0001:01:00.0: Falling back to user helper
[   38.107121] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   38.107248] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   38.115078] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   38.127331] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[   40.408722] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 751efba1
[   46.257530] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   46.341662] ath: EEPROM regdomain: 0x0
[   46.341667] ath: EEPROM indicates default country code should be used
[   46.341670] ath: doing EEPROM country->regdmn map search
[   46.341677] ath: country maps to regdmn code: 0x3a
[   46.341683] ath: Country alpha2 being used: US
[   46.341687] ath: Regpair used: 0x3a
[   46.351066] u32 classifier
[   46.351087]     input device check on
[   46.352656]     Actions configured
[   46.357335] Mirror/redirect action on
[   46.370629] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   46.375796] fuse init (API version 7.26)
[   46.383134] ip_tables: (C) 2000-2006 Netfilter Core Team
[   46.429393] ctnetlink v0.93: registering with nfnetlink.
[   46.476064] usbcore: registered new interface driver ums-alauda
[   46.476759] usbcore: registered new interface driver ums-cypress
[   46.481722] usbcore: registered new interface driver ums-datafab
[   46.488165] usbcore: registered new interface driver ums-freecom
[   46.494332] usbcore: registered new interface driver ums-isd200
[   46.499784] usbcore: registered new interface driver ums-jumpshot
[   46.505436] usbcore: registered new interface driver ums-karma
[   46.512067] usbcore: registered new interface driver ums-sddr09
[   46.518373] usbcore: registered new interface driver ums-sddr55
[   46.524091] usbcore: registered new interface driver ums-usbat
[   46.528961] usbcore: registered new interface driver usblp
[   46.547904] xt_time: kernel timezone is -0000
[   46.548575] usbcore: registered new interface driver cdc_ether
[   46.552058] fast-classifier: starting up
[   46.557024] fast-classifier: registered
[   46.565562] PPP generic driver version 2.4.2
[   46.566012] PPP MPPE Compression module registered
[   46.569683] NET: Registered protocol family 24
[   46.574474] usbcore: registered new interface driver rndis_host
[   46.579081] kmodloader: done loading kernel modules from /etc/modules.d/*
[   70.806321] blk_update_request: 10 callbacks suppressed
[   70.806325] blk_update_request: I/O error, dev mtdblock0, sector 0
[   70.811000] blk_update_request: I/O error, dev mtdblock0, sector 8
[   70.817095] blk_update_request: I/O error, dev mtdblock0, sector 16
[   70.823318] blk_update_request: I/O error, dev mtdblock0, sector 24
[   70.829656] blk_update_request: I/O error, dev mtdblock0, sector 0
[   70.835177] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   70.842168] blk_update_request: I/O error, dev mtdblock1, sector 0
[   70.849130] blk_update_request: I/O error, dev mtdblock1, sector 8
[   70.855450] blk_update_request: I/O error, dev mtdblock1, sector 16
[   70.861615] blk_update_request: I/O error, dev mtdblock1, sector 24
[   70.867753] blk_update_request: I/O error, dev mtdblock1, sector 0
[   70.873456] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   71.109163] dwmac1000: Master AXI performs any burst length
[   71.109201] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   71.113722] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   71.122693] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   71.135034] br-lan: port 1(eth1.1) entered blocking state
[   71.135333] br-lan: port 1(eth1.1) entered disabled state
[   71.141206] device eth1.1 entered promiscuous mode
[   71.146171] device eth1 entered promiscuous mode
[   71.154667] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   71.180403] dwmac1000: Master AXI performs any burst length
[   71.180456] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   71.184945] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[   71.194069] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   71.207582] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   72.169676] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   72.260515] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   78.271195] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   78.271814] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   78.276500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   78.282594] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   78.290670] br-lan: port 1(eth1.1) entered blocking state
[   78.294874] br-lan: port 1(eth1.1) entered forwarding state
[   78.300928] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   78.322443] br-lan: port 2(wlan0) entered blocking state
[   78.322495] br-lan: port 2(wlan0) entered disabled state
[   78.327520] device wlan0 entered promiscuous mode
[   84.474140] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   84.761700] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   84.761983] br-lan: port 2(wlan0) entered blocking state
[   84.767146] br-lan: port 2(wlan0) entered forwarding state
[   84.774064] br-lan: port 3(wlan1) entered blocking state
[   84.777760] br-lan: port 3(wlan1) entered disabled state
[   84.784067] device wlan1 entered promiscuous mode
[   85.158555] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   85.158841] br-lan: port 3(wlan1) entered blocking state
[   85.164155] br-lan: port 3(wlan1) entered forwarding state
[  170.269675] br-lan: port 3(wlan1) entered disabled state
[  170.269734] br-lan: port 2(wlan0) entered disabled state
[  170.274077] br-lan: port 1(eth1.1) entered disabled state
[  170.295516] device eth1.1 left promiscuous mode
[  170.295537] device eth1 left promiscuous mode
[  170.298923] br-lan: port 1(eth1.1) entered disabled state
[  170.310654] IPv6: ADDRCONF(NETDEV_UP): eth1.1: link is not ready
[  170.377566] device wlan0 left promiscuous mode
[  170.377638] br-lan: port 2(wlan0) entered disabled state
[  170.381330] device wlan1 left promiscuous mode
[  170.386405] br-lan: port 3(wlan1) entered disabled state
[  170.444242] dwmac1000: Master AXI performs any burst length
[  170.444286] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[  170.448736] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[  170.457832] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  170.469372] br-lan: port 1(eth1.1) entered blocking state
[  170.470474] br-lan: port 1(eth1.1) entered disabled state
[  170.476648] device eth1.1 entered promiscuous mode
[  170.481349] device eth1 entered promiscuous mode
[  170.487824] br-lan: port 2(wlan0) entered blocking state
[  170.490796] br-lan: port 2(wlan0) entered disabled state
[  170.496368] device wlan0 entered promiscuous mode
[  170.503454] br-lan: port 3(wlan1) entered blocking state
[  170.505912] br-lan: port 3(wlan1) entered disabled state
[  170.511656] device wlan1 entered promiscuous mode
[  170.519787] br-lan: port 3(wlan1) entered blocking state
[  170.521187] br-lan: port 3(wlan1) entered forwarding state
[  170.526604] br-lan: port 2(wlan0) entered blocking state
[  170.531934] br-lan: port 2(wlan0) entered forwarding state
[  171.529684] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[  171.529735] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  171.538853] br-lan: port 1(eth1.1) entered blocking state
[  171.543729] br-lan: port 1(eth1.1) entered forwarding state
[  370.939825] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[  371.119435] usb-storage 3-1:1.1: USB Mass Storage device detected
[  371.120536] scsi host1: usb-storage 3-1:1.1
[  403.385391] usb 3-1: USB disconnect, device number 2
[  403.878219] usb 3-1: new high-speed USB device number 3 using xhci-hcd
[  404.065846] rndis_host 3-1:1.0 usb0: register 'rndis_host' at usb-xhci-hcd.1.auto-1, RNDIS device, 06:eb:ea:87:ac:a9
root@LEDE:~# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr B0:39:56:94:04:77
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fd3d:2f92:c919::1/60 Scope:Global
          inet6 addr: fe80::b239:56ff:fe94:477/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10622 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10820 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1177482 (1.1 MiB)  TX bytes:4635994 (4.4 MiB)

eth0      Link encap:Ethernet  HWaddr B0:39:56:94:04:78
          inet6 addr: fe80::b239:56ff:fe94:478/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4295 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3914780 (3.7 MiB)  TX bytes:711293 (694.6 KiB)
          Interrupt:100

eth0.2    Link encap:Ethernet  HWaddr B0:39:56:94:04:78
          inet addr:192.168.1.183  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b239:56ff:fe94:478/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3343 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4283 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3743824 (3.5 MiB)  TX bytes:692961 (676.7 KiB)

eth1      Link encap:Ethernet  HWaddr B0:39:56:94:04:77
          inet6 addr: fe80::b239:56ff:fe94:477/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11703 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11610 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1496427 (1.4 MiB)  TX bytes:4954991 (4.7 MiB)
          Interrupt:101

eth1.1    Link encap:Ethernet  HWaddr B0:39:56:94:04:77
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10622 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10815 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1177482 (1.1 MiB)  TX bytes:4635448 (4.4 MiB)

gre0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:1476  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

gretap0   Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1462  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifb0      Link encap:Ethernet  HWaddr 3A:36:84:440:1A
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifb1      Link encap:Ethernet  HWaddr 42:B6:AD:80:19:F7
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4054 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4054 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:292515 (285.6 KiB)  TX bytes:292515 (285.6 KiB)

usb0      Link encap:Ethernet  HWaddr 06:EB:EA:87:AC:A9
          inet addr:192.168.42.221  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::4eb:eaff:fe87:aca9/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23262 (22.7 KiB)  TX bytes:32750 (31.9 KiB)

wlan0     Link encap:Ethernet  HWaddr B0:39:56:94:04:79
          inet6 addr: fe80::b239:56ff:fe94:479/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:824 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:100824 (98.4 KiB)

wlan1     Link encap:Ethernet  HWaddr B0:39:56:94:04:7A
          inet6 addr: fe80::b239:56ff:fe94:47a/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:100464 (98.1 KiB)

点评

防火墙需要设置为WAN口  详情 回复 发表于 2020-6-6 15:03
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2017-11-9 00:02 | 显示全部楼层
本帖最后由 w1634w 于 2017-11-11 13:33 编辑

??????????????????????????
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-11-1 07:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表