返回列表 發帖

【SoftEther VPN】——QNAP TS-269 Pro Installation Using Pre-compiled Libraries

本帖最後由 角色 於 2013-4-6 14:59 編輯

目标:安装SoftEther VPN Server与QNAP TS-269 Pro里(Intel X86 Architecture)

引言:

看到其他CHing在Raspberry Pi上能安装SoftEther VPN Server【1】, 那么自己自己也想在QNAP的NAS安装SoftEther VPN Server, 当做make的时候,就产生error message (see Listing 1),问题是我被一些误导信息,以为QNAP TS-269 Pro是64-bit系统,后来因为安装SoftEther的source code是才知道它是32-bit的Linux OS。

用32-bit的pre-compiled libraries去安装(就是一个make command)后,就可以make成功。但是运行./vpnserver start是就出现error message(see Listing 2),参考过【2】文献后,假如下面的environment variable后,问题切底解决:
  1. export GCONV_PATH=/opt/lib/gconv
複製代碼
##

1) 在第二楼会把整个安装方法写出来,好让大家有一个参考。
2) 如果通过它的日文版的VPN source code,安装都是一样的,主要都是i)要选用32-bit系统,ii)export GCONV_PATH=/opt/lib/gconv。


References:
【1】http://www.telecom-cafe.com/foru ... &extra=page%3D1
【2】http://forum.qnap.com/viewtopic.php?p=24313

Appendices:

Listing 1: Error message when make from the pre-compiled libraries
  1. make[1]: Entering directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
  2. Preparing SoftEther VPN Server...
  3. ranlib lib/libcharset.a
  4. ranlib lib/libcrypto.a
  5. ranlib lib/libedit.a
  6. ranlib lib/libiconv.a
  7. ranlib lib/libintelaes.a
  8. ranlib lib/libncurses.a
  9. ranlib lib/libssl.a
  10. ranlib lib/libz.a
  11. ranlib code/vpnserver.a
  12. gcc code/vpnserver.a -O2 -fsigned-char -pthread -m64 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
  13. code/vpnserver.a: could not read symbols: Archive has no index; run ranlib to add one
  14. collect2: ld returned 1 exit status
  15. make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
  16. make[1]: Leaving directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
複製代碼
##

Listing 2:Error message when vpnserver ran
  1. [/opt/source/softether/vpnserver] # ./vpnserver start
  2. -- Alert: SoftEther VPN Kernel --
  3. String Library Init Failed.
  4. Please check your locale settings and iconv() libraries.
複製代碼

怎樣做可以參考下面個Asterisk server的auto start script。

http://www.telecom-cafe.com/foru ... ght=Asterisk%2Bauto

TOP

回復 40# 雯雯

其实很简单的,就跟自动启动asterisk server一样。

TOP

回復 39# 角色

期待中......
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 38# bubblestar

Not developed yet.

TOP

Thanks for great tutorial.  Is there any auto-startup script for running in QNAP NAS?

TOP

本帖最後由 角色 於 2013-4-12 23:07 編輯

Codex有卖!

http://www.telecom-cafe.com/foru ... 5018&highlight=

TOP

香港有800元,但是要自己加RAM和Hard Drive。
角色 發表於 2013-4-12 20:29



    請問係邊部啊!不過好似有些帶離咗CHing 嘅主題添!sorry

TOP

香港有800元,但是要自己加RAM和Hard Drive。

TOP

本帖最後由 bky16 於 2013-4-12 20:11 編輯

ZBox nano 係俾HTPC 用。可能行Softether有些浪費,Intel NUC 有些貴

TOP

本帖最後由 Shenzhen_on9 於 2013-4-12 16:39 編輯

Intel X86 architecture.
Mini pc 有
Intel NUC.  大约3000港币
ZOTAC ZBox Nano. 大约2000-2500港币.
Xbox360 游戏机便宜点.  新机2000,  旧机1000. 但只有 512MB RAM.

TOP

本帖最後由 bky16 於 2013-4-12 15:40 編輯

“Intel/英特尔D2700MUD D2700 Atom双核2.13G主板VGA+DVI LVDS”都平嘅

另外,重有“华硕E35M1-M Pro”,不过都係过千。

“富士康 E350 AHD1S-K”好平,人仔440,不过2008上市嘅。

整机嘅有“富士康nt-A3700/APU/E450”或“联想 Q180”,不过就要去到接近2千。

TOP

本帖最後由 bky16 於 2013-4-12 15:29 編輯

回復 30# 角色


    不过我对“Raspberry Pi”完全唔识,所以有个想法係用相对比较低嘅硬件来做,所以,今朝查咗好多mini-itx嘅底板,想搵只无风扇嘅,又低功耗嘅来试下,到时可能开始时行windows,再发展为行Linux嘅。

初步睇到有Intel Atom嘅,例如“Intel/英特尔DN2800MT Atom D2800主板”,未计RAM/HARDDISK人仔700到,都可以接受来玩吓。

另外想睇下AMD 方案,有D咩APU嘅,例如华硕E45M1-I DELUXE,不过唔知点解好似比INTEL嘅贵,不过好似话GRAPHIC会好D,不过依方面应该对行SOFTETHER冇咩帮助。不过就唔知个两者功耗分别点样。

唔知,有冇人知呢?

TOP

回復 27# bky16

当然主要是用Fire server, Asterisk, BT。

TOP

回復 28# bky16

按照之前的师兄所说就可以。

http://www.telecom-cafe.com/foru ... &extra=page%3D1

TOP

返回列表