TP-Link wr703n刷openwrt,加u盘,vpn上网

Posted: 2016-09-23 in Uncategorized

1. opkg安装需要的包

opkg install kmod-usb-storage kmod-scsi-generic block-mount kmod-fs-ext4 kmod-nls-utf8 kmod-fs-vfat

2. 编辑fstab添加自动mount上u盘
vi /etc/config/fstab

config 'mount'
option 'device' '/dev/sda1'
option 'options' 'rw,sync'
option 'enabled_fsck' '0'
option 'enabled' '1'
option 'target' '/mnt/share'

3. 先手工mount上u盘
mount /dev/sda1 /opt

4. 配置opkg,允许向u盘安装
vi /etc/opkg.conf

dest opt /opt

5. 安装openvpn到u盘

opkg install openvpn -d opt

6. 将openvpn的配置scp进去

7. 写个自动启动openvpn的脚本

*. 添加autoddvpn的配置,

Leave a Reply

Your email address will not be published. Required fields are marked *