<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Failure is the Key to Success &#187; Hardware</title>
	<atom:link href="http://blog.ijhedges.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ijhedges.com</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 23:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Proxy server</title>
		<link>http://blog.ijhedges.com/2011/05/01/proxy-server/</link>
		<comments>http://blog.ijhedges.com/2011/05/01/proxy-server/#comments</comments>
		<pubDate>Sun, 01 May 2011 10:33:59 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Dansguardian]]></category>
		<category><![CDATA[dellfand]]></category>
		<category><![CDATA[proxy server]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/?p=523</guid>
		<description><![CDATA[Better late than never, this post has sat in draft for a nearly three months. I had a laptop running Ubuntu acting as a proxy server to filter all the kids&#8217; internet traffic and decided back in February that it was getting a bit long in the tooth. It was a Compaq M700 laptop, with [...]]]></description>
			<content:encoded><![CDATA[<p>Better late than never, this post has sat in draft for a nearly three months. I had a laptop running Ubuntu acting as a proxy server to filter all the kids&#8217; internet traffic and decided back in February that it was getting a bit long in the tooth. It was a Compaq M700 laptop, with a 400MHz processor, 384MB RAM and an 8GB hard disc. A long time since it had been state of the art! The last straw came when I couldn&#8217;t upgrade the operating system to the latest version as I didn&#8217;t have enough disc space. The old laptop provided several functions for me, so these would have to migrated to the replacement machine.</p>
<p>A few days later, I bought a Dell D610 laptop (Celeron 2.0GHz, 40GB hard disc) off Ebay and some additional memory to take it to 2GB.</p>
<p>I had downloaded <a href="http://www.ubuntu.com/server">Ubuntu Server</a> 10.10 about the same time and burnt the ISO to CD, however when I came to use it I found the image was incomplete, so had to download it again. Second time lucky.</p>
<p>The notes below are for me as an aid for future rebuilds, but may help someone else with their configuration.</p>
<p><span id="more-523"></span>I installed the operating system using pretty much the default settings and after it had finished installing and restarted, I changed the network settings to use a static IP address instead of DHCP.</p>
<p style="padding-left: 30px;">sudo vi /etc/network/interfaces</p>
<p>I changed the primary interface from:</p>
<p style="padding-left: 30px;">auto eth0<br />
iface eth0 inet dhcp</p>
<p>to</p>
<p style="padding-left: 30px;">auto eth0<br />
iface eth0 inet static<br />
address 10.x.x.100<br />
netmask 255.255.255.0<br />
network 10.x.x.0<br />
broadcast 10.x.x.255<br />
gateway 10.x.x.x</p>
<p>Or at least my specific details instead of those above.</p>
<p>I was going to edit the the DNS settings</p>
<p style="padding-left: 30px;">sudo vi /etc/resolv.conf</p>
<p>but they had already correctly got my DNS settings, so I didn&#8217;t need to change the nameserver entry.</p>
<p>I then restarted the networking</p>
<p style="padding-left: 30px;">sudo /etc/init.d/networking restart</p>
<p>OK, now the fun begins!</p>
<p>The old laptop provides the following:</p>
<ul>
<li>Webserver &#8211; Apache, PHP</li>
<li>Filter proxy server &#8211; Squid, Dansguardian</li>
<li>Email spam filtering &#8211; SpamAssassin</li>
</ul>
<p>It was all managed using <a href="http://www.webmin.com/">Webmin</a>, and I also had VNC configured to give me a session onto the display, yes I know its a server, but I installed a GUI to make my life easier.</p>
<p>First I installed webmin to make my life easier:</p>
<p>sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl apt-show-versions</p>
<p>wget http://prdownloads.sourceforge.net/webadmin/webmin_1.530_all.deb</p>
<p>sudo dpkg -i webmin_1.530_all.deb</p>
<p>Once Webmin was installed it simplified the installation of other requirements. NTP to ensure that the time was synchronised with the rest of my network.</p>
<p>install ntp<br />
cd /etc<br />
sudo vi ntp.conf<br />
remove server ntp.unbuntu.com replace with sarig.midkemia.local (my domain controller and time source).</p>
<p>Next to join it to my domain; install following packages:<br />
keyutils<br />
krb5-config<br />
libgssrpc4<br />
libkadm5clnt-mit7<br />
krb5-user<br />
smbclient<br />
smbfs<br />
winbind</p>
<p>sudo vi krb5.conf</p>
<p style="padding-left: 30px;">[libdefaults]<br />
default_realm = MIDKEMIA.LOCAL<br />
dns_lookup_realm = false<br />
dns_lookup_kdc = false<br />
ticket_lifetime = 24h<br />
# The following krb5.conf variables are only for MIT Kerberos.<br />
krb4_config = /etc/krb.conf<br />
krb4_realms = /etc/krb.realms<br />
kdc_timesync = 1<br />
ccache_type = 4<br />
forwardable = true<br />
proxiable = true</p>
<p style="padding-left: 30px;">[logging]<br />
default = FILE:/var/log/krb5libs.log<br />
kdc = FILE:/var/log/krb5kdc.log<br />
admin_server = FILE:/var/log/kadmind.log</p>
<p style="padding-left: 30px;"># The following encryption type specification will be used by MIT Kerberos<br />
# if uncommented.  In general, the defaults in the MIT Kerberos code are<br />
# correct and overriding these specifications only serves to disable new<br />
# encryption types as they are added, creating interoperability problems.</p>
<p style="padding-left: 30px;">#    default_tgs_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1 des-cbc-crc des-cbc-md5<br />
#    default_tkt_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1 des-cbc-crc des-cbc-md5<br />
#    permitted_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1 des-cbc-crc des-cbc-md5</p>
<p style="padding-left: 30px;"># The following libdefaults parameters are only for Heimdal Kerberos.<br />
v4_instance_resolve = false<br />
v4_name_convert = {<br />
host = {<br />
rcmd = host<br />
ftp = ftp<br />
}<br />
plain = {<br />
something = something-else<br />
}<br />
}<br />
fcc-mit-ticketflags = true</p>
<p style="padding-left: 30px;">[realms]<br />
MIDKEMIA.LOCAL = {<br />
kdc = sarig<br />
admin_server = sarig.midkemia.local<br />
default_domain = midkemia.local<br />
}<br />
ATHENA.MIT.EDU = {<br />
kdc = kerberos.mit.edu:88<br />
kdc = kerberos-1.mit.edu:88<br />
kdc = kerberos-2.mit.edu:88<br />
admin_server = kerberos.mit.edu<br />
default_domain = mit.edu<br />
}<br />
MEDIA-LAB.MIT.EDU = {<br />
kdc = kerberos.media.mit.edu<br />
admin_server = kerberos.media.mit.edu<br />
}<br />
ZONE.MIT.EDU = {<br />
kdc = casio.mit.edu<br />
kdc = seiko.mit.edu<br />
admin_server = casio.mit.edu<br />
}<br />
MOOF.MIT.EDU = {<br />
kdc = three-headed-dogcow.mit.edu:88<br />
kdc = three-headed-dogcow-1.mit.edu:88<br />
admin_server = three-headed-dogcow.mit.edu<br />
}<br />
CSAIL.MIT.EDU = {<br />
kdc = kerberos-1.csail.mit.edu<br />
kdc = kerberos-2.csail.mit.edu<br />
admin_server = kerberos.csail.mit.edu<br />
default_domain = csail.mit.edu<br />
krb524_server = krb524.csail.mit.edu<br />
}<br />
IHTFP.ORG = {<br />
kdc = kerberos.ihtfp.org<br />
admin_server = kerberos.ihtfp.org<br />
}<br />
GNU.ORG = {<br />
kdc = kerberos.gnu.org<br />
kdc = kerberos-2.gnu.org<br />
kdc = kerberos-3.gnu.org<br />
admin_server = kerberos.gnu.org<br />
}<br />
1TS.ORG = {<br />
kdc = kerberos.1ts.org<br />
admin_server = kerberos.1ts.org<br />
}<br />
GRATUITOUS.ORG = {<br />
kdc = kerberos.gratuitous.org<br />
admin_server = kerberos.gratuitous.org<br />
}<br />
DOOMCOM.ORG = {<br />
kdc = kerberos.doomcom.org<br />
admin_server = kerberos.doomcom.org<br />
}<br />
ANDREW.CMU.EDU = {<br />
kdc = vice28.fs.andrew.cmu.edu<br />
kdc = vice2.fs.andrew.cmu.edu<br />
kdc = vice11.fs.andrew.cmu.edu<br />
kdc = vice12.fs.andrew.cmu.edu<br />
admin_server = vice28.fs.andrew.cmu.edu<br />
default_domain = andrew.cmu.edu<br />
}<br />
CS.CMU.EDU = {<br />
kdc = kerberos.cs.cmu.edu<br />
kdc = kerberos-2.srv.cs.cmu.edu<br />
admin_server = kerberos.cs.cmu.edu<br />
}<br />
DEMENTIA.ORG = {<br />
kdc = kerberos.dementia.org<br />
kdc = kerberos2.dementia.org<br />
admin_server = kerberos.dementia.org<br />
}<br />
stanford.edu = {<br />
kdc = krb5auth1.stanford.edu<br />
kdc = krb5auth2.stanford.edu<br />
kdc = krb5auth3.stanford.edu<br />
admin_server = krb5-admin.stanford.edu<br />
default_domain = stanford.edu<br />
}</p>
<p style="padding-left: 30px;">[domain_realm]<br />
.mit.edu = ATHENA.MIT.EDU<br />
mit.edu = ATHENA.MIT.EDU<br />
.media.mit.edu = MEDIA-LAB.MIT.EDU<br />
media.mit.edu = MEDIA-LAB.MIT.EDU<br />
.csail.mit.edu = CSAIL.MIT.EDU<br />
csail.mit.edu = CSAIL.MIT.EDU<br />
.whoi.edu = ATHENA.MIT.EDU<br />
whoi.edu = ATHENA.MIT.EDU<br />
.stanford.edu = stanford.edu<br />
.midkemia.local = MIDKEMIA.LOCAL<br />
midkemia.local = MIDKEMIA.LOCAL</p>
<p style="padding-left: 30px;">[login]<br />
krb4_convert = true<br />
krb4_get_tickets = false</p>
<p style="padding-left: 30px;">[appdefaults]<br />
pam = {<br />
debug = false<br />
ticket_lifetime = 36000<br />
renew_lifetime = 36000<br />
forwardable = true<br />
krb4_convert = false<br />
}</p>
<p>kinit administrator@MIDKEMIA.LOCAL</p>
<p>should prompt for password and not throw error</p>
<p>vi /etc/samba/smb.conf</p>
<p style="padding-left: 30px;">#<br />
# Sample configuration file for the Samba suite for Debian GNU/Linux.<br />
#<br />
#<br />
# This is the main Samba configuration file. You should read the<br />
# smb.conf(5) manual page in order to understand the options listed<br />
# here. Samba has a huge number of configurable options most of which<br />
# are not shown in this example<br />
#<br />
# Any line which starts with a ; (semi-colon) or a # (hash)<br />
# is a comment and is ignored. In this example we will use a #<br />
# for commentary and a ; for parts of the config file that you<br />
# may wish to enable<br />
#<br />
# NOTE: Whenever you modify this file you should run the command<br />
# &#8220;testparm&#8221; to check that you have not made any basic syntactic<br />
# errors.<br />
#</p>
<p style="padding-left: 30px;">#======================= Global Settings =======================</p>
<p style="padding-left: 30px;">[global]<br />
log level = 3<br />
log file = /var/log/samba/log.%m<br />
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .<br />
winbind enum users = Yes<br />
winbind enum groups = Yes<br />
winbind use default domain = Yes<br />
winbind nested groups = Yes<br />
winbind separator = +<br />
idmap uid = 600-20000<br />
idmap gid = 600-20000<br />
socket options = TCP_NODELAY<br />
obey pam restrictions = yes<br />
client ntlmv2 auth = yes<br />
wins server = 10.x.x.3<br />
client use spnego = yes<br />
map to guest = bad user<br />
winbind trusted domains only = yes<br />
encrypt passwords = true<br />
realm = MIDKEMIA.LOCAL<br />
passdb backend = tdbsam<br />
passwd program = /usr/bin/passwd %u<br />
template shell = /bin/bash<br />
dns proxy = no<br />
preferred master = no<br />
server string = %h server (Samba, Ubuntu)<br />
invalid users = root<br />
unix password sync = yes<br />
template homedir = /home/%D/%U<br />
workgroup = MIDKEMIA0<br />
syslog = 0<br />
security = ADS<br />
panic action = /usr/share/samba/panic-action %d<br />
usershare allow guests = yes<br />
max log size = 1000<br />
pam password change = yes<br />
smb ports = 139</p>
<p style="padding-left: 30px;">## Browsing/Identification ###</p>
<p style="padding-left: 30px;"># Change this to the workgroup/NT-domain name your Samba server will part of</p>
<p style="padding-left: 30px;"># server string is the equivalent of the NT Description field</p>
<p style="padding-left: 30px;"># Windows Internet Name Serving Support Section:<br />
# WINS Support &#8211; Tells the NMBD component of Samba to enable its WINS Server<br />
;   wins support = no</p>
<p style="padding-left: 30px;"># WINS Server &#8211; Tells the NMBD components of Samba to be a WINS Client<br />
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both</p>
<p style="padding-left: 30px;"># This will prevent nmbd to search for NetBIOS names through DNS.</p>
<p style="padding-left: 30px;"># What naming service and in what order should we use to resolve host names<br />
# to IP addresses<br />
;   name resolve order = lmhosts host wins bcast</p>
<p style="padding-left: 30px;">#### Networking ####</p>
<p style="padding-left: 30px;"># The specific set of interfaces / networks to bind to<br />
# This can be either the interface name or an IP address/netmask;<br />
# interface names are normally preferred<br />
;   interfaces = 127.0.0.0/8 eth0</p>
<p style="padding-left: 30px;"># Only bind to the named interfaces and/or networks; you must use the<br />
# &#8216;interfaces&#8217; option above to use this.<br />
# It is recommended that you enable this feature if your Samba machine is<br />
# not protected by a firewall or is a firewall itself.  However, this<br />
# option cannot handle dynamic or non-broadcast interfaces correctly.<br />
;   bind interfaces only = true</p>
<p style="padding-left: 30px;">#### Debugging/Accounting ####</p>
<p style="padding-left: 30px;"># This tells Samba to use a separate log file for each machine<br />
# that connects</p>
<p style="padding-left: 30px;"># Cap the size of the individual log files (in KiB).</p>
<p style="padding-left: 30px;"># If you want Samba to only log through syslog then set the following<br />
# parameter to &#8216;yes&#8217;.<br />
;   syslog only = no</p>
<p style="padding-left: 30px;"># We want Samba to log a minimum amount of information to syslog. Everything<br />
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log<br />
# through syslog you should set the following parameter to something higher.</p>
<p style="padding-left: 30px;"># Do something sensible when Samba crashes: mail the admin a backtrace</p>
<p style="padding-left: 30px;">####### Authentication #######</p>
<p style="padding-left: 30px;"># &#8220;security = user&#8221; is always a good idea. This will require a Unix account<br />
# in this server for every user accessing the server. See<br />
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html<br />
# in the samba-doc package for details.</p>
<p style="padding-left: 30px;"># You may wish to use password encryption.  See the section on<br />
# &#8216;encrypt passwords&#8217; in the smb.conf(5) manpage before enabling.</p>
<p style="padding-left: 30px;"># If you are using encrypted passwords, Samba will need to know what<br />
# password database type you are using.</p>
<p style="padding-left: 30px;">;   guest account = nobody</p>
<p style="padding-left: 30px;"># This boolean parameter controls whether Samba attempts to sync the Unix<br />
# password with the SMB password when the encrypted SMB password in the<br />
# passdb is changed.</p>
<p style="padding-left: 30px;"># For Unix password sync to work on a Debian GNU/Linux system, the following<br />
# parameters must be set (thanks to Ian Kahan &lt;&lt;kahan@informatik.tu-muenchen.de&gt; for<br />
# sending the correct chat script for the passwd program in Debian Sarge).</p>
<p style="padding-left: 30px;"># This boolean controls whether PAM will be used for password changes<br />
# when requested by an SMB client instead of the program listed in<br />
# &#8216;passwd program&#8217;. The default is &#8216;no&#8217;.</p>
<p style="padding-left: 30px;"># This option controls how nsuccessful authentication attempts are mapped<br />
# to anonymous connections</p>
<p style="padding-left: 30px;">########## Domains ###########</p>
<p style="padding-left: 30px;"># Is this machine able to authenticate users. Both PDC and BDC<br />
# must have this setting enabled. If you are the BDC you must<br />
# change the &#8216;domain master&#8217; setting to no<br />
#<br />
;   domain logons = yes<br />
#<br />
# The following setting only takes effect if &#8216;domain logons&#8217; is set<br />
# It specifies the location of the user&#8217;s profile directory<br />
# from the client point of view)<br />
# The following required a [profiles] share to be setup on the<br />
# samba server (see below)<br />
;   logon path = \\%N\profiles\%U<br />
# Another common choice is storing the profile in the user&#8217;s home directory<br />
;   logon path = \\%N\%U\profile</p>
<p style="padding-left: 30px;"># The following setting only takes effect if &#8216;domain logons&#8217; is set<br />
# It specifies the location of a user&#8217;s home directory (from the client<br />
# point of view)<br />
;   logon drive = H:<br />
;   logon home = \\%N\%U</p>
<p style="padding-left: 30px;"># The following setting only takes effect if &#8216;domain logons&#8217; is set<br />
# It specifies the script to run during logon. The script must be stored<br />
# in the [netlogon] share<br />
# NOTE: Must be store in &#8216;DOS&#8217; file format convention<br />
;   logon script = logon.cmd</p>
<p style="padding-left: 30px;"># This allows Unix users to be created on the domain controller via the SAMR<br />
# RPC pipe.  The example command creates a user account with a disabled Unix<br />
# password; please adapt to your needs<br />
; add user script = /usr/sbin/adduser &#8211;quiet &#8211;disabled-password &#8211;gecos &#8220;&#8221; %u</p>
<p style="padding-left: 30px;">########## Printing ##########</p>
<p style="padding-left: 30px;"># If you want to automatically load your printer list rather<br />
# than setting them up individually then you&#8217;ll need this<br />
;   load printers = yes</p>
<p style="padding-left: 30px;"># lpr(ng) printing. You may wish to override the location of the<br />
# printcap file<br />
;   printing = bsd<br />
;   printcap name = /etc/printcap</p>
<p style="padding-left: 30px;"># CUPS printing.  See also the cupsaddsmb(8) manpage in the<br />
# cupsys-client package.<br />
;   printing = cups<br />
;   printcap name = cups</p>
<p style="padding-left: 30px;">############ Misc ############</p>
<p style="padding-left: 30px;"># Using the following line enables you to customise your configuration<br />
# on a per machine basis. The %m gets replaced with the netbios name<br />
# of the machine that is connecting<br />
;   include = /home/samba/etc/smb.conf.%m</p>
<p style="padding-left: 30px;"># Most people will find that this option gives better performance.<br />
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html<br />
# for details<br />
# You may want to add the following on a Linux system:<br />
#         SO_RCVBUF=8192 SO_SNDBUF=8192</p>
<p style="padding-left: 30px;"># The following parameter is useful only if you have the linpopup package<br />
# installed. The samba maintainer and the linpopup maintainer are<br />
# working to ease installation and configuration of linpopup and samba.<br />
;   message command = /bin/sh -c &#8216;/usr/bin/linpopup &#8220;%f&#8221; &#8220;%m&#8221; %s; rm %s&#8217; &amp;</p>
<p style="padding-left: 30px;"># Domain Master specifies Samba to be the Domain Master Browser. If this<br />
# machine will be configured as a BDC (a secondary logon server), you<br />
# must set this to &#8216;no&#8217;; otherwise, the default behavior is recommended.<br />
;   domain master = auto</p>
<p style="padding-left: 30px;"># Some defaults for winbind (make sure you&#8217;re not using the ranges<br />
# for something else.)</p>
<p style="padding-left: 30px;"># The following was the default behaviour in sarge,<br />
# but samba upstream reverted the default because it might induce<br />
# performance issues in large organizations.<br />
# See Debian bug #368251 for some of the consequences of *not*<br />
# having this setting and smb.conf(5) for details.<br />
#  winbind seperator = +</p>
<p style="padding-left: 30px;">#Setup usershare options to enable non-root users to share folders<br />
# with the net usershare command.</p>
<p style="padding-left: 30px;"># Maximum number of usershare. 0 (default) means that usershare is disabled.<br />
;   usershare max shares = 100</p>
<p style="padding-left: 30px;"># Allow users who&#8217;ve been granted usershare privileges to create<br />
# public shares, not just authenticated ones</p>
<p style="padding-left: 30px;">#======================= Share Definitions =======================</p>
<p style="padding-left: 30px;"># Un-comment the following (and tweak the other settings below to suit)<br />
# to enable the default home directory shares.  This will share each<br />
# user&#8217;s home directory as \\server\username<br />
;[homes]<br />
;   comment = Home Directories<br />
;   browseable = no</p>
<p style="padding-left: 30px;"># By default, the home directories are exported read-only. Change the<br />
# next parameter to &#8216;no&#8217; if you want to be able to write to them.<br />
;   read only = yes</p>
<p style="padding-left: 30px;"># File creation mask is set to 0700 for security reasons. If you want to<br />
# create files with group=rw permissions, set next parameter to 0775.<br />
;   create mask = 0700</p>
<p style="padding-left: 30px;"># Directory creation mask is set to 0700 for security reasons. If you want to<br />
# create dirs. with group=rw permissions, set next parameter to 0775.<br />
;   directory mask = 0700</p>
<p style="padding-left: 30px;"># By default, \\server\username shares can be connected to by anyone<br />
# with access to the samba server.  Un-comment the following parameter<br />
# to make sure that only &#8220;username&#8221; can connect to \\server\username<br />
# This might need tweaking when using external authentication schemes<br />
;   valid users = %S</p>
<p style="padding-left: 30px;"># Un-comment the following and create the netlogon directory for Domain Logons<br />
# (you need to configure Samba to act as a domain controller too.)<br />
;[netlogon]<br />
;   comment = Network Logon Service<br />
;   path = /home/samba/netlogon<br />
;   guest ok = yes<br />
;   read only = yes<br />
;   share modes = no</p>
<p style="padding-left: 30px;"># Un-comment the following and create the profiles directory to store<br />
# users profiles (see the &#8220;logon path&#8221; option above)<br />
# (you need to configure Samba to act as a domain controller too.)<br />
# The path below should be writable by all users so that their<br />
# profile directory may be created the first time they log on<br />
;[profiles]<br />
;   comment = Users profiles<br />
;   path = /home/samba/profiles<br />
;   guest ok = no<br />
;   browseable = no<br />
;   create mask = 0600<br />
;   directory mask = 0700</p>
<p style="padding-left: 30px;">[printers]<br />
comment = All Printers<br />
browseable = no<br />
path = /var/spool/samba<br />
printable = yes<br />
guest ok = no<br />
read only = yes<br />
create mask = 0700</p>
<p style="padding-left: 30px;"># Windows clients look for this share name as a source of downloadable<br />
# printer drivers<br />
[print$]<br />
comment = Printer Drivers<br />
path = /var/lib/samba/printers<br />
browseable = yes<br />
read only = yes<br />
guest ok = no<br />
# Uncomment to allow remote administration of Windows print drivers.<br />
# Replace &#8216;ntadmin&#8217; with the name of the group your admin users are<br />
# members of.<br />
;   write list = root, @ntadmin</p>
<p style="padding-left: 30px;"># A sample share for sharing your CD-ROM with others.<br />
;[cdrom]<br />
;   comment = Samba server&#8217;s CD-ROM<br />
;   read only = yes<br />
;   locking = no<br />
;   path = /cdrom<br />
;   guest ok = yes</p>
<p style="padding-left: 30px;"># The next two parameters show how to auto-mount a CD-ROM when the<br />
#    cdrom share is accesed. For this to work /etc/fstab must contain<br />
#    an entry like this:<br />
#<br />
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0<br />
#<br />
# The CD-ROM gets unmounted automatically after the connection to the<br />
#<br />
# If you don&#8217;t want to use auto-mounting/unmounting make sure the CD<br />
#    is mounted on /cdrom<br />
#<br />
;   preexec = /bin/mount /cdrom<br />
;   postexec = /bin/umount /cdrom</p>
<p style="padding-left: 30px;">[shared]<br />
writeable = yes<br />
valid users = MIDKEMIA+ian,@MIDKEMIA+unixadm<br />
browsable = yes<br />
create mode = 777<br />
path = /shared</p>
<p style="padding-left: 30px;">[wwwroot]<br />
guest account = ian<br />
writeable = yes<br />
path = /var/www<br />
valid users = MIDKEMIA+administrator,@MIDKEMIA+unixadm<br />
create mode = 777<br />
browsable = yes</p>
<p style="padding-left: 30px;">[salearn]<br />
guest account = ian<br />
writeable = yes<br />
public = yes<br />
path = /etc/spamassassin/sa-learn</p>
<p>testparm</p>
<p>vi /etc/hosts<br />
add 10.x.x.3 sarig.midkemia.local sarig<br />
10.x.x.4 nakor.midkemia.local nakor</p>
<p>vi /etc/nsswitch.conf</p>
<p style="padding-left: 30px;"># /etc/nsswitch.conf<br />
#<br />
# Example configuration of GNU Name Service Switch functionality.<br />
# If you have the `glibc-doc-reference&#8217; and `info&#8217; packages installed, try:<br />
# `info libc &#8220;Name Service Switch&#8221;&#8216; for information about this file.</p>
<p style="padding-left: 30px;">passwd: files winbind<br />
shadow: files winbind<br />
group: files winbind</p>
<p style="padding-left: 30px;">#hosts: db files nisplus nis dns<br />
hosts: files dns wins</p>
<p style="padding-left: 30px;"># Example &#8211; obey only what nisplus tells us&#8230;<br />
#services: nisplus [NOTFOUND=return] files<br />
#networks: nisplus [NOTFOUND=return] files<br />
#protocols: nisplus [NOTFOUND=return] files<br />
#rpc: nisplus [NOTFOUND=return] files<br />
#ethers: nisplus [NOTFOUND=return] files<br />
#netmasks: nisplus [NOTFOUND=return] files</p>
<p style="padding-left: 30px;">bootparams: nisplus [NOTFOUND=return] files</p>
<p style="padding-left: 30px;">ethers: db files<br />
netmasks: files<br />
networks: files dns<br />
protocols: db files<br />
rpc: files<br />
services: files</p>
<p style="padding-left: 30px;">netgroup: files</p>
<p style="padding-left: 30px;">publickey: nisplus</p>
<p style="padding-left: 30px;">automount: files<br />
aliases: files nisplus</p>
<p>sudo net ads join -U administrator</p>
<p>install files for rlogin rsh-rod-server ssh</p>
<p>Next set up Apache webserver. Change www permissions and copy internal, external and squid-reports from old server to www<br />
Configure appropriate virtual servers</p>
<p>Next install Danguardian filtering.<br />
This requires squid proxy server installed.<br />
In webmin choose Squid Proxy Server in Un-Used Modules, it told me it was not installed and offered to download and install it for me. Sounds good and just worked.</p>
<p>Configuration, Access Control,<br />
Access Control Lists<br />
Create new ACL Client Address called lan, from IP 10.x.x.0 netmask 24<br />
Create new ACL Client Address called our_networks, from IP 10.x.x.0 netmask 24<br />
Proxy restrictions<br />
Add proxy restriction Allow our_networks and move above Allow localhost</p>
<p>Authentication Programs<br />
Number of authentication programs 5<br />
Authentication cache time 2 hours<br />
Authentication realm Squid proxy-caching web server</p>
<p>Install squid-cgi package</p>
<p>Download <a href="http://sourceforge.net/projects/dgwebminmodule/">Dansguardian Webmin</a> module<br />
Install Dansguardian package, this installs to a different location than the Webmin module expects, so edit module config:<br />
Full path to DG binary   /usr/sbin/dansguardian<br />
Command to restart DG (if allowed)  /usr/sbin/dansguardian -r<br />
Command to start DG (if allowed)  /usr/sbin/dansguardian<br />
Command to stop DG (if allowed)  pkill dansguardian</p>
<p>Hmm that&#8217;s it then. That was so much easier than when I first installed it.</p>
<p>Install sarg package<br />
Edit webmin module config for sarg<br />
Full path to SARG configuration file  /etc/sarg/sarg.conf</p>
<p>Install mailutils package</p>
<p>Finally install and configure SpamAssassin. I used the existing local.cf as a guideline.</p>
<p>The laptop ran fine for a few hours and then crashed. Hmm, that&#8217;s not a good start. On investigating it was very hot. After letting it all cool down, it worked again, so my thoughts were a ventilation problem. Then it re-occured, OK, there&#8217;s something else going on!<br />
It turns out the cooling fan isn&#8217;t running, so that was why it overheated. Google turned up <a href="http://dellfand.dinglisch.net/">dellfand</a>, which I downloaded and made following the site instructions. I set the fan low speed to 35C and fan high to 40C and set it to start on system start.</p>
<p>Update: This worked fine until the hot weather last week, when it overheated again. I have now changed the fan low to 30C and fan high to 35C and the system now is fairly stable at about 35C most of the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2011/05/01/proxy-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing my DVD recorder</title>
		<link>http://blog.ijhedges.com/2010/09/12/replacing-my-dvd-recorder/</link>
		<comments>http://blog.ijhedges.com/2010/09/12/replacing-my-dvd-recorder/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 11:48:01 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Mythbuntu]]></category>
		<category><![CDATA[Mythtv]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/?p=490</guid>
		<description><![CDATA[My DVD recorder that I have had for about 3 and a half years has been causing us a few problems when recording Freeview channels. We were getting breakthrough on the audio from the cable connection on the other Scart socket. This would get very distracting when watching a recording as there was this quiet, [...]]]></description>
			<content:encoded><![CDATA[<p>My DVD recorder that I have had for about 3 and a half years has been causing us a few problems when recording Freeview channels. We were getting breakthrough on the audio from the cable connection on the other Scart socket. This would get very distracting when watching a recording as there was this quiet, audible echo of another soundtrack.</p>
<p>A few months ago we picked up a usb TV tuner at Costco and that got me thinking about a PC based solution for the problem. About 9 years ago when we first attached a PC to our HiFi system, it was a very low specification and although we had a TV tuner card, the PC wasn&#8217;t powerful enough to record anything usable. As time went on, the PC has been replaced a few times and about 5 years ago we installed a piece of software called Meedio that we used to manage/play our video and audio files. There was also Meedio TV to record from TV, but we never explored it as the PC was still fairly low spec. At the time we chose Meedio, I had been aware of a Linux based program called <a href="http://www.mythtv.org/">Mythtv</a>, but due to the fact that the PC was low spec and I was more familiar with Windows, this was discounted.</p>
<p>Roll forward to this year and I explored the options again. This time Mythtv sounded worth investigating, so I downloaded a copy of <a href="http://mythbuntu.org/">Mythbuntu</a>, this is a Ubuntu Linux operating system bundled with Mythtv. I am currently using Ubuntu on a PC providing filtered internet access for the kids, so was more familiar with this than any other distribution. Using a 120GB disc in the old Dell desktop we replaced 18 months ago, I installed Mythbuntu and started trying it out. In the past few years Linux installations have become a breeze. My first installation was Slackware 2 back in 1995, and that was a command line experience that was challenging. Now, you just put the CD in and get lead through the install just like a Windows operating system installation. Anyway, after less than 30 minutes, I had the operating system installed, Mythtbuntu configured with my usb TV tuner and the first TV programs recording. I set the program guide to pick up from the cable guide and that gave me a few days available programming.</p>
<p><span id="more-490"></span>One of the first things I experimented with was changing the program guide to get its data from Radio Times using the xmltv program. I found <a href="http://www.mythtv.org/wiki/Uk_xmltv">configuration information for UK xmltv</a> on the Mythtv website to help with that. Once I got this working, I then had 14 days of program guide which gave a lot more flexibility in programming. At this point I was only able to record Freeview channels.</p>
<p>Having proved that the concept worked, I set about gathering the required parts. The existing PC attached to our HiFi was an old HP Evo small form factor which would enable me to install 2 PCI cards to provide the connections to cable and aerial. I selected a Hauppauge Nova-T 500 dual digital card to allow recording/viewing of 2 Freeview channels. To connect to the cable box, I needed an analogue tuner with composite input, so a Hauppauge PVR 150 card was selected. As usual, my thoughts turned to Ebay as the source for all of the parts and quickly acquired the needed cards. While contemplating the plan for how I would build the system while providing the minimum downtime for the existing functions for the HIFi PC, I concluded it was best to get a second Evo SFF PC and build the system in that and then swap once it was setup and working. I bought a used 160GB disc off ebay (not a good idea &#8211; more later) and started to assemble the new system. Needless to say this was only a week before we went on holiday, so it wasn&#8217;t going to be in full operation before we went.</p>
<p><span style="text-decoration: underline;">Hardware</span></p>
<ul>
<li>HP Evo SFF PC (2.53GB Processor, 1.2GB RAM, on-board sound and graphics)</li>
<li>Seagate 160GB IDE Hard drive</li>
<li>Hauppauge Nova-T 500 Dual DVB PCI tuner card</li>
<li>Hauppauge WinTv PVR-150 tuner card</li>
</ul>
<p>Initially, I installed the PVR 150 in the bottom PCI slot and the T 500 in the top PCI slot, however the system would only boot sometimes that way around, so I swapped them over.</p>
<p>I installed Mythbuntu from the CD using the <a href="http://mythbuntu.org/wiki/installation-guide">Mythbuntu installation guide</a> for help. The last step of Mythbuntu installation launches the Mythtv backup setup. This is where you configure the cards for recording and the locations for storing your files. Mythtv software is split into 2 halves; there is the backup that controls the cards and the recordings and the frontend that displays the recordings and is the user interface. As I intended to possibley attach multiple frontends to this backend, I set a static IP address for my network during the configuration. As I&#8217;m in the UK I selected PAL-I for TV format and left the channel frequency table at try-all. Local timezone was set to auto. All the other settings in the general section was left as default.</p>
<p>Next setting up the cards. The order that the cards are added to the system detirmines the priority of the card. It took me a few goes to get the cards working and then get them in the right order ( I have currently have cards 7,8 and 12). First add the first channel of the digital card:</p>
<ul>
<li>DVB DTV Capture card (v3.x)</li>
<li>/dev/dvb/adaptor0/frontend0</li>
</ul>
<p>finish. Then add the second channel</p>
<ul>
<li>DVB DTV Capture card (v3.x)</li>
<li>/dev/dvb/adaptor1/frontend0</li>
</ul>
<p>finish. Then add the analogue card:</p>
<ul>
<li>IVTV MPEG-2 encoder card</li>
<li>/dev/video0</li>
<li>Composite1</li>
</ul>
<p>finish. Once the cards are added, press Esc to return to the main menu.</p>
<p>Setting video sources. I created a source called Cable and another called Freeview. Both were initially set to use the transmitted guide only (EIT). Once the sources are added, press Esc to return to the main menu.</p>
<p>Setting input connections. This is where you connect the card to the source. For DVB adaptor0/frontend0 I selected Freeview as the source and selected scan for channels. This then scanned and populated the channel table with the Freeview channels. I set DVB adaptor1/frontend0 to Freeview as well, but didn&#8217;t re-scan for channels. MPEG /dev/video0 Composite1 was set to Cable source. I scanned for channels but shouldn&#8217;t have.</p>
<p>The storage directories can remain the defaults for the moment.</p>
<p>The backend is basically setup at the moment. Press Esc to exit the backend setup menu and allow mythfilldatabase to run.</p>
<p>Run the Mythtv Frontend and hopefully you will have some channels and be able to change between them.</p>
<p>The next thing I did was to configure the program guide to get its data from Radio Times. As mentioned above, I found the <a href="http://www.mythtv.org/wiki/Uk_xmltv">configuration information for UK xmltv</a> on the Mythtv website helped get this working. I went back into the Mytv backend setup and configured mythfilldatabase to run daily early in the morning. I found if I ran mythfilldatabase from the command line, it worked fine, however if Mythtv ran it then an error occured. It failed with error 512. I found the following on the unbuntu forums <a href="http://ubuntuforums.org/showthread.php?t=624517">http://ubuntuforums.org/showthread.php?t=624517</a> which gave the the answer. The configuration was setup in my account, but not for the mythtv account that was running the software. The solution that I chose was to link the configuration files in my account into the mythtv account</p>
<ul>
<li> cd /home/mythtv/.mythtv</li>
<li>sudo ln -s /home/ian/.mythtv/Cable.xmltv</li>
<li>sudo ln -s /home/ian/.mythtv/Freeview.xmltv</li>
</ul>
<p>Changing the permissions on my files so that mythtv could read and write to them resolved the mythfilldatabase error. There was another error when filling the database:<br />
XMLTV requires a Date::Manip timezone of +0000 to work properly.<br />
I found the answer to this bug here <a href="http://www.artificialworlds.net/freeguide/FAQ/DateManipError">http://www.artificialworlds.net/freeguide/FAQ/DateManipError</a> and following the instructions downloaded the Debian packages to resolve this problem. Finally to resolve a permissions problem with the cache file,  (~/.xmltv/cache) I changed permissions to write for other. At this point xmltv would download the guide information automatically from Radio Times every morning.</p>
<p>This was the state the system was left in when we went on holiday. It was scheduled to record all the Freeview programs we wanted while on holiday in parallel with the DVD recorder. When we came back it had performed perfectly, so it was time to swap it into full use.</p>
<p>That&#8217;s for another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2010/09/12/replacing-my-dvd-recorder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling RAID 1 on a Dell Vostro 220</title>
		<link>http://blog.ijhedges.com/2009/03/13/enabling-raid-1-on-a-dell-vostro-220/</link>
		<comments>http://blog.ijhedges.com/2009/03/13/enabling-raid-1-on-a-dell-vostro-220/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 20:31:41 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[intel matrix storage console]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid 1]]></category>
		<category><![CDATA[vostro 220]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/?p=400</guid>
		<description><![CDATA[Over Christmas, the main hard disc on our 5.5 year old Dell mini tower failed, causing us to replace the computer with a new one. We could have replaced the disc, but we had had other components in it fail in the past year, so its time was up. We didn&#8217;t really loose any data, [...]]]></description>
			<content:encoded><![CDATA[<p>Over Christmas, the main hard disc on our 5.5 year old Dell mini tower failed, causing us to replace the computer with a new one. We could have replaced the disc, but we had had other components in it fail in the past year, so its time was up. We didn&#8217;t really loose any data, as the majority was already stored on our server and backed up regularly. What was more of a problem was the assortment of programs that had been installed and configured over the years. The thought of having to re-install and reconfigure these wasn&#8217;t something I was looking forward to, especially if I had to change the operating system to Windows Vista, from Windows XP. Some of the programs would need upgrading to run on Vista and the cost would be prohibitive.</p>
<p>Dell do a range of computers for Small Business, called Vostro which are very well specified and which also offered the option to &#8216;downgrade&#8217; from Vista to XP for Â£10. This seemed a very good solution to me. We specified a Vostro 220 mini tower system with a dual output graphics card to match the functionality we already had. This also became the point at which we changed from a pair of 17&#8243; CRT monitors to a pair of 19&#8243; widescreen TFT monitors. The thought was to re-arrange our desk to minimise the items on it. To accomplish this we bought a Belkin OmniView Pro2 KVM (keyboard, video, mouse) switch which would allow us to run both the new computer and Jo&#8217;s laptop sharing one of the screens and the other screen only attached to the new system.</p>
<p><img class="picture_float_left" title="ATI Radeon HD 3650 graphics card" src="http://gallery.ijhedges.com/gallery/d/5056-1/graphics_card.jpg" border="0" alt="ATI Radeon HD 3650 graphics card" width="300" />When the system arrived, I was in for a surprise with the dual outputs on the graphics card. I was expecting a pair of DVI (white digital connector on the left) outputs. I should have checked the specifications of the ATI Radeon HD 3650 card that Dell provided more carefully. It had one DVI output (which I promptly had to convert back to VGA to attach to the KVM switch) and a Display Port and HDMI output. I had to get a HDMI to DVI cable to attach the second monitor.<br />
<span id="more-400"></span><br />
<a href="http://gallery.ijhedges.com/gallery/d/5058-1/vostro_220.jpg"><img class="picture_float_left" title="Dell Vostro 220 mini tower" src="http://gallery.ijhedges.com/gallery/d/5060-1/vostro_220.jpg" border="0" alt="Dell Vostro 220 mini tower" width="300" /></a>I had planned to move my Creative Labs Audigy 2 soundcard and Live Drive (drive bay mounted additional inputs including Firewire which I use for my negative scanner) from our old system to the new computer. Installing and configuring the sound card was easy and then I tried to install the drive bay expansion. The old system had the required Molex power connection (white connector with 4 wires) to power the expansion device, however the new system only had SATA power connectors for the drives, even for the DVD drive. I had to buy a convertor cable to change from SATA power to Molex power before I could install it. Then when I tried to reattach the front of the case, I found that it was designed for optical devices in the drive bays and didn&#8217;t provide a full 5.25 drive bay hole. I could have tried to hack the case to make it fit, but in the end replaced the sound card with a Creative Labs Audigy 2ZS with external expansion. This still required the SATA to Molex power convertor to provide the additional power to the sound card to power the external box, but is a better solution.</p>
<p>I purchased a second hard disc this week to enable RAID 1 on our Vostro 220 mini tower. RAID 1 is when the same data is written to 2 discs, meaning that the discs are mirrored. This provides redundancy if one of the hard disc fails; the computer will carry one working as normal. You then just replace the failed disc and re-create the mirror to restore the fault tolerance.  We didn&#8217;t buy the second hard disc at the time we bought the system from Dell, for a couple of reasons. First, we were spending enough at the time and it wasn&#8217;t necessary to make the system work. Secondly, Dell wanted Â£130 for an additional 500GB hard disc, but sourcing it seperately would be about Â£50.</p>
<p><a href="http://gallery.ijhedges.com/gallery/d/5063-1/intel_matrix_storage_console.jpg"><img class="picture_float_left" title="Intel Matrix Storage Console" src="http://gallery.ijhedges.com/gallery/d/5063-1/intel_matrix_storage_console.jpg" border="0" alt="Intel Matrix Storage Console" width="300" /></a>I installed the second drive in the lower hard disc bay in the tower and attached the available power connector to it. There wasn&#8217;t a spare SATA data cable attached to the motherboard, so I had to use a SATA cable from a USB to IDE/SATA kit that I had. This only need to be a short cable as the motherboard connections were almost under the hard disc. After restarting the computer, I entered the BIOS (F2 on startup), the second hard disc was already detected and then I changed the SATA Mode to RAID from AHCI (under Integrated Peripherals). I saved the settings and restarted the computer. Windows informed me that new hardware was detected and wanted to restart, so I let it. The next time it started I ran the Intel Matrix Storage Console. I switched to Advanced Mode and saw that both drives were showing (the original on Port 0 and the new one on Port 2).Â  I selected Actions, Create RAID Volume from Existing Hard Drive. I then selected RAID 1 (mirroring), the other option RAID 0 (striping) creates a single volume striped across both discs. This gives a single large partition, but in my opinion is worse than two separate discs because if one drive fails, you will loose all data stored on both discs instead of just loosing one disc worth. Anyway back to the RAID 1 creation, I then selected the disc on PORT 0 as the source and the one on Port 2 as the member disc and let it get on with creating the mirror. It took just under 3 hours to mirror the existing 500GB drive. I am now protected if my system disc fails, which is a good place to be.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2009/03/13/enabling-raid-1-on-a-dell-vostro-220/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Kensington VoIP handset</title>
		<link>http://blog.ijhedges.com/2008/11/15/kensington-voip-handset/</link>
		<comments>http://blog.ijhedges.com/2008/11/15/kensington-voip-handset/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 16:29:52 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[kensington Vo200]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/?p=382</guid>
		<description><![CDATA[I signed up with Skype a few months ago to give me another VoIP telephony option. Skype to Skype calls are free, so it seemed worth setting up. I originally got myself a Bluetooth headset. Initially, I had problems connecting the headset to the Bluetooth on my laptop. I upgraded the Bluetooth stack to the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="picture_float_left" title="Kensington Vo200" src="http://gallery.ijhedges.com/gallery/d/4867-1/kensington_vo200.jpg" width="200" border="0" alt="Kensington Vo200" />I signed up with Skype a few months ago to give me another VoIP telephony option. Skype to Skype calls are free, so it seemed worth setting up.</p>
<p>I originally got myself a Bluetooth headset. Initially, I had problems connecting the headset to the Bluetooth on my laptop. I upgraded the Bluetooth stack to the latest Toshiba stack and then was able to successfully connect the headset to my laptop and configure Skype to use it. However, shortly afterwards, the headset locked up completely and I was unable to use it.</p>
<p><span id="more-382"></span></p>
<p><img class="picture_float_left" title="Kensington Vo200 open" src="http://gallery.ijhedges.com/gallery/d/4869-1/kensington_vo200_open.jpg" border="0" alt="Kensington Vo200 open" />While looking around for an alternate handset, I came across the <a href="http://us.kensington.com/html/12632.html">Kensington Vo200 Bluetooth Internet phone</a>. This is a PCMCIA sized telephone handset. It plugs into a laptop&#8217;s PCMCIA card slot to charge and then connects to the laptop using Bluetooth.</p>
<p>You have to install the software that comes with it for the charging to work. Once I installed the software, it told me that it only worked with the Widcomm Bluetooth stack. Great that the instructions don&#8217;t mention that. After googling the problem, I came across a user comment on the Expansys-usa website, commenting that the <a href="http://www.expansys-usa.com/r.aspx?i=147712&amp;r=5417">Kensington Vo200 works with the Toshiba Bluetooth stack</a>. It mentioned that the charging light didn&#8217;t come on for about 2.5 hours, and I found this to be accurate. After the handset was charged, I was able to create a new connection to it using the Toshiba Bluetooth Settings.</p>
<p>It was then possible to change the Skype audio settings to use the Bluetooth wave audio device. The handset gave clear audio when used as a handset. In testing, I found the handsfree operation to be noisy. When charging, the handset sticks out of the PCMCIA socket about 1/4 inch. All in all, for just over Â£10 on Ebay for a new handset, I think it was a good buy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2008/11/15/kensington-voip-handset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the time on Netgear FVS124G router</title>
		<link>http://blog.ijhedges.com/2008/10/18/setting-the-time-on-netgear-fvs124g-router/</link>
		<comments>http://blog.ijhedges.com/2008/10/18/setting-the-time-on-netgear-fvs124g-router/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 19:22:33 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[netgear fvs124G]]></category>
		<category><![CDATA[ntp netgear]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/?p=427</guid>
		<description><![CDATA[The Netgear FVS124G router has settings to allow it to pick up the time from NTP (Network Time Protocol) servers. I initally set this to my local NTP server with a backup on an online one. However, there is no way to manually set the time initially. When you power on the router the date [...]]]></description>
			<content:encoded><![CDATA[<p>The Netgear FVS124G router has settings to allow it to pick up the time from NTP (Network Time Protocol) servers.</p>
<p>I initally set this to my local NTP server with a backup on an online one. However, there is no way to manually set the time initially. When you power on the router the date is set to 1st January 2005. The problem with this is that using NTP will only correct a small time difference; 3.5 years is a big large to correct.</p>
<p>I had almost given up on resolving it when I thought to try connecting using telnet to the router.<br />
The user name and password for the telnet session are the default admin credentials (not the ones I had changed for the web interface). Once connected, press Ctrl C, then type Cli (Capital C is important). This gets you to a unix type shell. Then cd config cd sntpc show This will confirm that the time is sychronised and gets around the large time differnece. Then type exit and logout.</p>
<p>The bonus of fixing the time is the firewall logging now works properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2008/10/18/setting-the-time-on-netgear-fvs124g-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuesday Tech Troubles and Triumphs</title>
		<link>http://blog.ijhedges.com/2008/03/22/tuesday-tech-troubles-and-triumphs/</link>
		<comments>http://blog.ijhedges.com/2008/03/22/tuesday-tech-troubles-and-triumphs/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 20:44:32 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://blog.ijhedges.com/2008/03/22/tuesday-tech-troubles-and-triumphs/</guid>
		<description><![CDATA[Tim at The Inflatable Soapbox blind sided me this with this post and tag on Tuesday night. I wasn&#8217;t able to reply on Tuesday as I was replacing a failing hard disc and reinstalling Windows XP on a laptop for a colleague at work. I&#8217;d forgotten how long it takes from plain XP, through Service [...]]]></description>
			<content:encoded><![CDATA[<p>Tim at <a href="http://timkissane.com/">The Inflatable Soapbox</a> blind sided me this with this <a href="http://timkissane.com/index.php/archives/44">post and tag</a> on Tuesday night.</p>
<p>I wasn&#8217;t able to reply on Tuesday as I was replacing a failing hard disc and reinstalling Windows XP on a laptop for a colleague at work. I&#8217;d forgotten how long it takes from plain XP, through Service Pack 2 and then downloading and installing the remaining 91 security patches. Still, after all that I was able to install <a href="http://www.avast.com">Avast</a> as a free Anti-Virus program and <a href="http://www.openoffice.org/">Open Office</a> as a free office suite (much better than MS Works that was previously on the system).</p>
<p>On Wednesday at work, I got called to look at a printer with a paper jam. Usually a simple fix, in the worse case maybe a pair of tweezers to remove the last bit of torn paper. The printer was an old, but very serviceable LaserJet 4000, not very heavy use, so plenty of life left in it. Of course, no maintenance on it, its not worth it for a printer that&#8217;s getting on for 9-10 years, so if I didn&#8217;t fix it, we would replace it&#8230;it would be cheaper than getting it fixed. After 10 minutes at the printer location pulling scraps of paper out of it, I took it back to my desk. I ended up unscrewing just about every bit that would come off, before I could finally get the tweezers to the last bits of crinkled paper and pull it out. All in all, I removed a piece of paper about the size of my hand, but it was finally working again.  Just time to get it back on the shop-floor and get the toner off my hands before going home.</p>
<p><span id="more-308"></span>One of my memorable tech troubles was a few years ago, I can&#8217;t remember if it was on a Tuesday or not. We were upgrading our local SMS server (used for software and patch distribution) from Windows Server 2000 to Windows Server 2003. On the face of it all the hardware was supported, so there shouldn&#8217;t be any issues. Any applicable updates had been deployed successfully to the client PCs in the morning, so the afternoon was an acceptable timeframe for the upgrade. The upgrade was run and completed successfully. Big sigh of relief when the logon screen came up. However, the network card didn&#8217;t detect on logon, so the server was shut down and restarted. Watching the message that no RAID array was found was not what I wanted to see. For those non-technical reading this, a RAID array is a collection of discs that your data is spread across to provide redundancy is case of a single disc failure, if it couldn&#8217;t find the RAID array it meant it couldn&#8217;t find any data on the server, in essence I had a box with some pretty lights, but not serving its purpose.</p>
<p>So, some urgent searching of the Dell site and Google uncovered the answer. I should have upgraded the firmware on the RAID controller before upgrading to Windows 2003. The <a href="http://en.wikipedia.org/wiki/Firmware">firmware</a> is the program that controls how the RAID controller works. On investigation, it was several versions older than that needed to work with Windows 2003, oops. Needless to say, the version that was currently installed wouldn&#8217;t upgrade directly to the version I needed in one go, so several updates and restarts later, all was working well again. No downtime as far as the use of the server went, but got the adrenalin going. The moral of this story, &#8216;if the instructions states there are prerequisites like firmware and driver updates, there is a reasonable chance they are not optional&#8217;. From it I learnt to carefully read and follow instructions when upgrading operating systems &#8211; especially on a server in a production environment.</p>
<p>So, a bit later than Tuesday, but there&#8217;s a triumph and a trouble that became a triumph.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2008/03/22/tuesday-tech-troubles-and-triumphs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My network router. RIP</title>
		<link>http://blog.ijhedges.com/2007/08/26/my-network-router-rip/</link>
		<comments>http://blog.ijhedges.com/2007/08/26/my-network-router-rip/#comments</comments>
		<pubDate>Sun, 26 Aug 2007 20:20:00 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[network router]]></category>

		<guid isPermaLink="false">http://newblog.ijhedges.com/?p=243</guid>
		<description><![CDATA[At lunchtime today Jo mentioned she was having trouble connecting wirelessly to our network. This has happened a few of times in the last couple of weeks, but retrying or in one case restarting the router resolved the issue. Not today! Wired connection was working fine, but there was no wireless. After resetting the router [...]]]></description>
			<content:encoded><![CDATA[<p>At lunchtime today Jo mentioned she was having trouble connecting wirelessly to our network. This has happened a few of times in the last couple of weeks, but retrying or in one case restarting the router resolved the issue.</p>
<p>Not today! Wired connection was working fine, but there was no wireless. After resetting the router and re-entering the configurations, I had intermittant wireless, but now no routing of wireless connections to the internet. Also, it was no longer logging any connection details.</p>
<p>I have had the router since February 2005, so it has been on for most of that time continuously. I updated the firmware from the default Linksys to <a href="http://www.hyperwrt.org/">Hyperwrt</a> when I got it which gave me the ability to log the incoming and outgoing firewall connections and messages. This has had its uses; a few weeks ago I was able to identify a test signal from my VOIP service that was trying to connect every few seconds.</p>
<p>So, unexpectedly, I had to go out and buy a replacement router this afternoon. Linksys routers used to run Linux. There is a great support for 3rd party firmware upgrades to the Linux based routers, one good site for this is <a href="http://www.linksysinfo.org">Linksysinfo</a>. Unfortunately, a few years ago, Linksys changed their routers from using Linux, which means the 3rd party options are now limited.</p>
<p>I now have full connectivity restored, but have had to sacrifice the logging ability as this isn&#8217;t part of the standard firmware.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2007/08/26/my-network-router-rip/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How do you store your computer data?</title>
		<link>http://blog.ijhedges.com/2007/04/03/how-do-you-store-your-computer-data/</link>
		<comments>http://blog.ijhedges.com/2007/04/03/how-do-you-store-your-computer-data/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 18:53:43 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[data backup]]></category>
		<category><![CDATA[data storage]]></category>

		<guid isPermaLink="false">http://newblog.ijhedges.com/?p=171</guid>
		<description><![CDATA[I know my answer to this question, but I am not sure it is the correct way going forward as data quantity increases. I have the majority of my data located on a server computer with a RAID hard disc array. This means that I can have a hard disc fail and not loose any [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gallery.ijhedges.com/gallery/d/865-2/tape_drive.jpg" alt="Tape Drive" class="picture_float_left" /><br />
I know my answer to this question, but I am not sure it is the correct way going forward as data quantity increases.</p>
<p>I have the majority of my data located on a server computer with a RAID hard disc array. This means that I can have a hard disc fail and not loose any data before I can replace it. I backup the data stored on this computer to tape every week to a pool of weekly and monthly backup tapes. This gives me the ability to restore previous versions of files that are deleted or overwritten.</p>
<p>My computer, with the software applications on, accesses the data on the server and doesn&#8217;t store any critical information locally. This means if I have a hard disc failure on this machine, I don&#8217;t loose any critical data and only have to reinstall the operating system and programs.</p>
<p>As I scan my film negatives, I am scanning them at the highest resolution that the film scanner is capable of and storing them in tiff format. For long term storage of the scanned images, I have created par files for each image, which will allow me to recreate the image if the original is damaged. Each film has been stored on DVD, 2 copies, each on different manufacturer&#8217;s DVD. One set will be stored at my mum&#8217;s and I will retain the other scanned set as well as the original negatives.</p>
<p>I know that there are other things I should be doing such as storing my tapes at a different location rather than at home. This locating of storage media remotely protects against data loss in the case of a fire. Although the original data would be lost, I would be able to recover it from backup.</p>
<p>Coming from an IT environment, I am aware of the importance of data backup and am able to implement a solution that will work for me. I often wonder what, if anything, most computer users do to ensure the long term protection of their data. There are USB flash drives, external hard drives, online storage and DVD/CD storage available. As the home computer becomes more important for storing digital photos and other information, I wonder what will finally be targeted at the home user as a out of the box minimal configuration solution.</p>
<p>What do you do to protect your data?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2007/04/03/how-do-you-store-your-computer-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VoIP phone update</title>
		<link>http://blog.ijhedges.com/2007/03/23/voip-phone-update/</link>
		<comments>http://blog.ijhedges.com/2007/03/23/voip-phone-update/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 20:07:59 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[call charges]]></category>
		<category><![CDATA[sipura 3000]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://newblog.ijhedges.com/?p=167</guid>
		<description><![CDATA[Back in June last year, I changed over to using Voice over Internet Protocol phone (VoIP) for all of my calls. This has worked really well and has allowed several free international calls. This was due to the way that the VoIPCheap account works. When you add credit to your account, it allows 300 minutes [...]]]></description>
			<content:encoded><![CDATA[<p>Back in June last year, I changed over to using <a href="http://blog.ijhedges.com/archives/2006/06/entry_102.php">Voice over Internet Protocol phone</a> (VoIP) for all of my calls. This has worked really well and has allowed several free international calls. This was due to the way that the <a href="http://www.voipcheap.co.uk">VoIPCheap</a> account works. When you add credit to your account, it allows 300 minutes of free calls a week to certain countries for the next 120 days after the credit is added. Calls to UK landlines used to be free also, but soon became 1p per minute. After the 120 &#8216;Freedays&#8217; are over there is a minimal charge per minute.</p>
<p>Anyway, I was checking my account balance yesterday and realised that I was nearly out, so I added more credit. I should have checked their tarrifs first as most of the rates have gone up. For example a UK landline call is now 1.5p per minute; this is however cheaper than my land line provider, VirginMedia, who charge 3p per minute plus a 6p connection charge. I checked the tarrifs for the other VoIP accounts that I have, <a href="http://www.voiptalk.org">VoipTalk</a> and <a href="http://www.sipgate.co.uk">SipGate</a> and found that for UK calls, Sipgate works out best for me. I have added credit to this account and changed the dial plan on my Linksys SPA-3000 adapter to use Sipgate for all UK calls and VoipCheap for all international calls.</p>
<p>A couple of weeks ago, I had an unexpected premium rate call on my land line bill. As I use <a href="http://www.clacy.com/sipura/">Sipura 3000 System Tray Monitor</a> to monitor the phone adapter, I was able to confirm that we had not made the call and get a refund.</p>
<p>After 9 months of using VoIP for all my calls from home I am very pleased with the results. I also get the benefit, when I add credit, of the free international calls. If you are reading Lyall, I&#8217;ll try to call you next weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2007/03/23/voip-phone-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mum&#8217;s computer</title>
		<link>http://blog.ijhedges.com/2006/08/27/mums-computer/</link>
		<comments>http://blog.ijhedges.com/2006/08/27/mums-computer/#comments</comments>
		<pubDate>Sun, 27 Aug 2006 20:03:21 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://newblog.ijhedges.com/?p=101</guid>
		<description><![CDATA[About a month ago, Mum&#8217;s computer crashed just before we went on holiday. I managed to coax it back into life, but the disc was failing. Last Monday, I replaced the hard disc, but after copying that data over the system was in a worse state than I thought. On Friday, I took the computer [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gallery.ijhedges.com/weathericons/sunny_intervals.jpg" class="picture_float_left" alt="Sunny Intervals" height="64" width="64" /><br />
About a month ago, Mum&#8217;s computer crashed just before we went on holiday. I managed to coax it back into life, but the disc was failing. Last Monday, I replaced the hard disc, but after copying that data over the system was in a worse state than I thought. On Friday, I took the computer away and rebuilt it.</p>
<p>The computer is now back and working. When I took the computer back today, I looked at the VOIP router that I got Mum for her birthday. I got a <a href="http://www.draytek.co.uk/products/vigor2500v.html">Draytek Vigor 2510V</a> ADSL router with VOIP; this was an all in one solution for ADSL and had built in VOIP (Voice over IP). However, when I first installed it last weekend, the call quality was poor with a lot of echo on the line. I changed the codec used to G.711 today and now the call quality is fine. It is configured using VOIPCheap the same as our VOIP service. [<a href="http://blog.ijhedges.com/archives/2006/06/entry_102.php">previous post</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ijhedges.com/2006/08/27/mums-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

