2011-12-22
by Gernot WALZL
openwrt-wrt54g-squashfs.bin
Image erforderlich.openwrt-brcm-2.4-squashfs.trx
Image verwendet.192.168.1.1
erreichbar.lan
beschränkt
werden.ssh root@192.168.1.1
root@OpenWrt:~# nvram set boot_wait=on root@OpenWrt:~# nvram get boot_wait # just to confirm, should respond "on" root@OpenWrt:~# nvram commit # takes a few seconds to complete
scp {kmod-gre*,resolveip*,pptp*}.ipk root@192.168.1.1:/tmp/ ssh root@192.168.1.1Am Router:
root@OpenWrt:~# opkg install /tmp/kmod-gre*.ipk root@OpenWrt:~# opkg install /tmp/resolveip*.ipk root@OpenWrt:~# opkg install /tmp/pptp*.ipk root@OpenWrt:~# rm /tmp/*.ipk
/etc/config/network
[...] config 'interface' 'wan' option 'ifname' 'eth0.1' option 'proto' 'static' option 'ipaddr' '10.0.0.140' option 'netmask' '255.255.255.0' config 'interface' 'pptp' option 'proto' 'pptp' option 'server' '10.0.0.138' option 'username' '*****@***.at' option 'password' '*****' option 'keepalive' '1' [...]
/etc/config/firewall
[...] config 'zone' option 'name' 'wan' [...] option 'network' 'wan pptp' [...]