Posts Categorized: linux

Freecom Media Player with Samba

Instructions here for setting up Samba with the Freecom Network Media Player. http://www.lauracowen.co.uk/blog/2008/01/13/setting-up-a-freecom-media-player-with-ubuntu/

Sticky Bit

From Linux Format magazine. The Sticky Bit:“changes the rules about who can delete files. If the sticky bit is set on a directory, files within it can be deleted only by their owner, the directory’s owner or the superuser.”

Default Gateway Location

Centos and Red Hat:/etc/sysconfig/network NETWORKING=yesNETWORKING_IPV6=noHOSTNAME=myhostGATEWAY=123.123.123.1 Ubuntu/Debian:/etc/network/interfaces gateway 192.168.1.254 Command Line: route add default gw 192.168.1.254

Checking for Updates on Ubuntu

On Ubuntu/Debian servers install apticron with: apt-get install apticron This will run a daily job and send an email with available updates. The email address can be amended in /etc/apitcron/apticron.conf Quick, easy and useful!

Ubuntu Ibex (8.10), Opera and Flash

Opera is a great browser – magic wand, mouse gestures and less memory hungry than Firefox. It’s also pretty good on the Wii. Install the .deb from www.opera.com/download Then to get flash working: sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/opera/plugins/libflashplayer.so

Sophie make problems

I had a few stumbles when setting up Sophie, so for future reference: v3.05 checking for DllGetClassObject in -lsavi… noHave you downloaded the correct version of Sophos? There are a few versions available (AMD64 etc) v3.0 checking for SAVIsweepFile in -lsavi… noHave you downloaded the latest version of Sophie Sophie will not make on AMD64I… Read more »

Sophie Sweep finds virus but Sophie does not

I found that the sweep command would show a file as a virus yet some of these files were still getting through our mail system past Sophie. There wasn’t much on the web describing this problem so I am posting here for future reference. In the sophie.savi configuration file change GrpSuper: 0 to GrpSuper: 1

Swap Space Labels

A few issues today with a machine that had been left to boot with its swap space on the SAN. So I wanted to tell the machine to use the swap space on the local disk so I could refer to it in /etc/fstab by its label. So I tried: e2label /dev/sdf3 SWAP-local which didn’t… Read more »

Converting Squid Timestamps

I found the following perl snippet here to convert a squid log file into one with readable times: #! /usr/bin/perl -ps/^\d+\.\d+/localtime $&/e; It can be used like this:./timeconvert.pl inputfile.txt > outputfile-withhumantime.txt

Spamassassin Upgrade to 3.2.4 Problem

We probably don’t have a straight-forward spamd configuration so there wasn’t much noise out there from other people suffering this same issue so i think it may be peculiar to us.I upgraded from spamassassin 3.2.3 to 3.2.4 but received the following error when starting the service: cannot use –sql-config without -u As we are using… Read more »