极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开相关的知识,希望对你有一定的参考价值。

参考技术A 1. 下载openwrt最新代码
2. 下载openwrt官方的7621e驱动https://github.com/openwrt/mtk-wifi-gpl
3. 参考https://code.google.com/p/openwrt-hiwifi/, 打上hc5761的补丁,使用其hc5761的config,并开启mtk-wifi-gpl
4. 编译完成通过ttl,sysupgrade -F -n openwrt-ramips-mt7620a-hiwifi-hc5761-squashfs-sysupgrade.bin刷机
5. 完成重启,2.4G能够开启

dmesg的输出:
[ 21.160000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 21.190000] xt_time: kernel timezone is -0000
[ 21.190000] cfg80211: Calling CRDA to update world regulatory domain
[ 21.190000] cfg80211: World regulatory domain updated:
[ 21.190000] cfg80211: DFS Master region: unset
[ 21.190000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 21.190000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.190000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.190000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.190000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.190000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.190000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.190000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.190000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 21.190000] PPP generic driver version 2.4.2
[ 21.190000] PPP MPPE Compression module registered
[ 21.190000] NET: Registered protocol family 24
[ 21.530000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 21.560000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[ 21.570000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 21.580000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 29.030000] device eth0.1 entered promiscuous mode
[ 29.050000] device eth0 entered promiscuous mode
[ 29.380000] br-lan: port 1(eth0.1) entered forwarding state
[ 29.380000] br-lan: port 1(eth0.1) entered forwarding state
[ 31.380000] br-lan: port 1(eth0.1) entered forwarding state
[ 32.800000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 32.800000] device wlan0 entered promiscuous mode
[ 32.800000] br-lan: port 2(wlan0) entered forwarding state
[ 32.820000] br-lan: port 2(wlan0) entered forwarding state
[ 32.820000] br-lan: port 2(wlan0) entered disabled state
[ 33.310000] br-lan: port 2(wlan0) entered forwarding state
[ 33.310000] br-lan: port 2(wlan0) entered forwarding state
[ 33.320000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 35.310000] br-lan: port 2(wlan0) entered forwarding state
[ 202.070000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[ 341.460000] br-lan: port 2(wlan0) entered disabled state
[ 341.460000] br-lan: port 1(eth0.1) entered disabled state
[ 341.470000] device eth0.1 left promiscuous mode
[ 341.480000] device eth0 left promiscuous mode
[ 341.480000] br-lan: port 1(eth0.1) entered disabled state
[ 341.510000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 341.540000] device wlan0 left promiscuous mode
[ 341.540000] br-lan: port 2(wlan0) entered disabled state
[ 341.580000] device eth0.1 entered promiscuous mode
[ 341.580000] device eth0 entered promiscuous mode
[ 341.590000] device wlan0 entered promiscuous mode
[ 341.600000] br-lan: port 2(wlan0) entered forwarding state
[ 341.600000] br-lan: port 2(wlan0) entered forwarding state
[ 341.600000] br-lan: port 1(eth0.1) entered forwarding state
[ 341.620000] br-lan: port 1(eth0.1) entered forwarding state
[ 343.600000] br-lan: port 2(wlan0) entered forwarding state
[ 343.620000] br-lan: port 1(eth0.1) entered forwarding state
[ 450.680000] ralink_soc_eth 10100000.ethernet eth0: port 0 link down
[ 450.700000] br-lan: port 1(eth0.1) entered disabled state
[ 455.570000] ralink_soc_eth 10100000.ethernet eth0: port 0 link up (100Mbps/Full duplex)
[ 455.590000] br-lan: port 1(eth0.1) entered forwarding state
[ 455.590000] br-lan: port 1(eth0.1) entered forwarding state
[ 456.340000] ralink_soc_eth 10100000.ethernet eth0: port 0 link down
[ 456.670000] br-lan: port 1(eth0.1) entered disabled state
[ 467.680000] ralink_soc_eth 10100000.ethernet eth0: port 1 link up (100Mbps/Full duplex)
[ 467.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 467.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 469.770000] br-lan: port 1(eth0.1) entered forwarding state本回答被提问者和网友采纳

openwrt 配置openwrt及编译

导航

1. 配置openwrt

2. 编译openwrt

 

1. 配置openwrt

  在openwrt的根目录下,执行make menuconfig.

技术分享图片

这个界面我也只是了解了这两个选项而已,其他的留作以后补充。主芯片就是你的路由器用的是什么芯片,具体的板子是指匹配了这个板子后,一些驱动,IO口对的上。

找不到的,不一样的,我暂时也不清楚怎么办,百度过这个驱动很难写,至于我为什么知道是这个型号,因为是公司前辈告诉我的。不然我也是无从得知。

 

暂时先这样吧,等有时间了,再回来补充这一块的知识。

save之后就可以exit。

配置完成。

 

2. 编译openwrt

  2.1 clean,以防未知错误。make clean

  2.2 编译 make V=s 来编译。第一遍最好不要用多核编译 ,如果使用多核编译的话就加j=n n是你的cpu核数。

  注:第一次编译要联网,因为会下载很多东西。下载在dl文件夹下。

编译很久,要慢慢等待。在编译完成之后,会生成一个bin目录。

技术分享图片

在这个路径下,就会生成编译好的bin文件。

至此,编译结束。

以上是关于极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开的主要内容,如果未能解决你的问题,请参考以下文章

极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

求问各路大神,openwrt编译没生成sysupgrade.bin怎么办

极路由1s(mt7620a)OpenWrt交叉编译go程序

openwrt 编译newifi 应用程序

OpenWrt sscanf问题之于MT7620N与AR9341