BLKDE3815TYKH0E headaches

we’re setting up a small computer that will act as vpn end-point. we decided to try something smaller this time – BLKDE3815TYKH0E. as it turned out it’s not as well polished as one would expect from intel. my colleagues had to pull out debian wheezy usb pend-rive with the installer to be able to finish ... Read More

sip-audio-session, new libxml2

i’m using nagios to wake me up. not every day – only when there’s some outage. i have pair of nagios servers – one in Sweden, one in Poland – they cross-check one another and – for the most critical problems – send sms and make a phone call. for sms’es i’m using budgetsms.net, for ... Read More

xwiki, html macro tag and unwanted javascript

xwiki – by default – allows contributors to embed arbitrary html, including javascript. it does not take much effort to include something like: then you just need to lure your victim into visiting given wiki page while being logged – you’ll get a http request containing that person’s cookie that can be re-used to impersonate ... Read More

useful tools for [web] malware removal

http://sitecheck.sucuri.net/ for checking if a live website is referring to some malicious js / having unwanted iframes https://www.rfxn.com/projects/linux-malware-detect/ and http://www.clamav.net/index.html and http://www.eset.com/ for scanning files for unwanted conten from the command line:

T-Centralen to Arlanda – available public transport options

there are few options of getting from Stockholm Central station [ T-Centralen ] to the Arlanda airport: Flygbuss – from City Terminalen next to the train station – 105SEK one way SJ / regular train – there are few trains each day going from Stockholm to Uppsala – starting from 125SEK if booked in advance. ... Read More

Service check did not exit properly from nagios plugin in perl

i’m setting up v6 on a few internet-facing servers. i’ve googled a bit and found dual-stack ipv4+ipv6 monitoring with nagios. i’ve started using the wrapper script check_v46 referred there and it works nicely. but i’ve run into a problem – execution of plugin gave me:

fsck on truecrypt

it’s high time to move away from truecrypt [ which i’m doing by moving to luks and btrfs on the top of it for extra thrills ], but i still have bunch of places that were not moved to the alternative full disk encryption. what do do when after unclean shutdown this happens: ?

vectorizing text in pdf – the cheap way

we were getting some logo printed and the print shop was not happy with the pdf we’ve provided – they had some problem with the embedded font and asked us to provide another pdf with vectorized curves instead of text. based on this – although the first method with gsview did not work for me ... Read More

idrac7 + ipmitool stopped working with firmware 1.56.55

i use ipmitool to check health of the poweredge servers from nagios. in essence i execute: and alert if the exist code is non-zero, then i execute and again – i alert on non-zero exit code, i also grep the file in search of lines not containing ok/ns. this was working fine for DRAC 5 ... Read More

Samsung CLX-4195FW – displaying only samsung logo on the front screen

newly arrived Samsung CLX-4195FW greeted me with just blue samsung’s logo on the white background presented on the front LCD screen; at the same time printer correctly acquired IP via DHCP and i could access the management interface via the network. i’ve called Samsung 3x and luckily enough at the 3rd attempt i spoke with ... Read More

mac changing on DW1501 wifi card

in dell’s e6220 that i use for work travels i have dw1501 wifi card. in theory it’s possible to change card’s MAC address in the control panel > network and sharing center > change adapter settings > wireless network connection > properties configure > advanced > locally administered MAC address. problem is the values i’ve ... Read More

open maps + own routes

over time open street maps got better and better; i started to rely on them more than on google maps when hiking around – osm gave me more detailed maps of hiking trails in Barcelona and Singapore, Las Palmas and Slovenia. i wanted to share some of the interesting paths here; the best i could ... Read More

openvpn throttled from ovh’s bhs datacenter?

for work we rent a dedicated server from OVH. it’s been 5 months now and i’m pretty satisfied with the service provided. at the initial stage we’ve bumped into a problem that was never really solved; i cannot be even 100% sure if it’s OVH’s fault. UDP-based OpenVPN connection established from OVH’s BHS datacenter to ... Read More

wordpress hangs when uploading an image

i’ve moved my wordpress to a new server few weeks ago. all appeared to work fine but i forgot changing the configuration and providing new upload dir path. result? the media page [ wp-admin/upload.php ] did not open and apache2 appeared to be hanged using 100% cpu. i could not add any media in the ... Read More