2014-07-29

20140729

RT-N18U的處理器改用Cortex A9(ARMv7)的BCM47081,而不是原本的MIPS。
就沒辦法使用mipsel的pppoe-relay,做了一些研究。
可以用chroot的方式在N18U上跑debian,直接用debian裏面的pppoe-relay。


Desktop上的操作:
準備隻空的隨身碟,fs我是用ext4,mount到/mnt或其他你喜歡的地方。
debootstrap --arch=armel --foreign wheezy /mnt http://free.nchc.org.tw/debian

等流程跑完,debootstrap的前置準備就完成了。

將隨身碟mount到N18U的/mnt之後的操作:
mount /proc /mnt/proc -t proc
chroot /mnt /debootstrap/debootstrap --second-stage

切換到chroot環境下:
chroot /mnt /bin/bash

順便修改一下sources.list
deb http://free.nchc.org.tw/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main


apt-get update;apt-get install pppoe
pppoe-relay -S vlan2 -C br0 
測試撥號連線,能做到這邊應該就會成功了。

沒有留言:

張貼留言