SlugOS Tips and Tricks, Odds and Ends
This page serves as a container for all kind of Tips and Tricks and Odds and Ends on SlugOS that do not really warrant their own page, but that might be handy. Feel free to add your own tips etc.
Configuring your slug for the right timezone
In order to configure your slug for the right timezone install the timezone package for your region.
After installing the right package cd to
Fixing hwclock for DebianSlug-3.10-beta and slugosle-4.3-beta
I had an issue where I couldn't sync the hwclock with the system time on my Slug. I could set the time on the Slug but after a reboot the time would always be current time - 4 hours. Trying to sync the hwclock via the command "hwclock --systohc" would return a fatal error. The reason is unknown to me. But, a fellow Slugger passed this tip on to me. To fix (as root):
to set the proper time, and then
to sync the hwclock to system time. The hwclock command should work at this point. Reboot and check the system time - it should be okay. Worked for me!
(Re)building the kernel
For forcing a rebuild of the kernel first remove the old kernel by
Building php5.05 natively
For me libtool did not do the job. Be sure that you have
If you are rebuilding the rootfs regularly you'll end up with quite some log files in
Reducing memory usage
If you don't have a serial port hack, you can disable the getty program for the not existing serial port.
ipkg started to fail with native feeds
Ipkg started to fail on native feeds after a while of having installed the Optware feeds. The issue was that ipkg command and ipkg-opt command showed the same packages and outputs instead of each other feeds. Then ipkg update didn't nothing. The issue was on the ld.so.config file where I added the /opt/lib directory. After cleaning the entry, ipkg started to work right on the moment.