This is quite different, in particular the System V init files don’t work any more and so I need to implement a systemd solution to mount the virtual box shared folders. I think these need to run after the vboxaddclient service. Some documentation suggests that LSB compliant scripts will work. I am about to stop and give it a rest; I am definitely of the view that this was a problem not worth solving. Continue reading “Fedora 24”→
I bought a Raspberry Pi to act as a Media Server in the home. I bought a PI, case, SD card and power source. As ever here are my notes. Currently, getting started (or 1st boot), 1st customisations, and early days with the media browsers and XBMC/Kodi. I have BBC, ITV and YouTube working, Channel 4 is going to be very hard and so is Sky, since among other things since Silverlight is deprecated. I have given up, and bought a Roku stick. In addition to the challenges of getting all the channels I want, even v3 of the Pi struggles with iplayer HD; it might be the CPU, it might be the BT broadband plus speed but it’s too hard. I shall reconstruct the page and use comments, as one of the purposes of making a notes page was collecting the various web pages that helped me get to wherever I got. Continue reading “Raspberry Pi”→
Been trying to get my latest Linux Laptop to behave nicely while on battery. It’s an Elementary Luna build. I came to the conclusion that there’s not much that can be done; it’s one of those things we leave to the OS authors, in this case Canonical. Continue reading “Linux Power Management”→
install guest additions, if that fails
set & export KERN_DIR, for Fedora it’ll be in /usr/src/kernel, check that the source agrees with the running kernel version using ls /usr/src/kernel & uname -a and run it from the command line
I found this page at forums.virtual.box and this page at ‘if not true then false’, which talks about what to do in the case that the Kernel Source can’t be found. (see the comments about the KERN_DIR environment variable above).
Ubuntu now offers the Virtual Guest additions as a package, and page at the fedora project the fedora project suggests that this is available for Fedora, even if one has to add the rpmfusion repo to the sources.list. Managing Yum Repositories from the Sysadmin documentation describes how to add and enable repos to Fedora.
This has changed since my days at Pyramid. There has been quite a lot of thinking and engineering about dealing with daemon logs. The places to look are via the syslogd, newsyslog project, you can see a the newsyslog man pages and using the keyword “rotate log”. The idea is that logs are rotated, although the names are not and that old logs are deleted. So the newest is called mypackage or mypackage.0 and the older logs increment the counter. Logs are generally kept in /var/log or /var/log/package_name and not in the package or product install tree. What a nob? There is a command ‘logrotate’; it can be installed using macports. It needs a a configuration file. Continue reading “Log Rotate and *NIX”→
The comments on downloading and installing packages to allow Virtual Box Guest Additions on my Centos 5.3 pages seem to still apply. You need a bunch of non-standard packages and to set a variable to point at the Kernel Source.
I want to configure NTP on this box, i.e. the Cobalt Qube as its losing time. Badly.
Dhis is now done, I have a very simple ntp.conf file and am using DNS hostnames. This is not advisable under Linux because you must have a valid DNS service available when the daemon seeks to resolve the addresses. It might be possible to resolve the dns names vis the /etc/hosts file. The Howto article below is quite good.
The test should be ntpq -p to see if the deamon is working Ok, I don’t think the Cobalt ntpd script does this; it browses the process table.
check ntp isn’t running
Add the server lines to /etc/ntp.conf, you really need two. Use time servers from organisations that permit or don’t care that one’s taking a feed.
Enable port 123/udp on the firewall
Start the daemon
Test the service using ntpq, can you see all the configured servers
If the drift is significant from the time server, then take the service down and then use ntpdate -u to set the clock
The Linux chkconfig utility is set up for the rc script and I shall therefore invoke it using chkconfig -add.