OpenWRT Tips

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
第22行: 第22行:
  
 
<br><br>
 
<br><br>
 +
 +
== 默认开启无线 ==
 +
 +
打开 package/kernel/mac80211/files/lib/wifi/mac80211.sh,找到:
 +
 +
<pre>
 +
119 $ht_capab
 +
120        # REMOVE THIS LINE TO ENABLE WIFI:
 +
121        option disabled 1
 +
</pre>
 +
 +
注掉 'option disable 1' ,重新编译即可
 +
 
<br><br>
 
<br><br>
 
<br><br>
 
<br><br>

2014年4月30日 (三) 18:31的版本

1 编译

$ git clone git://git.openwrt.org/openwrt.git

$ cd openwrt

$ make menuconfig

$ make -j4



2 增加软件包

软件包索引存储在 feeds 文件夹中 packages.index 中

在 packages/ 目录中增加新软件包的 Makefile 后,运行:

 scripts/feeds install -a



3 默认开启无线

打开 package/kernel/mac80211/files/lib/wifi/mac80211.sh,找到:

119 $ht_capab
120         # REMOVE THIS LINE TO ENABLE WIFI:
121         option disabled 1

注掉 'option disable 1' ,重新编译即可





































个人工具
名字空间

变换
操作
导航
工具箱