Deutsche Glasfaser: VoIP

VoIP ISDN Funktionalitäten Die Deutsche Glasfaser offeriert in all ihren Tarifen die Telefonie mit VoIP. Es ist grundsätzlich eine “Leitung” und eine Rufnummer enthalten. Wenn man den Komfort eines “ISDN”-Anschlusses (Konferenz, Makeln, …) nutzen möchte wird man auf den ersten Blick die Option “Zweite Telefonleitung” buchen wollen: Screenshot: Buchungsseite Deutsche Glasfaser Premium 600 Es handelt sich hierbei jedoch nur um einen unabhängigen zweiten SIP-Account der mit einer anderen Rufnummer verknüpft ist....

August 8, 2018 · 2 min · Armin Jacob

Sniffing for Packets

tcpdump -i any tcpdump -i eth0 tcp port 80 tcpdump -i eth0 tcp port 80 or 443 tcpdump -i eth0 icmp tcpdump -i eth0 icmp6 More details Interesting blog post about tcpdump

August 1, 2018 · 1 min · Anton Bracke

Smart doorbell

A while ago I started to build a smart home integration for my door bell. The system I had to play with is a Ritto digital bus called Twinbus. But after some research I figured out that my Ritto intercom has some awesome pinouts on the circuit board. Things needed soldering iron some wires hot glue (or some tape) Shoppinglist Amount Name Price Link 1x Wemos D1 mini ~ 2,14€ [Aliexpress....

July 24, 2018 · 3 min · Anton Bracke

Serial problems with Ubuntu?

One of my main problems while connecting to a serial device was a software called ModemManager which automatically opened a connection to my devices on plug-in. The solution was to disable or remove ModemManager since I never used one of these old dialup modems with my PCs anyways. Remove ModemManager: apt-get purge modemmanager or simply stop it: systemctl stop ModemManager

July 15, 2018 · 1 min · Anton Bracke

Docker daemon enable remote access

nano /lib/systemd/system/docker.service and change ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375 [...] and restart docker with: systemctl daemon-reload service docker restart Source: [StackOverflow][1] tested on: Distributor ID: Ubuntu Description: Ubuntu 17.10 Release: 17.10 Codename: artful Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial [1]: https://stackoverflow.com/questions/26561963/how-to-detect-a-docker-daemon-port

April 4, 2018 · 1 min · Anton Bracke

SSH Tunnel

ssh -R 8080:localhost:80 user@publicip ssh -R remote-port:pc-in-local-network:port-on-pc-in-local-network user@publicip

April 4, 2018 · 1 min · Anton Bracke

Bash Prompt

The Bash Prompt is the text on your console before the actual command. echo $PS1 If you get displaying errors or just want a shorter prompt just use: PS1="# "

March 6, 2018 · 1 min · Anton Bracke

Docker

Useful commands Remove dangling images docker rmi $(docker images --quiet --filter "dangling=true") Update Composer Project Dependencies docker run --rm -ti -v $PWD:/app -v /home/anton/.ssh/:/root/.ssh composer update --ignore-platform-reqs --no-scripts echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)

December 13, 2017 · 1 min · Anton Bracke

SSH key login

ssh-keygen -t rsa -b 4096 ssh-copy-id root@external-server.org Now login to your external server via: ssh root@external-server.org

December 12, 2017 · 1 min · Anton Bracke

Webserver cluster [High Availability]

I recently wanted some kind of high availability for my private websites and applications, so I decided to setup a second server at my dads office as a failover system. Install GlusterFs for file syncing. The latest stable version for me was 3.8, but check the authors site, because GlusterFS is geeting new updates from time to time. It is recommended to use a separate partition for GlusterFS, but as I already got my setup up and runnig on the first node i am only covering the simple way....

April 3, 2017 · 2 min · Anton Bracke