I encountered an issue when shutting down or rebooting system with mounted NFS exports. It seems that systemd shuts down network service before all NFS mounts are unmounted and the system will hang, waiting for these mount points to be unmounted.
To prevent this, I've composed short script, which handles NFS unmounting before shutdown.
Thursday, January 23, 2014
Friday, January 3, 2014
IRC notifications from remote server
Like many people, I use irssi client on remote server to connect to IRC chat. With tmux or GNU Screen you are able to be connected 24/7, and it would be great to be notified when someone is writing to you or has mentioned you on a channel.
Read more on how to setup such a scenario.
Read more on how to setup such a scenario.
Thursday, January 2, 2014
Owncloud with dedicated php-fpm service
Owncloud on Raspberry PI is pretty slow. With Owncloud 6, takes the page loading from 20 to 60 seconds (this is much worse than with Owncloud 5). So there is an option to run php-fpm on other machine with more CPU power. Here is an howto to setup this scenario.
Tuesday, December 31, 2013
My IPTABLES on Raspberry PI
I use Raspberry PI as a router and firewall. See My network structure.
In iptables I use nat and ICS (internet connection sharing) between wlan and eth network interfaces and port forwarding to provide services from network 172.16.0.0 to 192.168.0.0.
In iptables I use nat and ICS (internet connection sharing) between wlan and eth network interfaces and port forwarding to provide services from network 172.16.0.0 to 192.168.0.0.
Monday, December 30, 2013
Setting up NFS
With NFS you can share folders on network and mount them on other computers just like local filesystems. I'm using NFS shared folder for transmission daemon's download folder and for owncloud.
Saturday, December 28, 2013
Setting up DHCP Server
DHCP Server is one of services running on my Raspberry PI. Here is a short guide how to setup such service.
Wednesday, December 11, 2013
Python CalDAV script for creating/removing calendar events
I'd like to use terminal to create, view and remove events in my Owncloud calendar. I've found client library which is able to handle this. It is simple to use and offers only few functions (see documentation).
Based on this library I've written python2 script.
Based on this library I've written python2 script.
Subscribe to:
Posts (Atom)