Monthly Archive for April, 2007

USB vs Kernel

Since upgrading the kernel on the main server I have found that it disabled the USB ports. This causes lots of problems since they are used for the printer and the zip drive. What I have done is updated to the latest kernel that debian provide to you and this has made some changes to the system such as changing the program that controls the USB ports. At the moment I have updated both to the newest debian kernel so that I have all the extra bits that came with it to hopefully allow the new compiled kernel to work with USB. Apart from USB the servers are working fine.

I have also been given an old computer to play around with that once I’ve had my fun I might use as a terminal station. That is a computer that is only used to access other network computers via command line. It’s a HP 712/80 running HP-UX 10.20 and I think it was made in 1994.

Kernel troubles

Yesterday I was working on both my server and upgrading the kernel for them. As I was uninstalling the old kernel I accidentally typed in the command for the wrong server. This resulted in the main server not having a kernel to boot but other than that it was fine. After working on it for about an hour and a half this morning I managed to get it to boot a kernel from a Ubtuntu LiveCD and then install the new kernel that I had compiled on the second server. Normal service has been resumed and all that is left to do is remove the Ubuntu kernel and reboot.

Logger

As of this moment I’ve decided that I will use this website to tell you about any project that I’ve been working on no matter how small it is. This way you get to find out more about me and what I can do. It also makes this website a big more interesting and helpful.

On Tuesday I decided that I will put a hit counter back on my personal website, www.cosmo1847.co.uk. I have done a hit counter before with PHP but the way they worked was to count everytime the script was loaded, meaning that when someone clicked refresh it would count them again. The way I got around this was by only loading the script when the first some one the website.

This was not what I wanted, I have progressed since then and I wanted a unique visitor counter so I would know how many people used my website. After looking about I found this guide which shows you how to make a unique hit counter using some files to store the information. Using this as a template I set about making a unique hit counter using MySQL and PHP. I used MySQL because it is more secure and as this will have to store IP addresses I don’t really want to leave them lying about in a readable format. The hit counter is now working on my personal website but it does not display the amount of visitors as I do not want them to know so I currently access via MySQL Query Browser, one of the tools I use for MySQL work.

ISP

This morning we changed our ISP from Orange (it was freeserve when we joined) to Demon Internet. The reason for the change was to get rid of all the spam that we have been getting over the years and to save money. Demon Internet is cheaper than Orange was and provided a better service with no download limits. At a later point when the server is generating income we may change to a static IP address meaning that the down time will be reduced.

Demon

I have just received an email today from Demon informing me that the our new internet package will be going live on Thursday. This will cause some disruption to the service as I will have to configure the router to connect to our new ISP. This will mean that we get a new IP address which will take black-flag.co.uk offline for about 20 minutes and cosmo1847.co.uk for an hour or two. The time taken will depend upon how long it takes to configure the router and connect to the internet.

WordPress spam

It has been brought to my attention today that there is a large amount of spam comments that wordpress has had but I do not allow comments to be seen unless I have approved them, the drawback of this is that I normally don’t notice that someone has made a comment. I am trying to get a plugin sorted out that will make you ask for an image before it will allow you to post. Until then the service will be temperamental as the MySQL database gets turned on and off.

6:30pm the same day.
I have been having problems with the counter measures I have install. What I am trying to do is get the wordpress system to ask the user what is written in a image that the server generates, this will prevent bots from being able to make comments. What I am doing now is removing all the comments from the database and closing all comments and pings for the posts, this is for all the wordpress system on this server.