本帖最后由 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
[ 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.27637