是從Asus原廠的F/W撈出來的,步驟如下:
mount -o loop,offset=1647084 RT-N18U_3.0.0.4_374_4983-g18ff1de.trx /mnt
scp /mnt/usr/sbin/pppoe-relay root@192.168.1.1:/jffs
scp /mnt/usr/sbin/pppoe-relay root@192.168.1.1:/jffs
以上我是在Linux上操作所以能用scp,Windows使用者就直接用putty登入N18U的SSH:
sleep 10 && /jffs/pppoe-relay -S vlan2 -C br0
offset的值是參考trx header
http://wiki.openwrt.org/doc/techref/header
2018-02-20更新:
因Google把直連的功能拔掉
請需要的人自行下載並想辦法用putty上傳
(記得是只要把檔案拖進視窗內)
https://drive.google.com/open?id=0BwylkZYAMmIWTDlNWGdIRUxuMEk
作者已經移除這則留言。
回覆刪除