Category Archives: BSD

FreeBSD 10.3: Configure OpenVPN client


In this article VPNBook provider has been chosen. Check here what they provide: http://www.vpnbook.com/freevpn http://www.vpnbook.com/features Go to http://www.vpnbook.com and download a certificate bundle. I’ve chosen Euro1 Server. After download it you’ll finish with a zip named something like: VPNBook.com-OpenVPN-Euro1.zip After … Continue reading

Posted in BSD, FreeBSD | Leave a comment

FreeBSD: PF and NAT for internal network


Recently I’ve needed to install another Linux OS in a virtualbox machine (FreeBSD as host) with a Host-Only Adapter network configuration. This permits to have connectivity between the host and the guest as two single machines in a network. As … Continue reading

Posted in BSD, FreeBSD | 1 Comment

FreeBSD: no booting GPT slices with buggy bios laptops


It seems there is a problem with some bios that refuse to boot when the disk is partitioned with GPT. My laptop is a Lenovo T420s and FreeBSD (indeed PCBSD) is installed in second disk (ultrabay), gpt style partitions and … Continue reading

Posted in BSD, FreeBSD | Leave a comment

FreeBSD: SSL: CERTIFICATE_VERIFY_FAILED


Sometimes, when installing some python module with pip or easy_install the following error arises:   [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed In FreeBSD 10.1 it can be quickly fixed doing: pkg install ca_root_nss-3.17.3_1 ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem

Posted in BSD, FreeBSD | 1 Comment

FreeBSD: Calibre Patch for Sony Ebook Reader PRS-T3


Probably this patch works for others ebook readers, but only has been tested with Sony PRS-T3. There is a thread about a hacking Calibre for a Kobo Aura HD in: http://www.mobileread.com/forums/archive/index.php/t-244555.html but this method didn’t work with my device. My … Continue reading

Posted in BSD, FreeBSD | Leave a comment

FreeBSD: NFS automount with AutoFS


This applies only to FreeBSD 10.1 and newer. Previous FreeBSD releases must use amd. Personally, I dislike ‘amd’. Its configuration is a bit complex. Autofs configuration is pretty simple. I want to automount 2 folders from my ReadyNas Duo: 192.168.0.14:/media … Continue reading

Posted in BSD, FreeBSD | Leave a comment

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