烧写好openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin固件之后,开始配置openwrt
四:
1.在开发板上设置ip:
vi etc/config/network
2.在源代码中设置IP
cd openwrt/trunk/package/base-files/files/lib/functions
vi uci-default.sh
五:
1.在开发板配置vlan
/etc/config/network
2.在源代码中进行设置vlan
cd openwrt/trunk/package/base-files/files/lib/functions
vi uci-default.sh
六.添加web界面。
make menuconfig
make V=99
七.使能wifi
1.在开发板上使能wifi
/etc/config/wireless
2.通过2web界面使能wifi
3.在源码中使能wifi,修改ssid
openwrt/trunk/package/kernel/mac80211/files/lib/wifi
vi mac80211.sh
注释option disabled 1
修改ssid
保存退出,再重新编译系统。