Recently I’ve been experimenting with the Amazon Free Tier micro instances (one is running this blog). After running an instance for a few days I noticed that the clock seems to drift quite heavily ( more than 10 minutes over 24 hours ). The most obvious fix to any clock drift is to install and configure ntp – however …
Read MoreLooking For an Ubuntu specific guide? Try here . Today I finally replaced my aging Inkjet printer with a new Laser one. I eventually decided upon the HP LaserJet Pro P1102w printer, as from scouring forums it seems to have good support to Linux, in addition to being a relatively cheap WiFi laser printer. Setting it up …
Read MoreI’ve decided to try out Netbeans, as it had been recommended to me as a good IDE for PHP development, but while attempting to emerge it under Gentoo, I was greeted by this error: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. The problem seemed to be that I was using sudo to run the …
Read Morecannot find any C preprocessor (cpp)
Mar 16, 2011Tried to install sys-fs/quota on Gentoo install today and received this error when compiling: cannot find any C preprocessor (cpp) The ( quick and easy ) solution seems to be to create a symlink to point /lib/cpp to /lib64/cpp, like this: ln -s /lib64/cpp /lib/cpp I’m not sure if using a non-multilib version of Gentoo …
Read MoreStoring Linux’s /etc/ in svn
Mar 6, 2011The /etc/ directory under most Linux systems is where the system-wide configuration for most software is stored. When setting up, or maintaining a Linux server ( or even a desktop machine, depending on particular use cases ) this directory will likely be changed, either manually or by software upgrades. Obviously it …
Read MoreAfter performing a large number of package upgrades on my Gentoo machine, I discovered that Eclipse would crash when showing documentation, or otherwise embedded browser-base content ( including the web browser preferences) . The error logged in my home directory looked something like this:
# A fatal error has been …
Read MoreToday I plugged in a USB flash drive (after updating 40 or so packages in Gentoo, including HAL) and received this error in a popup: mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so Looking at dmesg …
Read MoreI had been having a strange problem with Samba, where creating shares through KDE created shares that are visible through SMB or Windows clients, yet opening them only showed an error that “The file or folder does not exist”. There are two fixes for this problem: Firstly, if you remove the line “msdfs proxy = no” from …
Read MoreLike many people, I have two boxes set up with Gentoo, and prefer to keep both my systems up to date. The problem of course with this is that each system must sync with the Gentoo servers to pull down the newest packages. Wouldn’t it be more convenient to have one box pull down the new packages and for the others to …
Read MoreHave been having this strange error appear for a while when attempting to compile sys-libs/db (and compiling other software with C has no problems). The package is fine as my other box compiles the package fine. I’m using CCACHE and Gentoo 2006.0 AMD64. For anybody else with this problem, the solution seems to be …
Read More