mir würde die reine compilierte bin langen, danke
-
-
Schön, habe im moment wenig Zeit für's Pakete bauen...
gruß pclin
-
danke läuft, könntest du bei Gelegenheit vielleicht noch ne armhf bin compilierter? danke
ich habe dein altes Paket als Grundlage genutzt und es für die 2.4.1 benutzt.
EDIT deb defekt
-
Hier für die DM900
gruß pclin
-
danke läut auch
es gab einen Fehler in den alten deb Dateien, diese sollte nun laufen.
-
-
-
danke
ich habe dein altes Paket als Grundlage genutzt und es für die 2.4.2 benutzt.
-
Hallo Pclin,
Könntest Du syncthing https://syncthing.net für mipsel bauen? Ich bekomme es leider nicht hin. 🍻
-
Bobo71
Das sieht nicht gut aus.
Habe es erstmal auf armhf versucht, bisher ohne Erfolg.
go bekomme ich schon nicht hin https://golang.org/pkg/go/build/gruß pclin
-
Hi pclin,
das ist schade. Danke für deinen Versuch.
-
-
Wie 'immer' als zip file
Pakete kommen dann von dir... DANKEIch hab mal direkt OpenVPN 2.5 git gebaut, wenn du die 2.4.3 haben möchtest, melden.
Auch andere Optionen sind möglich!Code[19:37 root@dm900 openvpn] > openvpn --version OpenVPN 2.5_git [git:master/0402c7faadf907d4] arm-oe-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jun 26 2017 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09 Originally developed by James Yonan Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net> Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=no enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_libtool_sysroot=no with_mem_check=no with_pic=yes
Ich habe zusätzlich auch die Plugins, Samples und Systemd mit reingepackt.
Musst also beim Pakete bauen ein wenig mehr machen.Halt dich am besten ans Orginal aus dem OE (Screenshot 1 - 3)
Screenshot 4 zeigt den Orginal systemd.service, der unterscheided sich von dem hier geposteten.
Musst du mal Probieren was du für besser hälts.Die openvpn.conf ist Default, kann also auch von deiner abweichen. Prüfen!
Die Samples gehören in ein eigenes Paket (Screenshot 5)
OE Default - openvpn@.service
Code
Alles anzeigen[Unit] Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I After=syslog.target network.target [Service] PrivateTmp=true Type=forking PIDFile=/var/run/openvpn/%i.pid ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf [Install] WantedBy=multi-user.target
NEU: - openvpn@.service
modprobe tun (am besten natürlich bei systemstart kernel module tun laden)Code
Alles anzeigen[Unit] Description=OpenVPN tunnel for %I After=syslog.target network-online.target Wants=network-online.target Documentation=man:openvpn(8) Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO [Service] Type=notify PrivateTmp=true WorkingDirectory=/etc/openvpn/client ExecStart=/usr/sbin/openvpn --suppress-timestamps --nobind --config %i.conf CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE LimitNPROC=10 DeviceAllow=/dev/null rw DeviceAllow=/dev/net/tun rw ProtectSystem=true ProtectHome=true [Install] WantedBy=multi-user.target
Bei armhf habe ich lib und etc files weggelassen, das kannst du ja übernehmen.gruß pclin
-
danke, leider finde ich zur Version 2.5 nichts auf der openvpn Seite, ich denke mal das wird ein Alpha oder Beta sein, falls es deine Zeit erlaubt könntest du vielleicht die 2.4.3 bauen?
ich werde die Tage ein deb für die Version 2.5 machen.
-
-
Funktioniert die 2.5?
Kannst ja mal gegen testen.
gruß pclin
-
ich muss mich entschuldigen ich bin gerade mit dem Bau einer neuen Garage beschäftigt, ich versuche es am Sonntag fertig zu machen.
-
Bobo71
Ich habe mal die fertigen Pakete versucht.
https://github.com/syncthing/s…eleases/tag/v0.14.33-rc.1Für die DM900 habe ich das arm Paket verwendet. Mips musst du mal versuchen.
Code
Alles anzeigen[13:19 root@dm900 ~] > /tmp/syncthing --help Usage: syncthing [options] Options: -audit Write events to audit file -auditfile="" Specify audit file (use "-" for stdout, "--" for stderr) -browser-only Open GUI in browser -generate="" Generate key and config in specified dir, then exit -gui-address="" Override GUI address (e.g. "http://192.0.2.42:8443") -gui-apikey="" Override GUI API key -home="" Set configuration directory -logfile="-" Log file name (use "-" for stdout) -logflags="2" Select information in log line prefix (see below) -no-browser Do not start browser -no-restart Disable monitor process, managed restarts and log file writing -paths Show configuration paths -paused Start with all devices and folders paused -reset-database Reset the database, forcing a full rescan and resync -reset-deltas Reset delta index IDs, forcing a full index exchange -unpaused Start with all devices and folders unpaused -upgrade Perform upgrade -upgrade-check Check for available upgrade -upgrade-to="" Force upgrade directly from specified URL -verbose Print verbose log output -version Show version The -logflags value is a sum of the following: 1 Date 2 Time 4 Microsecond time 8 Long filename 16 Short filename I.e. to prefix each log line with date and time, set -logflags=3 (1 + 2 from above). The value 0 is used to disable all of the above. The default is to show time only (2). Development Settings -------------------- The following environment variables modify Syncthing's behavior in ways that are mostly useful for developers. Use with care. STNODEFAULTFOLDER Don't create a default folder when starting for the first time. This variable will be ignored anytime after the first run. STGUIASSETS Directory to load GUI assets from. Overrides compiled in assets. STTRACE A comma separated string of facilities to trace. The valid facility strings listed below. STPROFILER Set to a listen address such as "127.0.0.1:9090" to start the profiler with HTTP access. STCPUPROFILE Write a CPU profile to cpu-$pid.pprof on exit. STHEAPPROFILE Write heap profiles to heap-$pid-$timestamp.pprof each time heap usage increases. STBLOCKPROFILE Write block profiles to block-$pid-$timestamp.pprof every 20 seconds. STPERFSTATS Write running performance statistics to perf-$pid.csv. Not supported on Windows. STDEADLOCK Used for debugging internal deadlocks. Use only under direction of a developer. STDEADLOCKTIMEOUT Used for debugging internal deadlocks; sets debug sensitivity. Use only under direction of a developer. STDEADLOCKTHRESHOLD Used for debugging internal deadlocks; sets debug sensitivity. Use only under direction of a developer. STNORESTART Equivalent to the -no-restart argument. Disable the Syncthing monitor process which handles restarts for some configuration changes, upgrades, crashes and also log file writing (stdout is still written). STNOUPGRADE Disable automatic upgrades. STHASHING Select the SHA256 hashing package to use. Possible values are "standard" for the Go standard library implementation, "minio" for the github.com/minio/sha256-simd implementation, and blank (the default) for auto detection. GOMAXPROCS Set the maximum number of CPU cores to use. Defaults to all available CPU cores. GOGC Percentage of heap growth at which to trigger GC. Default is 100. Lower numbers keep peak memory usage down, at the price of CPU usage (i.e. performance). Debugging Facilities -------------------- The following are valid values for the STTRACE variable: beacon - Multicast and broadcast discovery config - Configuration loading and saving connections - Connection handling db - The database layer dialer - Dialing connections discover - Remote device discovery events - Event generation and logging http - REST API main - Main package model - The root hub nat - NAT discovery and port mapping pmp - NAT-PMP discovery and port mapping protocol - The BEP protocol scanner - File change detection and hashing sha256 - SHA256 hashing package stats - Persistent device and folder statistics sync - Mutexes upgrade - Binary upgrades upnp - UPnP discovery and port mapping versioner - File versioning
Es sieht so aus als könnte da was gehen....DP hat uns mit dem letzten Updates ja auch golang (runtime, dbus usw.) spendiert.
Leider ohne go binary
Wird zwar gebaut, aber für den Build PC!gruß pclin
-
syncthing
einfach mal ausgeführt (ohne config), und im Webbrowser auf der Box 127.0.0.1:8384 eingegeben.Code
Alles anzeigen[13:19 root@dm900 ~] > /tmp/syncthing [monitor] 13:50:52 INFO: Starting syncthing [start] 13:50:52 INFO: Generating ECDSA key and certificate for syncthing... [ODBTV] 13:50:53 INFO: syncthing v0.14.33-rc.1 "Dysprosium Dragonfly" (go1.8.3 linux-arm) unknown-user@9b8983e226ea 2017-07-13 06:55:12 UTC [ODBTV] 13:50:53 INFO: My ID: ODBTVOF-544WSNW-NLFT54R-2FBEUPS-CBQRKNQ-D3VXXF6-DG3AHPN-DPTFSQO [ODBTV] 13:50:54 INFO: Single thread SHA256 performance is 39 MB/s using minio/sha256-simd (39 MB/s using crypto/sha256). [ODBTV] 13:50:54 INFO: Hashing performance with weak hash is 34.49 MB/s [ODBTV] 13:50:55 INFO: Hashing performance without weak hash is 38.56 MB/s [ODBTV] 13:50:55 INFO: Default folder created and/or linked to new config [ODBTV] 13:50:55 INFO: Defaults saved. Edit /root/.config/syncthing/config.xml to taste or use the GUI [ODBTV] 13:50:55 INFO: Weak hash enabled, as it has an acceptable performance impact. [ODBTV] 13:50:55 INFO: Starting deadlock detector with 20m0s timeout [ODBTV] 13:50:55 INFO: Ready to synchronize "Default Folder" (default) (readwrite) [ODBTV] 13:50:55 INFO: Send rate is unlimited, receive rate is unlimited [ODBTV] 13:50:55 INFO: Rate limits do not apply to LAN connections [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ [ODBTV] 13:50:55 INFO: TCP listener ([::]:22000) starting [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v6-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v6-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ [ODBTV] 13:50:55 INFO: Using discovery server https://discovery-v6-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW [ODBTV] 13:50:55 INFO: Completed initial scan (rw) of "Default Folder" (default) [ODBTV] 13:50:56 INFO: Loading HTTPS certificate: open /root/.config/syncthing/https-cert.pem: no such file or directory [ODBTV] 13:50:56 INFO: Creating new HTTPS certificate [ODBTV] 13:51:04 INFO: GUI and API listening on 127.0.0.1:8384 [ODBTV] 13:51:04 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/ [ODBTV] 13:51:04 INFO: Device ODBTVOF-544WSNW-NLFT54R-2FBEUPS-CBQRKNQ-D3VXXF6-DG3AHPN-DPTFSQO is "dm900" at [dynamic] [ODBTV] 13:51:04 INFO: Anonymous usage reporting is always enabled for candidate releases. [ODBTV] 13:51:04 INFO: Automatic upgrade is always enabled for candidate releases. [ODBTV] 13:51:04 WARNING: Syncthing should not run as a privileged or system user. Please consider using a normal user account. [ODBTV] 13:51:04 INFO: Starting usage reporting [ODBTV] 13:51:04 INFO: Automatic upgrade: couldn't find a release to download [ODBTV] 13:51:05 INFO: Joined relay relay://62.210.79.192:22067 [ODBTV] 13:51:07 INFO: New NAT port mapping: external TCP address 178.6.86.68:32052 to local address 0.0.0.0:22000. [ODBTV] 13:51:07 INFO: New NAT port mapping: external TCP address 178.6.86.68:46962 to local address 0.0.0.0:22000. [ODBTV] 13:51:07 INFO: Detected 3 NAT devices
https://docs.syncthing.net/
https://de.wikipedia.org/wiki/Syncthing
gruß pclin -