openvpnandroid
Differences
This shows you the differences between two versions of the page.
| openvpnandroid [2011/07/28 01:05] – created gilles | openvpnandroid [2011/08/11 18:46] (current) – removed ggrandou | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | OpenVPN Client Support | ||
| - | How to connect to OpenVPN server with Toshiba AC100? This method and all resources here is for original Android 2.2 (Froyo) on AC100 device. | ||
| - | |||
| - | For OpenVPN client you need: | ||
| - | - Rooted AC100 device | ||
| - | - My boot image (part6-10W.img, | ||
| - | - nvflash from linux4tegra package | ||
| - | - adb tool (part of Android SDK) | ||
| - | - abootimg and new zImage (mirror) (only if you need repack boot image, for other models than AC100-10W) | ||
| - | - android-openvpn-installer and android-openvpn-settings apks | ||
| - | |||
| - | |||
| - | ## Boot image with kernel and tun.ko support (only for AC100-10W model!) | ||
| - | Original kernel of AC100 doesn' | ||
| - | |||
| - | - download part6-10W.img | ||
| - | - goto recovery mode (hold down the CTRL + ESC/back keys and power on the device) | ||
| - | |||
| - | - from linux4tegra/ | ||
| - | LD_LIBRARY_PATH=. ./nvflash --bl ../ | ||
| - | |||
| - | - don't forget backup your partition 6: | ||
| - | LD_LIBRARY_PATH=. ./nvflash -r --read 6 part6-backup.img | ||
| - | |||
| - | - install downloaded part6-10W.img | ||
| - | LD_LIBRARY_PATH=. ./nvflash -r --download 6 path/ | ||
| - | |||
| - | - long press power button and then turn on | ||
| - | |||
| - | ## Update your boot image with new kernel (for all AC100 models) | ||
| - | Because of different boot command line on every AC100 submodel, you need to update YOUR boot partition. | ||
| - | |||
| - | - download zImage kernel | ||
| - | - goto recovery mode (hold down the CTRL + ESC/back keys and power on the device) | ||
| - | |||
| - | - from linux4tegra/ | ||
| - | LD_LIBRARY_PATH=. ./nvflash --bl ../ | ||
| - | |||
| - | - get your partition 6: | ||
| - | LD_LIBRARY_PATH=. ./nvflash -r --read 6 part6.img | ||
| - | |||
| - | - update zImage with abootimg tool (don't forget to make backup of part6.img before) | ||
| - | abootimg -u part6.img -k zImage | ||
| - | |||
| - | - install new part6.img to device | ||
| - | LD_LIBRARY_PATH=. ./nvflash -r --download 6 path/ | ||
| - | |||
| - | - long press power button and then turn on | ||
| - | |||
| - | ## tun.ko module and OpenVPN install | ||
| - | |||
| - | |||
| - | - download tun.ko and place it to somewhere on storage (eg. / | ||
| - | adb shell mkdir / | ||
| - | adb push tun.ko / | ||
| - | |||
| - | - download and install android-openvpn-installer and android-openvpn-settings and install openvpn according to the manual. WARNING: because of ac100' | ||
| - | |||
| - | adb shell | ||
| - | $ su - | ||
| - | # busybox mount -o rw,remount /system | ||
| - | # busybox mkdir / | ||
| - | # busybox mkdir / | ||
| - | # cd / | ||
| - | # busybox ln -s / | ||
| - | # busybox ln -s / | ||
| - | # cd / | ||
| - | # busybox mount -o ro,remount /system | ||
| - | # exit | ||
| - | $ exit | ||
| - | |||
| - | In openvpn-installer select "/ | ||
| - | |||
| - | - put your openvpn-client.conf file with certificates to / | ||
| - | |||
| - | - run android-openvpn-settings, | ||
| - | |||
| - | - DONE. You can click to openvpn config file and connect. | ||
openvpnandroid.1311807942.txt.gz · Last modified: by gilles · Currently locked by: 216.73.217.75,10.89.1.2
