Mac OS/X, Linux:
uuidgen
Windows Powershell:
powershell -Command "[guid]::NewGuid().ToString()"
Windows-UUID auslesen:
wmic path win32_computersystemproduct get uuid
Mac OS/X, Linux:
uuidgen
Windows Powershell:
powershell -Command "[guid]::NewGuid().ToString()"
Windows-UUID auslesen:
wmic path win32_computersystemproduct get uuid
Dazu mussen die Dateien /etc/hosts.allow und /etc/hosts.deny
bearbeitet werden. Beispiel:
/etc/hosts.allow:
portmap: 178.63.63.15,178.63.63.16
/etc/hosts.deny:
portmap: ALL
Danach den portmap-Service neu starten:
sudo service portmap restart
https://www.yougetsignal.com/tools/open-ports
Das Absichern der Ports über iptables funktionert in vielen Fällen besser:
#!/bin/sh
#
#
# Erste Zeile von iptables INPUT loeschen:
# sudo iptables -D INPUT 3
#
# iptables auflisten:
# sudo iptables -L -v
#
#
# Folgende Regeln erlauben den portmap-Dienst (port 111) nur von
# Rechner 178.63.63.71
#
iptables -A INPUT -p udp ! -s 178.63.63.71/24 --dport 111 -j DROP
iptables -A INPUT -p tcp ! -s 178.63.63.71/24 --dport 111 -j DROP
iptables -A INPUT -p tcp -s 127.0.0.1 --dport 111 -j ACCEPT
Mit dem Programm: unetbootin
https://de.wikipedia.org/wiki/UNetbootin
sudo umount /dev/sdc1
sudo mkfs.vfat /dev/sdc1
oder mit:
/usr/bin/gnome-disks
oder mit:
gparted
komplett löschen:
sudo dd if=/dev/zero of=/dev/sdX* bs=1M status=progress
adb shell – shell starten
adb install – apk-Datei installieren (-r = force install)
adb kill-server – Server stoppen
adb start-server – Server starten
adb devices – Angeschlossene Geräte anzeigen
adb shell screenrecord /sdcard/filename.mp4 – Film von Handy-App machen
Possible solutions if „adb devices“ shows a device as „unauthorized“:
C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D unauthorized
Disconnect USB between PC and device
Stop adb server by entering „adb kill-server“ in command window
On device use „Revoke USB debugging authorizations“ in „Developer Options“
On PC delete „adbkey“ file in user directory, for example "C:\Users\JohnDoo\.android"
Reconnect the device to the PC
Open a command window and enter „adb devices“. Watch the device’s screen for any Authorization message and allow the connection.
The device should now show as „device“:
C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D device
If the above does not help, re-installing adb and or USB drivers may help.
https://support.honeywellaidc.com/s/article/How-to-fix-adb-devices-shows-unauthorized-device
Handy für Entwickler aktivieren:
https://www.liquidweb.com/kb/how-to-install-and-configure-proftpd-on-ubuntu-14-04-lts/
proftpd für sichere TLS übertragung konfigurieren:
In FileZilla muss dann als Protokoll „SFTP“ eingestellt werden.
Lubuntu OPENVPN installieren:
sudo apt-get install network-manager network-manager-gnome openvpn
reboot
Ubuntu
fertig.
Damit DNS funktioniert müssen der .ovpn folgende Textzeilen hinzugefügt werden:
script-security 2
up /etc/openvpn/update-resolv-conf.sh
down /etc/openvpn/update-resolv-conf.sh