Getting root access to your Technicolor TG799vac Xtream (Crimson (15.4))

Intro Today, I received a free Technicolor TG799vac Xtream router from my ISP, which seems to have quite decent hardware according to my google-fu. I already have a router (two technically speaking), so I have no real need for it. But I have a way it might come to use. See, currently I have one router without any radio, which I use as my main gateway and router. This is a really nice machine for the most part, so I really like having it for that purpose. But since I also need WiFi at home, I have my old router which only runs as an access point, forwarding all traffic to my router. Since this AP is upstairs, it wouldn’t be too bad having another AP downstairs, maybe somewhere where it gives better WiFi to my garden or garage. This is the idea at least. ...

July 25, 2018  | 

Using DD-WRT router(s) as access point

I have a really nice router which i use to run PFsense on, which has a lot of useful services. However, it does not have Wi-Fi. So in order to provide Wi-Fi, I have to use another device as an access point. In my case I don’t have a pure access point, but I do have another router. This guide can also be used to attach several access point to a single LAN, if you need more than one to cover your whole house. ...

June 17, 2018  |  🏷️Dd-Wrt

Collection of DigitalOcean's guides to SMTP

How To Set Up a Postfix E-Mail Server with Dovecot How To use an SPF Record to Prevent Spoofing & Improve E-mail Reliability How To Install and Configure DKIM with Postfix on Debian Wheezy (Note: to get a PTR record back to your FQDN on Digital Ocean you must name the droplet to the FQDN)

Spring Microservices/Notes

Links Microservices: Health monitoring

May 7, 2018  | 

CSS Cheatsheet

Links 30 Seconds of CSS A Complete Guide to Flexbox

April 18, 2018  |  🏷️Css

New super light laptop (Ultrabook)

Notes for purchasing a new laptop in 2018 Need to have ~13-14" Computer with ~13" screen 128+ GiB SSD 8+ GiB RAM Around 1.6GHz dual-core Intel Core i5 or better Modern bluetooth Modern Wi-Fi (802.11ac) 1+ USB slot 10+ hours of use At the very least, full HD resolution Nice to have No bezels 256+ GiB SSD 3.5mm headphone jack Some kind of graphics card No fan Backlit keys Possible buys TBD ...

April 14, 2018  | 

Cannot mount cifs-drive over docker with SE-Linux enabled for docker

I have docker container which wants access to a drive on its host, which in turn is mounted with cifs from a server on the local network. If you mount it normally with a -v host:container and try to access it from the container, you get an access denied. If you try the old classic SE-Linux-friendly -v host:container:Z, it will look like this from the container: root@c3ada26b1d90:/# l /data/* /data/backup: ls: cannot access '/data/backup/config.json': Permission denied 27177a66e938a02ae784c0bc9ccd74751a32c00f4fcaee22ef1d78894c70553a-stdin| config.json init-stdin| 27177a66e938a02ae784c0bc9ccd74751a32c00f4fcaee22ef1d78894c70553a-stdout| init-stderr| init-stdout| To make it work, you have to change the SE-Linux-type from cifs_t to something more container-y. In your /etc/fstab, you can mount it like this: ...

LVM: Grow LVM and resize partition

Sometimes your install a distro and it refuses to take up all available space. 1. Find out how much space we got to play with. $ sudo vgdisplay --- Volume group --- VG Name fedora System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size <49.00 GiB PE Size 4.00 MiB Total PE 12543 Alloc PE / Size 4860 / 18.98 GiB Free PE / Size 7683 / 30.01 GiB VG UUID cCXkBg-Z8Or-jmmi-avaK-91VW-v3cF-CmhiKD 2. Resize your logical volume of choice to soak up the space $ sudo lvresize --size +30.01G /dev/fedora/root Rounding size to boundary between physical extents: 30.01 GiB. Size of logical volume fedora/root changed from 15.00 GiB (3840 extents) to 45.01 GiB (11523 extents). Logical volume fedora/root successfully resized. 3. Grow your partition XFS Example: ...

Installing a lightweight linux desktop environment with openbox and dwm

These are my installation notes for creating a lightweight linux desktop environment from scratch, which contains only the most necessary applications. I’ll probably update it slightly in the future, when I realize I have missed some application. It will contain both openbox and dwm, as I’m always torn between using a tiling versus a floating window manager. Mostly I prefer tiling ones, but with some applications, they simply don’t work well. ...

Over-ear headphones

Notes for buying new headphones in 2018 Requirements Over-ear headphones Good (great?) sound Possible to wear daily for 6-8 hours Wireless (Nice-to-have) Noice canceling Potential purchases Sony WH-1000XM2 / rting Weight: 275 g Battery Life: 30h Has 3.5mm: Yes Price range: 3.2-4k SEK Wireless: Yes Noice canceling: Yes Sennheiser PXC 550 / rting Weight: 227 g Battery Life: 30h Has 3.5mm: Yes Price range: 2.8-3.9k SEK Wireless: Yes Noice canceling: Yes Bose QuietComfort 35 / rting Weight: 236 g Battery Life: 20h Has 3.5mm: Yes Price range: 3.7-4k SEK Wireless: Yes Noice canceling: Yes Bang & Olufsen Beoplay H9 / rting Weight: 295 g Battery Life: 21h Has 3.5mm: Yes Price range: 3.9-4.8k SEK Wireless: Yes Noice canceling: Yes

February 18, 2018  |