Ja und mit Alpha.sh 0 bzw. Alpha.sh 255 kannst du den Wert auch vorgeben.
Ohne Wert wird 0 gesetzt wenn der Wert > 0 ist, und 255 wenn der Wert 0 ist.
gruß pclin
Ja und mit Alpha.sh 0 bzw. Alpha.sh 255 kannst du den Wert auch vorgeben.
Ohne Wert wird 0 gesetzt wenn der Wert > 0 ist, und 255 wenn der Wert 0 ist.
gruß pclin
Ja das geht nur so.
gruß pclin
kodi-play (vormals gst-play-1.0) macht 'fast' alles in e2, wie gst123, benötigt aber nur Standard Pakete.
Kommt auch mit der Fernbedienung zurecht, ohne interactives Terminal!
kodi-play (gst-play-1.0) sind von emanuel@IHAD zu den Anfangszeiten von kodi erstellt worden, als externe Player für kodi, als wir noch keinen gstplayer als Default Player in kodi hatten.
Package: kodi-play
Version: 1.0-r0.0
Description: GStreamer playback
GStreamer playback.
Section: base
Priority: optional
Maintainer: GeminiTeam
Architecture: mipsel
OE: kodi-play
PackageArch: mips32el
Homepage: http://www.i-have-a-dreambox.com http://wiki.blue-panel.com
Depends: libgstvideo-1.0-0 (>= 1.6.4), libgstaudio-1.0-0 (>= 1.6.4), libgsttag-1.0-0 (>= 1.6.4), libc6 (>= 2.23), libglib-2.0-0 (>= 2.46.2), libgstpbutils-1.0-0 (>= 1.6.4), gstreamer1.0 (>= 1.6.4)
Alles anzeigen
kodi-play
[08:14 root@dm900 tmp] > kodi-play --help
Aufruf:
kodi-play [OPTION …] FILE1|URI1 [FILE2|URI2] [FILE3|URI3] ...
Hilfeoptionen:
-h, --help Hilfeoptionen anzeigen
--help-all Alle Hilfeoptionen anzeigen
--help-gst Show GStreamer Options
Anwendungsoptionen:
--version Print version information and exit
--videosink Video sink to use (default is autovideosink)
--audiosink Audio sink to use (default is autoaudiosink)
--gapless Enable gapless playback
--shuffle Shuffle playlist
--no-interactive Disable interactive control via the keyboard
--volume Volume
--playlist Playlist file containing input media files
-q, --quiet Do not print any output (apart from errors)
Alles anzeigen
gst-play-1.0
[08:16 root@dm900 tmp] > gst-play-1.0 /hdd/movie/ToS-4k-1920.mov
Press 'k' to see a list of keyboard shortcuts.
Now playing /hdd/movie/ToS-4k-1920.mov
Redistribute latency...
25:50:56. / 0:12:14.1
Interactive mode - keyboard controls:
space : pause/unpause
q or ESC : quit
> : play next
< : play previous
→ : seek forward
← : seek backward
↑ : volume up
↓ : volume down
+ : increase playback rate
- : decrease playback rate
d : change playback direction
t : enable/disable trick modes
a : change audio track
v : change video track
s : change subtitle track
k : show keyboard shortcuts
Alles anzeigen
gruß pclin
War zu befürchten das noch Pakete fehlen.
gst123 spielt zwar auch ohne X11, wird aber bei mir auf der Box, mit gebaut.
In X11 geht Video dann auch im Fenster, und auch gstreamer visualisierungen funktionieren bei Musik Wiedergabe.
Wenn du magst lade ich die Pakete die dir Fehlen hoch.
libgtk-x11 hat aber noch einge Depends die du dann auch benötigst.
Depends: libxcb1 (>= 1.11.1), libxrender1 (>= 0.9.9), libpixman-1-0 (>= 0.32.8), libxext6 (>= 1.3.3), libz1 (>= 1.2.8), libfreetype6 (>= 2.6.3), libxcb-shm0 (>= 1.11.1), libxrandr2 (>= 1.5.0), libxdamage1 (>= 1.1.4), libffi6 (>= 3.2.1), update-alternatives-dpkg, libcairo2 (>= 1.14.6), libstdc++6 (>= 5.3.0), libglib-2.0-0 (>= 2.46.2), libxau6 (>= 1.0.8), libfontconfig1 (>= 2.11.94), directfb (>= 1.7.7), libx11-6 (>= 1.6.3), libts-1.0-0 (>= 1.1), libxfixes3 (>= 5.0.1), libxcomposite1 (>= 0.4.4), libpcre1 (>= 8.38), libatk-1.0-0 (>= 2.18.0), libc6 (>= 2.23), libharfbuzz0 (>= 1.2.3), pango (>= 1.38.1), libpng16-16 (>= 1.6.21), libxcb-render0 (>= 1.11.1), libexpat1 (>= 2.1.0), libgdk-pixbuf-2.0-0 (>= 2.32.3), libxdmcp6 (>= 1.1.2), libxcursor1 (>= 1.1.14)
Wenn dann lade ich das im IHAD hoch, da habe ich schon einiges davon hochgeladen (kodi und x11 Thread), und in der Bastelstube einen Thread gst123
gruß pclin
Hab auch grade mal tearsofsteel-1080p mit bitbake im OE2.5 gebaut.
Package: tearsofsteel-1080p
Multi-Arch: foreign
Version: 1.0-r0.0
Description: Tears of Steel movie - 1080P
Tears of Steel movie - 1080P.
Section: base
Priority: optional
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
Architecture: all
OE: tearsofsteel-1080p
PackageArch: all
Alles anzeigen
Der lädt eigentlich nur den Film herunter, und installiert den Film dann nach /usr/share/movies,
Ist natürlich ein blöder Pfad, würde ein 'normales' Image schrotten...
Das Paket hat ja 738 MB.
gruß pclin
alpha.sh brauchst du nur einmal, also beim ersten abspielen.
Beim 2 aufruf wird der alpha Wert wieder umgeschaltet.
Ich verwende meist 2 oder mehr Terminals, dann hat man mehr Kontrolle.
gst123 ist jetzt auch für mipsel verfügbar!
http://space.twc.de/~stefan/gst123.php
(21:24 root@dm820 src) > ./gst123 --help
Usage:
gst123 [OPTION...] <URI>... - Play video and audio clips
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gst Show GStreamer Options
Application Options:
-@, --list=<filename> Read playlist of files and URIs from <filename>
--version Print version
--full-version Print full version
--verbose Print GStreamer pipeline used to play files
-r, --repeat Repeat playlist forever
-z, --shuffle Shuffle playlist before playing
-Z, --random Play files in random order forever
-x, --novideo Do not play the video stream
-f, --fullscreen Use fullscreen video output
-a, --audio-output=<driver>[=<dev>] Set audio output driver and device
-v, --visualization=<plugin_name> Set visualization plugin to use for audio playback
-V, --visualization-list Show available visualization plugins
-k, --skip=<n> Skip the first 'n' seconds
--volume=<volume> Set initial replay volume (in percent)
-s, --subtitle=<subtitle_file> Set subtitle file to use for video playback
-q, --quiet Don't display any messages
(21:24 root@dm820 src) > ./gst123 --version
gst123 0.3.5
(21:24 root@dm820 src) > ./gst123 --full-version
gst123: 0.3.5
GStreamer: 1.6.4-0
GTK+: 2.24.29
GLib: 2.46.2
Alles anzeigen
Es kann sein das wegen fehlender pulseaudio libs gemeckert wird, spielt dann aber trotzdem.
Ansonsten kann ich die 3 libs auch hochladen.
gst123 /pfad/file mehr braucht man nicht eingeben!
gruß pclin
Mach dir mal nicht so viel Arbeit, da es ja auch mit gst-launch geht. Muss mal mit einem frisch geflashten Image testen, vielleicht will nur was in meinem Image nicht so wie ich will. Mit gestopptem e2 kommt wenigstens schon mal Ton .
Kann ich im e2 log was sehen, wenn da noch etwas zum Video abspielen fehlen sollte?
Neu flashen musste ich noch nie!
Mein Image ist direkt nach Erhalt der Box (DM900) also April 2017, hat inzwischen 6 GB und wahrscheinlich mehr an experimenten erlebt als jedes andere Image.
Das Image auf der DM820 ist sogar noch ein halbes Jahr älter.
Meistens ist das erste Image was ich unter einem neuen OE baue auch das, was bis zum Ende durch läuft. Freue mich schon auf ein neues OE (Dreambox One/Play)
gst-plugins habe ich alle installiert, und auch noch gst-libav.
gruß pclin
Bitte schön.
gruß pclin
Einfach im CLI eingeben, nach abspielen wieder, bzw. bevor du e2 wieder startest.
oder
alpha.sh && gst-launch
alpha,sh ohne Wert Angabe toggled zwischen 0 und 255
Verwendest du alpha.sh in e2 siehst du wenn ONScreen was eingeblendet wird mal die OnScreen Einblendung mal nicht
Geht dein Beispiel aus Post 1 im z.B. im MediaCenter, wenn ja muss es auch mit gst-launch gehen.
gruß pclin
Lies nochmal den Post 15 und 17
gruß pclin
Wenn der Ton kommt musst du alpha.sh benutzen!
Dann siehst du auch das Bild.
gruß pclin
ps.
Ist nicht viel Arbeit compilieren geht ja fast von alleine. ist nur die Frage ob es durch geht...
Im SDK ist gst123 blacklisted weil es Probleme mit sysroot gibt, da geht es nicht durch.
Also auch nicht mit oe_runconf / oe_runmake
Ich bin da gerne Hilfsbereit
gruß pclin
Nein, ist von mir auf der Box compiliert, gibt es hier im Board, aber z.Zt. nur für armhf.
Muss mal schauen ob ich das auch für mipsel habe. Sonst versuche ich es zu bauen.
Oft muss man dann auch den alpha Wert ändern.
Dafür habe ich ein Script gemacht, gibt es im IHAD alpha.sh
[20:06 root@dm900 tmp] > alpha.sh --help
------------------------------------------------------------------------
Usage: alpha | 0 | 255 | --help | -h | ?
Wert 0 wird gesetzt in /proc/stb/video/alpha
Wert 255 wird gesetzt in /proc/stb/video/alpha
Ohne Argument wird getoggelt
Wert = 0, 255 wird gesetzt, Wert ≠ 0, Wert 0 wird gesetzt
------------------------------------------------------------------------
alpha.sh v.0.04 - 2017.04.13 - pclin pclin@ufo-service.de - DreamOS 2.5
------------------------------------------------------------------------
Alles anzeigen
gruß pclin
Geht auch auf der DM820!
Ich verwende aber lieber gst123, ist einfacher zu bedienen, und man kann auch noch spulen/beenden.
oder auch
kodi-play von emanuel, auch eine gstreamer Variante, kann dann sogar per FB bedient werden, ohne interactives Terminal. Verwende ich oft in X11.
[19:55 root@dm900 ~] > gst123 /hdd/movie/ToS-4k-1920.mov
Playing file:///hdd/movie/ToS-4k-1920.mov
Codec : MPEG-4 AAC audio (audio) H.264 / AVC (video)
Time: 0:12:14.16 of 0:12:14.16 | Bitrate: 7862.4 kbit/sec [PAUSED]
[19:59 root@dm900 ~] > gst123 /hdd/movie/ToS-4k-1920.mov
Playing file:///hdd/movie/ToS-4k-1920.mov
Codec : MPEG-4 AAC audio (audio) H.264 / AVC (video)
Time: 0:12:14.03 of 0:12:14.16 | Bitrate: 7862.4 kbit/sec
Alles anzeigen
http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/
gibt auch ein recipes im dreamOS 2.5 SDK tearsofsteel-1080p.bb so wie bigbuckbunny-1080p.bb
gruß pclin
gst-launch-1.0 playbin uri=file:/// geht im dreamOS
[19:46 root@dm900 ~] > gst-launch-1.0 playbin uri=file:///hdd/movie/ToS-4k-1920.mov
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
und es spielt Bild und Ton, e2 ist gestopt.
gruß pclin
Man möchte ja auch ein Produkt das funktioniert, und die Erstellung der Software/Programmierung ist ja nicht aus dem Ärmel zu schütteln.
DP ist bestimmt bemüht das es so schnell als möglich auf den Markt kommt, man will ja auch Geld verdienen.
Gibt man zu früh ein Datum bekannt gibt das auch nur Ärger.
gruß pclin
Ja klar doch haben wolle, wir müssen uns bis dahin aber irgendwie die Zeit vertreiben
Dreambox One
gruß pclin
Da müssen die Schweizer nur mal auf 20 bis 30 Kugeln (Box ohne Tuner) verzichten
gruß pclin
keymap.xml - dreamOS - enigma2 - 28.05.2018 v.07
Nur Änderungen bei keyboard.
@Reichi
Bitte wenn Zeit einpflegen die jetzige ist schon recht alt, Danke
gruß pclin
Alternativ zu OpenVPN gibt es auch noch seit kurzem tinc vpn OE2.5 - amhf/mipsel, wurde von @Gunah im IHAD Board hochgeladen.
Bei OpenVPN ist aktueller relase 2.4.6, im OE2.5 gibt es die Version 2.3.8
Im IHAD baue ich seit einiger Zeit die aktuellen Relase, 2.4.4 ist da z.Zt. der letzte. 2.4.6 baue ich grade.
[21:23 root@dm900 openvpn] > ./openvpn --help
OpenVPN 2.4.6 arm-oe-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Aug 19 2018
General Options:
--config file : Read configuration options from file.
--help : Show options.
--version : Show copyright and version information.
Tunnel Options:
--local host : Local host name or ip address. Implies --bind.
--remote host [port] : Remote host name or ip address.
--remote-random : If multiple --remote options specified, choose one randomly.
--remote-random-hostname : Add a random string to remote DNS name.
--mode m : Major mode, m = 'p2p' (default, point-to-point) or 'server'.
--proto p : Use protocol p for communicating with peer.
p = udp (default), tcp-server, or tcp-client
--proto-force p : only consider protocol p in list of connection profiles.
p = udp6, tcp6-server, or tcp6-client (ipv6)
--connect-retry n [m] : For client, number of seconds to wait between
connection retries (default=5). On repeated retries
the wait time is exponentially increased to a maximum of m
(default=300).
--connect-retry-max n : Maximum connection attempt retries, default infinite.
--http-proxy s p [up] [auth] : Connect to remote host
through an HTTP proxy at address s and port p.
If proxy authentication is required,
up is a file containing username/password on 2 lines, or
'stdin' to prompt from console. Add auth='ntlm' if
the proxy requires NTLM authentication.
--http-proxy s p 'auto[-nct]' : Like the above directive, but automatically
determine auth method and query for username/password
if needed. auto-nct disables weak proxy auth methods.
--http-proxy-option type [parm] : Set extended HTTP proxy options.
Repeat to set multiple options.
VERSION version (default=1.0)
AGENT user-agent
--socks-proxy s [p] [up] : Connect to remote host through a Socks5 proxy at
address s and port p (default port = 1080).
If proxy authentication is required,
up is a file containing username/password on 2 lines, or
'stdin' to prompt for console.
--socks-proxy-retry : Retry indefinitely on Socks proxy errors.
--resolv-retry n: If hostname resolve fails for --remote, retry
resolve for n seconds before failing (disabled by default).
Set n="infinite" to retry indefinitely.
--float : Allow remote to change its IP address/port, such as through
DHCP (this is the default if --remote is not used).
--ipchange cmd : Run command cmd on remote ip address initial
setting or change -- execute as: cmd ip-address port#
--port port : TCP/UDP port # for both local and remote.
--lport port : TCP/UDP port # for local (default=1194). Implies --bind.
--rport port : TCP/UDP port # for remote (default=1194).
--bind : Bind to local address and port. (This is the default unless
--proto tcp-client or --http-proxy or --socks-proxy is used).
--nobind : Do not bind to local address and port.
--dev tunX|tapX : tun/tap device (X can be omitted for dynamic device.
--dev-type dt : Which device type are we using? (dt = tun or tap) Use
this option only if the tun/tap device used with --dev
does not begin with "tun" or "tap".
--dev-node node : Explicitly set the device node rather than using
/dev/net/tun, /dev/tun, /dev/tap, etc.
--lladdr hw : Set the link layer address of the tap device.
--topology t : Set --dev tun topology: 'net30', 'p2p', or 'subnet'.
--ifconfig l rn : TUN: configure device to use IP address l as a local
endpoint and rn as a remote endpoint. l & rn should be
swapped on the other peer. l & rn must be private
addresses outside of the subnets used by either peer.
TAP: configure device to use IP address l as a local
endpoint and rn as a subnet mask.
--ifconfig-ipv6 l r : configure device to use IPv6 address l as local
endpoint (as a /64) and r as remote endpoint
--ifconfig-noexec : Don't actually execute ifconfig/netsh command, instead
pass --ifconfig parms by environment to scripts.
--ifconfig-nowarn : Don't warn if the --ifconfig option on this side of the
connection doesn't match the remote side.
--route network [netmask] [gateway] [metric] :
Add route to routing table after connection
is established. Multiple routes can be specified.
netmask default: 255.255.255.255
gateway default: taken from --route-gateway or --ifconfig
Specify default by leaving blank or setting to "nil".
--route-ipv6 network/bits [gateway] [metric] :
Add IPv6 route to routing table after connection
is established. Multiple routes can be specified.
gateway default: taken from 'remote' in --ifconfig-ipv6
--route-gateway gw|'dhcp' : Specify a default gateway for use with --route.
--route-metric m : Specify a default metric for use with --route.
--route-delay n [w] : Delay n seconds after connection initiation before
adding routes (may be 0). If not specified, routes will
be added immediately after tun/tap open. On Windows, wait
up to w seconds for TUN/TAP adapter to come up.
--route-up cmd : Run command cmd after routes are added.
--route-pre-down cmd : Run command cmd before routes are removed.
--route-noexec : Don't add routes automatically. Instead pass routes to
--route-up script using environmental variables.
--route-nopull : When used with --client or --pull, accept options pushed
by server EXCEPT for routes and dhcp options.
--allow-pull-fqdn : Allow client to pull DNS names from server for
--ifconfig, --route, and --route-gateway.
--redirect-gateway [flags]: Automatically execute routing
commands to redirect all outgoing IP traffic through the
VPN. Add 'local' flag if both OpenVPN servers are directly
connected via a common subnet, such as with WiFi.
Add 'def1' flag to set default route using using 0.0.0.0/1
and 128.0.0.0/1 rather than 0.0.0.0/0. Add 'bypass-dhcp'
flag to add a direct route to DHCP server, bypassing tunnel.
Add 'bypass-dns' flag to similarly bypass tunnel for DNS.
--redirect-private [flags]: Like --redirect-gateway, but omit actually changing
the default gateway. Useful when pushing private subnets.
--client-nat snat|dnat network netmask alias : on client add 1-to-1 NAT rule.
--push-peer-info : (client only) push client info to server.
--setenv name value : Set a custom environmental variable to pass to script.
--setenv FORWARD_COMPATIBLE 1 : Relax config file syntax checking to allow
directives for future OpenVPN versions to be ignored.
--ignore-unkown-option opt1 opt2 ...: Relax config file syntax. Allow
these options to be ignored when unknown
--script-security level: Where level can be:
0 -- strictly no calling of external programs
1 -- (default) only call built-ins such as ifconfig
2 -- allow calling of built-ins and scripts
3 -- allow password to be passed to scripts via env
--shaper n : Restrict output to peer to n bytes per second.
--keepalive n m : Helper option for setting timeouts in server mode. Send
ping once every n seconds, restart if ping not received
for m seconds.
--inactive n [bytes] : Exit after n seconds of activity on tun/tap device
produces a combined in/out byte count < bytes.
--ping-exit n : Exit if n seconds pass without reception of remote ping.
--ping-restart n: Restart if n seconds pass without reception of remote ping.
--ping-timer-rem: Run the --ping-exit/--ping-restart timer only if we have a
remote address.
--ping n : Ping remote once every n seconds over TCP/UDP port.
--multihome : Configure a multi-homed UDP server.
--fast-io : (experimental) Optimize TUN/TAP/UDP writes.
--remap-usr1 s : On SIGUSR1 signals, remap signal (s='SIGHUP' or 'SIGTERM').
--persist-tun : Keep tun/tap device open across SIGUSR1 or --ping-restart.
--persist-remote-ip : Keep remote IP address across SIGUSR1 or --ping-restart.
--persist-local-ip : Keep local IP address across SIGUSR1 or --ping-restart.
--persist-key : Don't re-read key files across SIGUSR1 or --ping-restart.
--passtos : TOS passthrough (applies to IPv4 only).
--tun-mtu n : Take the tun/tap device MTU to be n and derive the
TCP/UDP MTU from it (default=1500).
--tun-mtu-extra n : Assume that tun/tap device might return as many
as n bytes more than the tun-mtu size on read
(default TUN=0 TAP=32).
--link-mtu n : Take the TCP/UDP device MTU to be n and derive the tun MTU
from it.
--mtu-disc type : Should we do Path MTU discovery on TCP/UDP channel?
'no' -- Never send DF (Don't Fragment) frames
'maybe' -- Use per-route hints
'yes' -- Always DF (Don't Fragment)
--mtu-test : Empirically measure and report MTU.
--fragment max : Enable internal datagram fragmentation so that no UDP
datagrams are sent which are larger than max bytes.
Adds 4 bytes of overhead per datagram.
--mssfix [n] : Set upper bound on TCP MSS, default = tun-mtu size
or --fragment max value, whichever is lower.
--sndbuf size : Set the TCP/UDP send buffer size.
--rcvbuf size : Set the TCP/UDP receive buffer size.
--mark value : Mark encrypted packets being sent with value. The mark value
can be matched in policy routing and packetfilter rules.
--txqueuelen n : Set the tun/tap TX queue length to n (Linux only).
--memstats file : Write live usage stats to memory mapped binary file.
--mlock : Disable Paging -- ensures key material and tunnel
data will never be written to disk.
--up cmd : Run command cmd after successful tun device open.
Execute as: cmd tun/tap-dev tun-mtu link-mtu \
ifconfig-local-ip ifconfig-remote-ip
(pre --user or --group UID/GID change)
--up-delay : Delay tun/tap open and possible --up script execution
until after TCP/UDP connection establishment with peer.
--down cmd : Run command cmd after tun device close.
(post --user/--group UID/GID change and/or --chroot)
(command parameters are same as --up option)
--down-pre : Run --down command before TUN/TAP close.
--up-restart : Run up/down commands for all restarts including those
caused by --ping-restart or SIGUSR1
--user user : Set UID to user after initialization.
--group group : Set GID to group after initialization.
--chroot dir : Chroot to this directory after initialization.
--cd dir : Change to this directory before initialization.
--daemon [name] : Become a daemon after initialization.
The optional 'name' parameter will be passed
as the program name to the system logger.
--syslog [name] : Output to syslog, but do not become a daemon.
See --daemon above for a description of the 'name' parm.
--inetd [name] ['wait'|'nowait'] : Run as an inetd or xinetd server.
See --daemon above for a description of the 'name' parm.
--log file : Output log to file which is created/truncated on open.
--log-append file : Append log to file, or create file if nonexistent.
--suppress-timestamps : Don't log timestamps to stdout/stderr.
--machine-readable-output : Always log timestamp, message flags to stdout/stderr.
--writepid file : Write main process ID to file.
--nice n : Change process priority (>0 = lower, <0 = higher).
--echo [parms ...] : Echo parameters to log output.
--verb n : Set output verbosity to n (default=1):
(Level 3 is recommended if you want a good summary
of what's happening without being swamped by output).
: 0 -- no output except fatal errors
: 1 -- startup info + connection initiated messages +
non-fatal encryption & net errors
: 2,3 -- show TLS negotiations & route info
: 4 -- show parameters
: 5 -- show 'RrWw' chars on console for each packet sent
and received from TCP/UDP (caps) or tun/tap (lc)
: 6 to 11 -- debug messages of increasing verbosity
--mute n : Log at most n consecutive messages in the same category.
--status file n : Write operational status to file every n seconds.
--status-version [n] : Choose the status file format version number.
Currently, n can be 1, 2, or 3 (default=1).
--disable-occ : Disable options consistency check between peers.
--gremlin mask : Special stress testing mode (for debugging only).
--compress alg : Use compression algorithm alg
--comp-lzo : Use LZO compression -- may add up to 1 byte per
packet for uncompressible data.
--comp-noadapt : Don't use adaptive compression when --comp-lzo
is specified.
--management ip port [pass] : Enable a TCP server on ip:port to handle
management functions. pass is a password file
or 'stdin' to prompt from console.
To listen on a unix domain socket, specific the pathname
in place of ip and use 'unix' as the port number.
--management-client : Management interface will connect as a TCP client to
ip/port rather than listen as a TCP server.
--management-query-passwords : Query management channel for private key
and auth-user-pass passwords.
--management-query-proxy : Query management channel for proxy information.
--management-query-remote : Query management channel for --remote directive.
--management-hold : Start OpenVPN in a hibernating state, until a client
of the management interface explicitly starts it.
--management-signal : Issue SIGUSR1 when management disconnect event occurs.
--management-forget-disconnect : Forget passwords when management disconnect
event occurs.
--management-up-down : Report tunnel up/down events to management interface.
--management-log-cache n : Cache n lines of log file history for usage
by the management channel.
--management-client-user u : When management interface is a unix socket, only
allow connections from user u.
--management-client-group g : When management interface is a unix socket, only
allow connections from group g.
--management-client-auth : gives management interface client the responsibility
to authenticate clients after their client certificate
has been verified.
--management-client-pf : management interface clients must specify a packet
filter file for each connecting client.
--plugin m [str]: Load plug-in module m passing str as an argument
to its initialization function.
Multi-Client Server options (when --mode server is used):
--server network netmask : Helper option to easily configure server mode.
--server-ipv6 network/bits : Configure IPv6 server mode.
--server-bridge [IP netmask pool-start-IP pool-end-IP] : Helper option to
easily configure ethernet bridging server mode.
--push "option" : Push a config file option back to the peer for remote
execution. Peer must specify --pull in its config file.
--push-reset : Don't inherit global push list for specific
client instance.
--ifconfig-pool start-IP end-IP [netmask] : Set aside a pool of subnets
to be dynamically allocated to connecting clients.
--ifconfig-pool-linear : (DEPRECATED) Use individual addresses rather
than /30 subnets
in tun mode. Not compatible with
Windows clients.
--ifconfig-pool-persist file [seconds] : Persist/unpersist ifconfig-pool
data to file, at seconds intervals (default=600).
If seconds=0, file will be treated as read-only.
--ifconfig-ipv6-pool base-IP/bits : set aside an IPv6 network block
to be dynamically allocated to connecting clients.
--ifconfig-push local remote-netmask : Push an ifconfig option to remote,
overrides --ifconfig-pool dynamic allocation.
Only valid in a client-specific config file.
--ifconfig-ipv6-push local/bits remote : Push an ifconfig-ipv6 option to
remote, overrides --ifconfig-ipv6-pool allocation.
Only valid in a client-specific config file.
--iroute network [netmask] : Route subnet to client.
--iroute-ipv6 network/bits : Route IPv6 subnet to client.
Sets up internal routes only.
Only valid in a client-specific config file.
--disable : Client is disabled.
Only valid in a client-specific config file.
--client-cert-not-required : (DEPRECATED) Don't require client certificate, client
will authenticate using username/password.
--verify-client-cert [none|optional|require] : perform no, optional or
mandatory client certificate verification.
Default is to require the client to supply a certificate.
--username-as-common-name : For auth-user-pass authentication, use
the authenticated username as the common name,
rather than the common name from the client cert.
--auth-user-pass-verify cmd method: Query client for username/password and
run command cmd to verify. If method='via-env', pass
user/pass via environment, if method='via-file', pass
user/pass via temporary file.
--auth-gen-token [lifetime] Generate a random authentication token which is pushed
to each client, replacing the password. Usefull when
OTP based two-factor auth mechanisms are in use and
--reneg-* options are enabled. Optionally a lifetime in seconds
for generated tokens can be set.
--opt-verify : Clients that connect with options that are incompatible
with those of the server will be disconnected.
--auth-user-pass-optional : Allow connections by clients that don't
specify a username/password.
--no-name-remapping : (DEPRECATED) Allow Common Name and X509 Subject to include
any printable character.
--client-to-client : Internally route client-to-client traffic.
--duplicate-cn : Allow multiple clients with the same common name to
concurrently connect.
--client-connect cmd : Run command cmd on client connection.
--client-disconnect cmd : Run command cmd on client disconnection.
--client-config-dir dir : Directory for custom client config files.
--ccd-exclusive : Refuse connection unless custom client config is found.
--tmp-dir dir : Temporary directory, used for --client-connect return file and plugin communication.
--hash-size r v : Set the size of the real address hash table to r and the
virtual address table to v.
--bcast-buffers n : Allocate n broadcast buffers.
--tcp-queue-limit n : Maximum number of queued TCP output packets.
--tcp-nodelay : Macro that sets TCP_NODELAY socket flag on the server
as well as pushes it to connecting clients.
--learn-address cmd : Run command cmd to validate client virtual addresses.
--connect-freq n s : Allow a maximum of n new connections per s seconds.
--max-clients n : Allow a maximum of n simultaneously connected clients.
--max-routes-per-client n : Allow a maximum of n internal routes per client.
--stale-routes-check n [t] : Remove routes with a last activity timestamp
older than n seconds. Run this check every t
seconds (defaults to n).
--explicit-exit-notify [n] : In UDP server mode send [RESTART] command on exit/restart to connected
clients. n = 1 - reconnect to same server,
2 - advance to next server, default=1.
--port-share host port [dir] : When run in TCP mode, proxy incoming HTTPS
sessions to a web server at host:port. dir specifies an
optional directory to write origin IP:port data.
Client options (when connecting to a multi-client server):
--client : Helper option to easily configure client mode.
--auth-user-pass [up] : Authenticate with server using username/password.
up is a file containing the username on the first line,
and a password on the second. If either the password or both
the username and the password are omitted OpenVPN will prompt
for them from console.
--pull : Accept certain config file options from the peer as if they
were part of the local config file. Must be specified
when connecting to a '--mode server' remote host.
--pull-filter accept|ignore|reject t : Filter each option received from the
server if it starts with the text t. The action flag accept,
ignore or reject causes the option to be allowed, removed or
rejected with error. May be specified multiple times, and
each filter is applied in the order of appearance.
--auth-retry t : How to handle auth failures. Set t to
none (default), interact, or nointeract.
--static-challenge t e : Enable static challenge/response protocol using
challenge text t, with e indicating echo flag (0|1)
--connect-timeout n : when polling possible remote servers to connect to
in a round-robin fashion, spend no more than n seconds
waiting for a response before trying the next server.
--allow-recursive-routing : When this option is set, OpenVPN will not drop
incoming tun packets with same destination as host.
--explicit-exit-notify [n] : On exit/restart, send exit signal to
server/remote. n = # of retries, default=1.
Data Channel Encryption Options (must be compatible between peers):
(These options are meaningful for both Static Key & TLS-mode)
--secret f [d] : Enable Static Key encryption mode (non-TLS).
Use shared secret file f, generate with --genkey.
The optional d parameter controls key directionality.
If d is specified, use separate keys for each
direction, set d=0 on one side of the connection,
and d=1 on the other side.
--auth alg : Authenticate packets with HMAC using message
digest algorithm alg (default=SHA1).
(usually adds 16 or 20 bytes per packet)
Set alg=none to disable authentication.
--cipher alg : Encrypt packets with cipher algorithm alg
(default=BF-CBC).
Set alg=none to disable encryption.
--ncp-ciphers list : List of ciphers that are allowed to be negotiated.
--ncp-disable : Disable cipher negotiation.
--prng alg [nsl] : For PRNG, use digest algorithm alg, and
nonce_secret_len=nsl. Set alg=none to disable PRNG.
--keysize n : (DEPRECATED) Size of cipher key in bits (optional).
If unspecified, defaults to cipher-specific default.
--engine [name] : Enable OpenSSL hardware crypto engine functionality.
--no-replay : (DEPRECATED) Disable replay protection.
--mute-replay-warnings : Silence the output of replay warnings to log file.
--replay-window n [t] : Use a replay protection sliding window of size n
and a time window of t seconds.
Default n=64 t=15
--no-iv : Disable cipher IV -- only allowed with CBC mode ciphers.
--replay-persist file : Persist replay-protection state across sessions
using file.
--test-crypto : Run a self-test of crypto features enabled.
For debugging only.
TLS Key Negotiation Options:
(These options are meaningful only for TLS-mode)
--tls-server : Enable TLS and assume server role during TLS handshake.
--tls-client : Enable TLS and assume client role during TLS handshake.
--key-method m : (DEPRECATED) Data channel key exchange method. m should be a method
number, such as 1 (default), 2, etc.
--ca file : Certificate authority file in .pem format containing
root certificate.
--capath dir : A directory of trusted certificates (CAs and CRLs).
--dh file : File containing Diffie Hellman parameters
in .pem format (for --tls-server only).
Use "openssl dhparam -out dh1024.pem 1024" to generate.
--cert file : Local certificate in .pem format -- must be signed
by a Certificate Authority in --ca file.
--extra-certs file : one or more PEM certs that complete the cert chain.
--key file : Local private key in .pem format.
--tls-version-min <version> ['or-highest'] : sets the minimum TLS version we
will accept from the peer. If version is unrecognized and 'or-highest'
is specified, require max TLS version supported by SSL implementation.
--tls-version-max <version> : sets the maximum TLS version we will use.
--pkcs12 file : PKCS#12 file containing local private key, local certificate
and optionally the root CA certificate.
--verify-hash hash [algo] : Specify fingerprint for level-1 certificate.
Valid algo flags are SHA1 and SHA256.
--tls-cipher l : A list l of allowable TLS ciphers separated by : (optional).
: Use --show-tls to see a list of supported TLS ciphers.
--tls-cert-profile p : Set the allowed certificate crypto algorithm profile
(default=legacy).
--tls-timeout n : Packet retransmit timeout on TLS control channel
if no ACK from remote within n seconds (default=2).
--reneg-bytes n : Renegotiate data chan. key after n bytes sent and recvd.
--reneg-pkts n : Renegotiate data chan. key after n packets sent and recvd.
--reneg-sec n : Renegotiate data chan. key after n seconds (default=3600).
--hand-window n : Data channel key exchange must finalize within n seconds
of handshake initiation by any peer (default=60).
--tran-window n : Transition window -- old key can live this many seconds
after new key renegotiation begins (default=3600).
--single-session: Allow only one session (reset state on restart).
--tls-exit : Exit on TLS negotiation failure.
--tls-auth f [d]: Add an additional layer of authentication on top of the TLS
control channel to protect against attacks on the TLS stack
and DoS attacks.
f (required) is a shared-secret key file.
The optional d parameter controls key directionality,
see --secret option for more info.
--tls-crypt key : Add an additional layer of authenticated encryption on top
of the TLS control channel to hide the TLS certificate,
provide basic post-quantum security and protect against
attacks on the TLS stack and DoS attacks.
key (required) provides the pre-shared key file.
see --secret option for more info.
--askpass [file]: Get PEM password from controlling tty before we daemonize.
--auth-nocache : Don't cache --askpass or --auth-user-pass passwords.
--crl-verify crl ['dir']: Check peer certificate against a CRL.
--tls-verify cmd: Run command cmd to verify the X509 name of a
pending TLS connection that has otherwise passed all other
tests of certification. cmd should return 0 to allow
TLS handshake to proceed, or 1 to fail. (cmd is
executed as 'cmd certificate_depth subject')
--tls-export-cert [directory] : Get peer cert in PEM format and store it
in an openvpn temporary file in [directory]. Peer cert is
stored before tls-verify script execution and deleted after.
--verify-x509-name name: Accept connections only from a host with X509 subject
DN name. The remote host must also pass all other tests
of verification.
--ns-cert-type t: (DEPRECATED) Require that peer certificate was signed with
an explicit nsCertType designation t = 'client' | 'server'.
--x509-track x : Save peer X509 attribute x in environment for use by
plugins and management interface.
--keying-material-exporter label len : Save Exported Keying Material (RFC5705)
of len bytes (min. 16 bytes) using label in environment for use by plugins.
--remote-cert-ku v ... : Require that the peer certificate was signed with
explicit key usage, you can specify more than one value.
value should be given in hex format.
--remote-cert-eku oid : Require that the peer certificate was signed with
explicit extended key usage. Extended key usage can be encoded
as an object identifier or OpenSSL string representation.
--remote-cert-tls t: Require that peer certificate was signed with explicit
key usage and extended key usage based on RFC3280 TLS rules.
t = 'client' | 'server'.
SSL Library information:
--show-ciphers : Show cipher algorithms to use with --cipher option.
--show-digests : Show message digest algorithms to use with --auth option.
--show-engines : Show hardware crypto accelerator engines (if available).
--show-tls : Show all TLS ciphers (TLS used only as a control channel).
Generate a random key (only for non-TLS static key encryption mode):
--genkey : Generate a random key to be used as a shared secret,
for use with the --secret option.
--secret file : Write key to file.
Tun/tap config mode (available with linux 2.4+):
--mktun : Create a persistent tunnel.
--rmtun : Remove a persistent tunnel.
--dev tunX|tapX : tun/tap device
--dev-type dt : Device type. See tunnel options above for details.
--user user : User to set privilege to.
--group group : Group to set privilege to.
General Standalone Options:
--show-gateway : Show info about default gateway.
Alles anzeigen
gruß pclin
Koppeln mit iPhone Funktioniert auch!
Unter Netzwerkkonfiguration findet man auch Bluetooth.
Kann man hier an/aus stellen. Hat man das iPhone gekoppelt, ist es erstmal als idle angezeigt.
Drückt man OK wird es Verbunden!
[19:45 root@dm900 ~] > ifconfig
bnep0 Link encap:Ethernet Hardware Adresse 00:1a:7d:da:71:02
inet6-Adresse: fe80::21a:7dff:feda:7102/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:1444 (1.4 KiB) TX bytes:1630 (1.5 KiB)
eth1 (USB-Kabel) ist mit usbmuxd und ifuse zum iPhone hergestellt!
Persönlicher Hotspot: 2 Verbindungen, wird am iPhone angezeigt.
gruß pclin