2014-08-12

20140812

RT-N18U的pppoe-relay又找出了一種方法 。
是從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


以上我是在Linux上操作所以能用scp,Windows使用者就直接用putty登入N18U的SSH:

cd /jffs
wget https://googledrive.com/host/0BwylkZYAMmIWcmZwcnBVcHRfRmM/pppoe-relay
之後就和RT-N16的pppoe-relay一樣,Tomato開機時讓他執行這行scripts
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

1 則留言: