| | 452 | |
| | 453 | === update openssl headers === |
| | 454 | * mitty@precise:~/openwrt/trunk/package/utvpn$ export PATH=$PATH:~/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/ |
| | 455 | * mitty@precise:~/openwrt/trunk/package/utvpn$ export STAGING_DIR=~/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/ |
| | 456 | * mitty@precise:~/openwrt/trunk/package/utvpn$ cp ../../staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include/openssl/* src/Mayaqua/openssl/ |
| | 457 | * mitty@precise:~/openwrt/trunk/package/utvpn$ make CC=mips-openwrt-linux-gcc LD=mips-openwrt-linux-ld |
| | 458 | |
| | 459 | |
| | 460 | * mitty@precise:~/openwrt/trunk/package/utvpn$ make install PREFIX=~/utvpn-unix-v101-7101-public.mips |
| | 461 | |
| | 462 | === it works ! === |
| | 463 | * mitty@starseed:~$ ./utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient |
| | 464 | {{{ |
| | 465 | SoftEther UT-VPN Client Service Program |
| | 466 | Copyright (C) 2004-2010 SoftEther Corporation. |
| | 467 | Copyright (C) 2004-2010 University of Tsukuba, Japan. |
| | 468 | Copyright (C) 2003-2010 Daiyuu Nobori. |
| | 469 | All Rights Reserved. |
| | 470 | |
| | 471 | utvpnclient Command Usage: |
| | 472 | utvpnclient start - Start SoftEther UT-VPN Client Service. |
| | 473 | utvpnclient stop - Stop SoftEther UT-VPN Client Service if the service is already started. |
| | 474 | }}} |
| | 475 | * mitty@starseed:~$ ./utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient start |
| | 476 | {{{ |
| | 477 | SoftEther UT-VPN Client Service Started. |
| | 478 | }}} |
| | 479 | |
| | 480 | * mitty@starseed:~$ ps w | tail |
| | 481 | {{{ |
| | 482 | 29986 root 0 SW [flush-mtd-unmap] |
| | 483 | 29987 mitty 2100 S -bash |
| | 484 | 29992 mitty 1548 S /usr/sbin/screen -d -RR -U |
| | 485 | 29993 mitty 4344 S {screen} /usr/sbin/SCREEN -d -RR -U |
| | 486 | 29994 mitty 2648 S /bin/bash |
| | 487 | 30026 root 0 SW [kworker/0:0] |
| | 488 | 30033 mitty 4164 S /home/mitty/utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient execsvc |
| | 489 | 30034 mitty 11948 S /home/mitty/utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient execsvc |
| | 490 | 30043 mitty 1492 R ps w |
| | 491 | 30044 mitty 1492 S tail |
| | 492 | }}} |
| | 493 | * mitty@starseed:~$ netstat -nap --inet | grep utvpn |
| | 494 | {{{ |
| | 495 | (Not all processes could be identified, non-owned process info |
| | 496 | will not be shown, you would have to be root to see it all.) |
| | 497 | tcp 0 0 0.0.0.0:9930 0.0.0.0:* LISTEN 30034/utvpnclient |
| | 498 | }}} |