Category Archives: OpenBSD

OpenBSD: phpMyAdmin and NGINX


We will suppose MySQL is already installed. # pkg_add php-fpm php-mysql phpmyadmin  In /etc/rc.conf.local:  # cp -fR /var/www/phpMyAdmin to /var/www/htdocs Add to /etc/nginx/nginx.conf: Make a file ‘/var/www/htdocs/phpinfo.php with the following lines: Start nginx and php_fpm: Test the PHP installation with … Continue reading

Posted in BSD, OpenBSD | Leave a comment

OpenBSD: hibernation rules!!!!


Simply great! hibernation in i386 works great!. It seems it could be there some issues but in my experience is pretty usable. This is the first time I’m able to see hibernation working in a BSD laptop since my Thinkpads … Continue reading

Posted in BSD, OpenBSD | Leave a comment

OpenBSD: How to avoid resolv.conf to be touched by dhclient


I prefer to provide DNS address of my choice instead those from my network provider. Usually OpenDNS servers are a good option. So, to avoid dhclient touch ‘/etc/resolv.conf’ I configure the /etc/dhclient.conf as follows: initial-interval 1; send host-name “myhostname”; #request … Continue reading

Posted in BSD, OpenBSD | Leave a comment

OpenBSD: Laptop cpu temperature control with APM


In OpenBSD, all versions I tested, I note a performance decrease (in such way as not smooth mouse movement, or web page scrolling) when the maching is doing any heavy reading/writing task or cpu compsuming (i.e. ziping/unziping/copying a big file), … Continue reading

Posted in BSD, OpenBSD | Tagged , , | Leave a comment

OpenBSD: ntfs-3g supported !!!


I can’t believe it!!! http://www.planet-bsd.net/article/31 I’m anxious for testing it … One of those things you miss when moving to OpenBSD from FreeBSD or Linux…  

Posted in OpenBSD | Leave a comment

OpenBSD: /tmp in memory


My laptop is equipped with a reasonable amount of memory (8 Gb), never used in its entirety. Surplus memory can be used, for example, for memory file systems, and /tmp in particular. Simply edit /etc/fstab and comment the /tmp line … Continue reading

Posted in BSD, OpenBSD | Leave a comment

OpenBSD: automate wired/wifi network connection


Despite of missing applications like NetworkManager in OpenBSD, it’s possible to implement some kind of network autodetection, wired and wireless. I launch the following script in the boot process: /etc/activatewifi.sh #!/bin/sh IF_WIRED=em0IF_WIRELESS=iwn0 WIFI_SCRIPT=”/etc/wifinwid ${IF_WIRELESS}” STATE_IF_WIRED=`ifconfig $IF_WIRED |grep status|cut -d: -f … Continue reading

Posted in BSD, OpenBSD | Leave a comment