也谈{yj}改造路由器的mac地址- 无线路由器硬件改造以及故障维修- 恩山 ...
按照tomato官方的要求下载linksys源码与tomato源码,按照官方说明配置好编译环境 注意nd与普通版本有所区别
cd /
tar -zxvf /tmp/WRT54GL_v4.30.11_11_US.tgz
mv WRT54GL-US_v4.30.11_11 tomato
rm -rf /tomato/release/src/et
rm -rf /tomato/release/src/et.4702
rm -rf /tomato/release/src/wl
rm -rf /tomato/release/src/rts
rm -rf /tomato/release/src/tools
rm -rf /tomato/release/src/.model
rm -rf /tomato/release/src/router/busybox  
rm -rf /tomato/release/src/router/cron
rm -rf /tomato/release/src/router/dnsmasq
rm -rf /tomato/release/src/router/httpd
rm -rf /tomato/release/src/router/iproute2
rm -rf /tomato/release/src/router/iptables
rm -rf /tomato/release/src/router/ipupdate
rm -rf /tomato/release/src/router/lib
rm -rf /tomato/release/src/router/libnet
rm -rf /tomato/release/src/router/libpcap
rm -rf /tomato/release/src/router/mipsel-uclibc
rm -rf /tomato/release/src/router/misc
rm -rf /tomato/release/src/router/nas
rm -rf /tomato/release/src/router/netconf  
rm -rf /tomato/release/src/router/ntpclient
rm -rf /tomato/release/src/router/nvram
rm -rf /tomato/release/src/router/others
rm -rf /tomato/release/src/router/rc
rm -rf /tomato/release/src/router/ses
rm -rf /tomato/release/src/router/shared
rm -rf /tomato/release/src/router/traceroute
rm -rf /tomato/release/src/router/udhcpd
rm -rf /tomato/release/src/router/upnp
rm -rf /tomato/release/src/router/utils
rm -rf /tomato/release/src/router/www
以上命令请参照tomato官方说明 nd与普通有区别
ln -sf /tomato/tools/brcm /opt/brcm
export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"
打开release/src/router/nvram/default.c 修改里面的lan_hwaddr为你想改的mac
cd /tomato/release/src
make
编译好的固件在tomato/release/src/image里 刷新固件即可
郑重声明:资讯 【也谈{yj}改造路由器的mac地址- 无线路由器硬件改造以及故障维修- 恩山 ...】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——