Category Archives: BSD

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: /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

OpenBSD: adding a partition


Add a new partition to a whole system is a matter of editing the bsdlabel and format the partition. In my case, the disk is structured as:# fdisk sd1 Disk: sd1       geometry: 32301/240/63 [488397168 Sectors]Offset: 0       Signature: 0xAA55            Starting         Ending         … Continue reading

Posted in BSD, OpenBSD | Leave a comment

OpenBSD 5.1/current and Thinkpad T410: problems with suspend/resume an usb ports


Recently I bought a Thinkpad T410 with Intel HD graphics card. OpenBSD 5.1 and current supportĀ  this card. This is great: FreeBSD and NetBSD haven’t a good support yet. Almost everything runs fine in T410 with OpenBSD… almost… One of … Continue reading

Posted in BSD, OpenBSD | Leave a comment