WRTnode 2P安装iw后使用不了iw问题

我重新编译了固件,添加了iw和kmod-mac80211,显示nl80211 not found,请问咋使用nl80211,使用mesh功能?
已邀请:

xzmu - 10w

赞同来自: 石头

没用,除非你把驱动换成kmod-mt76

石头

赞同来自:

谢谢,我现在把kmod-mt76添加编译进去了,好像还是默认没跑这个驱动,因为我打iw list不在报nl80211 not found,但是没有任何输出,怎样更改呢?

石头

赞同来自:

我已经卸载ralink-wifi-mt76x8,安装kmod-mt76,iwconfig -a发现只有br-lan,eth0,eth0.1,eth0.2,lo。好像无线驱动没有启作用,我少编译东西啦?
authsae - 2014-06-09-8531ab158910a525d4bcbb3ad02c08342f6987f2
base-files - 157.2-unknown
busybox - 1.23.2-1
dnsmasq - 2.73-1
dropbear - 2015.67-1
firewall - 2015-07-27
fstools - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
hostapd-common - 2015-03-25-1
ip6tables - 1.4.21-1
iptables - 1.4.21-1
iw - 4.3-1
iwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
jshn - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.18.29-1-207c136e3457d3e4e183e58cb2a0e077
kmod-cfg80211 - 3.18.29 2016-01-10-1
kmod-crypto-arc4 - 3.18.29-1
kmod-crypto-core - 3.18.29-1
kmod-gpio-button-hotplug - 3.18.29-1
kmod-ip6tables - 3.18.29-1
kmod-ipt-conntrack - 3.18.29-1
kmod-ipt-core - 3.18.29-1
kmod-ipt-nat - 3.18.29-1
kmod-ipv6 - 3.18.29-1
kmod-leds-gpio - 3.18.29-1
kmod-ledtrig-usbdev - 3.18.29-1
kmod-lib-crc-ccitt - 3.18.29-1
kmod-mac80211 - 3.18.29 2016-01-10-1
kmod-mt76 - 3.18.29 2016-03-03-1
kmod-nf-conntrack - 3.18.29-1
kmod-nf-conntrack6 - 3.18.29-1
kmod-nf-ipt - 3.18.29-1
kmod-nf-ipt6 - 3.18.29-1
kmod-nf-nat - 3.18.29-1
kmod-nf-nathelper - 3.18.29-1
kmod-nls-base - 3.18.29-1
kmod-ppp - 3.18.29-1
kmod-pppoe - 3.18.29-1
kmod-pppox - 3.18.29-1
kmod-slhc - 3.18.29-1
kmod-usb-core - 3.18.29-1
kmod-usb-ohci - 3.18.29-1
kmod-usb2 - 3.18.29-1
libblobmsg-json - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libc - 0.9.33.2-1
libconfig - 1.4.9-1
libgcc - 4.8-linaro-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiw - 29-5
libiwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libjson-c - 0.12-1
libjson-script - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
liblua - 5.1.5-1
libnl-tiny - 0.1-4
libopenssl - 1.0.2g-1
libubox - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci - 2015-08-27.1-1
libuci-lua - 2015-08-27.1-1
libxtables - 1.4.21-1
lua - 5.1.5-1
lua-examples - 5.1.5-1
luac - 5.1.5-1
luci - git-18.097.75958-5537d68-1
luci-app-firewall - git-18.097.75958-5537d68-1
luci-base - git-18.097.75958-5537d68-1
luci-i18n-base-zh-cn - git-18.097.75958-5537d68-1
luci-i18n-firewall-zh-cn - git-18.097.75958-5537d68-1
luci-lib-ip - git-18.097.75958-5537d68-1
luci-lib-nixio - git-18.097.75958-5537d68-1
luci-mod-admin-full - git-18.097.75958-5537d68-1
luci-proto-ipv6 - git-18.097.75958-5537d68-1
luci-proto-ppp - git-18.097.75958-5537d68-1
luci-theme-bootstrap - git-18.097.75958-5537d68-1
maccalc - 1
mtd - 21
netifd - 2015-12-16-245527193e90906451be35c2b8e972b8712ea6ab
odhcp6c - 2015-07-29-dc186d6d2b0dd4ad23ca5fc69c00e81f796ff6d9
odhcpd - 2015-11-19-01d3f9d64486ac1daa144848944e877e7f0cb762
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9
ppp - 2.4.7-6
ppp-mod-pppoe - 2.4.7-6
procd - 2015-10-29.1-d5fddd91b966424bb63e943e789704d52382cc18
rpcd - 2016-04-13-73aea9b8b621a1ce034bc6ee00c9d058a40c8a3d
ser2net - 2.10.0-2
swconfig - 10
ubox - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci - 2015-08-27.1-1
uhttpd - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
uhttpd-mod-ubus - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
wireless-tools - 29-5
wpad - 2015-03-25-1
zlib - 1.2.8-1
Starting kernel ...

[    0.000000] Linux version 3.18.29 (root@a-PC) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Mon Aug 20 09:56:05 DST 2018
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is WRTnode2P
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=000754a4
[    0.000000] Readback ErrCtl register=000754a4
[    0.000000] Memory: 126340K/131072K available (2514K kernel code, 125K rwdata, 516K rodata, 164K init, 186K bss, 4732K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 575MHz
[    0.000000] clocksource_of_init: no matching clocksources found
[    0.000000] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] pinctrl core: initialized pinctrl subsystem
[    0.080000] NET: Registered protocol family 16
[    0.090000] rt2880-pinmux pinctrl: invalid group "jtag" for function "gpio"
[    0.190000] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000
[    0.340000] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[    0.350000] mt7620-pci: probe of 10140000.pcie failed with error -1
[    0.360000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.370000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.370000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.380000] Switched to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.390000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.400000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP: reno registered
[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    0.430000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.450000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.470000] msgmni has been set to 246
[    0.470000] io scheduler noop registered
[    0.470000] io scheduler deadline registered (default)
[    0.480000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.490000] console [ttyS0] disabled
[    0.490000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.500000] console [ttyS0] enabled
[    0.500000] console [ttyS0] enabled
[    0.510000] bootconsole [early0] disabled
[    0.510000] bootconsole [early0] disabled
[    0.520000] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[    0.530000] MT7628/7688 SPI Driver By WRTnode Team !
[    0.530000] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.540000] m25p80 spi32766.0: found w25q128, expected w25q256
[    0.550000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.550000] m25p80 spi32766.0: using chunked io
[    0.560000] 4 ofpart partitions found on MTD device spi32766.0
[    0.560000] Creating 4 MTD partitions on "spi32766.0":
[    0.570000] 0x000000000000-0x000000030000 : "u-boot"
[    0.570000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.580000] 0x000000040000-0x000000050000 : "factory"
[    0.590000] 0x000000050000-0x000002000000 : "firmware"
[    0.590000] mtd: partition "firmware" extends beyond the end of device "spi32766.0" -- size truncated to 0xfb0000
[    0.660000] 2 uimage-fw partitions found on MTD device firmware
[    0.670000] 0x000000050000-0x0000001660dd : "kernel"
[    0.680000] 0x0000001660dd-0x000001000000 : "rootfs"
[    0.680000] mtd: device 5 (rootfs) set to be root filesystem
[    0.690000] 1 squashfs-split partitions found on MTD device rootfs
[    0.700000] 0x0000004c0000-0x000001000000 : "rootfs_data"
[    0.710000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.720000] mt7621_wdt 10000120.watchdog: Initialized
[    0.730000] TCP: cubic registered
[    0.730000] NET: Registered protocol family 17
[    0.740000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.750000] 8021q: 802.1Q VLAN Support v1.8
[    0.760000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.770000] Freeing unused kernel memory: 164K (80317000 - 80340000)
[    2.570000] init: Console is alive
[    2.570000] init: - watchdog -
[    4.740000] usbcore: registered new interface driver usbfs
[    4.740000] usbcore: registered new interface driver hub
[    4.750000] usbcore: registered new device driver usb
[    4.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.770000] ehci-platform: EHCI generic platform driver
[    4.780000] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    4.790000] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    4.800000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.800000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.810000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.840000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.840000] hub 1-0:1.0: USB hub found
[    4.850000] hub 1-0:1.0: 1 port detected
[    4.850000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.860000] ohci-platform: OHCI generic platform driver
[    4.870000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.870000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.880000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.950000] hub 2-0:1.0: USB hub found
[    4.950000] hub 2-0:1.0: 1 port detected
[    5.650000] init: - preinit -
[    6.620000] rt305x-esw 10110000.esw: link changed 0x00
[    6.800000] random: mktemp urandom read with 10 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.190000] rt305x-esw 10110000.esw: link changed 0x01
[   10.250000] jffs2: notice: (318) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.270000] mount_root: switching to jffs2 overlay
[   10.310000] procd: - early -
[   10.310000] procd: - watchdog -
[   11.070000] procd: - ubus -
[   12.090000] procd: - init -
Please press Enter to activate this console.
[   12.900000] NET: Registered protocol family 10
[   12.910000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.930000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   12.940000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   13.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.040000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
[   13.090000] xt_time: kernel timezone is -0000
[   13.110000] PPP generic driver version 2.4.2
[   13.120000] NET: Registered protocol family 24
[   16.570000] rt305x-esw 10110000.esw: link changed 0x00
[   20.380000] rt305x-esw 10110000.esw: link changed 0x01
[   20.490000] device eth0.1 entered promiscuous mode
[   20.490000] device eth0 entered promiscuous mode
[   20.510000] br-lan: port 1(eth0.1) entered forwarding state
[   20.510000] br-lan: port 1(eth0.1) entered forwarding state
[   22.510000] br-lan: port 1(eth0.1) entered forwarding state
[   71.810000] random: nonblocking pool is initialized
 

xzmu - 10w

赞同来自:

没用git下载的最新buildroot代码?

石头

赞同来自:

回馈一下结果,使用openwrt-node的SDK分支,卸载ralink-wifi-mt76x8,安装kmod-mt76,开源驱动没有驱动成功,使用openwrt-master的SDK分支开源驱动成功,iw均可使用,在此谢过xzmu给的一些答疑指导。

要回复问题请先登录注册