Skip to content

使用 Image Generator 构建 网件WNDR4300 固件的相关文件

Notifications You must be signed in to change notification settings

guuuuo/wndr4300

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

开启 WNDR4300 128M 内存

参考这里,修改文件 target/linux/ar71xx/image/Makefile

- wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved)
+ wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),120832k(ubi),122880k@0x6c0000(firmware),256k(caldata_backup),-(reserved)

构建命令

  • 清理
sudo make clean
  • 构建简洁版固件,只添加:luci, bootstrap主题,中文支持
sudo make image PROFILE=WNDR4300 PACKAGES="luci luci-theme-bootstrap luci-i18n-base-zh-cn" FILES=files-clean/
  • 构建带透明代理功能的固件,在简洁版的基础上,添加:dnsmasq-full, shadowsocks, python
sudo make image PROFILE=WNDR4300 PACKAGES="wget luci luci-theme-bootstrap luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn iptables-mod-nat-extra ipset libopenssl shadowsocks-libev -dnsmasq dnsmasq-full pdnsd python luci-app-upnp luci-i18n-upnp-zh-cn" FILES=files/

从已配置好的 WNDR4300 路由中备份配置文件

scp [email protected]:/etc/config/firewall ./etc/config/
scp [email protected]:/etc/firewall.user ./etc/
scp [email protected]:/etc/config/luci ./etc/config/
scp [email protected]:/etc/config/network ./etc/config/
scp [email protected]:/etc/config/system ./etc/config/
scp [email protected]:/etc/config/wireless ./etc/config/
scp [email protected]:/etc/rc.local ./etc/

About

使用 Image Generator 构建 网件WNDR4300 固件的相关文件

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published