Beiträge des Autors
März 20 2014
Vyatta Site2Site OpenVPN-Tunnel
How to set up an OpenVPN Tunnel on a VYATTA or Ubiquiti EdgeMax Router. The Main Site Router A will wait for connection. Main Site Router A: Create openvpn key , copy it it temporary directory, change its user ownership.
1 2 3 4 5 |
generate openvpn key /config/auth/key.psk sudo cp /config/auth/key.psk /tmp/ sudo chown vyatta /tmp/key.psk ls -l /config/auth/key.psk configure |
Create openVPN interface vtun0 with a Local-IP to assign and a remote IP.
1 2 3 4 5 |
set interfaces openvpn vtun0 mode site-to-site set interfaces openvpn vtun0 local-address 172.16.1.1 set interfaces openvpn vtun0 remote-address 172.16.1.2 set interfaces openvpn vtun0 local-port 10005 set interfaces openvpn vtun0 shared-secret-key-file /etc/openvpn/key.psk commit |
…
März 20 2014
maximale WLAN Sendeleistungen in der Schweiz
2.4 GHz Frequenzband (2.4 – 2.4835 GHz) Anlagen, die in diesem Frequenzband arbeiten, können auch ausserhalb von Gebäuden betrieben werden. Die abgestrahlte Leistung von Anlagen ist auf maximal 100 mW begrenzt.Die technischen Anforderungen sind in der Schnittstellenanforderung RIR1010-01 beschrieben. Unteres 5 GHz Frequenzband (5.15 – 5.35 GHz) Die Nutzung ist ausschliesslich auf das Gebäudeinnere (indoor) …
März 20 2014
Unifi AP – Set Inform URL via SSH
ssh into the device and type
1 2 |
mca-cli set-inform http://ip-of-controller:8080/inform |
Feb. 12 2014
PROXMOX: Install Windows 8.1 x64
If the VM enters BootLoop during/bevore setup: add the following line to the .conf in /etc/pve/qemu-server/
1 |
args: -cpu kvm64,+lahf_lm |
Source: http://forum.proxmox.com/threads/16206-Windows-Server-2012-R2-and-0x0000005D-Error?p=89540#post89540
Feb. 01 2014
Proxmox – OpenVZ Container Netzwerkkonfig
1 2 3 4 5 6 7 8 9 10 11 12 |
#STATIC auto eth0 iface eth0 inet static address 192.168.0.97 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1 10.10.0.2 dns-search domain.de #DHCP auto eth0 iface eth0 inet dhcp |
Jan. 29 2014
Apache2 Rewrite to https
1 2 3 4 5 6 7 8 9 10 11 |
RewriteEngine On # This will enable the Rewrite capabilities RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] # This rule will redirect users from their original location, to the same location but using HTTPS. # i.e. http://www.example.com/foo/ to https://www.example.com/foo/ # The leading slash is made optional so that this will work either in httpd.conf # or .htaccess context |
Jan. 29 2014
Vyatta 6 & EdgeRouer: add Debian Sources
1 2 3 4 5 6 |
configure set system package repository squeeze components 'main contrib non-free' set system package repository squeeze distribution 'squeeze' set system package repository squeeze url 'http://debian.ethz.ch/debian' commit save |
Jan. 29 2014
Clean Up Boot Partition
Boot Partition is full because of updated kernel’s
1 |
df -h |
Clean Up the Boot Partition with he following commands:
1 2 3 4 5 |
sudo -s dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done apt-get autoremove update-grub exit |
Sources: http://ubuntuforums.org/showthread.php?t=1435818 updates – What is the safest way to clean up /boot partition? – Ask Ubuntu
Jan. 01 2014
PMR446 mit Betriebfunkgerät (zB. Motorola GPXX)
Quelle: http://www.bakom.admin.ch/themen/geraete/00568/04138/index.html?lang=de PMR-Anlagen mit programmierten PMR 446-Kanälen Die Nutzung der PMR-Frequenzen ist konzessionspflichtig. Die für PMR geltenden technischen Anforderungen sind nicht genau gleich wie jene für PMR 446; sie unterscheiden sich namentlich im Bereich der Antenne (die bei PMR 446 integriert, d.h. nicht austauschbar sein muss) und der maximal abgestrahlten Leistung. Grundsätzlich können nur die von …
Sep. 19 2013
Proxmox – OpenVZ Ubuntu activate console
Ubuntu 12.04 Standartmässig ist die Konsole der OpenVZ VM nicht aktiviert. Mit folgenden Schritten kann die Ausgabe aktiviert werden.