Re: [Dorset] Ubuntu failed update....

2010-10-26 Thread Sean Gibbins
On 26/10/10 02:51, Andrew Morgan wrote:
 If there are video problems then log in to a console (Ctrl+Alt+F1) and
 edit /etc/X11/xorg.conf. Change the Driver in Section Device to
 one of nouveau, nv or nvidia, then save and restart gdm.

 If there were problems upgrading packages then run 'sudo
 dpkg-reconfigure -a'. I've had to do that a few times due to failed
 upgrades. I think I've pulled power out of a computer during an
 upgrade twice now!


Also, make a note of what's what in terms of your partitions, so that if
you need to reinstall afresh your /home partition is safe. These days I
pretty much always download the media and upgrade in this way to ensure
that new features are not held back by an old configuration, etc. The
only box that gets a dist-upgrade is my headless mini-itx server.

If you decide to go this route you will probably want to back up /home
and /etc too, if that's not something you do as a matter of course.

Sean

-- 
music, film, comics, books, rants and drivel:

www.funkygibbins.me.uk


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu failed update....

2010-10-26 Thread Dan Jones

  I would have tried going straight from 8.04 LTS to 10.04 LTS myself if
  Ralph hadn't pointed out to me that Ubuntu explicitly state that it
  won't work.

I think I was running on too much wishful thinking, going between 2 LTS
versions I thought it would be a doddle. Evidently not, I had to shut my
machine down last night as 2 Xeons are very good space heaters and now the
poxy thing won't boot - fails at initramfs, says that (somehow...) the disk
GUUID has changed

So much for it being easy, time for a fresh install.

~Dan
--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu failed update....

2010-10-26 Thread Ralph Corderoy

Hi Peter,

 The only problem I've seen is when trying to use a Custom Mouse
 Pointer in the Clearlooks theme desktop, I have a relatively high
 resolution LCD screen and I like a large black pointer, and it keeps
 breaking up.  When this happens Firefox also goes completely doolally
 and text characters also break up and become completely unreadable
 :-(

Sounds like you may want to try switching to a software pointer instead
of a hardware pointer in your X configuration if your graphics driver
supports it.  But I'm unsure how to go about that in newer Ubuntus.

Cheers,
Ralph.


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu failed update....

2010-10-26 Thread Ralph Corderoy

Hi Peter,

  Anyway, I recently upgraded my laptop via the Update Manager from
  8.04 to 9.04 then to 10.04 over the space of 2 - 3 days and
  everything went very smoothly.
 
 That's the sequence you suggest above but it means you've missed 9.10
 which *isn't* allowed or possible.  9.04 is non-LTS and the only
 upgrade path is 9.10 so you must either have done that too or leaped
 LTS to LTS.

I've a faint recollection your laptop was running 8.10 which would match
your getting to 10.04 in two upgrades and yet not being offered the big
leap from 8.04?  It was also explain me pointing out that you couldn't
make a single leap but would have to upgrade through the intervening
ones.  :-)

Cheers,
Ralph.


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Next Meeting - One Week Tonight

2010-10-26 Thread Terry Coles
Hi,

The next meeting is just one week tonight and will be at 8pm in the Crown 
Hotel in Blandford on Tuesday 2nd Nov 2010.

More details at 
http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#crown_hotel.

This time I'm hopeful of making it ;-)

-- 
Terry Coles
64 bit computing with Kubuntu Linux


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu failed update....

2010-10-26 Thread Peter Washington
On 26 October 2010 13:01, Ralph Corderoy ra...@inputplus.co.uk wrote:

 Hi Peter,

 The only problem I've seen is when trying to use a Custom Mouse
 Pointer in the Clearlooks theme desktop, I have a relatively high
 resolution LCD screen and I like a large black pointer, and it keeps
 breaking up.  When this happens Firefox also goes completely doolally
 and text characters also break up and become completely unreadable
 :-(

 Sounds like you may want to try switching to a software pointer instead
 of a hardware pointer in your X configuration if your graphics driver
 supports it.  But I'm unsure how to go about that in newer Ubuntus.

What the Blue Blistering Blazes is a Software Pointer when it's at
home, it's ALL software isn't it ??

Seriously though, what is the difference and why woiuld the software
version help me ?

And how the heck do I do it anyway ?

HELP !!  please !

-- 

Cheers Peter

--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Netgear readynas duo, nfs4 and iSCSI target

2010-10-26 Thread John Cooper
 My icybox died recently and I've just replaced it with a Netgear 
readynas duo 2110 1GB disc* . It runs Debian Sarge. I am really pleased 
with it. Very easy to configure through the web interface, but it also 
has a Linux application on the CD.


I tried to change the NFS mount from v3 to v4 but it would not mount, 
operation not permitted.


sudo mount -t nfs4 -o rw,hard,intr,bg backupserver:/ /archive

After adding the SSH addon (see below) and logging on, I had to add 
fsid=0 to /etc/exports


/backup *(fsid=0,insecure,insecure_locks,rw,async)

which defines the NFS v4 pseudo-filesystem root (only define one at the 
top level). You then only need to mount the root backupserver:/ in v4, 
which in my config actually mounts the NAS /backup directory.


I was pleased to find it can run as an iscsi target too. It also has 
links to the SSH .bin install file to get SSH access.

http://readynasfreeware.org/projects/nas-iscsi-target/wiki/New_Version

After installing I could not get a response when trying to initiate to 
the server


iscsiadm -m discovery -t st -p backupserver --discover

The rc start/stop script /etc/init.d/rfw-iscsi-target needed the OPTIONS 
set to the config path -c /etc/ietd.conf, which it should use by 
default. It also didn't stop the ietd process so fixed that too.


#!/bin/sh
#
# chkconfig: - 39 35
# description: Starts and stops the iSCSI target
# debianized start-stop script

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/ietd
OPTIONS=-c /etc/ietd.conf
PIDFILE=/var/run/iscsi_trgt.pid

if [ -f /lib/init/vars.sh ]; then
. /lib/init/vars.sh
fi

if [ -f /lib/lsb/init-functions ]; then
. /lib/lsb/init-functions
fi

if [ -f /etc/sysconfig/iscsi-target ]; then
. /etc/sysconfig/iscsi-target
fi

RETVAL=0

ietd_start()
{
log_daemon_msg Starting iSCSI Target ietd
modprobe -q crc32c
modprobe iscsi_trgt
start-stop-daemon --start --exec $DAEMON -- $OPTIONS
PID=`pidof ietd`
echo $PID  $PIDFILE
log_end_msg $?
}

ietd_stop()
{
log_daemon_msg Stopping iSCSI Target ietd
ietadm --op delete
echo  Removing PID
if [ -r $PIDFILE ]
then
cat $PIDFILE
start-stop-daemon --stop --exec $DAEMON --pidfile $PIDFILE
rm -f $PIDFILE
else
pkill ietd
fi
log_end_msg $?
}

ietd_status()
{
PID=`pidof ietd`
if [ $PID ]; then
echo iSCSI Target (pid $PID) is running...
else
echo iSCSI Target is stopped.
exit 1
fi
}

case $1 in
  start)
ietd_start
;;
  stop)
ietd_stop
;;
  restart)
ietd_stop
sleep 1
ietd_start
;;
  status)
ietd_status
;;
  *)
echo $Usage: $0 {start|stop|restart|status}
exit 1
esac

exit 0


*Novatech £180 with an offer for a free second 1GB disc from Netgear. I 
also purchased a new intel i3 laptop with no OS, saving £80 M$ tax.


--
--
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue