Re: [SLUG] Banks colluding with Microsoft ?

2004-10-25 Thread Andrew Monkhouse
On Tue, 26 Oct 2004 15:44:05 +1000 Jon Austin wrote:
 
> Yes, it is the point, but MS managed to fracture that with their own
> JVM implementation which is not 100% compatible with code written for
> Sun JVM and vice versa.
>
> 
> On Tue, 26 Oct 2004 15:40:16 +1000, Russell Davies
> <[EMAIL PROTECTED]> wrote:
>
>> Does anybody know someone who works for these geniuses? There's no
>> reason this crap shouldn't work no matter what browser/platform you
>> happen to be on, isn't this the entire point of Java?

JavaScript and Java are two totally separate languages. There are very few 
common features.


Sun have been pilloried for not open sourcing Java. The major reason that 
they have refused is because of what Microsoft and Netscape did with the 
JavaScript language. Right now Sun own the Java name, and can ensure that 
no company can release something that they call Java which does not meet 
the standards set by Sun, which includes the "write once, run anyway" 
promise. This does not mean that other companies cannot write Java 
compilers / interpreters (Kaffe, IBM's JDK, jikes, ...), however it does 
mean that when Microsoft tried to produce a version of Java which would 
produce code that would only run on Microsoft platforms, Sun were able to 
successfully take them to court and forced them to stop using the Java 
name (it became Visual J++ which has been wiped out by C#).


The problem you are experiencing is with the JavaScript language, which 
Microsoft and Netscape deliberately added their own proprietary 
enhancements to the standard.

There is a standard though, and good JavaScript programmers can write code 
within that standard and/or write small alternate blocks of code that can 
work in multiple browsers. The problem is getting good JavaScript 
programmers - it is like getting good VB programmers: too many people can 
claim that they are a programmer without knowing the first thing about 
programming.

Regards, Andrew

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Debian sarge on vmware

2004-09-12 Thread Andrew Monkhouse
On Mon, 2004-09-13 at 10:17, Robert Tillsley wrote:
> 
> The other thing was in regard to installing the vmware tools. The menu
> which is meant to do it, doesn't work (I think its because its not
> designed to work with debian). Its asks if you want to and then doesn't
> provide any feedback as to its lack of success. In the bottom left of
> the vmware screen is says as it did before the attempt that the vmware
> tools aren't installed.

Hmmm, been a while since I installed a linux system under VMWare - usually 
I keep it for Solaris and Windows partitions. But from memory, the 
"install tools" option does not actually install anything. What it does is 
configure an ISO image and mount it on /mnt/cdrom (RedHat mount point - 
don't know about debian). So after clicking the install tools option, 
check if your CD is mounted. If not, try and mount it (it should mount the 
image, not a real CD). I think there is a gzipped tar file there, which, 
when extracted, has the executable to install the tools.

So simple %-(  not!

If you are still having problems, try looking for the iso image containing 
the tools. In my installation they are:

  ls /usr/lib/vmware/isoimages/
  freebsd.iso  linux.iso  windows.iso

Just mount the linux iso image and see my earlier comments.

Regards, Andrew

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Silent PSU

2004-07-26 Thread Andrew Monkhouse
On Tue, 27 Jul 2004, Phil Scarratt wrote:

> I'm sure there's people out there that have silent power supply kits 
> fitted to their machines. How silent is silent? For eg, the FSP Silent 
> System Kit from elx 
> (http://www.everythinglinux.com.au/item/elsFSP-KIT350P4). Is it silent 
> enough to have the machine on in your bedroom 24/7?

I don't have experience with that particular model. I have a Dell
Precision 340 which has the quietest fans I have ever had, and an Antec
Sonata case which is not as quiet (although they claim that it is the
quietest case available). The Antec also has anti vibration mounting
brackets for all hard drives (and has space for about 7 drives from
memory). Both are very quiet during normal operations.

Be aware that while the PSU may be silent, your other components may not
be - especially when you have CPU fans / graphic card fans / hard
drive(s), etc.

I think I could sleep in the same room as either of these cases, however 
this is very much a personal thing - my girlfriend is more sensitive to 
noise than me, and I very much doubt that she would be able to sleep in 
the same room as one of these.

Oh - and placement of your computer can have a big impact as well. If you 
have your PC inside a computer desk, you may get vibrations amplified 
through the desk and/or you may get the fan echoing in an enclosed space.

Regards, Andrew

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] kvm required

2004-07-14 Thread Andrew Monkhouse
On Thu, 15 Jul 2004 Lester Cheung wrote:
> On Thu, Jul 15, 2004 at 12:11:42AM +1000, Ken Foskey wrote:
> > On Wed, 2004-07-14 at 23:10, Simon Males wrote:
> > > I just need a rant for a KVM. When i im at home i wish to use standard 
> > > keyboard/mouse and screen which will be shared by my desktop and laptop.
> > > 
> > > The kvm will require USB ports as my laptop cannot take PS2. I've had a 
> > > quick browse, and kvm's are not exactly cheap :(
> > 
> > Why do you want a kvm at all?
> > 
> > I use my laptop to 'X -query mydesktop' to connect within my home lan. 
> > Works a treat.  The alternative is to ssh in with the -x option.
> 
> Synergy maybe just for you. :)
> Debian package in proper...

I only use my KVM when I need access to the physical machine (usually when 
booting a machine and I therefore can't get networked access). The rest of 
the time I find VNC works perfectly getting me to any of the other 
computers I need to access, and is often better than using the KVM - I can 
easily work on multiple desktops, swapping between them as required.

I have found problems with my KVM and Windows 2000 and ghosting. Using 
exactly the same computer and monitor and resolution and refresh rate in 
Windows 2000 and X Windows System - the Windows 2000 display will have 
ghost images, but X does not. No idea why this is. It is a cheap KVM, but 
I would expect it to have the same problem in both OSes with the same 
hardware and configuration.

Regards, Andrew

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: slug Digest, Vol 13, Issue 8

2004-04-02 Thread Andrew Monkhouse
On Fri, 2 Apr 2004 Dave Kempe wrote:

> > - can SM be used to retrive email from hotmail account ?
> > 
> 
> don't think so

You can use hotwayd (http://hotwayd.sourceforge.net/) to access your 
hotmail account as though it is a POP3 account (for downloading messages 
only).

I have set up hotwayd and fetchmail so that my hotmail mail is downloaded 
to my local PC automatically, and then I access all my email through my 
local system.

Regards, Andrew


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linus Newbie

2004-01-23 Thread Andrew Monkhouse
I had two similar problems on my Dell 340 Workstation:

hdb and hdd: lost interupt at boot time - intermittent failure,  
sometimes I booted with all drives present and correct, sometimes only  
one drive would be identified! This was prior to any OS loading, so it  
was not a Linux specific problem.

Solution - there was a Bios option for "fastboot". Turning that off  
fixed the problem. I am guessing that the hard drive was being accessed  
before it had finished it's POST / warm up.

hdd: lost interupt if it was accessed while the cd burner (second  
primary) was writing a CD. Turned out (eventually) that the non Dell cd  
burner was in the final stage of dying (it had worked well for about 4  
years, so I am not complaining). Put the Dell cd burner back in, and  
havent had a problem since then (touch wood).

Date: Thu, 22 Jan 2004 22:10:47 +1100 (EST)
From: Grant Parnell <[EMAIL PROTECTED]>
Subject: Re: [SLUG] Linus Newbie
To: Bruce Piper <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID:
	<[EMAIL PROTECTED] 
au>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Either what Scott said or Linux reckons the disk is a lost cause.  
This
stuff isn't normal. Did you ever have any other operating system on
the
disk? Did you have any problems installing that?

On Thu, 22 Jan 2004 [EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED] wrote on 22-01-2004 07:42:14 AM:
>
> > Hi there,
> > I'm new to linux and am trying to install it on my Dell Dimension
8300.
> > I'm having some trouble though and am finding it hard to get any
> > help. I get the following lines on the initial screen
> > hda: attached ide-disk driver.
> > hda: lost interrupt
> > hda: lost interrupt
> > hda: lost interrupt
> > hda: host protected area =>1
> > hda: lost interrupt
> > hda: 234375000 sectors (12MB) w/8192KiB cache,
CHS=14589/555/63,
> UDMA(33)
> > hda: lost interrupt
> > hda: lost interrupt
> > Partition check:
> > hda: <4> hda: dma_timer and so on
>
> This sounds like a dma problem.
> You should get some sort of Boot: prompt right? (I haven't  
installed

> Mandrake 9.2, and its been so long sine I have installed Redhat  
7.2)
> at the boot prompt, type your kernel image (ie: linux??) followed  
by

> ide=nodma. it should read:
> linux ide=nodma
>
> If the image is not linux, I think pressing tab twice will show you
what
> images you can select from.
>
> Cheers,
>
> Scott
>
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Delay between booting and going to gdm login screen

2003-12-20 Thread Andrew Monkhouse
On Thu, 18 Dec 2003, Grant Parnell wrote:

On Wed, 17 Dec 2003, Andrew Monkhouse wrote:

> Hi,
>
> I recently did a clean install of RedHat 9 onto my system (and run the
> updates), and initially had it booting to runlevel 3. I later changed 
that
> in inittab to go to runlevel 5. Now when I boot, it stops at the 
terminal
> login screen until I press enter a few times, then it starts X and goes 
to
> the graphical login screen.
>
> This is not a case of me being impatient: if I leave it at the terminal
> login screen for a few hours, it will still be there. Then when I press
> enter a few times, it will start X and go to the graphical login screen.


Apart from that... you might modify the line in /etc/inittab that starts X
to log all output to a file if it's an X problem.
That was a good suggestion. I had to do multiple levels of logging, since 
logging the line in inittab only told me that the next script was running. 
So then I had to log the next set of scripts then the next level of scripts 
...

But got there eventually - turns out that for some reason my environmental 
variable for ORACLE_HOME is not set when the gdm script runs, so it pauses 
to find out what the correct value should be. Now I have to find out why the 
Oracle scripts are even being called when starting gdm. But at least I know 
where I am going now. Thankyou.

Regards, Andrew

_
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Delay between booting and going to gdm login screen

2003-12-17 Thread Andrew Monkhouse
On Thu, 18 Dec 2003, Grant Parnell wrote:
On Wed, 17 Dec 2003, Andrew Monkhouse wrote:

> Hi,
>
> I recently did a clean install of RedHat 9 onto my system (and run the
> updates), and initially had it booting to runlevel 3. I later changed 
that
> in inittab to go to runlevel 5. Now when I boot, it stops at the 
terminal
> login screen until I press enter a few times, then it starts X and goes 
to
> the graphical login screen.
>
> This is not a case of me being impatient: if I leave it at the terminal
> login screen for a few hours, it will still be there. Then when I press
> enter a few times, it will start X and go to the graphical login screen.

Just one... try turning off the 'firstboot' service. Normally this starts
in graphical mode and takes you through some post-install config which
isn't critical - you can do it all later. My thinking is somehow it's
stuffing up and not flipping to graphics mode since the updates were
applied. Yes, it is possible the bug fixes actually create bugs.
Thanks for the suggestion, but firstboot is not running:

[EMAIL PROTECTED] rc.d]# ls */*firstboot*
init.d/firstbootrc1.d/K95firstboot  rc3.d/K95firstboot  
rc5.d/K95firstboot
rc0.d/K95firstboot  rc2.d/K95firstboot  rc4.d/K95firstboot  
rc6.d/K95firstboot

Reading the header of firstboot it seems that this only ever runs if you 
boot into graphical mode on your first ever boot of Linux. Since my initial 
boot was into text mode, this did not run, and it automagically disabled 
iteself.

I hadn't looked at what was being run at startup, since it appeared that 
everything had started up, it was just waiting for keyboard entry before 
going into graphical mode. But here is a list of what is being run at 
startup:

[EMAIL PROTECTED] rc.d]# ls rc5.d/S*
rc5.d/S05kudzu rc5.d/S56rawdevicesrc5.d/S90cups
rc5.d/S08iptables  rc5.d/S56xinetdrc5.d/S90vmware
rc5.d/S10network   rc5.d/S70scsi  rc5.d/S90xfs
rc5.d/S12syslogrc5.d/S80sendmail  rc5.d/S91smb
rc5.d/S13portmap   rc5.d/S80spamassassin  rc5.d/S91speedtouch.sh
rc5.d/S17keytable  rc5.d/S81fetchmail rc5.d/S95atd
rc5.d/S20randomrc5.d/S85gpm   rc5.d/S95hylafax
rc5.d/S40smartdrc5.d/S85httpd rc5.d/S99local
rc5.d/S55sshd  rc5.d/S90crond
Apart from that... you might modify the line in /etc/inittab that starts X
to log all output to a file if it's an X problem.
Good idea - I will give that a try.

Another trick I do on servers mainly is move the initialisation of console
2 early in the inittab file.. there's a snip below. This allows you to
quickly login as root and watch the rest of the system initialisation.
Particularly handy if you've got fun with NFS mounts everywhere and it
hangs (or you're too impatient).
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
# console 2 starts early, remove it from further down this file
2:2345:respawn:/sbin/mingetty tty2
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
Not a bad idea for general use. However in this case it does not appear that 
any of the individual startup scripts are hanging.

The syslog itself is not showing me anything out of the ordinary. I can see 
that system initialization finished at 07.02 when it loaded the lucent modem 
driver for the fax/modem card:

Dec 18 07:02:32 andrewkheng kernel: Loading Lucent Modem Controller driver 
version 8.26
Dec 18 07:02:32 andrewkheng kernel: Detected Parameters Irq=11 
BaseAddress=0xd400 ComAddress=0xd8f8
Dec 18 07:02:32 andrewkheng kernel: Lucent Modem Interface driver version 
8.26 (2002-11-04) with SHARE_IRQ enable
d
Dec 18 07:02:32 andrewkheng kernel: ttyLT00 at 0xd400 (irq = 11) is a Lucent 
Modem

Then there is nothing for 5 minutes until I start getting various cron job 
outputs and various firewall messages. Then finally these bunch of messages 
when I log in an hour later:

Dec 18 08:13:04 andrewkheng modprobe: modprobe: Can't locate module 
char-major-226
Dec 18 08:13:04 andrewkheng last message repeated 3 times
Dec 18 08:13:04 andrewkheng kernel: Linux agpgart interface v0.99 (c) Jeff 
Hartmann
Dec 18 08:13:04 andrewkheng kernel: agpgart: Maximum main memory to use for 
agp memory: 439M
Dec 18 08:13:04 andrewkheng kernel: agpgart: Detected Intel i850 chipset
Dec 18 08:13:04 andrewkheng kernel: agpgart: AGP aperture is 128M @ 
0xe800
Dec 18 08:13:16 andrewkheng gdm(pam_unix)[22562]: session opened for user 
andrewm by (uid=0)

The module "char-major-226" message looks interesting, but t

[SLUG] Delay between booting and going to gdm login screen

2003-12-16 Thread Andrew Monkhouse
Hi,

I recently did a clean install of RedHat 9 onto my system (and run the 
updates), and initially had it booting to runlevel 3. I later changed that 
in inittab to go to runlevel 5. Now when I boot, it stops at the terminal 
login screen until I press enter a few times, then it starts X and goes to 
the graphical login screen.

This is not a case of me being impatient: if I leave it at the terminal 
login screen for a few hours, it will still be there. Then when I press 
enter a few times, it will start X and go to the graphical login screen.

Any ideas?

Regards, Andrew

_
E-mail just got a whole lot better. New ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] CDRecord + LiteOn DVD Writer

2003-11-28 Thread Andrew Monkhouse
Hi everyone,

Just stole my girlfriends LiteOn DVD Writer to test whether it would  
work under Linux. I can read / write CD-RWs no problem, but trying DVD- 
RW gives me the following message:

   # cdrecord dev=0,0 -blank=all /tmp/tmp.iso

   Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-
   2003 Jörg Schilling
   scsidev: '0,0'
   scsibus: 0 target: 0 lun: 0
   Linux sg driver version: 3.1.24
   Using libscg version 'schily-0.7'
   cdrecord: Warning: using inofficial libscg transport code version
   (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c
   1.75 02/10/21 Copyright 1997 J. Schilling').
   Device type: Removable CD-ROM
   Version: 0
   Response Format: 2
   Capabilities   :
   Vendor_info: 'LITE-ON '
   Identifikation : 'DVDRW LDW-411S  '
   Revision   : 'FS06'
   Device seems to be: Generic mmc2 DVD-ROM.
   Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
   Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
   Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
   RAW/R96R
   cdrecord: Cannot get next writable address for 'invisible' track.
   cdrecord: This means that we are checking recorded media.
   cdrecord: This media cannot be written in streaming mode anymore.
   cdrecord: If you like to write to 'preformatted' RW media, try to
   blank the media first.
   cdrecord: Data will not fit on any disk.
   cdrecord: Cannot write more than remaining DVD capacity.
This is a blank DVD, and just running cdrecord -blank=all works fine on  
it. The /tmp/tmp.iso file is only 1.1Gb so it should fit on a 4.7Gb  
DVD:

   # ls -lh /tmp/tmp.iso
   -rw-r--r--  1 root   root   1.1G Nov 29 13:58 /tmp/tmp.iso
Any ideas? Or should I just assume that this particular DVD Writer  
won't work under Linux?

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Re: sig lines (was Linux only ADSL service now available)

2003-10-29 Thread Andrew Monkhouse
On 2003.10.30 12:00, [EMAIL PROTECTED] wrote:

On Thu, 30 Oct 2003 08:54:56, Grant Parnell wrote:

Do people actually read these things?
Do you mean that we are supposed to read the bit before the signature  
as well? :-D

Thanks for the laugh.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] scanning, 'copyshop' app ?

2003-09-12 Thread Andrew Monkhouse
Date: Fri, 12 Sep 2003 14:30:05
From: Voytek <[EMAIL PROTECTED]>
how much hardware do you need to run VMW & Windoze acceptably ?
Hi Voytek

I was running it happily on a PIII 450 MhZ with 256 Mb Ram. I couldn't 
run anything else at the same time though, and I could not play video 
in the VMWare session.

Now I have upgraded to 768 Mb RAM, and everything is fine. I have had 
two VMWare sessions running simultaneously (MS Windows and Solaris) 
while still running things in Linux.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] scanning, 'copyshop' app ?

2003-09-11 Thread Andrew Monkhouse
Date: Thu, 11 Sep 2003 21:22:53 +1000
From: [EMAIL PROTECTED]
>Sorry, that I don't know. xsane does have buttons for fax and copy
>modes, but I have never tried to set them up.
yes, though it seems to handle a 'page-at-a-time' only

do you use OCR, what with ?
No, I only use it for scanning photos.

On the very rare occassions that I use OCR, I boot MS Windows (in 
VMWare) and use the OCR that came with the scanner.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] scanning, 'copyshop' app ?

2003-09-10 Thread Andrew Monkhouse
Date: Thu, 11 Sep 2003 10:43:37 +1000
From: [EMAIL PROTECTED]
I'm trying to set up an HP scanner on RH7.3

*if* I run xsane as root, xsane warns me of dire consequences of doing
so, and, if I accept these risks, it just runs
*if* I try to run xsane as a user, I get 'no device present'

I've symlinked /dev/sc0 to /dev/scanner and set rwxrwxrwx
as root, I can access scanner as either device
I solved this on my computer by creating a *drc file in ~/.sane/xsane

In my case this is Acer:FlatbedScanner__4.drc

This was just a straight copy of the file that was in the 
/root/.sane/xsane directory.

I don't know if there is a better solution or a better (common) 
location for the file so that I don't have to create it for each user.

(hmmm, perhaps I need to chmod /dev/sc0 and not symlink...
/dev/scanner, perhaps that's where I went rwong... don't have access
to it right now to test)
also:
is there a "CopyShop" like scanner app for scanning pages for fax or
imaging, from my brief look at xsane, it seems it more amed at
image/single page scanning, or have I missed something ?
Sorry, that I don't know. xsane does have buttons for fax and copy 
modes, but I have never tried to set them up.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Cannot connect to certain web locations

2003-08-22 Thread Andrew Monkhouse
On 2003.08.23 00:16 [EMAIL PROTECTED] wrote:
On Fri, 22 Aug 2003 14:26:41 +1000
Andrew Monkhouse <[EMAIL PROTECTED]> wrote:
> On 2003.08.22 14:17 Tony Green wrote:
> > On Fri, 2003-08-22 at 14:14, Andrew Monkhouse wrote:
> > > Hi everyone,
> > >
> > > Very strange situation. On my home network, my girlfriend is
using
> > > Windows 2000, and I am using RedHat 9. We both go through the
same
> > ADSL
> > > router, and both use the same DNS.
> >
> > Search the archives or google for references to ECN
But. ECN is off by default on redhat9.
Strange - it was on on my machine. Turning it off solved my problems.

This may be because this machine is an upgrade from RH 7.1. I dont 
remember if I upgraded that from RH 6, or whether it was a clean 
install.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Back trace on an email (St. George Hoax)

2003-08-22 Thread Andrew Monkhouse
Thanks to all the people who explained how I should read the trace.

I am now a bit more enlightened.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Back trace on an email (St. George Hoax)

2003-08-21 Thread Andrew Monkhouse
On 2003.08.22 14:27 Kevin Saenz wrote:
If you have a look at the url post the actual site address is written
in
the code. It's the same as the Westpac email I got last week
http://olb.westpac.com.au:UserSession=2f4d0zzz899amaiioiiabv5589955&userrstste=SecurityUpdate&[EMAIL
 PROTECTED]
This is where they are actually comming from. 69.61.29.81
Thanks for that. But I am not trying to track these people down. If I 
was then your answer would be very good. What I am trying to do is to 
learn how to work backwards through the delivery chain to work out 
where the email originated.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Cannot connect to certain web locations

2003-08-21 Thread Andrew Monkhouse
On 2003.08.22 14:17 Tony Green wrote:
On Fri, 2003-08-22 at 14:14, Andrew Monkhouse wrote:
> Hi everyone,
>
> Very strange situation. On my home network, my girlfriend is using
> Windows 2000, and I am using RedHat 9. We both go through the same
ADSL
> router, and both use the same DNS.
Search the archives or google for references to ECN
--
Tony Green <[EMAIL PROTECTED]>
Perfect. Thank you very much.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Cannot connect to certain web locations

2003-08-21 Thread Andrew Monkhouse
Hi everyone,

Very strange situation. On my home network, my girlfriend is using 
Windows 2000, and I am using RedHat 9. We both go through the same ADSL 
router, and both use the same DNS.

Every so often, she wants me to read an article, so she will send the 
link to me. (One example was 
http://shareholders.commbank.com.au/group_display/0,1922,NI2330%255FCH2330,00.html). 
She can get to it without problems using Internet Explorer on Windows 
2000, but I cannot access it using Opera, Mozilla, or Netscape. 
Attempting to make a connection just times out.

This is just some addresses. Most of the time, we can both get to the 
same site no problems.

Using nslookup returns the same IP address from her machine or mine. I 
don't seem to have any static routes on my Linux system that would 
cause problems (although I do have a route for 169.254.0.0/16 that I 
don't know why it exists).

Any ideas?

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Back trace on an email (St. George Hoax)

2003-08-21 Thread Andrew Monkhouse
Hi everyone,

I just received one of those email's suposedly from St. George, telling 
me to log in to their website and update my records. Since I am not a 
St. George customer, I was a little suspicious :-D

Looking through the email, the scam worked by having a HREF tag 
containing the real St. George address followed by umpteen spaces (I 
guess around 160) followed by "[EMAIL PROTECTED]". So even if the mouse 
hovered over the link, the address displayed in the status bar would 
still appear correct.

St. George are aware of this, and have a note on their own web page 
warning people about this hoax.

Anyway, to my question. Just out of curiosity, I wondered if I could 
work out where this email came from. Here is the relevant data from the 
header:

Received: from localhost (localhost [127.0.0.1])
by andrewm.localdomain (8.12.8/8.11.6) with ESMTP id 
h7KLKhj3005981
for <[EMAIL PROTECTED]>; Thu, 21 Aug 2003 07:20:44 +1000
X-From_: [EMAIL PROTECTED] Wed Aug 20 22:18:49 2003
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Wed, 20 Aug 2003 22:18:49 +0100
Received: from xxx.freeserve.com [195.92.195.154]
by localhost with POP3 (fetchmail-6.2.0)
for [EMAIL PROTECTED] (single-drop); Thu, 21 Aug 2003 07:20:44 
+1000 (EST)
Received: from [203.2.192.89] (helo=mta08.mail.mel.aone.net.au)
by imailg2.svr.pol.co.uk with esmtp (Exim 4.14)
id 19paLw-ge-QM
for [EMAIL PROTECTED]; Wed, 20 Aug 2003 22:18:49 +0100
Received: from [66.26.168.93] by mta08.mail.mel.aone.net.au with SMTP
  id 
<[EMAIL PROTECTED]>
  for <[EMAIL PROTECTED]>; Thu, 21 Aug 2003 07:18:46 +1000
Date: Thu, 21 Aug 2003 01:19:50 -0400
From: [EMAIL PROTECTED]

The stuff I have xxx'd out is my email accounts.

Now as far as I can tell, mta08.mail.mel.aone.net.au would have to be 
the starting point in the chain. I presume that this is an OzEmail mail 
server, since there is nothing else in the list that appears to be 
OzEmail, and the email in question was sent to my OzEmail account.

Does this mean that the originator sent the email from OzEmail? Or that 
the OzEmail mail server allows relaying?

Or has the chain been lost somewhere?

Or has SpamAssassin deleted part of the header (I doubt this, because 
if this was the case, then more of the header should have gone).

As I said: this is just out of curiosity. Anyone have any thoughts?

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] mv ---.dat foo.dat

2003-07-31 Thread Andrew Monkhouse
To: Michael Kraus <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="iso-8859-1"
% mv  ./---.dat   foo.dat

Worth a try, i guess.
The readline() call stops interpreting command line options after it 
sees a "--" on it's own. So you can do:

  mv -- ---.dat foo.dat

Then the "---.dat" will be interpreted as a filename, not as an option.

(Now if only I could remember where that was documented, I could point 
you to the documentation).

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Quiet keyboards

2003-07-28 Thread Andrew Monkhouse
Not quite Linux I know, but 

SWMBO is complaining about the noise I am making while typing. I do 
have a noisy keyboard, and I type fast, which makes for a lot of fast 
loud clicks, which gets her heart racing.

So I am looking for a very quiet keyboard. Must be compatible with 
Linux (cannot imagine any problems with that though).

Anyone have any suggestions?

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] apt-rpm

2003-07-21 Thread Andrew Monkhouse
From: Adam Hewitt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 22 July 2003 2:40 PM
Hi All,

If you have a RH 6.2 machine, can you use apt-rpm to upgrade it to RH
9.0? or can you only update it to the latest 6.2 packages?
If you can upgrade it to 9.0, is there anything you need to watch out
for that may kill the system?
No knowledge of apt-rpm, but just on what might go wrong in the upgrade:

I recently upgraded from RedHat 7.1 (with all the latest RPMs for it 
installed) to RedHat 9 using the upgrade option from the CDs. The list 
of things that I noticed no longer worked included:

httpd was upgraded, but the link to start it in /etc/rc.d/rc3.d was 
removed. It took me a while before I found out that I no longer had 
that running.

saned upgrade overwrote the /etc/xinetd/saned entry and the list of 
permitted users - both without making a backup (no 
rpmsave/rpmold/rpmnew!). 
Samba was upgraded, but swat wasnt? The old swat was removed though!

I was using LPRN for my printer, and it overwrote the configuration 
file without backing it up.

vmware 3.x just doesnt work out of the box with RedHat 9. Fortunately 
there is a patch.

Most other changes seemed to go OK. I have not yet tested the fax 
though.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Writing GUI apps for "Linux" (FOSS platforms)

2003-07-15 Thread Andrew Monkhouse
On Tue, 15 Jul 2003 04:00:09 -0500 "Hal Ashburner" wrote:
From: "Hal Ashburner" <[EMAIL PROTECTED]>
Subject: [SLUG]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Started
writing C for gnumeric instead, much easier for a beginner like
myself. (Bias alert, I like using gnumeric a fair bit more than OOo
calc.)

Out of interest, does anybody know the best way to write GUI based
apps fast under Linux? There might be a bit of a market down that path
over the next couple of years as a bunch of organisations migrate to
Linux for all the right reasons, then realise they have a bunch of
apps that have to be ported that are written in VB & VBA...
Perl Tk?
Tcl/Tk?
Glade perl?
Python Tk?
XBasic?
evem Kylix? (Not free, boo!)
Anyone know anything about Qt's recent relase of a scripting language?
(No kudos for anyone who suggests C & GTK+ :) I mean fast for an idiot
like me, drag & drool if you will...)
If you are already a C programmer, why not look into Java? There are 
drag & drool builders for Java, so you can build your application very 
fast.

I think that this may be very saleable to an organisation trying to 
migrate Windows VB/VBA apps: Using Sun's "write once / run anywhere" 
promise, they should not have to worry about future migrations.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Problem installing using rpm (RedHat 9)

2003-07-12 Thread Andrew Monkhouse
On 2003.07.13 15:21 Mike MacCana wrote:
On Sun, 13 Jul 2003, Andrew Monkhouse wrote:

> rpm hung.

Known bug.

rm -rf /var/lib/rpm/__*

The rebuild, works around the problem.

There's also a fix in the current rawhide for the problem, but Red Hat
are
testing the new RPM release that contains the fix for a while before
they
release it.
Mike

Thanks for the info.

I had tried removing the entire directory structure, and building a 
brand new rpm database. But the same problem kept occuring.

Just tried doing a complete reboot (first time this year), and doing a 
rebuilddb - seems to be working ok for now.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Problem installing using rpm (RedHat 9)

2003-07-12 Thread Andrew Monkhouse
Hi,

Last weekend I upgraded my system to RedHat 9 (from 7.1 which was a 
clean install). Shortly after that I installed a few more packages 
without problems. Then about Wednesday I tried to install some package, 
and rpm hung. After waiting about half an hour, I killed the process, 
which resulted in a corrupt RPM database. I spent considerable time in 
trying to recover the database (usually by moving one of the database 
files, and getting RPM to rebuild it), however every time I got a 
working database (by which I mean I could do queries on the database), 
I found that I still could not add packages. So I thought that there 
must be even more corruption that the rebuild wasnt fixing, so I

* made a listing of all rpms installed,
* moved the entire /var/lib/rpm directory to another location,
* created a new /var/lib/rpm directory,
* created a new rpm database
* installed the existing rpms from my list into the database (using 
--justdb)

However - still no luck. Once again I have a database I can query, 
however I cannot install to it:

  [EMAIL PROTECTED] RedHat]# rpm -i rh9RPMS/unixODBC-2.2.3-6.i386.rpm   
warning: rh9RPMS/unixODBC-2.2.3-6.i386.rpm: V3 DSA signature: NOKEY, 
key ID db42a60e

(hanging for over 10 minutes so far). In another window:

[EMAIL PROTECTED] andrewm]$ ps -elf | egrep "[r]pm|[2]9509|[P]ID"
F S UIDPID  PPID  C PRI  NI ADDRSZ WCHAN  STIME 
TTY  TIME CMD
4 S root 29509 29455  0  77   0-  1938 schedu 13:38 pts/0
00:00:00 rpm -i rh9RPMS/unixODBC-2.2.3-6.i386.rpm

It has actually done the install (but I don't know about any post 
install scripts), as I can see the files that are in that package are 
now installed on my hard drive.

Any ideas what is going wrong / what I can do to fix this?

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Take 1.5 hrs to learn why linux sucks.

2003-07-12 Thread Andrew Monkhouse
On Sun, 13 Jul 2003 08:17:18 +1000 Laurie Savage wrote:

Subject: Re: [SLUG] Take 1.5 hrs to learn why linux sucks.
To: Neast Pty Ltd <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Neast Pty Ltd wrote:

> Seems to me it may be a course on FUD techniques, launched against 
an
> intelligent audience these are unlikely to be successful, take for
> instance the Peruvian situation, I wonder if the originator of this
> subject is cognisant of it, or if he understands this email.
>
> Nicholas Tomlin.
>
Now you've got us intrigued! The Peruvian situation was ...?

Laurie
Last year Peru were considering a bill requiring the use of open source 
software in all government systems (I dont know what happened with the 
bill itself). Microsoft Peru's president and the American ambasador 
sent letters to the head of the Peruvian Congress to try and thwart the 
bill. Unfortunately for them, the congressman who presented the bill 
was able to see through the arguments presented, and sent back a reply 
that leaves them in no doubt what he thought about their arguments.

You can read more about it in Wired's article here: 
http://www.wired.com/news/business/0,1367,54141,00.html this article 
also has links to the letters from Microsoft and the reply (both in 
Spanish).

Translation of the Peru bill: 
http://www.opensource.org/docs/bill-EngTrans.php

Translation of the Microsoft letter: 
http://www.opensource.org/docs/msFUD_to_peru.php

Translation of the reply: http://www.opensource.org/docs/peru_and_ms.php

--

Back on to the topic of "Take 1.5 hours...", I thought the first 
presentation was not too bad, FUD wise. A lot of the presentation was 
about what not to bring up in conversation (although any salesman who 
intentionally starts a conversation about what the oposition can do 
should not be a salesman IMHO), and how to stear conversations towards 
Microsoft's perceived benefits. It even included the tip that the 
salesman should not try to be negative about Linux (although it didnt 
explain why) - this is something that Linux evangilists realised a long 
time: trashing Microsoft just makes Linux enthusiasts look bad. The 
second presentation though had a lot more FUD in it.

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] help please (module load issue - wireless networking)

2003-03-24 Thread Andrew Monkhouse
Hi Jamie,

Your teammate is correct - modules are only loaded as required, so if you do 
not specify that the hostap_cs module is required, then it won't be loaded.

My knowledge of wireless networking is non existant, and my knowledge of 
module loading is sketchy at best - hopefully with a bit more descriptive 
subject line, other SLUG members may read this and correct my mistakes.

For the kernel to load the module when it requires it, you need to add an 
entry to the /etc/modules.conf file to tell the kernel what functionality 
the module provides.

I assume you have installed the module in the correct directory, somewhere 
under:

 /lib/modules/

Possibly:

 /lib/modules//pcmcia/hostap_cs.o

(This is just a guess - I know nothing about wireless networking).

You can then add an entry into your /etc/modules.conf file similar to:

 alias eth0 hostap_cs

As I understand it, the alias should tell the kernel what feature is 
provided by this module (see /usr/src/linux/Documentation/modules). I do not 
know what the correct alias is for the wireless networking.

If you need other modules installed before or after the hostap_cs module, 
then look at the pre_install and post_install directives (man modules.conf).

Regards, Andrew

Date: Mon, 24 Mar 2003 15:21:53 +0800
From: Jarmie Espuerta <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [SLUG] help please
  i have successfully installed the hostap driver and checked the
hostap_cs under 'lsmod' command..  but the problem is everytime i reboot
the system,  the hostap_cs when checked under 'lsmod' is missing or
lost... how come? what should i do? according to one of my teammate this
si due to the fact that the loading is not automatic and that it has to
be configured inorder to have an automatic loading.  is this true? or do
you have some other explaination?
your reply and solution to this problem would be greatly appreciated.

thank you very much.


_
Hotmail now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/hotmail_mobile.asp

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] rpm to deal with dependencies !!

2003-03-18 Thread Andrew Monkhouse
Hi Louis,

If their install script will handle everything (presumably by getting
working versions of the packages from /tmp/extrarpms), then you should not
need to rebuild any of the packages. My suggestion of recompiling is only
necessary if you need those packages, you cannot upgrade them, and your
install script does not handle the situation.

However if you do need (or want) to rebuild any of the packages, then there
are several locations you can look for the source package:

1) If you have ALL the CDs for the release of RedHat you are using, then
there should be at least one CD with a "/SRPMS" directory in it. In that
directory there will be a source package for each built package, named
-.src.rpm.

2) If your source CD is out of date, or you don't have it, then you can get
the source RPM from RedHat (or preferably from one of their mirrors). I use
"mirror.pacific.net.au", and the source file for dump is in
"/linux/redhat/redhat/linux/updates/7.1/en/os/SRPMS". To find your nearest
mirror site, go to http://www.redhat.com/download/mirror.html

3) If you want a later version than RedHat have released, or you want an RPM
for a package that RedHat don't distribute, then you can search for it on
http://rpmfind.net/.  Just enter the package name (no version number or
other information is required), and you will be shown a summary page
detailing where you can get different packages for different architectures
and distributions. There are usually two links on each line - the link on
the left will give more information on what the package is, the link on the
right will let you download the package. For my case (I run RedHat 7.1), I
can see a line describing:

  dump-0.4b25-1.71.0.i386.html Programs for backing up and restoring
filesystems. RedHat-7.1 Updates for i386 dump-0.4b25-1.71.0.i386.rpm


The right link will let me download the executables that make up this
package, however to get to the source package, I click on the left link,
which brings up a page describing the package, and giving me a link to the
Source RPM.

As I mentioned earlier, RPMFind allows you to find later versions that have
been packaged by other people or for other distributions. You do need to be
aware that different distributions may put files in different locations, or
use different groups to store the metadata. This is not normally a problem,
however it can confuse someone (and on rare occasions other programs) when
an expected file is in the "wrong" directory.

Regards, Andrew

- Original Message -
From: "LS" <[EMAIL PROTECTED]>
To: "'Andrew Monkhouse'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 10:45 PM
Subject: RE: [SLUG] rpm to deal with dependencies !!


> Hi Andrew:
>
> I have read this detailed analysis
> and I understand a bit better how to handle
> rpms.
>
> However I just spent some time reading the
> upgrade manual provided by Ensim (probably
> should have done that first before upgrading).
>
> In there thay talk about some of the dependency
> rpm errors that may be encountered and how to handle
> them for their software upgrade to go smoothly.
>
> I saw the one with the readline problem, and their
> solution is to load the versions of those that will
> work with the later version of readline their install
> script will use in the /tmp/extrarpms directory and their
> upgrade script will take care of the rest.
>
> There are other scenarios they talk about which I
> will probably encounter and how to deal with them.
>
> I just have one question from option 4).
> I can't see how to get the current version of say
> Mqsql, dump for the version of readline I am installing.
>
> You state recompiling. Their install script will take
> care of everything so long as I load the version it wants
> for readline they want installed. So how do I find this
> out ?
>
> Cheers
>
> Louis.
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > On Behalf Of Andrew Monkhouse
> > Sent: Monday, 17 March 2003 10:06
> > To: [EMAIL PROTECTED]
> > Cc: Louis Selvon
> > Subject: Re: [SLUG] rpm to deal with dependencies !!
> >
> >
> > > Date: Sun, 16 Mar 2003 16:24:08 +1100
> > > From: Louis Selvon <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Subject: [SLUG] rpm to deal with dependencies !!
> > >
> > > Hi Sluggers:
> > >
> > > Does anyone how do I invoke rpm to install packages and deal with
> > > dependencies.
> > >
> > > The patch I am installing for my server has downloaded all the
> > > necessary = rpms. However when I ran their installer script
> > 

Re: [SLUG] rpm to deal with dependencies !!

2003-03-16 Thread Andrew Monkhouse
> Date: Sun, 16 Mar 2003 16:24:08 +1100
> From: Louis Selvon <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: [SLUG] rpm to deal with dependencies !!
>
> Hi Sluggers:
>
> Does anyone how do I invoke rpm to install packages and deal with
> dependencies.
>
> The patch I am installing for my server has downloaded all the necessary =
> rpms.
> However when I ran their installer script the logs are showing rpm depend=
> ency
> errors. A sample log is shown below:
>
> ##
>
> WEBppliance 3.1.3-4.
> Installer version 1.0-17.
> Installer error log:
> Sun Mar 16 15:30:27 EST 2003
> 03/16/03 15:31:34 : error: failed dependencies:  =
>
> libreadline.so.4.1 is needed by dump-0.4b21-3  =
>
> libreadline.so.4.1 is needed by mysql-3.23.54a-3.71  =
>
> libreadline.so.4.1 is needed by python-1.5.2-43.71  =
>
>
> ##
>
> libreadline.so.4.1 is from their downloaded package
> readline-devel-4.2-2.i386.rpm .
>
> How do I get this install to go without having to worry about rpm depende=
> ncies
> ?? =
>
>
> If anyone needs to know how my problem originated from the beginning plea=
> se
> review this post
>
> http://forum.rackshack.net/showthread.php?s=3D&postid=3D124109#post124109=
>
>
> I am user learner there.
>
> Cheers
>
> Louis.

Hi Louis,

Your error message is telling you that you already have the following
packages installed which depend on version 4.1 of readline:

dump-0.4b21-3
mysql-3.23.54a-3.71
python-1.5.2-43.71

Listed below are some options to fix this problem.


1) Do you need these three packages?

To find out what a package does, use

rpm -qi 

You may find that you don't need these particular packages. If you don't
need them, you can remove them from your system, then install readline
without problems.

If you don't need them today, but feel you might need them in the future,
uninstall them then refer to option 4 below.

***

2) Upgrade these packages. The versions you list appear to be the latest for
RedHat 7.x, however there are later releases. Try looking on rpm.net for
later versions:

dump-0.4b28-4.i386.rpm
python-2.2.1-17.i386.rpm

These are the latest RedHat 8.0 releases. There are even later releases,
however they may not fit into a RedHat system. If you do use the RedHat 8
releases, you should probably check that they put the files in the same
places as per the RedHat 7.x releases. For example, in RedHat version 7, the
dump program itself is stored in /sbin/dump.  If this location changed in
RedHat version 8 (I am not saying it did, just giving an example), then any
scripts that rely on the location of the dump program would fail.

The latest RedHat (any release) of MySQL is 3.23.54. There is a later
version of MySQL, however you would have to get the generic version that
MySQL themselves packaged:

MySQL-4.0.1-2.i386.rpm

This may cause havoc if you already have data in the MySQL database, or if
you upgrade to this release, put data into it, then later try to go back to
the RedHat endorsed RPMs. A better way may be to recompile version 3.23.54
for the version of readline that you are installing (see item 4).

Normally when you do an upgrade, you get a circular problem with version
numbers. You cannot upgrade readline because dump requires the old version.
You may not be able to upgrade dump because the newer version may require
the newer version of readline. Catch-22. To get around this, you list all
the packages in the one upgrade statement:

rpm -Uvh readline-4.3-3.i386.rpm  dump-0.4b28-4.i386.rpm
MySQL-4.0.1-2.i386.html python-2.2.1-17.i386.rpm

Note: do not do a "rpm -U *.rpm". The -U option does an install if a package
is not already installed.

***

3) You can force rpm to ignore the dependency by giving the --no-deps option
in your install command. Since you are only doing a minor upgrade of
readline, this _MAY_ work, however it is generally not a good idea. You
would certainly have to test dump, mysql and python after doing the upgrade.

***

4) Possibly the best option is for you to recompile the current (for your
system) versions of the "dump", "mysql" and "python" rpms for the version of
readline you are trying to install. That is:

install the latest version of readline (either by removing the other
three packages or by forcing the upgrade)

recompile each of the other 3 packages:

rpm --rebuild dump-0.4b21-3.src.rpm

install (or upgrade) the rebuilt version. If you forced the upgrade of
readline while leaving the other packages on your system, then you will need
to tell rpm to upgrade an already installed package. Ie:

rpm -Uvh --replacepkgs /usr/src/redhat/BUILD/i386/dump-0.4b21-3.rpm

***

No matter which of these you try, if you have data in your MySQL database,
then make sure you have a good backup.

I strongly recommend that you try this all on a test machine before doing it
on your live machine.

Regards, Andrew
-- 
SLUG

Re: [SLUG] Rpm package

2003-03-11 Thread Andrew Monkhouse
Kevin,

If you have been given a src.rpm package, and you want to create an
installable version, then as the two previous posters mentioned, you
can either use:

   rpm -i .src.rpm
   rpm -ba .spec

Where the spec file is in the /usr/src/redhat/SPECS directory (for
RedHat, not sure about Mandrake).

Or:

   rpm --rebuild x.src.rpm

In both cases, assuming there are no errors, you will get a newly
created src.rpm and .rpm. (For RedHat they will be in
/usr/src/redhat/SRPMS/ and /usr/src/redhat/RPMS// respectively)

Using the first method will leave all the intermediate files on your
hard drive. So you will be able to find the spec file in the
previously mentioned directory, the archived source (tar.gz, tar.bz...)
and any optional patches in the SOURCES directory, and the build
environment in the BUILD directory. This can be useful if you think
that you may want to go and look at the source or at any other files
that may not be installed in the final package.

The second method cleans up after itself, so there will be no spec ...
files left. Just the newly created rpm and src.rpm.  This is good
where you want to install and forget about the original sources.

-- However --

I originally read your email to be asking how to create a src.rpm
package. If this is your question, then read on ...

You need the source data in an archive that RedHat understands, using
their naming conventions and directory structures. For example, the
"ytree" source is packaged in ytree-1.63.tar.gz. The source files in
that are stored in the appropriate directories under master directory
"ytree-1.63".

Put this source archive in the /usr/src/redhat/SOURCES directory.

Then create a *.spec file for your application in the SPECS directory.
It will look something like this (for ytree.spec):

Summary: ytree is a DOS-XTREE(tm) similar file manager.
Name: ytree
Version: 1.63
Release: 1
Group: Utilities/Text
Copyright: GPL
Source: sunsite.unc.edu:/pub/Linux/utils/file/managers/ytree-1.63.tar.gz

%description
Ytree is a nifty filemanager similar to xtree.
With some helper-applications (zip/zoo/tar etc.)
you can also browse archive files. Viewers for
"special" files are configurable (*.wav, *.gif etc.).
For a screenshot visit http://www.han.de/~werner/ytree.html

%prep
%setup

%build
make

%install
make install

%files
/usr/bin/ytree
/usr/man/man1/ytree.1
/root/.ytree

%clean
rm -f $RPM_BUILD_ROOT

This is a very minimalistic SPEC file, and does not use many of the
RPM features, however it does get the job done.

The sections you need are:

Summary: ..

You should know this

Name: 

The package name without version information

Version: .

The version number. This MUST match the version number in the source
archive name and the directory structure that is created when you
unpack the source archive.

Release: 

What release of the RPM is this.  Usually used when the program itself
hasnt changed, however something it relies on has changed (e.g. New
version of libc).

Group: Utilities/Text

What group do you want it installed into? To see what groups you are
already using, try `rpm -qa --qf "%{GROUP}\n" | sort | uniq`

Copyright: GPL

What copyright restricions has the author placed on this software?

Source:
sunsite.unc.edu:/pub/Linux/utils/file/managers/ytree-1.63.tar.gz

Where did you get this software from. You do not have to fully qualify
this, you can just list the source archive file, e.g.:

Source: ytree-1.63.tar.gz

%description

A nice text description of the package. Useful when you do an rpm -qi


%prep

If the source archive is in a single package of known format (e.g.
.tar.gz or similar) then you do not need to do any special
work here. Normally this section is used for extracting data from
formats not handled automatically and for applying patches

%setup

If the source comes with a `./configure` you would normally add that
command here. Any commands entered here will be run in the base
directory of the source files. If you do not specify a build root
(which I have left out for simplicity) then they will be run in
/usr/src/redhat/BUILD/-/

%build

This is where you run the `make` commands or any other commands that
need to be run after setup

%install

This is where you run the `make install` commands, or manually copy
files (yuck) or whatever else is required.

%files

List the files that are installed by the `make install` command. If an
entire directory is to be package, just list the directory, not its
contents.

%clean

What to do to clean up.

--

When you have created the spec file, you can run `rpm -ba
.spec` and it will create the src.rpm and the .rpm
files as detailed above.

Clear as mud?

Regards, Andrew



> From: Mike MacCana <[EMAIL PROTECTED]>
> To: Kevin Saenz <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Date: 12 Mar 2003 12:57:1