![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OpenWRT
文章平均质量分 83
CodeGandalf
这个作者很懒,什么都没留下…
展开
-
OpenWRT编译用于高通AR9561(1)
1, 设置编译环境1.1下载安装需要用到的软件组件首先确保网络畅通(注意有时网络会被和谐了,有一些软件依赖源下载安装失败,设置个vpn),用以下命令批量安装需要用到的开源组件,$ sudo apt-get install gcc g++ binutilspatch bzip2 flex make gettext \pkg-config unzip zlib1g-dev libc6原创 2016-05-13 17:34:17 · 5682 阅读 · 0 评论 -
openwrt MT7620的无线MAC地址修改
根据IEEE 802.11规范BSSID的值是路由器无线MAC地址。MT7620的datasheet和EEPROM手册可知MT7620的MAC地址在路由器存储位置Factory/factory分区的第四个到第八个字节(从0开始),小端字节序。那么具体是在哪个分区可以查看,对应型号的代码里面的*.dts文件,如下图第一分区是uboot,第二分区是uboot-env是ubooot的环境变量,第原创 2016-09-29 11:49:16 · 9374 阅读 · 2 评论 -
openwrt: Build dependency: Please do not compile as root解决方法
编译openwrt出现:Collecting package info: doneChecking 'working-make'... ok.Checking 'case-sensitive-fs'... ok.Checking 'getopt'... ok.Checking 'fileutils'... ok.Checking 'working-gcc'... ok.原创 2016-05-28 15:13:57 · 7605 阅读 · 0 评论 -
openwrt Signing key has not been configured解决方法
在编译openwrt源码的时候make V=s 提示openwrt出现Signing key has not been configured解决办法编译出现提示如下:Generating index for package ./uhttpd_2014-10-27-fd8e5e379c23c5fbcec3e76894b839233df09067_ramips_24kec.ipkGener原创 2016-08-18 12:27:36 · 5162 阅读 · 0 评论 -
openwrt tftp 升级软件的方法
1.升级前需要知道的知识硬件接上串口,启动的时候不断的按任意键进入uboot模式,用printenv命令查看环境ath> printenvbootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1452原创 2016-07-14 11:27:59 · 7092 阅读 · 0 评论 -
openwrt LAN 和 WAN 对调了的处理
一次偶然的机会,更改路由型号后,wan口变成了变成了LAN,LAN变成了WAN解决方法:wan\lan口的排序取决于脚本文件:中的ramips_setup_interfaces()函数,该函数依据board的型号对wan\lan口排序作了设置,================================================================原创 2016-07-12 17:56:26 · 10632 阅读 · 0 评论 -
openwrt加入默认配置文件的方法
In case you want to include some custom configuration files, the correct place to put them is:/files/For example, let's say that you want an image with a custom /etc/config/firewall or a custom原创 2016-07-12 17:49:33 · 3055 阅读 · 0 评论 -
OpenWRT编译用于高通AR9561(2)
1. Tftp将软件升级到板子上(绿色字体为升级命令)U-Boot1.1.4-dirty (Apr 18 2016 - 20:41:39) ap151 -Dragonfly 1.0DRAM: sriath_ddr_initial_config(278):(ddr2 init)ath_sys_frequency:cpu 775 ddr 650 ahb 258T原创 2016-05-20 22:44:15 · 5614 阅读 · 2 评论 -
openwrt修改默认主题的方法
先要在menuconfig中选择上要加上的主题,如下所示选上bootstrap如果没有相关的menuconfig没有自己所要的主题,则修改/qsdk/feeds/luci/luci/Makefile加入$(eval $(call theme,bootstrap,Bootstrap Theme)) 然后修改qsdk/build_dir/target-mips_r2_uClibc原创 2016-07-12 17:45:58 · 16419 阅读 · 1 评论 -
让Openwrt 默认开启wifi
源码中位置看起来是在一个mac80211的包里面openwrt/trunk/package/mac80211/files/lib/wifi/mac80211.sh修改关闭wifi,修改热点名实践上更改上面的内容之后并没有让wifi开启,根本原因是不同的平台这个位置是不一定的(参考https://downloads.openwrt.org/kamikaze原创 2016-07-11 21:13:03 · 17138 阅读 · 0 评论 -
修改Openwrt的MAC的几种方法
平台:openwrt12.09 + QCA9561方法1:在rcS或者rc.local启动脚本中加入以下指令(适用于小批量的更改)ifconfig NI hw ether xx:xx:xx:xx:xx:xx //NIC是网卡名称,xx是mac方法二:在对应网卡的network配置文件中加入(适用于小批量的更改)option macaddr xx:xx:xx:xx:x原创 2016-07-11 20:57:32 · 23560 阅读 · 1 评论 -
win7系统uboot模式下tftp升级失败的原因之一
一次偶然的原因通过uboot升级openwrt镜像失败,折腾了很多后来关闭系统的防火墙后升级成功。附上图如下原创 2017-05-15 16:20:46 · 1390 阅读 · 0 评论