Warning: Declaration of action_plugin_safefnrecode::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/blog.rolf-fokkens.nl/lib/plugins/safefnrecode/action.php on line 14 Warning: Declaration of action_plugin_popularity::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/blog.rolf-fokkens.nl/lib/plugins/popularity/action.php on line 57 Warning: Declaration of action_plugin_loglog::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/blog.rolf-fokkens.nl/lib/plugins/loglog/action.php on line 80 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/blog.rolf-fokkens.nl/inc/auth.php on line 656 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/blog.rolf-fokkens.nl/inc/auth.php on line 656 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/blog.rolf-fokkens.nl/inc/auth.php on line 656
This is my tech blog. I'll document all kinds of computer related activties, which may be useful for myself in the future or even useful for others. The blog entries may refer to specific topics, which are documented in more detail here.
SD cards show to be vulnerable media when using as Raspberry Pi storage: whenever there's a powerfailure (e.g. when I remove the power adapter from the outlet) there's a considerable risk of running into filesystem corruptions (I think this is especially the case when I'm removing the power during write access). Today the SD card even showed to be broken, beyond repair.
So today I decided to get F2FS (Flash Friendly File System) running on my Pi. It took quite some effort to make it happen:
After that all went really smooth. A few things should be noted thogh:
After coming home from our skiing our holiday, I was fed up with the nine hours drive without internet because data roaming is too expensive. So I ordered a Huawei e355 MiFi (mobile Wifi) which allows us to use a German or Swiss SIM for cheap internet connectivity during the drive! Now I only have to buy a German SIM (like Aldi Talk) for the drive and a Swiss SIM (Like Swisscom Natel) for the chalet to actually be online.
Of course I could just replace the SIM of my phone by a German or Swiss one to achieve this, but that would imply that I'm no longer reachable on my own Phone number. By means of the MiFi both my wife and me are online, while being fully reachable as well.
To test the MiFi I bought a 10 Euro *Bliep SIM. After setting up the right APN, all works like a charm! The next step is buy a German SIM right across the border (we live nearby) and we ready for the next long trip to Switzerland.
Of course I'm aware of alternatives like Droam (www.droam.nl), but … well … I'd like to have my own MiFi. And I think In the end it will be cheaper.
Today I finally finished my 'AirPrint gateway for Apple iOS devices' page. It wasn't all that hard, just had to flash a fresh SD card and reinstall Airprint step by step. Now the 'Mail gateway' page is left to document.
Since I stopped using X on the C60M-I 'server' the awkward messaged
BUG: soft lockup - CPU#… stuck for …s have gone and the machine is stable again. I'm also running a Windows 7 VM in KVM on this machine (yeah, I know, It's not the most powerful CPU), so shear load is not the cause of the instability.
To my surprise I had my X hang during Firefox usage. First some video corruption, some kind of recovery and than a hang. I found messages in syslog stating something like 'Bug: soft lockup - CPU#2 stuck for 22s! [Xorg:10022]', and an the end I was forced to do a reboot. After that, none of the messages were in the syslog, seems like data loss.
The Motherboard is a Asus C60M-I, and I'm running Fedora 17 x86_64. The PC normally isn't used via X since it's only meant for NAS like purposes and firewalling. Could be an ATI video driver issue?
Google shows me lots of „BUG: soft lockup - CPU#… stuck for …s” problems, but no clear answer. So I'll stop using X on this PC, see if the problems stay away.
Today I installed a Raspberry Pi at the office to handle all kinds of network related actities:
Having a router that routes traffic between the internet and all my PC's, phones, etc allows to do great traffic shaping by using the HTB qdisc in both directions. However if your router is a PC itself, it's impossible to use HTB to do traffic shaping on it's own inbound network traffic. I came up with a funny solution: use Virtual Ethernet devices to introduce an additional bridge 'in front of' your PC.
More info can be found here
I had this idea of doing traffic shaping bij adding a single NIC router (E.g. Raspberry Pi) in an existing network:
After struggling with this for quite a while with the fact that the returnpackets arrived at the routerm but got lost, it became clear that disabling iptables on bridging was the solution. See also https://bugzilla.redhat.com/show_bug.cgi?id=887652.
Today I started a tech blog. It's a kind of experiment, I'm not sure if it'll really help me, but I expect it will. Just because I'm familiar with it, I'm using dokuwiki as a tool to serve my blog. It's not what wiki's are meant for, so I'll find out if this works.