baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

IPv6 leaks, DNS leaks, OpenVPN, IPSEC, L2TP

Test for DNS and IPv6 leaks: https://dnsleaktest.com/ https://wtfismyip.com/ (shows your VPN IPv4 address *and* leaked IPv6, if applicable) Prevent DNS leaks: https://www.pcsuggest.com/check-and-fix-dns-leak-linux/ add “redirect-gateway def1” to your openvpnclient.conf file … Prevent IPv6 leaks (i.e. temporarily disable IPv6): sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.wlp2s0.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 China VPN: […]

LinPhone VOIP client softphone: Importing SIP contacts from Google Contacts via commandline using PHP on GNU/Linux

The following command will add contact “Demo” to your linphone contact database using sqlite3: sqlite3 ~/.var/app/com.belledonnecommunications.linphone/data/linphone/friends.db “INSERT INTO friends (friend_list_id, sip_uri, subscribe_policy, send_subscribe, ref_key, vCard, vCard_etag, vCard_url, presence_received) VALUES (1, ‘sip:+436641234567@fairytel.at’, 1, 0, NULL, ‘BEGIN:VCARD’ || char(10) || ‘VERSION:4.0’ || char(10) || ‘IMPP:sip:+4366412346567@fairytel.at’ || char(10) || ‘FN:Demo’ || char(10) || ‘IMPP:sip:+4366412346567@213.185.165.102’ || char(10) || ‘END:VCARD’, […]

‘Freeze Track’ script for Renoise 3.1.1

A couple of years ago (in 2014) i updated the “Freeze Track” script for Renoise to be working with newer versions and sent a copy to the original author. Unfortunately the author never uploaded the updated version to the renoise.com scripting tool page and the renoise team didn’t accept my submission because i am not […]

Syncthing: force local network sync

A couple of years ago i set up an owncloud server for myself. While it’s nice for small amount of files, owncloud had some disturbing limitations. I tried syncing more than a million files, and it miserably failed. The search feature would take forever, etc … Also, you always need a server to be running. […]

Ubuntu 18.04 LTS not booting after update

SYMPTOMS / ERROR MESSAGE: sd-executor exit with status 1 systemd failed to open serialization file failed to fully start freezing system failed to insert module autofs4 CAUSE: Ubuntu is now using systemd and some services need read/write access, however the disk has only been mounted as ro (read-only). SOLUTION: Boot into upstart mode or use […]

Currency exchange rates

https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html Euro foreign exchange reference rates + historical data XML today: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml XML 90 days: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml?7ef8b5118e49d5f61068417d070c68db XML since 1999: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml

Free historic stock data

1. Register free API key for https://www.alphavantage.co/ 2. API documentation: https://www.alphavantage.co/documentation/ 3. Download data: curl “https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=TSLA&interval=5min&apikey=YOURAPIKEYHERE&datatype=csv” –output tsla.csv

LENOVO Thinkpad X1 Carbon 2018 (Gen6, G6) 20KHCTO1WW

AC Geekbench Result: (BIOS setting: max power, max power) https://browser.geekbench.com/v4/cpu/8741282 Single Core Score: 5132 Multi-Core Score: 16230 Battery Geekbench Result (BIOS setting: battery optimized, thermal optimized) https://browser.geekbench.com/v4/cpu/8741341 Single Core Score: 2508 Multi-Core Score: 9378

Previous Posts Next posts