Re: [SLUG] From newbie to...

2001-07-02 Thread Jeff Waugh



> how about a talk on upgrading kernel and the steps to get your system up 
> and running again, eg modules etc.

This sounds good. I and many others could give good talks on this -
including the use of third party patches, etc. A short "but this is how you
do it on Debian" would certainly be interesting for sysadmins.

> Although Andrew Tridgewell gave a talk on samba this month a talk could 
> be done on installing and configuring samba 2.2 as a primary domain 
> controller, perhaps using vmware/win4lin (does 3.0 support nt domains ?) 
> this talk could be done on one pc.

2.2 supports PDC for NT domains too, one of the major reasons why it was
released. This is one of the things I had in my "sysadmin-related" set of
talks to do, especially after last month. :)

> Maybe some of our linux resellers could show us win4lin 3.0, in 
> particular seting up the replacement kernels to work with modules like 
> NVidia drivers.

Ah, the old "getting proprietary software to work with proprietary software
on a Free Software platform" trick...

> Maybe a recap on perl scripting, showing practical examples of it's use,

You know how some subjects are just too large for books, let alone
libraries? Yeah. :)

- Jeff

-- 
W.O.R.K: Weekend Over, Resume the Killings. 

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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Jeff Waugh



> I should point out that there are 1000's of files in this directory so doing
> an ls of all of them might not be the best way.

Doing a /bin/ls is going to be much, much faster than using straight "ls",
unless for some reason you don't alias your ls at all (which I strongly
doubt).

There aren't too many other ways to do this, Alister... Unless you write
something up in perl/python/whatever tickles your fancy.

- Jeff

-- 
   o/~ In spite of all those keystrokes, you're addicted to vim.
  *ka-ching!* o/~   

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



Re: [SLUG] alternative file systems

2001-07-02 Thread Jeff Waugh



> Because of Reiser's peculiarities with NFS I was wondering if I could put
> XFS on a spare partition that I have and use that for the NFS sharing?

Hasn't this been fixed recently? I'm sure it was in at least the 2.4 tree.

> Anyone had any experience running Reiser and XFS on the same machine
> (different partitions of course).

As I was converting over to XFS, sure. :) Remember that XFS is 2.4 only
though.

- Jeff

-- 
  "I'm offering you my body, and you're offering me semantics." -   
  Caitlin, Clerks   

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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Jobst Schmalenbach

On Mon, Jul 02, 2001 at 05:07:46PM +1000, Alister Waller 
([EMAIL PROTECTED]) wrote:
> Hi,
> 
> just a quicky if someone could help.
> 
> how do I check that a file with a particular extension exists in a directory
> in a shell script.
> 
> eg:
> 
> if [[ -e *.TXT ]] ; then

That depends what you want to do within that block.
You could use 

  find -name "*.txt" -exec STH_TO_DO {} \;

If find doesnt find anything it will not execute


> Using a wildcard does not appear to work.

I think thats because *.txt is expanded (uner the shell) to a number of 
files and hence the evaluation is incorrect:

  if [[ -e one.TXT two.TXT three.TXT ]] ; then



jobst

-- 
Programmer - an organism that turns coffee into software !

|__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director|
|  _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L  |
|-(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|

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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Russell Davies

; how do I check that a file with a particular extension exists in a directory
; in a shell script.

a more relevant question is why do you want to? It sounds like you're
checking to see if a file exists before you do something to it (process
it, move it, delete it) this is a race condition and is considered to
be bad programming. What are you really trying to do?

r.

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Mehmet Ozdemir

>
>
>>Although Andrew Tridgewell gave a talk on samba this month a talk could 
>>be done on installing and configuring samba 2.2 as a primary domain 
>>controller, perhaps using vmware/win4lin (does 3.0 support nt domains ?) 
>>this talk could be done on one pc.
>>
>
>2.2 supports PDC for NT domains too, one of the major reasons why it was
>released. This is one of the things I had in my "sysadmin-related" set of
>talks to do, especially after last month. :)
>

Err, i was talking about win4lin 3.0 not samba 3.0, ie with samba 2.2 
installed as PDC, you could have win4lin 3.0 login to the Samba PDC (if 
win4lin 3.0 support nt domains networking). Just an idea for a 
presentation where the entire talk could be done on one pc.

Regards

Mehmet Ozdemir



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



Re: [SLUG] Sound blaster on RH7.1

2001-07-02 Thread Matt Allen

Hi Pete,

(hows my server doing over there ? ;) )

I upgraded my lappy to 7.1 and the sound card worked fine, is this just a sound 
blaster thing?

I think my card is something like a Crystal Fusion ? (whatever the hell that is).

Sorry I cant be of more help.

Matta

On Mon, Jul 02, 2001 at 02:33:07PM -1000, Peter Rundle wrote:
> Sluggers,
> 
> Has anyone managed to fix the broken sound with RH7.1? I just upgraded
> and can't get my sound blaster working. Looking on the RH errata site
> it seems that others are having the same problem, but no solution offered
> that I can find.
> 
> Card works fine under RH6.2, but under 7.1 sndconfig can't detect the
> card. Manual load of sb.o fails with
> 
>sb.o: init_module: No such device
> 
> Even if I pass it irq etc I.E io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
> 
> Yet cat /proc/isapnp produces
> 
>Card 1 'CTL0086:Creative SB16 PnP' PnP version 1.0 Product version 1.0
>  Logical device 0 'CTL0041:Audio'
>Device is not active
>Resources 0
>  Priority preferred
>  Port 0x220-0x220, align 0x0, size 0x10, 16-bit address decoding
>  Port 0x330-0x330, align 0x0, size 0x2, 16-bit address decoding
>  Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
>  IRQ 5 High-Edge
>  DMA 1 8-bit byte-count compatible
>  DMA 5 16-bit word-count compatible
> 
> Is there some plug and play thing that I need to disable in the kernel
> 2.4.2-2 or should I upgrade the kernel? (Yes switch to debian, don't
> worry I'm thinking seriously about it.)
> 
> 
> Many TIA's
> 
> Pete
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

-- 
Matt Allen
Technical Director
Investigation Marketplace
0413 777 771
[EMAIL PROTECTED]

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Jeff Waugh



> Err, i was talking about win4lin 3.0 not samba 3.0

Looks like I crossed the streams.

[ ;) ]

> , ie with samba 2.2 installed as PDC, you could have win4lin 3.0 login to
> the Samba PDC (if win4lin 3.0 support nt domains networking). Just an idea
> for a presentation where the entire talk could be done on one pc.

Aye, this is what Tridge was doing the other night, only with vmware. [ For
testing and doing stuff like this, vmware is better. For using normal
everyday Windows apps, or a cheaparse "terminal server", Win4Lin rocks. I've
yet to play with the proper Win4Lin servers. ]

- Jeff

-- 
   What do you get when you cross a web server and a hen?   
  Apoache.  

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



[SLUG] Help I got hacked!!

2001-07-02 Thread Andy Eager

Hi all,

Help...

I've just managed to get myself back online after a few days of 
repairing damage caused by my first hack attack.

I got hit by 'luckroot' which basically changes a whole heap of stuff in 
/etc, /bin and all the usuals.  It seems to be an address / port scanner 
which collects stuff and emails it back to someone somewhere 


I fixed everything (I think except for /dev/hdc, /dev/console and the 
/dev/tty's) 

My question is:  Can I safely force rpm to reinstall the dev package ? 
(without screwing my hard disk settings in the process ?

Also, does anyone know of a service on the net that can attempt to find 
these holes in my firewall / sysconfig without doing damage ?

Thanks,

Andrew E.

PS:   Haven't these hacking  pr??ks got anything better to do with their 
time !!


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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Jeff Waugh



> My question is:  Can I safely force rpm to reinstall the dev package ? 
> (without screwing my hard disk settings in the process ?

You *need* to take the machine offline, and rebuild or replace it. This is
the only safe way to deal with it (and not having it come back to bite your
arse next rainy day).

- Jeff

-- 
 "On Tuesday I saw Crouching Tiger, Hidden Dragon with Zack and two 
 ladies whom I presume are gracious." - Seth Schoen 

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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Jon Austin

Hi Andy,

> I've just managed to get myself back online after a few days of 
> repairing damage caused by my first hack attack.

> I got hit by 'luckroot' which basically changes a whole heap of stuff in 
> /etc, /bin and all the usuals.  It seems to be an address / port scanner 
> which collects stuff and emails it back to someone somewhere 

If someone has installed a 'rootkit' on your box, then you are in
big trouble and need to re-install from scratch. Do *NOT* keep 
any binaries from your current box - data files only. Without something
'like' tripwire to verify the integrity of your binary files, you
probably still have trojaned programs lying around. Although
the cracker may not have access, you simply do not know
what little goodies they have left lying around for you.

Regards,

Jon Austin

- Original Message - 
From: "Andy Eager" <[EMAIL PROTECTED]>
To: "slug" <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 6:19 PM
Subject: [SLUG] Help I got hacked!!


> Hi all,
> 
> Help...
> 
> I've just managed to get myself back online after a few days of 
> repairing damage caused by my first hack attack.
> 
> I got hit by 'luckroot' which basically changes a whole heap of stuff in 
> /etc, /bin and all the usuals.  It seems to be an address / port scanner 
> which collects stuff and emails it back to someone somewhere 
> 
> 
> I fixed everything (I think except for /dev/hdc, /dev/console and the 
> /dev/tty's) 
> 
> My question is:  Can I safely force rpm to reinstall the dev package ? 
> (without screwing my hard disk settings in the process ?
> 
> Also, does anyone know of a service on the net that can attempt to find 
> these holes in my firewall / sysconfig without doing damage ?
> 
> Thanks,
> 
> Andrew E.
> 
> PS:   Haven't these hacking  pr??ks got anything better to do with their 
> time !!
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug


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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Alister Waller

I want to move some files from one directory to another using a script.
I am using a cron job to call the script  and need to have the errors
emailed to me (which is the default)
The files are created with rolling numbers so will always be different
names, same extension.
There may be none, one or many files in the directory.

I am probably going about it the wrong way, my scripting is very rusty. I
could try the /bin/ls and grep the result and see if it is too slow. I just
thought there may be an easy way I have overlooked.


what I am trying to achieve:

I want to check to see if there are any files to move (otherwise I get an
error message generated if there are none)
Then move the relevant files

eg:

if [[ -e *.TXT ]] ; then
mv *.TXT /tmp
fi

rgegards

Alister


- Original Message -
From: "Russell Davies" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 5:43 PM
Subject: Re: [SLUG] if [[ -e *.TXT ]] ; then


> ; how do I check that a file with a particular extension exists in a
directory
> ; in a shell script.
>
> a more relevant question is why do you want to? It sounds like you're
> checking to see if a file exists before you do something to it (process
> it, move it, delete it) this is a race condition and is considered to
> be bad programming. What are you really trying to do?
>
> r.
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug


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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Russell Davies

; I want to check to see if there are any files to move (otherwise I get an
; error message generated if there are none)
; Then move the relevant files
; 
; if [[ -e *.TXT ]] ; then
; mv *.TXT /tmp
; fi

yes, I thought as much. That's pointless, just move them. If there's
nothing there, you won't move anything.

$ mv *.TXT /tmp

r.

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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Jeff Waugh



> ; I want to check to see if there are any files to move (otherwise I get an
> ; error message generated if there are none)
> ; Then move the relevant files
> 
> yes, I thought as much. That's pointless, just move them. If there's
> nothing there, you won't move anything.
> 
> $ mv *.TXT /tmp

And if you don't like the error message:

mv *.TXT /tmp 2> /dev/null

- Jeff

-- 
You know a French woman is faking it when she screams, "I would like
 the table near the window please!" 

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



RE: [SLUG] From newbie to...

2001-07-02 Thread Chris Barnes

I think a good area to start would be disk partitioning. I've tought a fair
share of people how to install linux and the area they stumble on the most
is partitioning. I know this is a really basic topic, but going from an o/s
like winblows where disk partitioning is seldom spoken of, to an o/s where
proper partitions are critical can be quite confusing and frustrating.

I also think that someone should discuss the relationship between Physical
memory and Swapped memory. Alot of people make a swap partition not knowing
how large they should really make it. Sure you can make your swap partition
1 meg and linux will boot fine, but how will things work differently if you
have 192Mb Physical, and only 1Mb Swap, or 8Mb Physical, and 192 Swap.

Its little but it can greatly affect the operation of linux, and people need
to know this when they install linux...well thats what i think anyway.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 2 July 2001 12:14
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] From newbie to...


--- Crossfire <[EMAIL PROTECTED]> wrote: 
>
> And on this note, I believe we still have a slot
> availible for the
> July meeting!

I would be happy to do a talk but have no idea what topic to choose.

Any requests from those people out there new to list? Any requests from
those not so new to the list? ;)

What would **you** like to see a talk on?

Marty

--

Searching for "A Better Way" to a home loan, call RAMS on 13 7267, or go to 
http://www.rams.com.au

The e-mail and any attachments may contain confidential information.  If you receive 
it in error you must not use or disclose the information. You must tell us and delete 
it. We do not waive any legal privilege by sending it. RAMS does not promise that the 
email is free from virus defect or error.

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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Andy Eager


Thanks for that lovely piece of information.  I guess the key to the 
whole thing is to have a reasonably quick and easy way of installing 
from scratch without having to go through all the headaches associated 
with a 'clean install'.

Fortunately I keep all data backed up, so thats not a problem but having 
built the machine from scratch as a humble newbie only 6 months ago 
( I couldn't even spell Linux...) I've got stuff like nfs, ntp, 
named, samba etc, etc which all just 'evolved' over time. 

Wouldn't a reasonable compromise be to do the following:

verify each installed package:rpm -V -a
(Now we know each package is OK)

for each file in all directories except home, do:   rpm -qif 
(If it doesn't belong to any package then warn user)

The problem I have is that it will probably take me days to rebuild (and 
re-remember) everything I did over the past six months in terms of 
administration.  Then having done that, the same thing happens 
again. (because I still don't know how they got in)


Andrew E.
( A desperate optimist who untill now, believed that all people (even 
hackers) were good )





Jeff Waugh wrote:

> 
> You *need* to take the machine offline, and rebuild or replace it. This is
> the only safe way to deal with it (and not having it come back to bite your
> arse next rainy day).
> 
> - Jeff
> 



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



[SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Andy Eager


Has anyone downloaded the new version of Gnome 1.4 (the new 1.4 not the 
old 1.4 released a while back). 

I thought the first release was pretty good, Mozilla not too slow 
(though slower than ye old Netscape 4.7x), and Abiword only crashed 
every now & then.

I got the latest release from the ximian site last night, and loaded it up.
Now Mozilla mail (the funky new bluey / grey look) crashes when you try 
to compose an outgoing email (or forward an existing message).

Also Abiword seems to be even less stable and they have removed the 
'classic' gnome look as an option on startup.


Anyone having similar problems ?

Regards,

Andrew E.


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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Alister Waller

That will do it.

Thanks

alister
- Original Message -
From: "Jeff Waugh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 7:02 PM
Subject: Re: [SLUG] if [[ -e *.TXT ]] ; then


> 
>
> > ; I want to check to see if there are any files to move (otherwise I get
an
> > ; error message generated if there are none)
> > ; Then move the relevant files
> >
> > yes, I thought as much. That's pointless, just move them. If there's
> > nothing there, you won't move anything.
> >
> > $ mv *.TXT /tmp
>
> And if you don't like the error message:
>
> mv *.TXT /tmp 2> /dev/null
>
> - Jeff
>
> --
> You know a French woman is faking it when she screams, "I would like
>  the table near the window please!"
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug


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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Jeff Waugh



> Fortunately I keep all data backed up, so thats not a problem but having 
> built the machine from scratch as a humble newbie only 6 months ago 
> ( I couldn't even spell Linux...) I've got stuff like nfs, ntp, 
> named, samba etc, etc which all just 'evolved' over time. 

You should be able to clean install, and go through the /etc in the backup.
That's probably your quickest way to getting it up, but more importantly
getting it back up secure.

> rpm -V -a
> 
> rpm -qif 

Well, I wouldn't... :)

> The problem I have is that it will probably take me days to rebuild (and 
> re-remember) everything I did over the past six months in terms of 
> administration.  Then having done that, the same thing happens 
> again. (because I still don't know how they got in)

/etc on your backups will save you. There haven't been many cases for which
a rebuild and full copy (overwriting the newly installed stuff) of /etc
haven't worked for me. Thankfully, I haven't had a box abused in such a
fashion thus far. :)

- Jeff

-- 
"If your life was a movie, would you pay to see it? Would you pay to
see an advertisement for it?" - James Morris

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



Re: [SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Jeff Waugh



> Has anyone downloaded the new version of Gnome 1.4 (the new 1.4 not the 
> old 1.4 released a while back). 

Heh, there's (so far) only one GNOME 1.4, but Ximian did upgrade their
packages recently...

> I got the latest release from the ximian site last night, and loaded it up.
> Now Mozilla mail (the funky new bluey / grey look) crashes when you try 
> to compose an outgoing email (or forward an existing message).
> 
> Also Abiword seems to be even less stable and they have removed the 
> 'classic' gnome look as an option on startup.

I only use Ximian GNOME at work, and at the moment we're stuck with a
dial-up connection so haven't upgraded yet. If no one else has tried, we can
always find out from the Ximian monkeys (try their MonkeyTalk app, or #gnome
on irc.au.gnome.org).

- Jeff

-- 
   "The ability to procrastinate is what separates us from the machines."   
 - Chris Gregory, Desktop Magazine  

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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Tom Massey

On Mon, Jul 02, 2001 at 07:17:32PM +1000, Andy Eager wrote:
> 
> Thanks for that lovely piece of information.

Think of it this way - you now have a valid reason to do an
rm -rf / :-). IMHO you really should start over completely -
yes, it's a hassle, but much less of one then not doing this
and having the nagging doubts that there may be something on
the system left over from the attack that's doing things you'd
really rather it didn't... 

> Fortunately I keep all data backed up, so thats not a problem but having 
> built the machine from scratch as a humble newbie only 6 months ago 
> ( I couldn't even spell Linux...) I've got stuff like nfs, ntp, 
> named, samba etc, etc which all just 'evolved' over time. 

This is one reason for keeping a paper notebook in which you write down
everything you do on the system.
 
> Wouldn't a reasonable compromise be to do the following:
> 
> verify each installed package:rpm -V -a
> (Now we know each package is OK)

Assuming they haven't installed a trojaned version of rpm or similar.
You can only be sure the packages are OK if you're getting them of your
installation CDs, downloading from a trusted site and checking
signatures and so on.

> for each file in all directories except home, do:   rpm -qif 
> (If it doesn't belong to any package then warn user)

Again, only if you can trust the version of rpm on your system. And you
really can't at this stage.

> ( A desperate optimist who untill now, believed that all people (even 
> hackers) were good )

Ah, don't go there. Hackers *are* good. You got burnt by crackers.

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Heracles

Chris Barnes wrote:
> 
> I think a good area to start would be disk partitioning. I've tought a fair
> share of people how to install linux and the area they stumble on the most
> is partitioning. 
The major reason they have problems is the difference between
distributions. For example - those that use the /opt directory need
either a separate partition for it or a very large / partition whereas
those that put software under /usr etc can get away with a small one.
SO yes, a talk on partitioning would be useful as long as it is NOT
hijacked by the poor deluded Debian junkies ;-P

A talk on the GIMP would also be useful.

Stay well and happy
Heracles

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



Re: [SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Peter Hardy

...and then Andy Eager said:
> Has anyone downloaded the new version of Gnome 1.4 (the new 1.4 not the 
> old 1.4 released a while back). 
I'm assuming you mean Ximian Gnome.  I updated this morning.

> I thought the first release was pretty good, Mozilla not too slow 
> (though slower than ye old Netscape 4.7x), and Abiword only crashed 
> every now & then.
Do you think?  I'll jump on the "Mozilla is good" bandwagon and profess
that I uninstalled Netscape almost 6 months ago.  I only use the browser,
and it's very fine.
As for Abiword, well, it's never crashed on me, but in the few documents
I've actually written with it, I had a lot of problems with the Styles
selection.  Trying to change from a Heading style back to plain text
doesn't work.

> I got the latest release from the ximian site last night, and loaded it up.
> Now Mozilla mail (the funky new bluey / grey look) crashes when you try 
> to compose an outgoing email (or forward an existing message).

Have you downloaded and installed any new mozilla themese?  I had problems
with mozilla refusing to start at all.  This was solved by deleting my
entire .mozilla directory.  You might want to try doing that (but make a
backup first!)

> Also Abiword seems to be even less stable and they have removed the 
> 'classic' gnome look as an option on startup.

*shrug*  Haven't really run it.  But, at least on my machine, it starts up
and looks exactly the same as it used to.

HTH,
Peter
[EMAIL PROTECTED]
-- 
A six.  A three.  A five.
Something was happening to the five, however.  Battered by the chance
collision of several billion molecules, the die flipped onto a point, spun
gently, and came down a seven.
Blind Io picked up the cube and counted the sides.
'Come on,' he said wearily. 'Play fair.'
   (Terry Pratchett, The Colour of Magic)

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Jeff Waugh



> SO yes, a talk on partitioning would be useful as long as it is NOT
> hijacked by the poor deluded Debian junkies ;-P

s/Debian/LSB/

- Jeff

-- 
   "Can we have a special TELSABUG category, and everything gets dropped
 to fix them first?" - Telsa Gwynne 

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



Re: [SLUG] alternative file systems

2001-07-02 Thread Heracles

DaZZa wrote:
> 
> On Mon, 2 Jul 2001, cpaul wrote:
> 
> > when i get my new hard disk, i think i'd like to try an alternative file
> > system than ext2.  i hear a lot of good things about reiserfs.  does anyone
> > have (positive) experience with journaling file systems?  are some better
> > suited to raid?
> 
> I use reiser on everything except my boot partition {I wasn't sure if I
> could - still aren't, really}, and it's great.
I have Reiser file system only on this machine (SuSE 7.1). Works fine.
You don't need the ext2 boot any more.

Stay well and happy
Heracles

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



[SLUG] St George, internet banking and Linux.

2001-07-02 Thread Mike Holland


Has anybody managed to access St.George internet banking from Linux?
What version? Should I change the Java VM?
  I found a thread in teh archives, but it went off on a tangent
 (surprise :)

  St.George made me upgrade Netscape, and now I find a horrible Java
applet, that doesnt work. the "bouncy keypad" wont take my PIN.
  The ANZ and Commonwealth work fine under Netscape without Java.

-- 
Mike Holland  <[EMAIL PROTECTED]>
  --==--


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



Re: [SLUG] alternative file systems

2001-07-02 Thread Jeff Waugh



> when i get my new hard disk, i think i'd like to try an alternative file
> system than ext2.  i hear a lot of good things about reiserfs.  does anyone
> have (positive) experience with journaling file systems?  are some better
> suited to raid?

Oh, I should have mentioned the other major advantage of XFS - POSIX ACLs.
That means you can have a kickarse Samba 2.2 server, with full Windows NT
ACL support.

If that's your thing. ;)

- Jeff

-- 
  We're kind of like Canada, only we hate ourselves more, and it's wetter   
 around the edges.  

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



[SLUG] win4lin + reiserfs = ok

2001-07-02 Thread Andre Pang

hello,

i was doing a search on google about reiserfs and win4lin and noticed
that somebody (Jim Clark?) was trying to do it without success.

report: win4lin 3.0 + kernel 2.4.4 + reiserfs works perfectly.  i even
munged it to work properly on a Debian system :).

i'll put up a webpage about it sometime soon if i get enough replies to
this message asking about it ...


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

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



Re: [SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Andy Eager

Jeff Waugh wrote:

> 
> 
>> Has anyone downloaded the new version of Gnome 1.4 (the new 1.4 not the 
>> old 1.4 released a while back). 
> 
> 
> Heh, there's (so far) only one GNOME 1.4, but Ximian did upgrade their
> packages recently...

Yeh, I know and thats the problem.  They upgrade their packages  (quite 
considerably ) and still called it 1.4.  I know that's like having 
RedHat 6.2 with a 2.2.19 kernel, but at least in RedHat's case, the 
distro release does give some indication of backward compatability - Not 
the case here I can assure you.

> 
>> I got the latest release from the ximian site last night, and loaded it up.
>> Now Mozilla mail (the funky new bluey / grey look) crashes when you try 
>> to compose an outgoing email (or forward an existing message).
>> 
>> Also Abiword seems to be even less stable and they have removed the 
>> 'classic' gnome look as an option on startup.
> 
> 
> I only use Ximian GNOME at work, and at the moment we're stuck with a
> dial-up connection so haven't upgraded yet. If no one else has tried, we can
> always find out from the Ximian monkeys (try their MonkeyTalk app, or #gnome
> on irc.au.gnome.org).

If you keep a copy of the redcarpet package directory  
(/var/cache/redcarpet) somewhere on your network and then copy it back 
to /var/cache/redcarpet when you do your upgrade, it only takes an hour 
or two (closer to two but not 7 - 8 hours as the full 115 M from scratch 
would take).




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



Re: [SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Jeff Waugh



> Yeh, I know and thats the problem.  They upgrade their packages  (quite
> considerably ) and still called it 1.4.  I know that's like having RedHat
> 6.2 with a 2.2.19 kernel, but at least in RedHat's case, the distro
> release does give some indication of backward compatability - Not the case
> here I can assure you.

Well, every GNOME package is versioned separately. Ximian are currently only
shipping their somewhat modified GNOME 1.4, plus security updates, and a
couple of packages that have been released post-1.4. We should be seeing a
1.4.1 release soon enough, thanks to Seth and Kjartan. :)

> If you keep a copy of the redcarpet package directory
> (/var/cache/redcarpet) somewhere on your network and then copy it back to
> /var/cache/redcarpet when you do your upgrade, it only takes an hour or
> two (closer to two but not 7 - 8 hours as the full 115 M from scratch
> would take).

Or: Debian, apt, and NFS mounted /var/cache/apt/archives. :)

- Jeff

-- 
 The worst vice is advice.  

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Martin

$author = "Mehmet Ozdemir" ;
> 
> Maybe a recap on perl scripting, showing practical examples of it's use,

i have a few perl scripts in action. none of them jump out as inspiring
though.

the only good one has some serious reg-ex-ing in it. anyone feel that a talk
on perl and regex is in order?

anyone got a menial task that they are sick of doing that i might have a
solution for?

later
marty

"I can't buy what I want because it's free. Can't be what they want
because I'm me." - Corduroy, Pearl Jam

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



Re: [SLUG] St George, internet banking and Linux.

2001-07-02 Thread Stephen Robert Norris

On Mon, Jul 02, 2001 at 06:07:02PM +0800, Mike Holland wrote:
> 
> Has anybody managed to access St.George internet banking from Linux?
> What version? Should I change the Java VM?
>   I found a thread in teh archives, but it went off on a tangent
>  (surprise :)
> 
>   St.George made me upgrade Netscape, and now I find a horrible Java
> applet, that doesnt work. the "bouncy keypad" wont take my PIN.
>   The ANZ and Commonwealth work fine under Netscape without Java.
> 
> -- 
> Mike Holland  <[EMAIL PROTECTED]>

It certainly works with netscape 4.7x.

It certainly doesn't work with any version of galeon.

-- 
Stephen Norris[EMAIL PROTECTED]
Farrow Norris Pty Ltd   +61 417 243 239

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



Re: [SLUG] alternative file systems

2001-07-02 Thread Andre Pang

On Mon, Jul 02, 2001 at 05:26:29PM +1000, Jeff Waugh wrote:

> > Because of Reiser's peculiarities with NFS I was wondering if I could put
> > XFS on a spare partition that I have and use that for the NFS sharing?
> 
> Hasn't this been fixed recently? I'm sure it was in at least the 2.4 tree.

yes, see http://www.namesys.com/faq.html#nfs for more information.  (you
might want to bookmark that page if you're using reiserfs -- it's very,
very handy.)

(nb: that page also pays out qmail, for those interested in that sort of
thing :)


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

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



Re: [SLUG] alternative file systems

2001-07-02 Thread cpaul

> > when i get my new hard disk, i think i'd like to try an alternative file
> > system than ext2.  i hear a lot of good things about reiserfs.  does
anyone
> > have (positive) experience with journaling file systems?  are some
better
> > suited to raid?
>
> Oh, I should have mentioned the other major advantage of XFS - POSIX ACLs.
> That means you can have a kickarse Samba 2.2 server, with full Windows NT
> ACL support.


xfs shure looks a lot more inviting than reiserfs

samba is definitely of interest.. thanks for the pointers!




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



LSB 1.0 (was Re: [SLUG] From newbie to...)

2001-07-02 Thread Tom Massey

On Mon, Jul 02, 2001 at 07:52:08PM +1000, Jeff Waugh wrote:
> 
> 
> > SO yes, a talk on partitioning would be useful as long as it is NOT
> > hijacked by the poor deluded Debian junkies ;-P
> 
> s/Debian/LSB/

Interesting point there. We don't seem to have had any discussion on slug
about the recent LSB 1.0. (Presumably in this context that LSB 1.0 doesn't
look so great to 'Debian junkies', certainly a number of people on
debian-user have complained about the preferencing of rpm over deb, even
if they clearly have little knowledge of rpm :-).

Vaguely throwing out the question:

What do people think of the LSB 1.0 standards?

(Wallow around at  if you need more info). 

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



[SLUG] GnuPG keyfile fun

2001-07-02 Thread Matt Hope

So I've finally decided to join the masses, and organise myself a GnuPG
keyfile / sig / whatever-the-hell-its-supposed-to-be-called.

I've been through the documentation, and just have one query.

I grab jdub's key (this is an example)
gpg --keyserver www.pgp.net --recv-keys 565B38F9

Coolo, I can verify mails that jdub signs.
Now, to the 'web of trust' stuff..

If jdub signs somebody else's key (say Crossfire's), and then re-uploads
his key to the keyserver, I would have to check the keyserver and download
it again so that I can trust Crossfire (if I set the appropriate trust
stuff for jdub's key)

Is there any way to update the keys I've got, or any way to relise that
there is a new key to download ?


/dopey


 PGP signature


Re: LSB 1.0 (was Re: [SLUG] From newbie to...)

2001-07-02 Thread Jeff Waugh



> What do people think of the LSB 1.0 standards?

Well, yeah. I was hoping that Heracles wouldn't drop the "How to annoy a
Debian user talking up the LSB" cluster bomb. Lucky me. ;)

I think it's very good, and very worthwhile. But yeah, I have a little bit
of a niggle with the packaging section [*]. Excellent work on a very tough
job though, and I hope the many not-quite-LSB and FHS distros take on these
standards soon.

- Jeff

[*] Whilst the idea of a standard packaging system is important, I don't
think it offers any distinct advantages to users at the moment. Developers,
yes. Proprietary software vendors, yes. Users... Not really.

In the blue corner, we have RPM, which is widely known, and has plenty of
third party support.  In the red corner, we have deb, which is known well
throughout the Debian community, and allows for the incredibly anal
retentive distribution that it is.

Most RPM-based distro users claim to have an advantage in that they can get
RPM packages of whatever they want, anywhere. Most Debian users don't use
third party (defined as non-Debian official trees, or at least non-Debian
developer maintained) packages at all.

My perspective is that I prefer to use either the packages that are
available (or that I can contribute) to Debian, rather than use mediocre,
middle-of-the-road RPMs designed for various distributions that I may or may
not use (Mandrake vs. Red Hat vs. SuSE vs. Conectiva, etc.)

But that's just me. :)

-- 
  We're kind of like Canada, only we hate ourselves more, and it's wetter   
 around the edges.  

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



Re: [SLUG] if [[ -e *.TXT ]] ; then

2001-07-02 Thread Terry Collins

Alister Waller wrote:
> 
> I should point out that there are 1000's of files in this directory so doing
> an ls of all of them might not be the best way.

then you just start off

for o in a b c d e f g x y z 
do 
> > if [ ! -z $(/bin/ls -1 $o | grep -c .TXT$) ]; then echo pants; fi
done

or whatever.

been there recently. {:-)

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"

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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Terry Collins

Andy Eager wrote:

...snip

> ( I couldn't even spell Linux...) I've got stuff like nfs, ntp,
> named, samba etc, etc which all just 'evolved' over time.

In the old days (cue music) one would keep a log of all changes made.
Still worth doing when your a newbie and keep doing until the day it all
becomes automatic.

(do as I say, not as I do {:-)

Now, a debian cult follower will jump in here and say;

"Under debian - all you have to do is burn a backup of /etc and you have
all the customisation safely tucked away."

I just thought I would save someone the effort. {:-)

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"

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



Re: [SLUG] St George, internet banking and Linux.

2001-07-02 Thread Terry Collins

Stephen Robert Norris wrote:
> 
> On Mon, Jul 02, 2001 at 06:07:02PM +0800, Mike Holland wrote:
> >
> > Has anybody managed to access St.George internet banking from Linux?
> > What version? Should I change the Java VM?
> >   I found a thread in teh archives, but it went off on a tangent
> >  (surprise :)
...snip

 > Mike Holland  <[EMAIL PROTECTED]>
> 
> It certainly works with netscape 4.7x.

Umm, nope - it will no longer work with 4.72.
SWMBO had just gotten used to internet banking on 4.72 on linux when St
George started rejecting it. I'm trialling 4.76 and it is worse
(reliability wise).

SWMBO is so P'd off she has gone to phone banking (quicker).

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"

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



Re: [SLUG] St George, internet banking and Linux.

2001-07-02 Thread Rev Simon Rumble

On Mon, Jul 02, 2001 at 06:07:02PM +0800, Mike Holland uttered:
> 
> Has anybody managed to access St.George internet banking from Linux?
> What version? Should I change the Java VM?
>   I found a thread in teh archives, but it went off on a tangent
>  (surprise :)
> 
>   St.George made me upgrade Netscape, and now I find a horrible Java
> applet, that doesnt work. the "bouncy keypad" wont take my PIN.
>   The ANZ and Commonwealth work fine under Netscape without Java.

It works fine in NS 4.7.  The "bouncy keypad" only accepts the first
number of your PIN and then beeps for the next three.  Ignore the
beeps -- it actually takes in the PIN and works fine.

No success with Konqueror or Mozilla though :(

-- 
Rev Simon Rumble <[EMAIL PROTECTED]>
www.rumble.net

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



[SLUG] NVdriver not auto loadin after kernel upgrade

2001-07-02 Thread Mehmet Ozdemir

Hello All,

I recently upgraded the stock Redhat 7.1 kernel to 2.4.3-12. While the 
kernel update went thru fine, NVdriver no longer loads on boot.

Just to be sure I remove the old kernel rpm (for NVdriver) for 7.1, 
downloaded the src.rpm, rebuilt it under the ne kernel and installed it. 
Yet it still will not auto load on boot. If i run /sbin/insmod NVdriver 
it load w/o problems from /lib/modules/2.4.3-12/*** etc etc.

In my modules.conf a have the following:
alias char-major-195 NVdriver

Am I missing something obvious?

Mehmet Ozdemir


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



[SLUG] Geforce MX400 glitch under X

2001-07-02 Thread Mehmet Ozdemir

Hello Again,

I recently upgraded my video card from an AGP TNT2M64 to Geforce 2 
MX400. Since new the MX400 have been glitching in X, it did it in 4.0.3 
and does it in 4.1.0, The problem on happens in 2D mode where a scanline 
or two will "glitch" sort of like when you a power surge, most of the 
picture is fine just a couple of scanlines, apear to be random in time 
and where it happens on screen.  The card work perfectly in 3D.

Things I have tries so far,

different X, currently 4.1.0
enable/disable AGP/AGPGART
change BIOS AGP speed NORMAL/DEFAULT/FAST
AGP Apearate size, tried 8, 16, 32, 64, (currently on 256 just the the 
hell of it)

So far I have been unable to resolve the problem, I don't want to go 
back to the TNT2 as the Geforce seems alot smooted in quake and tuxracer !!

System Specs:
Abit BF6 MB
PIII 500E, (clocked at 120 X 5 = 600 MHZ), yes have tried clocking it 
back to 500 the glitch is still there :)
512 MB RAM
Geforce 2 MX 400
SB PCI 128
Tulip LAN

Any ideas on what could be the problem could be?

Regards

Mehmet Ozdemir


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



Re: [SLUG] Max in $2, $3

2001-07-02 Thread Andrew Bennetts

On Mon, Jul 02, 2001 at 02:39:40PM +1000, Jobst Schmalenbach wrote:
> On Mon, Jul 02, 2001 at 11:15:05PM +1000, Terry Collins ([EMAIL PROTECTED]) wrote:
> > As I can not find anything in the archives, I thought I would ask the
> > list.
> > 
> > Just need to run though a file and find the maximum number in field 2
> > and field 3. (Two runs okay).
> 
> Cant you just pipe it through sort and awk/sed the first line?

(assuming comma delimited)

sort -n -t, -r -k 2 | head -n 1 | cut -d "," -f 2

See the sort/head/cut man pages to decipher.  In short, it numerically
sorts in reverse order, seperating the fields with a ",", and using
field 2 as the sort key.  It then takes the first line, and then removes
all but the second field.

I may have the field number off by one.. a quick moments fiddling will
find out.

And you'd do the almost the same for field 3, of course.

Or in python (1.5.2):

#!python
import string, sys

if len(sys.argv) < 1: 
print "Usage:  "
print "e.g. find_max.py datafile.txt 2,3"
sys.exit()

# Turn the "2,3" into a python list [2,3]
max_list = map(int,string.split(sys.argv[2]),",")

# Initialise the result list to the appropriate length.
# I'm assuming you aren't worried about negative values.
max_values = [0.0] * len(max_list)

# No error checking is done... if something unexpected happens, tough.
for line in open(sys.argv[1],'r').readlines():
# Assume comma is the seperator
fields = string.split(string.strip(line),",")
for pos in max_list:
max_values[pos] = max(max_values[pos],float(fields[pos]))

# Iterate over two lists simultaneously
for pos, value in map(None, max_list, max_values):
print "Field %d has a maximum value of %f" % (pos, value)


Note that this script will find as many maximum values as you like at
once.  It's more verbose, but it ought to be faster than the
shell commands on larger files, as it doesn't need to sort the 
data first.  It's also completely untested, but it looks ok...

It's not a very interesting script, but I thought the list could do with
some variety from the usual perl gunk ;)

-Andrew.

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



Re: [SLUG] Gnome 1.4 - Mozilla / Abiword bugs

2001-07-02 Thread Mehmet Ozdemir

Andy Eager wrote:

>
> Has anyone downloaded the new version of Gnome 1.4 (the new 1.4 not 
> the old 1.4 released a while back).
> I thought the first release was pretty good, Mozilla not too slow 
> (though slower than ye old Netscape 4.7x), and Abiword only crashed 
> every now & then.
>
> I got the latest release from the ximian site last night, and loaded 
> it up.
> Now Mozilla mail (the funky new bluey / grey look) crashes when you 
> try to compose an outgoing email (or forward an existing message).
>
> Also Abiword seems to be even less stable and they have removed the 
> 'classic' gnome look as an option on startup. 

I can't comment about Abiword, but I'm sending this email to from a 
fully up to date Ximian machine and Mozilla 0.9.1 appears fine, infact I 
was using the non ximian Mozilla 0.9.1 rpms since they were available at 
mozilla.org w/o problems and only removed them so I could be in sync 
with the ximian files.

Regards

Mehmet Ozdemir



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



Re: [SLUG] Max in $2, $3

2001-07-02 Thread Scott Howard

On Mon, Jul 02, 2001 at 11:55:56PM +1000, Andrew Bennetts wrote:
> > > Just need to run though a file and find the maximum number in field 2
> > > and field 3. (Two runs okay).
> > 
> > Cant you just pipe it through sort and awk/sed the first line?
> 
> (assuming comma delimited)
> 
> sort -n -t, -r -k 2 | head -n 1 | cut -d "," -f 2

Or, to use a pile less memory :

cut -d "," -f 2 | sort -n -r | head -1

ie, trim the excess data _before_ you load it all into memory for sort.
Passing -u to sort would probably use a little less memory too if you've
got duplicate data in that column.

That said, you'd be better doing it in a way which wouldnt load anything
into memory, like awk (presuming positive numbers)

awk ' $2>A { A=$2 } $3>B { B=$3} END { print A,B } '

Perl is another option, but I doubt you could do it any smaller than the
above...

  Scott.

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



Re: [SLUG] Max in $2, $3

2001-07-02 Thread Terry Collins

Scott Howard wrote:

> That said, you'd be better doing it in a way which wouldnt load anything
> into memory, like awk (presuming positive numbers)
> 
> awk ' $2>A { A=$2 } $3>B { B=$3} END { print A,B } '

Yep, that was what I was after.
 
The file consisted of 134,069 entries like

PD 456,78

in a HPGL plot file. So culling the starting and ending lines, the :,$
s/,/ / to replace the comma by a space and running ScoTt awk line
produced what I needed; the input to the IP paramters (bottom left and
top right of the plot area.

This is alll from trying to fix programs mentioned in the postscript to
HPG converter I am seeking.

Umm, with 134,069+ lines, sort was not an option.

Thanks all.
--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"

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



Re: [SLUG] St George, internet banking and Linux.

2001-07-02 Thread Gonzalo Servat

Doesn't work with Opera at all.

Gonzalo

++ 02/07/01 13:52 +0100 - Rev Simon Rumble:
> On Mon, Jul 02, 2001 at 06:07:02PM +0800, Mike Holland uttered:
> > 
> > Has anybody managed to access St.George internet banking from Linux?
> > What version? Should I change the Java VM?
> >   I found a thread in teh archives, but it went off on a tangent
> >  (surprise :)
> > 
> >   St.George made me upgrade Netscape, and now I find a horrible Java
> > applet, that doesnt work. the "bouncy keypad" wont take my PIN.
> >   The ANZ and Commonwealth work fine under Netscape without Java.
> 
> It works fine in NS 4.7.  The "bouncy keypad" only accepts the first
> number of your PIN and then beeps for the next three.  Ignore the
> beeps -- it actually takes in the PIN and works fine.
> 
> No success with Konqueror or Mozilla though :(
> 
> -- 
> Rev Simon Rumble <[EMAIL PROTECTED]>
> www.rumble.net
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 

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



Re: [SLUG] Max in $2, $3

2001-07-02 Thread Scott Howard

On Tue, Jul 03, 2001 at 11:10:10AM +1000, Terry Collins wrote:
> Scott Howard wrote:
> 
> > That said, you'd be better doing it in a way which wouldnt load anything
> > into memory, like awk (presuming positive numbers)
> > 
> > awk ' $2>A { A=$2 } $3>B { B=$3} END { print A,B } '
> 
> Yep, that was what I was after.
>  
> The file consisted of 134,069 entries like
> 
> PD 456,78
> 
> in a HPGL plot file. So culling the starting and ending lines, the :,$
> s/,/ / to replace the comma by a space and running ScoTt awk line
> produced what I needed; the input to the IP paramters (bottom left and
> top right of the plot area.

Why didn't you say so!! :)

nawk -F',| ' 
'!/^PD/{continue}$2X2||!X2{X2=$2}$3Y2||!Y2{Y2=$3}END{printf"(%s,%s)
 (%s,%s)\n",X1,Y1,X2,Y2}'

will do the lot for you - including looking after the space/comma, the
start and end lines, and it will now even handle negative numbers!
(Under Solaris you need to use nawk to get this to work. Under Linux
normal awk should work as from memory awk/nawk/gawk are all the same).

  Scott.

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



Re: [SLUG] St George, internet banking and Linux.

2001-07-02 Thread Matt Allen

Mike,

It works fine for me under netscpae in linux.

the "bouncy keyobard" looks like its not taking your PIN, ie stops after 1 keystroke, 
but actually takes it all.

The linux version of the app is the old version, under windows you get a new version 
that is alot more spunkier.

Give it a whirl.

Matta

On Mon, Jul 02, 2001 at 06:07:02PM +0800, Mike Holland wrote:
> 
> Has anybody managed to access St.George internet banking from Linux?
> What version? Should I change the Java VM?
>   I found a thread in teh archives, but it went off on a tangent
>  (surprise :)
> 
>   St.George made me upgrade Netscape, and now I find a horrible Java
> applet, that doesnt work. the "bouncy keypad" wont take my PIN.
>   The ANZ and Commonwealth work fine under Netscape without Java.
> 
> -- 
> Mike Holland  <[EMAIL PROTECTED]>
>   --==--
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

-- 
Matt Allen
Technical Director
Investigation Marketplace
0413 777 771
[EMAIL PROTECTED]

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Anand Kumria

On Mon, Jul 02, 2001 at 06:03:07PM -1000, Mehmet Ozdemir wrote:
> >
> >
> >>Although Andrew Tridgewell gave a talk on samba this month a talk could 
> >>be done on installing and configuring samba 2.2 as a primary domain 
> >>controller, perhaps using vmware/win4lin (does 3.0 support nt domains ?) 
> >>this talk could be done on one pc.
> >>
> >
> >2.2 supports PDC for NT domains too, one of the major reasons why it was
> >released. This is one of the things I had in my "sysadmin-related" set of
> >talks to do, especially after last month. :)
> >
> 
> Err, i was talking about win4lin 3.0 not samba 3.0, ie with samba 2.2 
> installed as PDC, you could have win4lin 3.0 login to the Samba PDC (if 
> win4lin 3.0 support nt domains networking). Just an idea for a 
> presentation where the entire talk could be done on one pc.

win4lin doesn't have to support 'nt domains'. It, as has been mentioned
before, runs a copy of Windows under Linux. It supports whatever Windows
supports.

The real question is: Does the versions of Windows (95 / 98 / ME?)
support NT Domain networking?

The answer is: barely.

Finally there isn't actually that much *new* and *useful* about Win4Lin 3.0.
Very little that you, as an end user, would notice I'd wager. Will you
notice support for SMP Linux kernels? Will you notice suport for 2.2.x
and/or 2.4.x Linux kernels? Will you notice support for different Linux
locales and charsets and input methods? 

Anand

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



Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Bevan Broun

> any binaries from your current box - data files only. Without something

And data/config files must be checked. No point pointing back nice secure
binaries if a config file allows something it shouldnt.

You also need to try and identify how the cracker got in. You could rebuild
and leave the same hole open. Turn off every service in the first instance,
until you have updated packages. Turn on only what services you need and
try and restrict these services only to the hosts that you need to serve.

BB

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



Re: [SLUG] From newbie to...

2001-07-02 Thread Anand Kumria

On Mon, Jul 02, 2001 at 07:10:04PM +1000, Chris Barnes wrote:
> I think a good area to start would be disk partitioning. I've tought a fair
> share of people how to install linux and the area they stumble on the most
> is partitioning. I know this is a really basic topic, but going from an o/s
> like winblows where disk partitioning is seldom spoken of, to an o/s where
> proper partitions are critical can be quite confusing and frustrating.

So a talk on say GNU parted would interesting?

I'd be willing to do one - but I'd really there were other members who
gave giving a presentation a go.

Anyone?

Anand

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



Re: LSB 1.0 (was Re: [SLUG] From newbie to...)

2001-07-02 Thread Anand Kumria

On Mon, Jul 02, 2001 at 09:58:33PM +1000, Tom Massey wrote:
> On Mon, Jul 02, 2001 at 07:52:08PM +1000, Jeff Waugh wrote:
> > 
> > 
> > > SO yes, a talk on partitioning would be useful as long as it is NOT
> > > hijacked by the poor deluded Debian junkies ;-P
> > 
> > s/Debian/LSB/
> 
> Interesting point there. We don't seem to have had any discussion on slug
> about the recent LSB 1.0. (Presumably in this context that LSB 1.0 doesn't
> look so great to 'Debian junkies', certainly a number of people on
> debian-user have complained about the preferencing of rpm over deb, even
> if they clearly have little knowledge of rpm :-).

Very few people do, check out:

http://kitenet.net/~joet/pkg-comp/>

for a fairly good feature-by-feature comparision.

Anand

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



[SLUG] Linux Cable Modem

2001-07-02 Thread Phillipus Gunawan



I had a cable connection with optus. The way I 
setup it in my eth0 is:
 
editing /etc/named.conf ---> adding the 
following lines after the 'directory' line with:
    forwarders(x.x.x.x; y.y.y.y; 
};
    allow-quesry { 192.168.0/24; 
127.0.0.1/32; };
 
on my 
/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 BOOTPROTO=dhcp 
ONBOOT=yes
 
And last one: /etc/sysconfig/network 
fileHOSTNAME=my_isp_assigned_name 
And the very last one: /sbin/ifup 
script
I change the 'calls' so the calls look 
like
/sbin/dhcpcd -i $DEVICE -h $HOSTNAME
-and-
/sbin/pump -i $DEVICE -h $HOSTNAME. 
 
 
This configuration works properly on my box before. 
2 days ago, I re-complie my kernel with the newest one. And now, when request 
the ip (dhcp) from my cable sever (eth0), it always fail.
 
Anybody could help me?
Thank You.
 
 


Re: LSB 1.0 (was Re: [SLUG] From newbie to...)

2001-07-02 Thread Steve Kowalik

On Tue, Jul 03, 2001 at 08:21:04AM +1000, Anand Kumria uttered:
> > Interesting point there. We don't seem to have had any discussion on slug
> > about the recent LSB 1.0. (Presumably in this context that LSB 1.0 doesn't
> > look so great to 'Debian junkies', certainly a number of people on
> > debian-user have complained about the preferencing of rpm over deb, even
> > if they clearly have little knowledge of rpm :-).
> 
> Very few people do, check out:
> 
> http://kitenet.net/~joet/pkg-comp/>
   ^
 Should be ~joey

> for a fairly good feature-by-feature comparision.
> 

-- 
Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me

 PGP signature


Re: [SLUG] Help I got hacked!!

2001-07-02 Thread Stephen Robert Norris

On Tue, Jul 03, 2001 at 08:14:29AM +1000, Bevan Broun wrote:
> > any binaries from your current box - data files only. Without something
> 
> And data/config files must be checked. No point pointing back nice secure
> binaries if a config file allows something it shouldnt.
> 
> You also need to try and identify how the cracker got in. You could rebuild
> and leave the same hole open. Turn off every service in the first instance,
> until you have updated packages. Turn on only what services you need and
> try and restrict these services only to the hosts that you need to serve.
> 
> BB

Installing Nessus somewhere and scan your machine after the rebuild will help
with working out how they got in. Just for interest, what distro and version
was it?

-- 
Stephen Norris[EMAIL PROTECTED]
Farrow Norris Pty Ltd   +61 417 243 239

 PGP signature


Re: [SLUG] win4lin + reiserfs = ok

2001-07-02 Thread Raoul Golan

Andre Pang <[EMAIL PROTECTED]> writes:

> hello,
> 
> i was doing a search on google about reiserfs and win4lin and noticed
> that somebody (Jim Clark?) was trying to do it without success.
> 
> report: win4lin 3.0 + kernel 2.4.4 + reiserfs works perfectly.  i even
> munged it to work properly on a Debian system :).
> 
> i'll put up a webpage about it sometime soon if i get enough replies to
> this message asking about it ...
> 

FWIW, I'd be interested to see how it can be installed under Debian...

-- 
:%s/[Ll]inux/GNU\/Linux/g


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



[SLUG] IPTABLES.

2001-07-02 Thread George (DJ Tremors) Vieira

Hey all,

Has anybody sucessfuly migrated their ipchains rules to iptables?

I changed mine to suit the syntax and tried it out no go. it looked as
though it didn't do the NAT properly...
anybody got some hints..??

I have 2 NICS where  eth0 is internal and eth1 is external.

ANYWHERE="0/0"
EXTDEV="eth2"
INTSN="192.168.0.0/24"

 /sbin/iptables -A POSTROUTING -t nat -o $EXTDEV -s $INTSN-d
$ANYWHERE-j MASQUERADE

Is this a short quick masquerade?

thanks,
George.


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



Re: [SLUG] alternative file systems

2001-07-02 Thread Colin Humphreys

On Tue, Jul 03, 2001 at 09:47:07AM +1000, DaZZa wrote:
> On Mon, 2 Jul 2001, Heracles wrote:
> 
> > > I use reiser on everything except my boot partition {I wasn't sure if I
> > > could - still aren't, really}, and it's great.
> >
> > I have Reiser file system only on this machine (SuSE 7.1). Works fine.
> > You don't need the ext2 boot any more.
> 
> As of which kernel?
> 
I don't think it was a kernel issue, but a bootloader issue. The latest
versions of lilo and grub will work fine. I don't know if you still need
the -notail option on the partion containing the kernel.

-Colin

 PGP signature


[SLUG] Detective skills - weird HDD problem

2001-07-02 Thread luke

The other day I mailed out about the new PC I'd happily installed RH7.1
on, in a 4-IDE controller motherboard with 2 ATA100 drives and 2 older
EIDE drives, and how I managed to get it booting off drives past the
1st 2.

Optus Cable is due tomorrow arvo to install a cable modem - this is the
reason that I bought a copy of Windows 98 for the new machine.  :-(

Anyway, last night I tried to boot up '98, just to make sure all was
well, and it wouldn't boot.  The HDD activity light flashes for about
0.1 secs every 8 seconds, and the boot proceeds a little further.  It's
like the drive is timing out after an initial successful read.

The old drives are now slaves to the 40Gb drives - on Sunday they
stopped being recognised ,on the 4th IDE controller, and in desperation
I pulled everything apart and shuffled all the drives around so that
the cables reached everything, and fixed up all the drive device names.
The (suspect) 4th IDE controller is no longer in use.

After that it seemed good.  One odd thing though, was that while
everything looked good and worked well under RH7.1, when I booted up
RH6.2 from the old 8Gb drive, I got lots of "/dev/hdf: lost interrupt"
errors while it was booting - in particular, while it was doing the
partition check on hdf (the older 4Gb drive); similarly on hde (one of
the new 40Gb drives).  Ditto for hde, the new 40Gb drive that's master
of the pair (on the 3rd IDE controller).

The period between "lost interrupt" error messages, remembering, was
probably also about 8 seconds.  It took maybe 3 minutes for Linux to
give up on the drives and let the boot proceed without those drives.

So, using RH7.1, I copied the home directories off the 4Gb drive and
onto the 8Gb one, make a symlink for /home on RH6.2, and booted up with
hda=noprobe and hdf=noprobe to get the old RH6.2 system working.

Win98 is on the 1st 3Gb partition on hda and RH7.1 on the next, on the
same drive.  And note that it's the 1st primary HDD.  Yet Windows 98
won't boot.

So, my question (in desperation) is, does anyone recognise these
symptoms? I'd think it was hardware except that everything works well
under RH7.1.  It's just the older OSes - RH6.2 and Win98 that have the
problem.

The problems that made me think the 4th IDE controller had simply
failed seem suspicious/significant.  (Looking at old /var/log/messages,
I noticed that every time the 4th IDE controller worked well, the RH7.1
boot had autosensed the BIOS properties of the 2 old drives on that
controller as hdX:dma, and every time it failed it reported them as
hdX:pio.  Yet there is no BIOS option for fiddling that.  I wondered
whether it was randomly sensing it as one way or the other.)

If no one has experienced this, then there is the option of installing
Windows again.  But I'm scared that may wipe out my Linux partitions,
and since it seems almost like a hardware problem, I'm not at all
confident that a re-install wouldn't make things substantially worse.

The only other option I can think of is to get the motherboard
replaced, but again, since everything *was* working fine under Win98,
and *does* work fine under RH7.1, it may not be the solution.

I should finally note that I've installed no extra sw on Windows; I've
not really touched it.  The only change was putting LILO on the MBR,
and it was still working fine after that.

All I've changed is the cabling and physical arrangement of the drives,
and some BIOS settings for the order of devices that the system will
boot from.

Last thing I tried was removing "linear" from lilo.conf and re-running
lilo, but that made zero difference.

Any consulting detectives out there?  I'm certainly willing to pay for
help on this one.  I'm expecting that I'll have to ring Optus and
cancel tomorrow's installation, to be honest.  Then arrange another
some weeks down the track.  :-(

FWIW, the motherboard is an Abit SA6.

luke


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



Re: [SLUG] IPTABLES.

2001-07-02 Thread Jobst Schmalenbach

On Tue, Jul 03, 2001 at 10:22:55AM +1000, George (DJ Tremors) Vieira 
([EMAIL PROTECTED]) wrote:
> Hey all,
> 
> Has anybody sucessfuly migrated their ipchains rules to iptables?

Yes and it rocks. It has so many more really good options that is useful
to spend the time to learn it and to re-write the rules. Re-writing
is not so much though, its minimal.

> I changed mine to suit the syntax and tried it out no go. it looked as
> though it didn't do the NAT properly.. anybody got some hints..??
> 
> I have 2 NICS where  eth0 is internal and eth1 is external.
   ^^
> |
> ANYWHERE="0/0"  | Could this be your problem?
> EXTDEV="eth2"   |
  |
> INTSN="192.168.0.0/24"
> 
>  /sbin/iptables -A POSTROUTING -t nat -o $EXTDEV -s $INTSN-d
> $ANYWHERE-j MASQUERADE


There could be another problem too.
>From the MAN page:

   --modprobe=
  When adding or inserting rules into a chain, use command to load  any  
necessary  modules  (targets,  match
  extensions, etc).

MATCH EXTENSIONS
   col is specified, or with the -m or --match options, followed by the matching 
module name;  after  these,  various
   extra  command line options become available, depending on the specific module. 
 You can specify multiple extended
   match modules in one line, and you can use the -h or --help options after the 
module has been specified to receive
   help specific to that module.


So you might need to explicitly LOAD the module (nat and masquerade).
I had to do this to use the MULTIPORT module.


jobst




-- 
Though the pen IS mightier than the sword, the sword is mightier at any given moment.

|__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director|
|  _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L  |
|-(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|

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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread martin

What kernel versions are 6.2 and 7.1 using?

Google searching showed that various kernel versions had issues with various 
chipsets...

Is this an SMP system?

There seemed to be a large proportion of people querying about "lost interrupts" who 
had SMP systems...

Marty


Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread luke

On  3 Jul, [EMAIL PROTECTED] wrote:
>  Is this an SMP system? 
>   
>  There seemed to be a large proportion of people querying about
> "lost interrupts" who had SMP systems... 

No, it's a single PIII 733MHz.

luke


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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread martin

--- [EMAIL PROTECTED] wrote: 
> 
> No, it's a single PIII 733MHz.

What kind of motherboard is it?

I know RH 6.2 was using a late 2.2 kernel (.17 or .19) and RH 7.1 defaults to a 2.4 
kernel (no idea what revision)...

It might be the chipset and it's driver not playing nice...

Marty


Re: [SLUG] win4lin + reiserfs = ok

2001-07-02 Thread Peter Hardy

...and then Raoul Golan said:
> Andre Pang <[EMAIL PROTECTED]> writes:
> > report: win4lin 3.0 + kernel 2.4.4 + reiserfs works perfectly.  i even
> > munged it to work properly on a Debian system :).
> > 
> > i'll put up a webpage about it sometime soon if i get enough replies to
> > this message asking about it ...
> 
> FWIW, I'd be interested to see how it can be installed under Debian...

For a while, Trelos^H^H^H^H^H^HNetraverse were releasing Win4Lin as Debian
packages, but they stopped when Win4Lin2 was officially released.  This is
no great loss.  The .debs were just a quick conversion; they installed into
/opt, and behaved exactly as the rpm packages did.

Peter
[EMAIL PROTECTED]
-- 
Bravd became aware that he had fumbled the initiative.
   (Terry Pratchett, The Colour of Magic)

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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread Mehmet Ozdemir

[EMAIL PROTECTED] wrote:

>The other day I mailed out about the new PC I'd happily installed RH7.1
>on, in a 4-IDE controller motherboard with 2 ATA100 drives and 2 older
>EIDE drives, and how I managed to get it booting off drives past the
>1st 2.
>
>Optus Cable is due tomorrow arvo to install a cable modem - this is the
>reason that I bought a copy of Windows 98 for the new machine.  :-(
>
Luke,

If you only need win98 to get the optus cable done, don't even bother 
poluting your hdd with it. You can get @home installed without it, just 
use a bit of social engineering.
When I had @home installed I didn't let the tech touch my computer.

Here are some tips. When the installer turns up, tell him that:

- The computers broken and you'll install the software later.
- Say you've had optus cable before and you know how to do it. (software 
that is)
- You could say your working on very sensitive work stuff under an NDA 
and you cannot let him have access to the machine.
- Put a bios password on and tell your spouse/mum/dad has the password 
etc etc.
- If all fails just slip him a 20, a 6 pack etc etc.

At the end of the day all he cares about is getting the install done and 
your signature on the work order.

Then once he's gone spend a total of 20 secs setting up linux to connect 
to @home.

Mehmet Ozdemir


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



Re: [SLUG] Linux Cable Modem

2001-07-02 Thread Matthew Clark



Did you only upgrade the kernel? Sounds like a firewall issue (dhcp packet
not getting back in or something).
Matt.
Phillipus Gunawan wrote:

I
had a cable connection with optus. The way I setup it in my eth0 is: editing
/etc/named.conf ---> adding the following lines after the 'directory' line
with:   
forwarders(x.x.x.x; y.y.y.y; };   
allow-quesry { 192.168.0/24; 127.0.0.1/32; }; on
my /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes And
last one: /etc/sysconfig/network file
HOSTNAME=my_isp_assigned_nameAnd
the very last one: /sbin/ifup scriptI
change the 'calls' so the calls look like/sbin/dhcpcd
-i $DEVICE -h $HOSTNAME-and-/sbin/pump
-i $DEVICE -h $HOSTNAME.  This
configuration works properly on my box before. 2 days ago, I re-complie
my kernel with the newest one. And now, when request the ip (dhcp) from
my cable sever (eth0), it always fail. Anybody
could help me?Thank You.  





[SLUG] Accessing Microsoft Access From Apache and PHP

2001-07-02 Thread Michael Toolan

Does anyone know the easiest why to connect Apache with PHP to a Windows box
running an access database.


Michael.

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



Re: [SLUG] Accessing Microsoft Access From Apache and PHP

2001-07-02 Thread marty


> Does anyone know the easiest why to connect Apache with PHP to a
> Windows box
> running an access database.

ODBC

http://php.weblogs.com/odbc

hth
Marty

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



[SLUG] Mozilla and Abiword

2001-07-02 Thread Peter Rundle

Mozilla 9.0.2 is out and seems stable, (these bytes coming to you)

I use Abiword 0.7-13 and it also seems ok but does crash opening certain
m$word documents. Also seems to stuff up the formatting sometimes. With
new documents created in abi (xml) it doesn't seem to be a problem.
0.9.0 is due out soon (no deadline given, no deadline missed :) but it
looks pretty good. Maybe interested sluggers could have a bug triage
day. It seems to me that getting good bug documentation from users on how
to reproduce the bug is a constant headache for OS projects. I logged a bug
on Mozilla and sent them a html test case and they went nuts, reproduced
the bug and fixed it almost straight away. So if Abiword crashes maybe you
should send them step by step instructions and an example file that breaks
it. See that's our side of the deal, as OS users (sorry R Stallman make that
FSF/GNU users) our side of the bargin is to log bugs and give good bug
reports rather than just bitch about a product being unstable.

rgds

Pete






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



[SLUG] Python.

2001-07-02 Thread Steven downing

>>> Andrew Bennetts <[EMAIL PROTECTED]> 2/07/01 23:55:56 >>>
>It's not a very interesting script, but I thought the list could do with
>some variety from the usual perl gunk ;)

On a related note, it appears upcoming Python releases will be GPL
compatible again.  Good news for Debian / License zealots.
http://python.org/2.0.1/ 



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



Re: [SLUG] win4lin + reiserfs = ok

2001-07-02 Thread Jim Clark

On 02 Jul 2001 20:12:21 +1000, Andre Pang wrote:
> hello,
> 
> i was doing a search on google about reiserfs and win4lin and noticed
> that somebody (Jim Clark?) was trying to do it without success.


That was probably me :)

Way back in the win4lin 1.0 days, win4lin would not work on resierfs
partitions.

I eventually got around to tracing the problem, and hacking a workaround
in the
reiser statfs function.
This is no longer required, as version 2 and 3 work properly.

--

Jim.




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



RE: [SLUG] alternative file systems

2001-07-02 Thread Booth, Christopher (Aus) - ATP

Dumb question time

Are there conversion tools to convert from ext2fs to xfs or reiserfs ?

Chris

-Original Message-
From: DaZZa [mailto:[EMAIL PROTECTED]]
Sent: Monday, 2 July 2001 5:08
To: cpaul
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] alternative file systems


On Mon, 2 Jul 2001, cpaul wrote:

> when i get my new hard disk, i think i'd like to try an alternative file
> system than ext2.  i hear a lot of good things about reiserfs.  does
anyone
> have (positive) experience with journaling file systems?  are some better
> suited to raid?

I use reiser on everything except my boot partition {I wasn't sure if I
could - still aren't, really}, and it's great.

Mounts them so fast after a lockup {which I have occasionally - bodgey SMP
bios on the motherboard/processor combination} compared to ext2 it's not
funny.

As a comparison - a 2 gig ext2 partition on a UltraWide SCSI {80 meg}
device takes about 4-5 minutes.

A 5 gig partition on an IDE {Ultra33} device takes about 4-5 seconds.

I love it.

DaZZa


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

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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread luke

On  3 Jul, [EMAIL PROTECTED] wrote:
>  What kind of motherboard is it? 
>   
>  I know RH 6.2 was using a late 2.2 kernel (.17 or .19) and RH 7.1 defaults to a 2.4 
>kernel (no idea what revision)... 

Abit SA6.  But it worked fine under Win98 earlier.

luke


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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread Terry Collins

[EMAIL PROTECTED] wrote:

> The old drives are now slaves to the 40Gb drives - 

Is this wise?
It sounds like you are mixing ATA100 and older styles on the same IDE
chain.

-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"

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



Re: [SLUG] alternative file systems

2001-07-02 Thread Jeff Waugh



> Are there conversion tools to convert from ext2fs to xfs or reiserfs ?

Simpler than mkfs.* and tar? Sorry, not thus far. :(

Here's a conversion walkthrough for reiserfs:

  http://www.namesys.com/change_fs.html

I did mine differently, by having a backup / partition and swapping between
it and the proper one. First, I made a partition and formatted it as XFS,
then copied everything in my normal / partition to it.  Booting into my new
XFS / partiton (which happened to be on a different drive altogether),
everything worked, so I just formatted the proper one as XFS, and went with
that.

- Jeff

-- 
   "You know, the crunchy, folk-singer part of me wants to believe that a   
 performance is a dialogue, but I can't hear a fucking thing you're 
  saying." - Ani DiFranco   

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



[SLUG] my next stupid question

2001-07-02 Thread Alister Waller

Hi,

another stupid question.

I am running a script from a cronjob. part of the script is a for loop. see
below:

for i in `ls *.TXT`
do
 cat $i >> newfilename
 mv $i /tmp
done

Now, if there are no *.TXT files then I get an error sent back to the owner
of the crontab file.

I don't want to see this error.

I know I could remove the errors at the cronjob level but there are other
errors in the script I might want to see. I just don't care if there is
nothing listed for the loop to function.

regards

Alister



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



Re: [SLUG] my next stupid question

2001-07-02 Thread Jeff Waugh



> for i in `ls *.TXT`
> do
>  cat $i >> newfilename
>  mv $i /tmp
> done

Why cat? cp $i newfilename would do pretty well.

> Now, if there are no *.TXT files then I get an error sent back to the owner
> of the crontab file.

"2> /dev/null"

If you're not interested in the stderr output of the loop, put the entire
loop in parentheses and direct stderr to /dev/null from it.

- Jeff

-- 
  For a list of points detailing how technology has failed to improve our   
   lives, please press 3.   

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



Re: [SLUG] my next stupid question

2001-07-02 Thread Malcolm Tredinnick

On Tue, Jul 03, 2001 at 02:23:44PM +1000, Alister Waller wrote:
> another stupid question.

No such thing. :-)

> I am running a script from a cronjob. part of the script is a for loop. see
> below:
> 
> for i in `ls *.TXT`
> do
>  cat $i >> newfilename
>  mv $i /tmp
> done
> 
> Now, if there are no *.TXT files then I get an error sent back to the owner
> of the crontab file.

A fairly common idiom for this is:

fileList=`echo *.TXT`
if [ "$fileList" != '*' ]; then
...(insert other stuff here)
fi

That should do what you want.

Cheers,
Malcolm

-- 
Monday is an awful way to spend 1/7th of your life.

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



Re: [SLUG] my next stupid question

2001-07-02 Thread Andre Pang

On Tue, Jul 03, 2001 at 02:33:19PM +1000, Jeff Waugh wrote:

> 
> 
> > for i in `ls *.TXT`
> > do
> >  cat $i >> newfilename
> >  mv $i /tmp
> > done
> 
> Why cat? cp $i newfilename would do pretty well.

he's got a >> there, not a >, so cp $i newfilename isn't the same :).

a better solution would probably be:

for i in *.TXT; do
cat $i >> newfilename && mv $i /tmp
done

(1) you can just do *.TXT; no need for `ls *.TXT`.

(2) the && checks the error code returned by cat, so that the mv is only
done if there was no errors.

> > Now, if there are no *.TXT files then I get an error sent back to the owner
> > of the crontab file.
> 
> "2> /dev/null"

ie

( for i in *.TXT; do cat $i >> newfile && mv $i /tmp; done ) 2> /dev/null

to make Jeff's last comment completely unambigious :)

(can you replace the () with {} for that loop?  not sure if you can
 redirect the entire loop to /dev/null if you don't run a subshell.)


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

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



Re: [SLUG] my next stupid question

2001-07-02 Thread John Clarke

On Tue, Jul 03, 2001 at 02:33:19PM +1000, Jeff Waugh wrote:

> 
> 
> > for i in `ls *.TXT`
> > do
> >  cat $i >> newfilename
> >  mv $i /tmp
> > done
> 
> Why cat? cp $i newfilename would do pretty well.

No it wouldn't.  Note the `>>'.

> > Now, if there are no *.TXT files then I get an error sent back to the owner
> > of the crontab file.

Try this:

  cat *.TXT >> newfilename 2>/dev/null
  mv *.TXT /tmp 2>/dev/null

Or even:

(cat *.TXT >> newfilename && mv *.TXT /tmp) 2>/dev/null

Note that this will create `newfilename' even if there are no files
matching `*.TXT'.


Cheers,

John
-- 
whois [EMAIL PROTECTED]

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



Re: [SLUG] my next stupid question

2001-07-02 Thread Jeff Waugh



> he's got a >> there, not a >, so cp $i newfilename isn't the same :).

Alister pointed that out too. The 'newfilename' threw me. ;)

- Jeff

-- 
   "Can we have a special TELSABUG category, and everything gets dropped
 to fix them first?" - Telsa Gwynne 

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



RE: [SLUG] my next stupid question

2001-07-02 Thread Alister Waller

The parentheses did it,

thanks Jeff and co.



> 
> "2> /dev/null"
> 
> If you're not interested in the stderr output of the loop, put the entire
> loop in parentheses and direct stderr to /dev/null from it.
> 
> - Jeff
> 
> -- 
>   For a list of points detailing how technology has failed to 
> improve our   
>lives, please press 3. 
>   
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 

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



Re: [SLUG] Detective skills - weird HDD problem

2001-07-02 Thread luke

On  4 Jul, Terry Collins wrote:
>  Is this wise? 
>  It sounds like you are mixing ATA100 and older styles on the same IDE 
>  chain. 

I certainly am.  Are you saying that this is not wise?  It might well
explain my problem!  Please tell me more, or where to look for more...

luke


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



Re: [SLUG] my next stupid question

2001-07-02 Thread Malcolm Tredinnick

On Tue, Jul 03, 2001 at 12:52:33PM +0800, Malcolm Tredinnick wrote:
> A fairly common idiom for this is:
> 
> fileList=`echo *.TXT`
> if [ "$fileList" != '*' ]; then
> ...(insert other stuff here)
> fi

Doh! I didn't actually run this, obviously. The 'if' clause should be

if [ "$fileList" != '*.TXT' ]; then (etc...)

Malcolm

-- 
No one is listening until you make a mistake.

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



Re: [SLUG] Mozilla and Abiword

2001-07-02 Thread Steve Kowalik

On Tue, Jul 03, 2001 at 01:32:08PM -1000, Peter Rundle uttered:
> Mozilla 9.0.2 is out and seems stable, (these bytes coming to you)
> 
Mozilla 9? Wow, I must have been sleeping longer than I thought.

*ducks and runs*

-- 
Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me

 PGP signature


Re: [SLUG] my next stupid question

2001-07-02 Thread Mike Holland

On Tue, 3 Jul 2001, Alister Waller wrote:

> for i in `ls *.TXT`

ALister, as in the last question, you dont seem to be aware that wildcard
expansion is done by the shell, not by the command as in MS-DOS.
  So the 'ls' does nothing useful, and may cause errors. Shells are
complex, and worth reading about.

-- 
Mike Holland  <[EMAIL PROTECTED]>
  --==--


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



[SLUG] script request

2001-07-02 Thread Alister Waller

Hi again,

I have another script that I need, to remove some unwanted entries from a
file. Is there anyone willing to assist, as it might be better to take it
off the list?

email me and I will send you the details of what I am trying to achieve.

regards


Alister


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



Re: [SLUG] script request

2001-07-02 Thread Jeff Waugh



> email me and I will send you the details of what I am trying to achieve.

Dunno Alister, that's a tough one. See, on slug, there's Shell Script
Pissing Contests and... Consultancy Fees.

;)

- Jeff

-- 
  There's no horse higher, no mailing list taunt lower, no developer base   
  wider. Rock My Software in the Bosom of Debian.   

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