[SLUG] Associating filenames

2000-10-18 Thread Howard Lowndes

Is there any ability in Linux to associate filename extensions, or 
similar, with applications.  I have been fiddling with Staroffice and 
that works OK, but I am curious as to whether the ability exists in 
Linux on a broader basis, more to do with such associations in 
Netscrape.

Howard who hasn't got his .sig working in Staroffice yet





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



Re: [SLUG] Associating filenames

2000-10-18 Thread Ken Yap

Is there any ability in Linux to associate filename extensions, or 
similar, with applications.  I have been fiddling with Staroffice and 
that works OK, but I am curious as to whether the ability exists in 
Linux on a broader basis, more to do with such associations in 
Netscrape.

No, that's regarded as userland stuff so it's done on a per-manager
basis by file managers and browsers. This is arguably a weakness of the
Unix filesystem model, it delegates these issues to applications.
Although Linus has said that he would like to see support for multipart
files a la Mac's forks. This is actually stronger than matching by
extension, it effectively creates file typing.


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



Re: [SLUG] Associating filenames

2000-10-18 Thread Jeff Waugh

Howard Lowndes said something along the lines of:

 Is there any ability in Linux to associate filename extensions, or 
 similar, with applications.  I have been fiddling with Staroffice and 
 that works OK, but I am curious as to whether the ability exists in 
 Linux on a broader basis, more to do with such associations in 
 Netscrape.


Where are you making the associations (or want to)?

File managers such as GMC, Nautilus and EFM will do this for you as part of
their mime support, usually using magic2mime (and related utilities or
libraries).

  Here's yet another area where the MacOS had us in 85. Intrinsic metadata.
  DOS/Windows had easily human-stuffupable "metadata" with file extensions,
  UNIX has nothing (apart from what the file appears to be). BeOS however,
  has a very, very heavy focus on metadata (the filesystem is designed to
  have almost unlimited metadata extensibility).


With Linux, you either rely on your applications (generally the file manager
types), or have to work it out yourself.

- Jeff


-- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Ye shall be cursed to fall in love so easily, and yet be so
 cold of heart as never to express it.


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



[SLUG] Re: Associating filenames

2000-10-18 Thread Angus Lees

\begin{Howard Lowndes}
 Is there any ability in Linux to associate filename extensions, or 
 similar, with applications.  I have been fiddling with Staroffice and 
 that works OK, but I am curious as to whether the ability exists in 
 Linux on a broader basis, more to do with such associations in 
 Netscrape.

most unix programs that need to do these sorts of things do it through
mime types. and if they don't, then they should.


extension - mime type mapping is done by /etc/mime.types (extensible
through ~/.mime.types). web pages, email attachments, etc already have
the mime type given, so they don't need to do this step (and thus can
have any extension). alternatively magic2mime(1) or similar can be
used to be a little more robust than simple filename comparisons.

mime type - relevant program is done by /etc/mailcap (and ~/.mailcap)


simple wrapper scripts are provided for using this from the command
line:

 see - runs a program to view the file (like windows' "start")
 edit- edit a file with whatever program can handle it
 compose - compose a new file using an appropriate editor (or sound
   recorder, video grabber or something)
 print   - print the file

use these, these are good.



mime is good.

mime types are much better than simple extensions, since it also gives
a broad type (eg: text/*, image/*) - so programs can take guesses at
how to deal with unknown types.

mime types are much better than strict associations (like the mac),
since you may want to use a different program under different
circumstances. esp on unix, where you probably want an X program, a
console program, etc.

mime separates the "encoding" from the mime type. for example, if you
gzip the data, you still have the same mime type, only a new encoding
(this is why there is no application/x-gzip type). compressing on the
fly, etc, is thus a largely transparent act.

mime types are handled in user space, and so are easily customisable
by each user. nearly all mime programs allow each user to override
particular choices. try doing that on mac or windows.

/etc/mailcap is *much* more flexible than a simple windows
association. each mime type can have a description, a program to view
the type, a program to edit the type, a program to compose new files
of a type and a program to print the type. there are flags for whether
the viewer displays inline or needs to be run in a pager, etc. each
entry can have a condition to test to see if this entry should be used
(a typical test might be "test -n $DISPLAY"). there is no way you're
going to get that in the kernel, and no way i want to configure it on
a file-by-file basis.

did i mention that mime is good?



it irritates me that netscape seems to not read the standard
/etc/mailcap anymore - and forces you to set it all up by hand.
it used to "do the right thing" a few versions ago.

debian at least has an extremely well setup and maintained
/etc/mailcap. i hope other distributions do too.

-- 
 - Gus


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



Re: aic7xxx.o (Re: [SLUG] One for the Kernel Guru's)

2000-10-18 Thread James Wilkinson

On Wed, 18 Oct 2000, Dean Hamstead generated:

With initrd.img based scsi booting, how does one tell the
kernel which module to load inorder to access /

You shouldn't have the driver for your root disk compiled as a module,
it needs to be in the kernel (or did I parse that wrong?)

Im running a nice dual p3 800 (gig ram, hardware raid..)
and it persists in trying to load the aic7xxx.0 module,
even now i have the raid driver inbuilt it still attempts
to load... 

Where is it trying to load the aic module?  if it's amongst your other
module loading, then look at your distro's modules.conf (in debian,
check out /etc/modutils/*)

-- 
No, I was looking for warez.  The pornography was just a useful byproduct.
-- Dave Coote


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



Re: [SLUG] Getting my linux box to print to a windoze machine.

2000-10-18 Thread Paul Robinson

There's nothing out of the ordinary in the log files. I got tcpdump
running on the eth0 interface and tried printing to lp and the closest
that I could find to anything referring to the machine with the printer
(hilly) is below.


19:13:46.179207 arp who-has ace.starbug tell hilly.starbug
19:13:46.179321 arp reply ace.starbug is-at 0:0:c0:61:5b:96
19:13:46.179835 hilly.starbug.netbios-ns  ace.starbug.netbios-ns: udp
62
19:13:58.458908 0:48:45:80:66:e1  Broadcast sap e0 ui/C len=43
  0022 0011     
 0452   0048 4580 66e1 403c 0001
 0004 2020 2020 2020 2020 20

I can sort of make sense of it but I couldn't see anything refering to
say port 139 or there abouts for netbios ports.

Does it make any sense to you Rodos?

Thanks,
Paul

 
 On Wed, 18 Oct 2000, Paul Robinson wrote:
 
  Any ideas as to what could be going wrong? I've had the same problem at
  work (as have other people who have tried to get mandrake 7.0 to print
  to a win98 shared laser printer), could there have been a problem with
  the samba used in 7.0 that was fixed by 7.1?
 
 Anything in the samba log files? Can you increase any log levels or
 debugging to see how far the printing is going? Can you do a tcpdump on
 data between the two addresses and see if the data is getting off the
 Linux box onto the windows machine. If you can start eliminating where the
 problem lies it might make it easier.
 
 Rodos
 
 P.S. You might have already tried these already, just mentioning them in
 case.
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug


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



[SLUG] Re: Associating filenames

2000-10-18 Thread Angus Lees

\begin{Peter Hardy}
 The one thing I really miss about windows is the command-line
 "start" command. :-(

see see(1)

(just in case that was buried a little too deeply in my other post)

-- 
 - Gus


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



Re: [SLUG] Re: Getting my linux box to print to a windoze machine.

2000-10-18 Thread Paul Robinson

137, 139.. I was close :) I have both holly and hilly.. (from the first
time we see the female Holly her name was actually Hilly so Hilly was
talking to Holly. Holly is the main gateway which will explain the pop3
lines.

Ok the extended version is as follows if it's of any use. I'll try going
through it again, but I've done this once before when I first installed
Mandrake on here.. I did once get printing to a win98 machine to work
(it was on a redhat machine, not mandrake (although they are pretty much
the same)) but I lost the .conf file.

If no one has any idea for an easy solution I'll stop buggin ya all and
leave it alone until I've got real time to try and get it working in
December.

Thanks anyway,
Paul

(extended tcpdump below)

19:13:46.178556 ace.starbug.netbios-ns  192.168.0.255.netbios-ns: udp
50
19:13:46.179207 arp who-has ace.starbug tell hilly.starbug
19:13:46.179321 arp reply ace.starbug is-at 0:0:c0:61:5b:96
19:13:46.179835 hilly.starbug.netbios-ns  ace.starbug.netbios-ns: udp
62
19:13:58.458908 0:48:45:80:66:e1  Broadcast sap e0 ui/C len=43
  0022 0011     
 0452   0048 4580 66e1 403c 0001
 0004 2020 2020 2020 2020 20
19:13:58.711362 arp who-has ace.starbug tell holly.starbug
19:13:58.711487 arp reply ace.starbug is-at 0:0:c0:61:5b:96
19:14:08.211537 ace.starbug.netbios-dgm  192.168.1.255.netbios-dgm: udp
213
19:14:08.211870 ace.starbug.netbios-dgm  192.168.2.44.netbios-dgm: udp
213
19:14:31.108441 ace.starbug.1209  fes-d009.icq.aol.com.4000: udp 28
19:14:31.650590 fes-d009.icq.aol.com.4000  ace.starbug.1209: udp 21
(DF)
19:14:32.713067 ace.starbug.1370  holly.starbug.pop3: S
1913135015:1913135015
) win 32120 mss 1460,sackOK,timestamp 199031368[|tcp] (DF)
19:14:32.713789 holly.starbug.pop3  ace.starbug.1370: S
4092798902:4092798902
) ack 1913135016 win 32736 mss 1460
19:14:32.713943 ace.starbug.1370  holly.starbug.pop3: . ack 1 win 32120
(DF)
19:14:32.725086 holly.starbug.6179  ace.starbug.auth: S
1090543869:1090543869
) win 512 mss 1460
19:14:32.725274 ace.starbug.auth  holly.starbug.6179: S
1914960813:1914960813
) ack 1090543870 win 32120 mss 1460 (DF)
19:14:32.725781 holly.starbug.6179  ace.starbug.auth: . ack 1 win 32120
(DF)
19:14:32.726042 holly.starbug.6179  ace.starbug.auth: P 1:11(10) ack 1
win 32
0 (DF)
19:14:32.726137 ace.starbug.auth  holly.starbug.6179: . ack 11 win
32120 (DF)
19:14:33.086915 ace.starbug.auth  holly.starbug.6179: P 1:36(35) ack 11
win 3
20 (DF)
19:14:33.088259 holly.starbug.6179  ace.starbug.auth: F 11:11(0) ack 36
win 3
20
19:14:33.088372 ace.starbug.auth  holly.starbug.6179: F 36:36(0) ack 11
win 3
20 (DF)
19:14:33.088527 ace.starbug.auth  holly.starbug.6179: . ack 12 win
32120 (DF)
19:14:33.088971 holly.starbug.6179  ace.starbug.auth: . ack 37 win
32120 (DF)
19:14:33.199199 holly.starbug.pop3  ace.starbug.1370: P 1:77(76) ack 1
win 32
6 (DF)
19:14:33.199443 ace.starbug.1370  holly.starbug.pop3: . ack 77 win
32120 (DF)
19:14:33.201127 ace.starbug.1370  holly.starbug.pop3: P 1:12(11) ack 77
win 3
20 (DF)
19:14:33.201881 holly.starbug.pop3  ace.starbug.1370: P 77:107(30) ack
12 win
2736 (DF)
19:14:33.203636 ace.starbug.1370  holly.starbug.pop3: P 12:26(14) ack
107 win
2120 (DF)
19:14:33.220398 holly.starbug.pop3  ace.starbug.1370: . ack 26 win
32736 (DF)
19:14:33.235785 holly.starbug.pop3  ace.starbug.1370: P 107:162(55) ack
26 wi
32736 (DF)
19:14:33.236249 ace.starbug.1370  holly.starbug.pop3: P 26:32(6) ack
162 win
120 (DF)
19:14:33.250390 holly.starbug.pop3  ace.starbug.1370: . ack 32 win
32730 (DF)
19:14:33.336194 holly.starbug.pop3  ace.starbug.1370: P 162:171(9) ack
32 win


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



Re: [SLUG] lpd not binding

2000-10-18 Thread Erich Schulz

You might actually have something wrong with the hardware interface or the
bios could be confused.

As root, ( and if your printer can handle ascii) send something directly
to the port, eg:
ls -la  /dev/lp0
and try it for all of the ports, and see if your printer responds
correctly.

If it does, you can eliminate the hardware as a problem, and look at the
networking.

try netstat -l and see if the lpd is listening on one of the unix sockets


Cheers

Erich 

Erich Schulz
PO Box 6028, Lake Munmorah, NSW 2259
Ph: (+61)0500 551 228 , Fax: (+612) 43583113
Mob: 0408 201 228




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



Re: [SLUG] Associating filenames

2000-10-18 Thread Jeff Waugh

marty said something along the lines of:

 which begs the question, what did they do to bolt metadata onto the
 freebsd core for OSX ??


Umm... There was a really good article about this going around a while back.
Fairly interesting, it covered all the hacks they went through to combine
the two systems.

Bundles are an extension to the original fork/stream idea with Mac files,
allowing pretty much entire packages of software to operate as one "file".

Some of it was nifty, some just dirty hackery. Definitely linked from
Slashdot, so have a search on there. :)


Oh, and the Mac association system is a lot more flexible than people give
it credit for (and could be hacked over to support mime, etc).

- Jeff


-- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Ye shall be cursed to fall in love so easily, and yet be so
 cold of heart as never to express it.


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



RE: [SLUG] lpd not binding

2000-10-18 Thread Dave Kempe

 You might actually have something wrong with the hardware interface or the
 bios could be confused.

 As root, ( and if your printer can handle ascii) send something directly
 to the port, eg:
   ls -la  /dev/lp0
 and try it for all of the ports, and see if your printer responds
 correctly.

 If it does, you can eliminate the hardware as a problem, and look at the
 networking.

 try netstat -l and see if the lpd is listening on one of the unix sockets

I eventually figured it all out thanks for all your help everyone who
replied.
Upgrading to LPRng does make it easier to troubleshoot.
It have function called checkpc that checks ya /etc/printcap and can correct
permissions errors etc.
Its very useful.

thanks,

dave



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



[SLUG] Win4Lin problem

2000-10-18 Thread Ken Caldwell

The school where SHMBO teaches has decided to replace WordPerfect with
Office 2000 so I am trying to install it under Win4Lin.

The computer is running SuSE 6.4 with a Win4Lin kernel.  The hard drive
has just 4 primary partitions:-
/dev/hda1 is a DOS partition of about 30MB (not mounted under linux)
/dev/hda2 is a small linux partition /boot
/dev/hda3 is the linux swap partition
/dev/hda4 is the main linux partition /

there is a 3.5" floppy drive and the CDROM is a slave on the second ide
controller i.e. /dev/cdrom is a symlink to /dev/hdd.  There is currently
no hard drive connected as a slave to the first ide controller or as a
master on the second.

I have installed Windows95 (OSR2) under Win4Lin and now want to install
some of Office 2000 but the CDROM seems to be unavailable.  Windows
Explorer shows an A:\, B:\, C:\, J:\ and N:\ drive but if you click on
the CDROM (N:\) you get a dialog box which says "N:\ is not accessible
The device is not ready"  This is similar to the message you get if you
try to access the (non existant) B:\ drive.  The result is the same
whether the CDROM is mounted or unmounted under linux.

Does anyone have a suggestion on how to fix this?

TIA,

Ken


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



Re: [SLUG] Win4Lin problem

2000-10-18 Thread Jeffrey Borg


 I have installed Windows95 (OSR2) under Win4Lin and now want to install
 some of Office 2000 but the CDROM seems to be unavailable.  Windows
 Explorer shows an A:\, B:\, C:\, J:\ and N:\ drive but if you click on
 the CDROM (N:\) you get a dialog box which says "N:\ is not accessible
 The device is not ready"  This is similar to the message you get if you
 try to access the (non existant) B:\ drive.  The result is the same
 whether the CDROM is mounted or unmounted under linux.
 
 Does anyone have a suggestion on how to fix this?

Check perms on your cdrom device

make sure the user running win4lin can read the cdrom device.

mouting it makes no difference in win4lin basically windoze is reading
from the almost raw device

Jeff




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



[SLUG] Script writing and understanding cron

2000-10-18 Thread Dave Kempe

Hey sluggers,
I'm very newbie at writing scripts or any sort of programming really.
Wondering where I would start to write a script that checked to see if the
PPP link was up and if it wasn't brought it up? I know that the modem lock
files would be useful cos nothing else uses the modem, so the existance of
/var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
something.

The other question i have is how to understand the entries in crontab.
I have read a few cron tutuorials, and still don't exactly understand how to
make cron do something once an hour or once a day.
I don't exactly understand what each column means in the 6 or so *'s that
are at the start of the crontab entry. Anyone care to share the secret?

thanks,

Dave




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



RE: [SLUG] Win4Lin problem

2000-10-18 Thread Dave Kempe

 The school where SHMBO teaches has decided to replace WordPerfect with
 Office 2000 so I am trying to install it under Win4Lin.

CDROM problems aside, i'm pretty sure office2k requires IE5 or at least most
of it. Can win4lin handle that? If it can, im sold :)

dave



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



Re: [SLUG] Associating filenames

2000-10-18 Thread James Wilkinson

On Wed, 18 Oct 2000, Howard Lowndes generated:

Is there any ability in Linux to associate filename extensions, or 
similar, with applications.  I have been fiddling with Staroffice and 
that works OK, but I am curious as to whether the ability exists in 
Linux on a broader basis, more to do with such associations in 
Netscrape.

I remember reading some stuff on this, in the binfmt_misc module docs.
IIRC, java binary support is no different from associating .txt with vi.

However, no-one (i've heard of) uses it, and the association tends to 
be implemented in GUIs.

-- 
No, I was looking for warez.  The pornography was just a useful byproduct.
-- Dave Coote


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



Re: [SLUG] Win4Lin problem

2000-10-18 Thread Peter Hardy

On Wed, Oct 18, 2000 at 09:18:41PM +1000, Dave Kempe wrote:
  The school where SHMBO teaches has decided to replace WordPerfect with
  Office 2000 so I am trying to install it under Win4Lin.
 
 CDROM problems aside, i'm pretty sure office2k requires IE5 or at least most
 of it. Can win4lin handle that? If it can, im sold :)
 
Yep!  We're running IE5.something-or-other with Win95 in Win4Lin here.  The
GF needs it for an online training program that relies on Windows-only
plugins.

Cheers,
Peter

 PGP signature


Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread marty

 The other question i have is how to understand the entries in crontab.
 I have read a few cron tutuorials, and still don't exactly understand how to
 make cron do something once an hour or once a day.
 I don't exactly understand what each column means in the 6 or so *'s that
 are at the start of the crontab entry. Anyone care to share the secret?

from my crontab:
-
# mail exchange
26 3 * * * ppp-on
27 3 * * * sitecopy -u supine
27 3 * * * sitecopy -u tle
27 3 * * * fetchmail -f /root/.fetchmailrc2
27 3 * * * fetchmail
33 3 * * * ppp-off


this basically ensures that at least once a day my box dials the internet
at just before 3:30am and checks my mail from both my current account
(fetchmail without arguements) and an old one (fetchmail with rc filed
specified) and syncs my two websites...

reading that first line

26 3 * * * ppp-on
^  ^ ^ ^ ^ ^
   command to run 
 every day (day of week - ie 0 is sunday)
   every month  
 every day (day of month - ie 25th)
   3 am
26 minutes past the hour

have a read of both

man crontab

and 

man 5 crontab

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://slug.org.au/lists/listinfo/slug



Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread John Ferlito

On Wed, Oct 18, 2000 at 09:16:23PM +1000, Dave Kempe wrote:
 Hey sluggers,
 I'm very newbie at writing scripts or any sort of programming really.
 Wondering where I would start to write a script that checked to see if the
 PPP link was up and if it wasn't brought it up? I know that the modem lock
 files would be useful cos nothing else uses the modem, so the existance of
 /var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
 something.

Write the script anyway but as usual there's an easier way. If
you're talking about a permament connection and you want to make sure it
stays up, as long as you setup ppp correctly ie using a chat script. ie
to start your connection you can do something like
pppd call provider
then all you need todo is give ppp the persist option and it will dial
back in autimatically.

 
 The other question i have is how to understand the entries in crontab.
 I have read a few cron tutuorials, and still don't exactly understand how to
 make cron do something once an hour or once a day.
 I don't exactly understand what each column means in the 6 or so *'s that
 are at the start of the crontab entry. Anyone care to share the secret?


*   * *  * *some command   
minute hour  day_of_month  month   day_of_week
0-59   0-24 1-31   1-12 or Jan-Dec   0-7 or Sun-Sat

for day of the week 0 or 7 are Sunday

you can also do stuff like */2 which is every 2 minutes if it's in the
first field or

mon-wed,sun

for more info

man 5 crontab




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

-- 
John

The difference between a good man and a bad one is the 
choice of cause - William James


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



Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread Thom May

At some point around Wed, Oct 18, 2000 at 09:16:23 +1000, Dave Kempe said:
 Hey sluggers,
 I'm very newbie at writing scripts or any sort of programming really.
 Wondering where I would start to write a script that checked to see if the
 PPP link was up and if it wasn't brought it up? I know that the modem lock
 files would be useful cos nothing else uses the modem, so the existance of
 /var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
 something.
The best way is to test for a PPPd lock file, I'd have thought. 
(for debian)
if [ ! -e /var/lock/ppd], then
#link is not up
#do stuff to make the link work
else
#do other stuff knowing the link is up
fi
(or there abouts)
 
 The other question i have is how to understand the entries in crontab.
 I have read a few cron tutuorials, and still don't exactly understand how to
 make cron do something once an hour or once a day.
 I don't exactly understand what each column means in the 6 or so *'s that
 are at the start of the crontab entry. Anyone care to share the secret?
in order:
m(inute); h(our); d(ay)o(f)m(onth); mon(th); d(ay)o(f)w(eek);
usercommand

man 5 crontab for more info...

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

-- 
Thomas May
Sys Admin, AMX Communications
(T) +44 (0)20 7440 3955
(E) [EMAIL PROTECTED]
(W) http://www.amxstudios.com


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



RE: [SLUG] Script writing and understanding cron

2000-10-18 Thread Dave Kempe


   Write the script anyway but as usual there's an easier way. If
 you're talking about a permament connection and you want to make sure it
 stays up, as long as you setup ppp correctly ie using a chat script. ie
 to start your connection you can do something like
 pppd call provider
 then all you need todo is give ppp the persist option and it will dial
 back in autimatically.

I've had bad results with the persist option. It seems to try to reconnect
before the modem is properly released and ends up stuck in a permanent
looop.
Is there a way to make the persist option wait a bit until the last pppd is
finished?

THanks to all those who helped me with cron, I think i can understand it a
bit better now.

thanks

dave



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



[SLUG] Re: Script writing and understanding cron

2000-10-18 Thread Angus Lees

\begin{Dave Kempe}
 Wondering where I would start to write a script that checked to see if the
 PPP link was up and if it wasn't brought it up? I know that the modem lock
 files would be useful cos nothing else uses the modem, so the existance of
 /var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
 something.

 test -f /var/lock/LCK..ttyS0 || ifup ppp0

ie: the lock file exists, or we run the command to bring the ppp0 link
up (you might need a different command, i just made that part up)

best is to get pppd itself to bring the link back up. check pppd(8)
for the "persist", "idle" and "holdoff" options. then you just
start/stop pppd when you want the link up/down.

 The other question i have is how to understand the entries in crontab.
 I have read a few cron tutuorials, and still don't exactly understand how to
 make cron do something once an hour or once a day.
 I don't exactly understand what each column means in the 6 or so *'s that
 are at the start of the crontab entry. Anyone care to share the secret?

see crontab(5):

  field  allowed values
  -  --
  minute 0-59
  hour   0-23
  day of month   1-31
  month  1-12 (or names, see below)
  day of week0-7 (0 or 7 is Sun, or use names)

so something like:

 43 13 5 * *  run_this_command

means: run "run_this_command" at 1:43pm on the 5th day of the month,
whatever month or day of the week that is.

once a day (at 6am):  0 6 * * *

once a week (3am tuesday): 0 3 * * 2


vixie cron (the one all linux distros use) is a lot more flexible than
the traditional unix syntax, and allows nice names for months and
days, ranges, lists and step values:

run each hour between 9-5, weekdays:  0 9-17 * * mon-fri

run every 30 minutes, for two hours in the morning, and two hours in
the afternoon:  0,30 9-11,16-18 * * *

run every 2 hours, weekdays: 0 9-17/2 * * mon-fri

run every 2 hours: 0 */2 * * *


that should be more than enough examples to get you going


(for daily or weekly system tasks, most distros have a directory, in which
all scripts get run. eg: on debian /etc/cron.daily/, /etc/cron.weekly/,
etc. so you just have to put your script in there)

-- 
 - Gus


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



[SLUG] Re: Script writing and understanding cron

2000-10-18 Thread Angus Lees

\begin{Dave Kempe}
 Is there a way to make the persist option wait a bit until the last pppd is
 finished?

see "holdoff" in pppd(8)

-- 
 - Gus


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



[SLUG] Re: Win4Lin problem

2000-10-18 Thread Ken Caldwell

Yes it was a simple permissions problem.  "Others" had no permissions on
/dev/hdd.  I had overlooked this because I have "ro,noauto,user,exec" in
the /dev/cdrom entry of /etc/fstab.


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



[SLUG] Flatrate? Are You On One?

2000-10-18 Thread DebbieLewis


Introducing...
 
The Newest Flatrate Long Distance Service.
$99 A Month - Unlimited Long Distance Calling!!
Make A Fortune By Referring As Little As 3 People!

Follow A SIMPLE 10 Week Plan To Earn $102,350
Please Check Out The Link Below For Details.

http://freetailer.excite.com/62/1032662/












This Is A One Time Telecommunication Update.


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



Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread Thom May

As far as I know, persist can take an argument as to how long to
wait between retries. Whilst wardialling^Wtesting a free ISP at home I was reckoning 
on about four seconds being the absolute minimum you can get
away. any less than that and you get problems.
-Thom
At some point around Wed, Oct 18, 2000 at 09:42:22 +1000, Dave Kempe said:
 
  Write the script anyway but as usual there's an easier way. If
  you're talking about a permament connection and you want to make sure it
  stays up, as long as you setup ppp correctly ie using a chat script. ie
  to start your connection you can do something like
  pppd call provider
  then all you need todo is give ppp the persist option and it will dial
  back in autimatically.
 
 I've had bad results with the persist option. It seems to try to reconnect
 before the modem is properly released and ends up stuck in a permanent
 looop.
 Is there a way to make the persist option wait a bit until the last pppd is
 finished?
 
 THanks to all those who helped me with cron, I think i can understand it a
 bit better now.
 
 thanks
 
 dave
 
 
 
 -- 
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

-- 
Thomas May
Sys Admin, AMX Communications
(T) +44 (0)20 7440 3955
(E) [EMAIL PROTECTED]
(W) http://www.amxstudios.com


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



Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread Ben Donohue

Hi Dave,
I use the following and it works a treat!

put this extra line in crontab to run a file every 5 minutes.
*/5 * * * * root run-parts /etc/cron.5minutes

then create a directory called /etc/cron.5miutes
put a file in there called ppp

in the file ppp have the following...
#!/bin/bash
cd /etc/ppp
ps ax|fgrep pppd|fgrep -v fgrep  /dev/null || /usr/sbin/pppd
exit 0

set the permissions on the file to execute.

then every 5 minutes the cron job will check if a ppp process is running. if so
then nothing will happen. if not then it will dial up.
a word of warning. if you dial the wrong number, you'll be paying for a call
every five minutes. check this whole thing manually first!

Ben


Dave Kempe wrote:

 Hey sluggers,
 I'm very newbie at writing scripts or any sort of programming really.
 Wondering where I would start to write a script that checked to see if the
 PPP link was up and if it wasn't brought it up? I know that the modem lock
 files would be useful cos nothing else uses the modem, so the existance of
 /var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
 something.

 The other question i have is how to understand the entries in crontab.
 I have read a few cron tutuorials, and still don't exactly understand how to
 make cron do something once an hour or once a day.
 I don't exactly understand what each column means in the 6 or so *'s that
 are at the start of the crontab entry. Anyone care to share the secret?

 thanks,

 Dave

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



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



Re: [SLUG] Script writing and understanding cron

2000-10-18 Thread Dean Hamstead

Whats wrong with the persist option on pppd?

Dean

Ben Donohue wrote:
 
 Hi Dave,
 I use the following and it works a treat!
 
 put this extra line in crontab to run a file every 5 minutes.
 */5 * * * * root run-parts /etc/cron.5minutes
 
 then create a directory called /etc/cron.5miutes
 put a file in there called ppp
 
 in the file ppp have the following...
 #!/bin/bash
 cd /etc/ppp
 ps ax|fgrep pppd|fgrep -v fgrep  /dev/null || /usr/sbin/pppd
 exit 0
 
 set the permissions on the file to execute.
 
 then every 5 minutes the cron job will check if a ppp process is running. if so
 then nothing will happen. if not then it will dial up.
 a word of warning. if you dial the wrong number, you'll be paying for a call
 every five minutes. check this whole thing manually first!
 
 Ben
 
 Dave Kempe wrote:
 
  Hey sluggers,
  I'm very newbie at writing scripts or any sort of programming really.
  Wondering where I would start to write a script that checked to see if the
  PPP link was up and if it wasn't brought it up? I know that the modem lock
  files would be useful cos nothing else uses the modem, so the existance of
  /var/lock/LCK..ttyS0 is reasonable. Or is there a better way in /proc
  something.
 
  The other question i have is how to understand the entries in crontab.
  I have read a few cron tutuorials, and still don't exactly understand how to
  make cron do something once an hour or once a day.
  I don't exactly understand what each column means in the 6 or so *'s that
  are at the start of the crontab entry. Anyone care to share the secret?
 
  thanks,
 
  Dave
 
  --
  SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
  More Info: http://slug.org.au/lists/listinfo/slug
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

-- 
BONG: http://www.bong.com.au
EMAIL...
[EMAIL PROTECTED][EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
ICQ: 16867613


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



Re: [SLUG] Promise ATA/100 Linux Drivers

2000-10-18 Thread Herbert Xu

Dean Hamstead [EMAIL PROTECTED] wrote:

 More locks where added i believe, removing them would make things worse,

To add locks you have to remove some as well :) The previous poster was
probably referring to the removal of uses of the Big Kernel Lock.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



[SLUG] PPP under RH6.2 - Rec on HOWTO

2000-10-18 Thread Terry Collins

Can anyone recommend a relevant guide to setting up PPP under RH6.2?

This is a dial up on demand situation from the GUI (not me).

It has all changed since the last time I set one up and there is nil
relevant doco on the default RH install (I don't call steps to setup
kernel ppp as really useful, which is all I could find).

As near as I can work out, RH has changed to using WvDial for on demand
dialing - is this correct?

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   or [EMAIL PROTECTED] 
   WOA Computer Services lan/wan, linux/unix, novell
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"


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



[SLUG] The name on everyone's lips... Tux!

2000-10-18 Thread Jeff Waugh

Two recent high profile projects are both named after everyone's favourite
penguin... Soon enough you could be serving your TUX-based website from a
Tux2 filesystem - confused?


The Tux2 Filesystem:

Too good for journalling, but not too good for a good old anti-Free Software
patent and intellectual property dispute.

 http://innominate.org/~phillips/tux2/tux2.html
 http://slashdot.org/article.pl?sid=00/10/13/2117258


The TUX Webserver:

Userland not good enough for you, eh? Just have to be in the kernel, eh?
Next they'll be modprobing X! *ducks* Couldn't find a proper home page for
this one, so you'll have to suffer the slashdot link - but the interview was
really very good regardless.

 http://slashdot.org/interviews/00/07/20/1440204.shtml


Two others I've had a peek at lately are Meditux and Tuxracer:

Meditux (http://meditux.org/) is a web based info app for intensive care
units - yes, hospitals... and you thought your web server was mission
critical! SLUGgers are involved. :D

Tuxracer (http://www.tuxracer.com/) is an OpenGL eyecandy game
starring none other than the penguin himself.


Randomness.

- Jeff


-- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Ye shall be cursed to fall in love so easily, and yet be so
 cold of heart as never to express it.


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



Re: [SLUG] The name on everyone's lips... Tux!

2000-10-18 Thread Thom May

At some point around Thu, Oct 19, 2000 at 12:29:59 +1100, Jeff Waugh said:
 Two recent high profile projects are both named after everyone's favourite
 penguin... Soon enough you could be serving your TUX-based website from a
 Tux2 filesystem - confused?
 
 
 The Tux2 Filesystem:
 
 Too good for journalling, but not too good for a good old anti-Free Software
 patent and intellectual property dispute.
 
  http://innominate.org/~phillips/tux2/tux2.html
  http://slashdot.org/article.pl?sid=00/10/13/2117258
LWN have some commentary on this at
   http://www.lwn.net/2000/1012/kernel.php3
   http://www.lwn.net/2000/0831/a/tux2.php3

Looks pretty cool. However, XFS is absolutely amazing, I have to
say. Had a total lock out this morning (netscape, surprise
surprise). hard booted the box, had X running within 30 secs,
with 20 Gig of hard drive mounted.
 
 
 The TUX Webserver:
 
 Userland not good enough for you, eh? Just have to be in the kernel, eh?
 Next they'll be modprobing X! *ducks* Couldn't find a proper home page for
 this one, so you'll have to suffer the slashdot link - but the interview was
 really very good regardless.
 
  http://slashdot.org/interviews/00/07/20/1440204.shtml
http://www.redhat.com/products/software/linux/tux/
It's currently only available as RPMs, and the kernel stuff is
built into a 2.4 kernel as an RPM. However, for those of you
wishing to try it. It's vanilla 2.4.0-test7+tux, so a quick diff
will give you a proper patch...
 
 Two others I've had a peek at lately are Meditux and Tuxracer:
 
 Meditux (http://meditux.org/) is a web based info app for intensive care
 units - yes, hospitals... and you thought your web server was mission
 critical! SLUGgers are involved. :D
 
 Tuxracer (http://www.tuxracer.com/) is an OpenGL eyecandy game
 starring none other than the penguin himself.
 
 
 Randomness.
Now with added entropy...
 - Jeff
-Thom


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



RE: [SLUG] PPP under RH6.2 - Rec on HOWTO

2000-10-18 Thread Dave Kempe

 Can anyone recommend a relevant guide to setting up PPP under RH6.2?

 This is a dial up on demand situation from the GUI (not me).

 It has all changed since the last time I set one up and there is nil
 relevant doco on the default RH install (I don't call steps to setup
 kernel ppp as really useful, which is all I could find).

 As near as I can work out, RH has changed to using WvDial for on demand
 dialing - is this correct?

If wvdial is installed then yes it will use wvdial. Then you need to read
the man pages for wvdial.

If it aint then you can just use the ppp section of linuxconf. Add in a
connection with the correct details and go from there. Thats about as gui as
it gets. It seems to work ok tho.

Dave



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



RE: [SLUG] Re: Script writing and understanding cron

2000-10-18 Thread Dave Kempe

 \begin{Dave Kempe}
  Is there a way to make the persist option wait a bit until the
 last pppd is
  finished?

 see "holdoff" in pppd(8)

Thanks, i tried that and it didn't seem to work.
I set persist="yes" in /etc/sysconfig/network-script/ifcfg-ppp0 and added a
line that said holdoff="30" ala the man pages.
it does this:
Oct 19 06:27:51 gateway pppd[31753]: Modem hangup
Oct 19 06:27:51 gateway pppd[31753]: Connection terminated.
Oct 19 06:27:51 gateway pppd[31753]: Connect time 1.4 minutes.
Oct 19 06:27:51 gateway pppd[31753]: Sent 3309 bytes, received 7601 bytes.
Oct 19 06:27:53 gateway pppd[31753]: Exit.
Oct 19 06:27:55 gateway ifup-ppp: pppd started for ppp0 on /dev/ttyS2 at
115200
Oct 19 06:27:56 gateway pppd[31838]: pppd 2.3.7 started by root, uid 0

So it doesn't seem to wait but just persists as normal. Is there somewhere
else i'm meant to add the holdoff command?

thanks,

dave



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



Re: [SLUG] Associating filenames

2000-10-18 Thread Peter Rundle

Is there any ability in Linux to associate filename extensions, or
similar, with applications.  

One of the things with Unix is that, unlike dos with it's 8,3 rule
the "extension" is totally arbitary. Originally there was a 14 char
limit to file names and whether you had a dot in there was entirely
up to the user. Thus the idea of typing files by their extension
was historically pretty much a foreign concept to Unix. 

Currently there are at least three methods in use,

1. educated guess about file type based on content ("file" command)
2. explicit meta data in file (eg "#!/usr/bin/perl" )
3. .ext in the filename (Mime types)

All have their failings. 

Are there any other methods others know of?


--

Pete


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



[SLUG] Re: Re: Script writing and understanding cron

2000-10-18 Thread Angus Lees

\begin{Dave Kempe}
 I set persist="yes" in /etc/sysconfig/network-script/ifcfg-ppp0 and added a
 line that said holdoff="30" ala the man pages.
 it does this:
 Oct 19 06:27:53 gateway pppd[31753]: Exit.
 Oct 19 06:27:55 gateway ifup-ppp: pppd started for ppp0 on /dev/ttyS2 at
 115200
 Oct 19 06:27:56 gateway pppd[31838]: pppd 2.3.7 started by root, uid 0
 
 So it doesn't seem to wait but just persists as normal. Is there somewhere
 else i'm meant to add the holdoff command?

with persist, pppd isn't supposed to exit when the connection
drops.. are you sure you added it correctly? i have no idea what the
ifcfg-ppp0 script does, so you might have to get someone else to
answer that one. (i just put "persist" in /etc/ppp/peers/provider)

also, there is something else running pppd in a loop - restarting it
immediately when it exits. this loop will be unnecessary when persist
is actually working, since pppd does it itself.

-- 
 - Gus


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



RE: [SLUG] Associating filenames

2000-10-18 Thread George Vieira

The Apple format which was to create a filename of the same type but hidden
and had the MIME info in it...  eerrr yuk!.

thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :   43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:  0x38A9A10C


-Original Message-
From: Peter Rundle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 8:18 AM
To: SLUG
Subject: Re: [SLUG] Associating filenames


Is there any ability in Linux to associate filename extensions, or
similar, with applications.  

One of the things with Unix is that, unlike dos with it's 8,3 rule
the "extension" is totally arbitary. Originally there was a 14 char
limit to file names and whether you had a dot in there was entirely
up to the user. Thus the idea of typing files by their extension
was historically pretty much a foreign concept to Unix. 

Currently there are at least three methods in use,

1. educated guess about file type based on content ("file" command)
2. explicit meta data in file (eg "#!/usr/bin/perl" )
3. .ext in the filename (Mime types)

All have their failings. 

Are there any other methods others know of?


--

Pete


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


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



[SLUG] Gnucash

2000-10-18 Thread Jamie Honan


In the past several people have mentioned using gnucash for book-keeping.

Is anyone doing this at present?

I'm particularly interested in the impact of GST, and generating
BAS.

[And please, don't let's stray OT. Just take the current situation
as a given, OK?]

Gnucash has no inbuilt handling of VAT, GST, BTW. Should it?
Could this be handled by the extension language?

Is it enough to split each transaction? I notice that MYOB First Accounts
(damn accountant made me buy it :) has a pretty gross GST handling
mechanism. It's 10%, no allowance for variations etc.

Hmm. I wish there was a user level help group in this area.

Jamie



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



RE: [SLUG] Re: Re: Script writing and understanding cron

2000-10-18 Thread David Kempe

 also, there is something else running pppd in a loop - restarting it
 immediately when it exits. this loop will be unnecessary when persist
 is actually working, since pppd does it itself.


Thanks for your help Angus,
I found where to put the correct holdoff and other ppp options.
in /etc/ppp/options
I added persist and holdoff 30
works great!
Now it looks like this:

Oct 19 09:46:21 solid pppd[5434]: Hangup (SIGHUP)
Oct 19 09:46:21 solid pppd[5434]: Modem hangup
Oct 19 09:46:21 solid pppd[5434]: Connection terminated.
Oct 19 09:46:21 solid pppd[5434]: Connect time 1.1 minutes.
Oct 19 09:46:21 solid pppd[5434]: Sent 944 bytes, received 685 bytes.
Oct 19 09:46:52 solid chat[5539]: abort on (BUSY)   ---(starts dialign
again)

Swoit!

dave



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



[SLUG] DHCPD question

2000-10-18 Thread Howard Lowndes

With the dhcpd server there is the ability to pass several parameters to a
requesting client when it seeks to lease an address.

I have noticed that my dhcpd server is passing some parameter or other to
a Windows client that is telling the latter to resolve netbios using dns,
which is causing the client to try to resolve some pretty unreasonable
names.

Which of the dhcpd.conf settings is likely to be causing this, or better
still which setting would prevent it.

My dhcpd.conf is below.  The WINS server at .74 is working OK, but the
client keeps trying to resolve netbios names with .66 et al, which I don't
want.

When I look on the Windows client in winipcfg I see that the NETBIOS
Resolution uses DNS box is ticked, and that is not from any setting on the
Windows client, so somehow its coming from the dhcp parameters.  Could it
be that Windows is assuming that because it has been told about some dns
name servers then it is entitled to assume that it can use them for
netbios resolution.  Why would I not be surprised if that was the case
(8-(

option  domain-name "lannet.com.au";
option  domain-name-servers 203.41.237.66,  139.130.4.4,139.130.4.5;
option  netbios-name-servers203.41.237.74;
option  netbios-dd-server   203.41.237.74;
 
get-lease-hostnames off;
max-lease-time  10800;
default-lease-time  7200;
server-name "janus.lannet.com.au";
 
# A pseudo definition to keep dhcpd quiet about the eth0 interface
subnet  203.41.237.64   netmask 255.255.255.252 {
option  broadcast-address   203.41.237.67;
}
 
# LANNet workstations
subnet  203.41.237.80   netmask 255.255.255.240 {
range   203.41.237.82   203.41.237.94;
option  routers 203.41.237.81;
option  broadcast-address   203.41.237.95;
}  


-- 
Howard.
__
LANNet Computing Associates http://www.lannet.com.au



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



[SLUG] backup

2000-10-18 Thread Alister Waller


Hi,


Thanks for the comments on Routing Books.

I am newish to Linux and am finding this list a valuable resource for
obtaining help and information. Thanks Guys and Gals.

Next step for me is Backing Up. Can anyone suggest a good backup
script/program?
I wanted to do backups using cron on a customers site and have the backup
write a log of what it has backed up and to email me and the site IT person
as to the backup being successful or unsuccessful. Surely there are 101 of
these types of scripts out there.

looking forward to your replys.

regards

Alister Waller (B. Comp)
Technical Consultant - Roadtech Systems Ltd
Phone: 02 98073516 Fax: 02 98085294
www.roadtechsystems.com.au


 winmail.dat


Re: [SLUG] PPP under RH6.2 - Rec on HOWTO

2000-10-18 Thread Terry Collins

Dave Kempe wrote:
 
  Can anyone recommend a relevant guide to setting up PPP under RH6.2?

...snip...

 If wvdial is installed then yes it will use wvdial. Then you need to read
 the man pages for wvdial.
 
 If it aint then you can just use the ppp section of linuxconf. Add in a
 connection with the correct details and go from there. Thats about as gui as
 it gets. It seems to work ok tho.

Thanks Dave

This is basically the reverse of how it went.
He had been fiddling with it and it didn't work consistently.

Look for stuff I'm used to in RH5.2 - not there
Try Linuxconf - easy as pie and works great to start - powered off modem
to stop it, then could find how the user, as opposed to root could kick
it off.

Tried the PPP dialer under gnome, which is just WvDial and it either
failed to connect or couldn't find modem. Found /etc/wvdial.conf, which
explained where all the crud in the setup was coming from, but ran out
of time, so we've booked another session to explore it.


tail /var/log/messages is great for anyone trying to workout what is
happening with ppp when setting up.
I also recommend ATF as the default modem init string. Record and
delete any other crud and only add it if you really need it.

If you are having trouble holding a modem connection, cutting the speed
back (AT command) is a good way to go. With all the rain about, older
copper installations will be feeling the pinch at the moment.



--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   or [EMAIL PROTECTED] 
   WOA Computer Services lan/wan, linux/unix, novell
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"


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



Re: aic7xxx.o (Re: [SLUG] One for the Kernel Guru's)

2000-10-18 Thread Ken Yap

You shouldn't have the driver for your root disk compiled as a module,
it needs to be in the kernel (or did I parse that wrong?)

Not so. That's exactly one motivation for initrds, to have a generic
kernel (e.g. distro kernel) that can boot on different SCSI disks
without having to compile all the adapter drivers in. The initrd
containing all the SCSI driver modules is loaded along with the kernel
by the bootloader, i.e. the BIOS, so the kernel doesn't need the Linux
driver for the root disk in the kernel.


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



Re: [SLUG] backup

2000-10-18 Thread Rodos

On Thu, 19 Oct 2000, Alister Waller wrote:

 Next step for me is Backing Up. Can anyone suggest a good backup
 script/program?
 I wanted to do backups using cron on a customers site and have the backup
 write a log of what it has backed up and to email me and the site IT person
 as to the backup being successful or unsuccessful. Surely there are 101 of
 these types of scripts out there.

What are you backing up to, another hard disk, a tape drive, CDs? Is the
data on the local machine, another machine on the same network or on a
remote machine via the net?

The email of what was done is easy, your backup tool depends on how much
money you want to pay and the sophistication you need. I use rsync to a
disk drive on another machine and then go to tape from there.

Rodos



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



Re: [SLUG] Gnucash

2000-10-18 Thread Terry Collins

Jamie Honan wrote:

..snip...
 
 Is anyone doing this at present?

NO - using MYOB accounts as I need the inventory.

 
 Is it enough to split each transaction? 

This is the easiest, and you can simply list the GST account
transactions for a list if needed. Remember GST payable is a liability
on your balance sheet if you set up your own accounts.



 I notice that MYOB First Accounts
 (damn accountant made me buy it :) has a pretty gross GST handling
 mechanism. It's 10%, no allowance for variations etc.

In full accounts I can set GST as default or enter one of the Tax codes,
like FRE  when I enter the transaction. So the business share of vehicle
expenses for the quarter went in as two transactions, one GST'd and one
FRE'd. I'm surprised that you really needed any accounting package. I
have a friend running a beauty shop and they get by with a spreadsheet
quiet easily.
 
 Hmm. I wish there was a user level help group in this area.

Myob?

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   or [EMAIL PROTECTED] 
   WOA Computer Services lan/wan, linux/unix, novell
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"


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



Re: [SLUG] Associating filenames

2000-10-18 Thread Ken Yap

The Apple format which was to create a filename of the same type but hidden
and had the MIME info in it...  eerrr yuk!.

Apple's forks actually predated MIME but the metadata concept is a
well-known one.


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



[SLUG] html email format

2000-10-18 Thread Alister Waller

Is there some rule about not using HTML formated email on this list??
if so, why is that?

regards

Alister Waller (B. Comp)
Technical Consultant - Roadtech Systems Ltd
Phone: 02 98073516 Fax: 02 98085294
www.roadtechsystems.com.au


 winmail.dat


Re: [SLUG] html email format

2000-10-18 Thread Michael


Because some of us don't always have access to a mail client that can read
it.. ie. right at this moment, I am on a ssh session and reading my mail
from pine on linux. Hence I can't see HTML posts.

Also, HTML posts add extra size to messages which is not really required.

On Thu, 19 Oct 2000, Alister Waller wrote:

 Is there some rule about not using HTML formated email on this list??
 if so, why is that?
 
 regards
 
 Alister Waller (B. Comp)
 Technical Consultant - Roadtech Systems Ltd
 Phone: 02 98073516 Fax: 02 98085294
 www.roadtechsystems.com.au
 
 



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



Re: [SLUG] html email format

2000-10-18 Thread Matthew Dalton

Alister Waller wrote:
 
 Is there some rule about not using HTML formated email on this list??
 if so, why is that?

BOGUSHTML
TOPBIT
/TOPBIT
MAINBIT

JavaScript
function javascripttrojan() {
trojan.activate();
}
/JavaScript

Because, in some mailers, especially boldtext mode/bold ones,break
html emails can look slantrather/slant like boldslantthis
/bold/slant!

/MAINBIT
/BOGUSHTML


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



[SLUG] Set UID programs

2000-10-18 Thread Jill Rowling

What method do people prefer when wanting a program to run as a particular
user?
Examples:
At startup time, in init.d I might want to run a script as user
"blah"
Or I want to run a program as user "blah" where "blah" has less
privileges than my normal user account.

(Thinks of easily broken things like X and Netscape, hehe)

Some solutions:
su blah -c "/bin/sh myscript"
(This will prompt for password if I am not already root and "blah"
needs a password)
or
# chmod u+s blah myprogram
Then, when called, myprogram should run as user "blah", although it
probably won't work over NFS.

Which is preferable?
Are there other ways of doing it?

Regards,

Jill.
___
Jill Rowling
Snr Design Engineer  Unix System Administrator
Electronic Engineering Department, Aristocrat Technologies Australia
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone:  (02) 9697-4484  Fax:(02) 9663-1412
Email:  [EMAIL PROTECTED]
 



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



Re: [SLUG] Associating filenames

2000-10-18 Thread Peter Faulks


On Thu, 19 Oct 2000 09:17:43 +1100, Peter Rundle wrote:

Currently there are at least three methods in use,

1. educated guess about file type based on content ("file" command)
2. explicit meta data in file (eg "#!/usr/bin/perl" )
3. .ext in the filename (Mime types)

All have their failings. 

Are there any other methods others know of?


What about OS/2's extended attributes?

Regards


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



Re: [SLUG] html email format

2000-10-18 Thread John Clarke

On Thu, Oct 19, 2000 at 10:22:28AM +1000, Alister Waller wrote:

 Is there some rule about not using HTML formated email on this list??

It's a generally accepted convention that we don't send HTML formatted mail to
the list.  The same goes for winmail.dat - please turn it off.

 if so, why is that?

A waste of bandwidth for no gain in content.  Some of us will simply delete
HTML mail unread.

HTML formatting can more than double the size of a simple text message.  Send
that as multipart/alternative and you send both text and html versions,
tripling the size of your message.  Multiply that by the number of subscribers
and the number of messages posted to this list daily, and you have an enormous
amount of wasted bytes.


Cheers,

John
-- 
whois [EMAIL PROTECTED]


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



Re: [SLUG] Associating filenames

2000-10-18 Thread Howard Lowndes

I too couldn't believe that R didn't know what MIME is so the comment was
somewhat cryptic (8-)

I can't comment about SO 5.1 and its understanding of MIME, but it
certainly understands about .doc .xls extensions etc. cos I have had a
look at using Starmail as an alternative to Netscape Messanger.

-- 
Howard.
__
LANNet Computing Associates http://www.lannet.com.au

On Thu, 19 Oct 2000, Rachel Polanskis wrote:

 BTW, StarOffice doesn't know about MIME types - at least from the 
 command line.   I would like to have something in my mailcap for .doc or 
 .sdw files but it doesn't work with 5.1.   Does anyone know if 5.2 has 
 overcome this deficiency?



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



Re: [SLUG] Associating filenames

2000-10-18 Thread tom burkart

On Wed, 18 Oct 2000, Jeff Waugh wrote:

  which begs the question, what did they do to bolt metadata onto the
  freebsd core for OSX ??
 Umm... There was a really good article about this going around a while back.
 Fairly interesting, it covered all the hacks they went through to combine
 the two systems.
As far as my reading of it went was that they dropped the feature.

As far as my personal opinion goes: file(1) does a reasonable job anyway.
Who needs file extensions?  I don't like them because windoze gets it wong
too often.

tom.
Consultant

AUSSECPhone: 61 4 1768 2202
339 Blaxland Rd., Ryde NSW 2112
Email: [EMAIL PROTECTED]



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



[SLUG] Html Email Format part 2

2000-10-18 Thread Alister Waller


Well for those of you who complained about my email it was actually in rich
text format not html format.

I have now switched to plain text.

Can I ask why people use non-html enabled mail clients?? What is the benefit
of this? Is this a linux geeky type thing??
Seems strange when you look at what computers are capable of that a minority
(I am taking a stab in the virtual darkness) still insist on using a text
based mail reader. You mention bandwith, I am sure a lot of you download
pictures and Mpeg 3's etc which hog a lot more of that than a few extra
lines of text in an email.


regards

Alister Waller (B. Comp)
Technical Consultant - Roadtech Systems Ltd
Phone: 02 98073516 Fax: 02 98085294
www.roadtechsystems.com.au



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



Re: [SLUG] Set UID programs

2000-10-18 Thread Aaron Binns



Some solutions:
su blah -c "/bin/sh myscript"
(This will prompt for password if I am not already root and "blah"
needs a password)
or
# chmod u+s blah myprogram
Then, when called, myprogram should run as user "blah", although it
probably won't work over NFS.

Which is preferable?
Are there other ways of doing it?

Personally I prefer to chmod the binary to run as the required user, although I
do not do this if the binary or script requires root access.
The reasoning is this. If th binary will only run as that user and there are no
other options in running it, then why put the password in every time unless it
is a security threat? User blah should not, of course, have the capacity to
wreak havoc on the scene.. thats a given, I'd hope!

Aaron
**




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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Howard Lowndes

I hope you have asbestos pants on cos this is flame bait (8-)

I use Pine which is essentially text based, but it can handle html, it
just ignores the tags.

I think the main problem is bandwidth and the fact that html email can be
used to activate exploits in some browsers.

...and no, I don't download mp3, I do zap banner ads so that I can
download browser graphics because unfortunately eye candy seems to be de
rigeur these days and most sites are so badly designed as to be totally
meaningless without the graphics.

-- 
Howard.
__
LANNet Computing Associates http://www.lannet.com.au

On Thu, 19 Oct 2000, Alister Waller wrote:

 
 Well for those of you who complained about my email it was actually in rich
 text format not html format.
 
 I have now switched to plain text.
 
 Can I ask why people use non-html enabled mail clients?? What is the benefit
 of this? Is this a linux geeky type thing??
 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.
 
 
 regards
 
 Alister Waller (B. Comp)
 Technical Consultant - Roadtech Systems Ltd
 Phone: 02 98073516 Fax: 02 98085294
 www.roadtechsystems.com.au
 
 
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug
 



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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Michael


I am sure we all like to grab the odd mp3, but with that in mind, you'd be
refering to bandwidth we pay for off our own backs.

But as someone pointed out, when it comes to a mail list, not only do we
all pay for the emails, but someone also must pay for the server/servers
the email list is hosted on before it gets to us.

Personally, I don't want to be paying for HTML encoded emails when I don't
think it is necessary, unless of course someone wants to pay my bandwidth
costs.

Just my $2 worth

On Thu, 19 Oct 2000, Alister Waller wrote:

 
 Well for those of you who complained about my email it was actually in rich
 text format not html format.
 
 I have now switched to plain text.
 
 Can I ask why people use non-html enabled mail clients?? What is the benefit
 of this? Is this a linux geeky type thing??
 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.
 
 
 regards
 
 Alister Waller (B. Comp)
 Technical Consultant - Roadtech Systems Ltd
 Phone: 02 98073516 Fax: 02 98085294
 www.roadtechsystems.com.au
 
 
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug
 



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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread DaZZa

On Thu, 19 Oct 2000, Alister Waller wrote:

 Can I ask why people use non-html enabled mail clients?? What is the benefit
 of this? Is this a linux geeky type thing??

It's commonly known as "lowest common denominator".

In other words, you distribute in the format that you're guaranteed your
LEAST capable interface can deal with.

 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.

This is a LINUX list. Believe it or not, Linux is still a text based
system - X11 is an add on, not part of the Linux core.

As for bandwidth - my mail is remote to my location - I telnet into a mail
server to read/reply to it - doing this with a GUI browser would be next
to impossible - sepecially over the 9600 BPS lines I'm forced to
occasionally use.

And yes - some of us DO you text based browsers - because it's simplier,
there's less risk of some form of bloody trojan being inserted in a visual
basic attachment, and it doesn't need the MASSIVE system overhead a GUI
based mail/news reader does.

My total bandwidth download in a month rarely exceeds 20 or 30 meg -
because I don't download pictures or MP3's or crap like HTML mail. The
only time it does is when I download something like a new kernel release,
or other large chunks of source code.

Please leave your WindoZe based attitudes at the door when entering.

DaZZa



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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread James Wilkinson

On Thu, 19 Oct 2000, Alister Waller generated:

Can I ask why people use non-html enabled mail clients?? What is the benefit
of this? Is this a linux geeky type thing??

Have you ever used mutt?  it's the least sucky of all the mail clients
out there.  i find the useablilty/conformance to standards of mutt a much
bigger bonus than the ability to read (non-standard) html postings.

Seems strange when you look at what computers are capable of that a minority
(I am taking a stab in the virtual darkness) still insist on using a text
based mail reader. You mention bandwith, I am sure a lot of you download
pictures and Mpeg 3's etc which hog a lot more of that than a few extra
lines of text in an email.

OK, so I should waste some of my precious bandwidth that i'm using to
download mp3s to download html in my email too?  fsck that.

-- 
No, I was looking for warez.  The pornography was just a useful byproduct.
-- Dave Coote


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



[SLUG] backup using rsync and file permission

2000-10-18 Thread Ricky C

hi All,

I have just started playing with rsync and in need of some guidance.

rsync (version 2.4.6) was installed on the "server", and version 2.4.1 on 
the "client"

On the server side, directories are shared using path such as below

#/etc/rsyncd.conf
read only = yes
list = yes
uid = root
gid = root

[folder_1]
comment = Old_Server (Remote)
path = /data/tools

[folder_2]
comment = Old_Server (Remote)
path = /data/Admin

On the Client side,

rsync -avz Old_Server::folder_1 /backup/folder_1

Everything seems to work fine, all permission bits are kept, however the UID 
and GID comes up as numbers. Does the 2 machines require the the same 
/etc/passwd file, and its shadow ??

What is the best way to manage this ??
Also, is there any way to rsync the whole file system ?? so I don't have to 
set 20 different paths in the rsyncd.conf.

Thanks in advance
Ricky

-
PS: thanks Rodos for the suggestion
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Matthew Dalton

Alister Waller wrote:
 Can I ask why people use non-html enabled mail clients?? What is the benefit
 of this? Is this a linux geeky type thing??
 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.

I'd say it's more than just a few lines. Your posts with the winmail.dat
attachments are twice the size of everyone elses (your "backup" post was
6k, other recent posts are 2/3k). Imaging if every slug post doubled in
size -- it adds up. Now imagine that you're the guy paying for SLUG's
email bandwidth.

As someone already mentioned, some mailers send messages with both text
and html versions together, wasting even more bandwidth.

Computers are capable of quite alot these days, but I fail to see the
need to put "a few extra lines of text" in an email, just to make your
message come out in 10pt Arial instead of the default text mode font. I
mean, most people who send in html don't even use any of html's
features! They gain nothing from using html, except bulk. Then there are
those who think they're 'l33t because they have a textured backround,
fancy font and coloured text on their emails. Their 2k message weighs in
at 37k! Now who's wasting bandwidth?

As for pictures and mp3's - they are relatively bandwidth friendly. Just
compare the size of jpg's and mp3's to the size of their heavyweight
cousins bmp and wav! Yes they are far larger than your average html
mail, but many people have made it their business to make them less so.

Matthew


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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Terry Collins

Alister Waller wrote:

...snip...

 Can I ask why people use non-html enabled mail clients?? 

The real answer is why not? They still work and work well. 
My pet hate is the arms race that people are forced into with linux.


What is the benefit of this?

Faster, less storage, simple, easier, less error prone, no trojans, etc,
etc
Less hardware requirements. You don't need a gui, you don't need X,
which again leaves you with a faster, more reliable machine. Netscape
crashes frequently, X/? occassionally locks up, but linux has never
locked/crashed.


 Is this a linux geeky type thing??

No, definitely not.

 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.

The MAJORITY of people are still on dial up lines with 33.6K modem and
so they suffer badly from that little bit of extra data. That extra data
actually COSTS people money as quite a few people are on timed access,
both ISP and STD calls.

We try to follow consensus here, not the democratic principle which is
dictation by the majority. 

Essentially, there is no perceived benefit to everyone from allowing
html. I'd much rather have rejection of html posts before closing the
list to subscribers only.


--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   or [EMAIL PROTECTED] 
   WOA Computer Services lan/wan, linux/unix, novell
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"


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



Re: [SLUG] Gnucash

2000-10-18 Thread Kevin Waterson

h to split each transaction? I notice that MYOB First Accounts
 (damn accountant made me buy it :) has a pretty gross GST handling
 mechanism. It's 10%, no allowance for variations etc.
 
 Hmm. I wish there was a user level help group in this area.

I had a look at gnucash and others at the beginning of the finiancial
year and whilst it is coming of age, it is not yet ready for real
world use.

Our solution was to write a php/MySQL BAS preparation utility that
plugins into our php/MySQL Point-Of-Sale, total time to do BAS
is now about 5 mins.

Of course this system has many shortcomings but meets our needs.

-- 
Kind regards

Kevin Waterson


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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread John Clarke

On Thu, Oct 19, 2000 at 11:06:27AM +1000, Alister Waller wrote:

 I have now switched to plain text.

Thank you.

 Can I ask why people use non-html enabled mail clients?? What is the benefit

Because mutt is the best mail client I've found so far.  Because I appreciate
content far more than style.  Because almost all HTML formatted mail adds
absolutely *nothing* to the content of the message.  A different font, the odd
bold or italic word or phrase, but what else?  Nothing.  Because HTML can be
used to spread malicious content.  Because HTML mail is bandwidth-unfriendly.
Because I just don't like it.

This list is (mostly :-)) about helping people, surely if you're asking for
help you do it in the way most appreciated by those whose help you're seeking? 
Irritating people by the manner in which you ask for help is not going to make
them more likely to provide that help, is it?

 based mail reader. You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.

Stop thinking of yourself and think of those that host the mailing list.  Isn't
it just good manners to minimise the cost to them?  IIRC (from a message on
this list ages ago), before the list moved to the new servers, the traffic was
enough to saturate a 128K ISDN link, and they don't come cheap.  I have no idea
how much bandwidth it uses now, but it's likely to be more rather than less.


Cheers,

John
-- 
whois [EMAIL PROTECTED]


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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Jeff Waugh

Alister Waller said something along the lines of:

 I have now switched to plain text.


Hooray! :)


 Can I ask why people use non-html enabled mail clients?? What is the benefit
 of this? Is this a linux geeky type thing??


Matt Elkins, the original author of mutt (the email client I use) quotes
himself on the mutt.org homepage:

 "All mail clients suck. This one just sucks less."

Mutt happens to suck a lot less than most text-based mail clients, and
supports - nay, *handles* the multipart annoyances that are the default on
most GUI mailers (especially the ones from our friends, Microsoft, who come
up with brilliant new ways to obfuscate what really amounts to *plain text*
with every revision of their various mail clients).

When I receive HTML email, mutt invokes w3m to render it. When I receive
that tdif junk, mutt fixes it up to show me the plain text part only.


 Seems strange when you look at what computers are capable of that a minority
 (I am taking a stab in the virtual darkness) still insist on using a text
 based mail reader.


Not so sure about a minority. I think you'll find the fetchmail / procmail /
mutt trio on a lot of our desktops. I'd recommend looking at the User-Agent
and X-Mailer headers, but that's a couple of clicks away in your client. :D

If you use a GUI mailer exclusively, you don't get the benefit of ssh'ing
into your machine to read your email as if you were at your desktop... and
don't be telling me you'd do it over X! ;)


 You mention bandwith, I am sure a lot of you download
 pictures and Mpeg 3's etc which hog a lot more of that than a few extra
 lines of text in an email.


When it comes to you or I, sure, that bandwidth isn't a problem. However,
there are 464-- 465 people on the mailing list...

Taking a random tnef email on the list, the text/plain version was 0.5k,
however the tnef junk was an additional 2.4k, so the email is about six
times the size of what it needed to be. Take that 2.4k and multiply it by
465, and you have just under a megabyte, never mind the overhead.


Then there's the Pine users, but we won't go into that. :D

- Jeff


-- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Ye shall be cursed to fall in love so easily, and yet be so
 cold of heart as never to express it.


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



[SLUG] HTML Email format part 3

2000-10-18 Thread Alister Waller

Ok, all very good reasons for using text based email. I wasn't being
aggressive, unlike some replies, I was asking the questions out of genuine
curiosity.

Now, in regard to bandwith. Why do some people send the same email to me as
they send to the list, i read the list??? surely that is creating bandwith??

regards once again


Alister Waller (B. Comp)
Technical Consultant - Roadtech Systems Ltd
Phone: 02 98073516 Fax: 02 98085294
www.roadtechsystems.com.au



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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread DaZZa

On Thu, 19 Oct 2000, Jeff Waugh wrote:

 Then there's the Pine users, but we won't go into that. :D

And what's wrong with the Pine users? And do you wanna make something of
it? :-)

_MY_ version of PINE strips HTML crap perfectly. :-)

DaZZa



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



Re: [SLUG] HTML Email format part 3

2000-10-18 Thread Stuart Cooper


   Ok, all very good reasons for using text based email. I wasn't being
   aggressive, unlike some replies, I was asking the questions out of genuine
   curiosity.

no problem. just because modern computers can do gee-whiz things doesn't mean
that they should be doing them. 

   Now, in regard to bandwith. Why do some people send the same email to me as
   they send to the list, i read the list??? surely that is creating bandwith??

yes, but this time it's your bandwidth. :)

Stuart.


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



[SLUG] Html Email Format part 3

2000-10-18 Thread Rodos

jest
Well for those of you who complained about my email it was actually in
ASCII text format with a non-proportional font.

Can I ask why people use html enabled mail clients?? What is the benefit
of this? Is this a Windows thing?? Seems strange when you look at what
computers are capable of that a minority (I am taking a stab in the
virtual darkness) insist on using new fancy and extended mail reader. You
mention bandwidth, I am sure a lot of you download all sorts of crap, so
how do you spare any bandwidth for those extra lines of text in an email.
/jest

Alister, you probably think we are an unfriendly bunch, its just that you
walked into a vegetarian food court asking the customers sitting at the
tables would they like to try out the new tasty pork bits from Company 
X. You just know you are not going to get a favorable reaction.

An example, take the following text. Most of the Linux geeks here can
simply pipe this text into a postscript viewer and read the message
contained within. You can read some of it (go to the last 10 lines or so),
but its basically annoying and adds nothing to the message. Thats why we
don't send postscript or HTML.

Look forward to helping out with your Linux questions Alister, but its
nice to see the sluggers draw there sword, tis been a while.

Rodos

P.S. Sorry for the long message guys, but I thought you would understand.

%!PS-Adobe-3.0
%%Title: t
%%For: root
%%Creator: a2ps version 4.13
%%CreationDate: Sun Jul 24 12:09:55 2016
%%BoundingBox: 24 24 571 818
%%DocumentData: Clean7Bit
%%Orientation: Landscape
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: A4 595 842 0 () ()
%%DocumentNeededResources: font Courier
%%+ font Courier-Bold
%%+ font Courier-BoldOblique
%%+ font Courier-Oblique
%%+ font Helvetica
%%+ font Helvetica-Bold
%%+ font Symbol
%%+ font Times-Bold
%%+ font Times-Roman
%%DocumentProcessColors: Black 
%%DocumentSuppliedResources: procset a2ps-a2ps-hdr
%%+ procset a2ps-black+white-Prolog
%%+ encoding ISO-8859-1Encoding
%%EndComments
/a2psdict 200 dict def
a2psdict begin
%%BeginProlog
%%Copyright: (c) 1988, 89, 90, 91, 92, 93 Miguel Santana
%%Copyright: (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana
% Check PostScript language level.
/languagelevel where {
  pop /gs_languagelevel languagelevel def
} {
  /gs_languagelevel 1 def
} ifelse

% EPSF import as in the Red Book
/BeginInclude {
  /b4_Inc_state save def% Save state for cleanup
  /dict_count countdictstack def% Count objects on dict stack
  /op_count count 1 sub def % Count objects on operand stack 
  userdict begin
0 setgray 0 setlinecap
1 setlinewidth 0 setlinejoin
10 setmiterlimit [ ] 0 setdash newpath
gs_languagelevel 1 ne {
  false setstrokeadjust false setoverprint 
} if
} bind def

/EndInclude {
  count op_count sub { pos } repeat % Clean up stacks
  countdictstack dict_count sub { end } repeat
  b4_Inc_state restore
} bind def

/BeginEPSF {
  BeginInclude
  /showpage { } def
} bind def

/EndEPSF {
  EndInclude
} bind def

% Page prefeed
/page_prefeed { % bool - -
  statusdict /prefeed known {
statusdict exch /prefeed exch put
  } {
pop
  } ifelse
} bind def

/deffont {
  findfont exch scalefont def
} bind def

/reencode_font {
  findfont reencode 2 copy definefont pop def
} bind def

% Function c-show (str = -)
% centers text only according to x axis.
/c-show { 
  dup stringwidth pop
  2 div neg 0 rmoveto
  show
} bind def

% Function l-show (str = -)
% prints texts so that it ends at currentpoint
/l-show {
  dup stringwidth pop neg 
  0 
  rmoveto show
} bind def

% center-fit show (str w = -)
% show centered, and scale currentfont so that the width is less than w
/cfshow {
  exch dup stringwidth pop
  % If the title is too big, try to make it smaller
  3 2 roll 2 copy
  gt
  { % if, i.e. too big
exch div
currentfont exch scalefont setfont
  } { % ifelse
pop pop 
  }
  ifelse
  c-show% center title
} bind def

% Return the y size of the current font
% - = fontsize
/currentfontsize {
  currentfont /FontMatrix get 3 get 1000 mul
} bind def

% reencode the font
% encoding-vector fontdict - newfontdict
/reencode { %def
  dup length 5 add dict begin
{ %forall
  1 index /FID ne 
  { def }{ pop pop } ifelse
} forall
/Encoding exch def

% Use the font's bounding box to determine the ascent, descent,
% and overall height; don't forget that these values have to be
% transformed using the font's matrix.
% We use `load' because sometimes BBox is executable, sometimes not.
% Since we need 4 numbers an not an array avoid BBox from being executed
/FontBBox load aload pop
FontMatrix transform /Ascent exch def pop
FontMatrix transform /Descent exch def pop
/FontHeight Ascent Descent sub def

% Define these in case they're not in the FontInfo (also, here
% they're easier to get to.
/UnderlinePosition 1 def

Re: [SLUG] HTML Email format part 3

2000-10-18 Thread CaT

On Thu, Oct 19, 2000 at 01:18:08AM -, Stuart Cooper wrote:
 
Ok, all very good reasons for using text based email. I wasn't being
aggressive, unlike some replies, I was asking the questions out of genuine
curiosity.
 
 no problem. just because modern computers can do gee-whiz things doesn't mean
 that they should be doing them. 

Oh c'mon. I eagerly await the day when we'll need opengl mail clients. :)

Now, in regard to bandwith. Why do some people send the same email to me as
they send to the list, i read the list??? surely that is creating bandwith??
 
 yes, but this time it's your bandwidth. :)

Hehe. YEs. And it has the added advantage of you getting the message
witohut it having to go through any mailinglist lag. :)

-- 
CaT ([EMAIL PROTECTED])

'We do more then just sing and dance. We've got a brain too.'
-- The Backstreet Boys


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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Rodos

On Thu, 19 Oct 2000, Jeff Waugh wrote:

 Then there's the Pine users, but we won't go into that. :D

Oi, I resemble that comment! Appart from not having thread support I am
very happy with it. Works well over SSH.

Rodos



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



Re: [SLUG] HTML Email format part 3

2000-10-18 Thread Jobst Schmalenbach

On Thu, Oct 19, 2000 at 12:08:43PM +1100, DaZZa ([EMAIL PROTECTED]) wrote:
 On Thu, 19 Oct 2000, Alister Waller wrote:
 
  Now, in regard to bandwith. Why do some people send the same email to me as
  they send to the list, i read the list??? surely that is creating bandwith??
 
 Because people are too lazy to edit the headers when they hit "reply to
 all".
 
 :-)

Or dont have a *GREAT* mail client like "mutt" which has the ability using "L"
to reply to the list ONLY.

(sorry DaZZa, I remember you "pine" line a few posts back ;-) )



jobst



-- 
Approach love and cooking with reckless abandon.

|__, 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://slug.org.au/lists/listinfo/slug



RE: [SLUG] Html Email Format part 2

2000-10-18 Thread John Wiltshire

From: Rodos [mailto:[EMAIL PROTECTED]]

On Thu, 19 Oct 2000, Jeff Waugh wrote:

 Then there's the Pine users, but we won't go into that. :D

Oi, I resemble that comment! Appart from not having thread support I am
very happy with it. Works well over SSH.

You mean there's a better way than 'cat /var/spool/mail/jw' and 'telnet
localhost smtp' to do my email?  Wow!  The things I miss...

John Wiltshire


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



Re: [SLUG] Html Email Format part 2

2000-10-18 Thread Howard Lowndes

Here, here (8-)

Caution, mailer war on the horizon.

-- 
Howard.
__
LANNet Computing Associates http://www.lannet.com.au

On Thu, 19 Oct 2000, Rodos wrote:

 On Thu, 19 Oct 2000, Jeff Waugh wrote:
 
  Then there's the Pine users, but we won't go into that. :D
 
 Oi, I resemble that comment! Appart from not having thread support I am
 very happy with it. Works well over SSH.



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



[SLUG] [OT] Micro NLX Power Supply

2000-10-18 Thread Doug Stalker

Appologies for the off-topic post, but it is for a linux system...


Does anyone know where I can get a power supply for a Micro NLX case? 
To further complicate things it has to be paid for with VISA.


 - Doug

-- 
_
  Network Operations Engineer - Big Pond Advance Satellite
 Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000
  Ph: +61-416-085-390   Email: [EMAIL PROTECTED]


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



Re: [SLUG] html email format

2000-10-18 Thread Andrew Reilly

On Thu, Oct 19, 2000 at 10:22:50AM +1000, Alister Waller wrote:
 Is there some rule about not using HTML formated email on this list??
 if so, why is that?

Because instant deletion by 90% of the list is not conducive to
discussion.  You were hoping that others would _read_ your
message, no?

-- 
Andrew


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



Re: [SLUG] html email format

2000-10-18 Thread Rick Welykochy

On Thu, 19 Oct 2000, Andrew Reilly wrote:

 On Thu, Oct 19, 2000 at 10:22:50AM +1000, Alister Waller wrote:
  Is there some rule about not using HTML formated email on this list??
  if so, why is that?
 
 Because instant deletion by 90% of the list is not conducive to
 discussion.  You were hoping that others would _read_ your
 message, no?

Or, putting is more succintly, would even attempt to read something
that looked like the following HTML email?
(and this is a relatively innocuous example!)

---

!doctype html public "-//w3c//dtd html 4.0 transitional//en"
html
This is an email generated using Netscape's HTML mail feature.
brIt should be sent with the multi-part MIMEnbsp;format, both in HTML
brand plain text..
brnbsp;
h1
font color="#FF"What you see is not necessarily what you get!/font/h1
iufont size=+3Bye now./font/u/i
pre--nbsp;

---


--
Rick Welykochy || Praxis Services




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



Re: [SLUG] Set UID programs

2000-10-18 Thread Dean Hamstead

Setuid is the tidiest way i think
su is good for one off stuff and it would
also be a good way to ru nthings if you needed to 
run a program as several different users 

Dean

Jill Rowling wrote:
 
 What method do people prefer when wanting a program to run as a particular
 user?
 Examples:
 At startup time, in init.d I might want to run a script as user
 "blah"
 Or I want to run a program as user "blah" where "blah" has less
 privileges than my normal user account.
 
 (Thinks of easily broken things like X and Netscape, hehe)
 
 Some solutions:
 su blah -c "/bin/sh myscript"
 (This will prompt for password if I am not already root and "blah"
 needs a password)
 or
 # chmod u+s blah myprogram
 Then, when called, myprogram should run as user "blah", although it
 probably won't work over NFS.
 
 Which is preferable?
 Are there other ways of doing it?
 
 Regards,
 
 Jill.
 ___
 Jill Rowling
 Snr Design Engineer  Unix System Administrator
 Electronic Engineering Department, Aristocrat Technologies Australia
 3rd Floor, 77 Dunning Ave Rosebery NSW 2018
 Phone:  (02) 9697-4484  Fax:(02) 9663-1412
 Email:  [EMAIL PROTECTED]
 
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

-- 
BONG: http://www.bong.com.au
EMAIL...
[EMAIL PROTECTED][EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
ICQ: 16867613


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



[SLUG] RTF viewer for Linux?

2000-10-18 Thread Jobst Schmalenbach

All,
are there any RTF (Rich Text Format) viewers for Linux?
I get so many of them that I dont wanna ftp all the time from an NT box
to download it from a linux box.


jobst



-- 
best accelerated mac = 9.8 m/(s*s)

|__, 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://slug.org.au/lists/listinfo/slug



[SLUG] Damn sendmail.mc and m4

2000-10-18 Thread George Vieira

Hi y'all,

I had this problem before and can't find the information on how I fixed it
but I need to turn off this DNS lookups with sendmail. (I think someone else
had this problem before).

I added into the MC file

FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl

as suggested and tried to recreated the .CF file using

m4 /etc/sendmail.mc  /etc/sendmail.cf

but gives an error 

/etc/sendmail.mc:11: m4: Cannot open /usr/lib/sendmail-cf/m4/cf.m4: No such
file or directory

I remember I was missing the M4 stuff and needed to rpm install it but can't
find the file name on the RedHat CD.
I have a /mnt/cdrom/RedHat/RPMS/m4-1.4-12.i386.rpm but it says it's
installed already..


Aargh, I'm lost now... Can someone help?

thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :   43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:  0x38A9A10C


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



[SLUG] RE: Damn sendmail.mc and m4

2000-10-18 Thread George Vieira

Damn, happens all the time..

Fixed.. Please ignore my last mail..

thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :   43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:  0x38A9A10C


-Original Message-
From: George Vieira 
Sent: Thursday, October 19, 2000 3:07 PM
To: Sydney Linux Users Group in Sydney (E-mail)
Subject: Damn sendmail.mc and m4


Hi y'all,

I had this problem before and can't find the information on how I fixed it
but I need to turn off this DNS lookups with sendmail. (I think someone else
had this problem before).

I added into the MC file

FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl

as suggested and tried to recreated the .CF file using

m4 /etc/sendmail.mc  /etc/sendmail.cf

but gives an error 

/etc/sendmail.mc:11: m4: Cannot open /usr/lib/sendmail-cf/m4/cf.m4: No such
file or directory

I remember I was missing the M4 stuff and needed to rpm install it but can't
find the file name on the RedHat CD.
I have a /mnt/cdrom/RedHat/RPMS/m4-1.4-12.i386.rpm but it says it's
installed already..


Aargh, I'm lost now... Can someone help?

thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :   43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:  0x38A9A10C


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



[SLUG] $B%a!<%k%2!<%`$GBg6b%2%C%H(B

2000-10-18 Thread Takako O
$BFMA3$N%a!<%k$G?=$7Lu$4$6$$$^$;$s!#(B
$B$b$7$44X?4$,$J$$>l9g$K$O!"$*e$2$^$9!#(B

 $B$"$kF|;d$N=j$K0J2<$h$&$J!V(B4000$B1_$GBg6b$,P!K(B
 $B$3$l$O!"F~$i$J$-$cB;$G$9$h!#Ii$1$F$P$C$+$j$N%Q%A%s%3$d%.%c%s%V%k(B
 $B$r!"$d$k$h$j$O$?$C$?0l2s$N?69~$_$@$1$G!"$"$J$?$N?M@8>P$$$C$Q$J$7(B
 $BFI$s$G$_$k2ACM$O$"$k$H;W$$$^$9$h!#(B

 
  --$B!cAw?.7;Do$+$i$3$N%a!<%k$,Aw$i$l$F$-$^$7$?!#(B
$B!!;d$O!!=>7;Do$K!V@$$NCf$=$s$J$K4E$/$OL5$$!!$I$V$K#4@i1_7;Do$+$i!!#1#2F|$K#2?M(B 
$B#1#4F|$K#5?M(B
$B!!F~6bM-$C$?$H!!%a!<%k$,F~$j!!H>?.H>5?$G!!=>7;Do$NDLD"$r8+$F$_$k$H(B
$B!!#1#6F|$K$O!!#1#4?M$+$iF~6b$,M-$k$G$O$J$$$+!&!&!&!&!!(B
$B!!AaB.!!;d$b#4@i1_F~6b$7$F!!%2!<%`$K;22C$9$k$3$H$K$7$^$7$?!#(B
$B!!:#F|!!#97n#1#8F|$+$i;O$a$^$9$N$G!!0l=o$K4hD%$C$F$_$^$;$s$+(B!!

  --$B!cAw?./$J$$F|$G#2#0#0#01_!"B?$$F|$G#9#0#0#01_F~6b$,$"$j!"==J,85$OeHo32C$($F$7$^$C$??M$K$bF1$8$0$i$$$N6b$,Mh$F$k$s$@$m$&$H;W$&$s$@$h(B

  $B8e$m$N?M$,Ho32C$($F$^$?EPO?$9$k;~$O0lHV8e$K$J$k!#(B
  $B9T$-$D$1$PA0$b8e$m$b$J$$$s$@$h$M!#(B
  $B$G26$O!"#47n$N;q6b$G$^$?%A%c%l%s%8!*(B
  $B$?$^$C$?6b$G?7R2p!d(B---

  $B9gK!E*$GLY$+$k%^%M!<%2!<%`EP>l(B
   $B4JC1$G$9!#>/$J$$;qK\6b$GBg6b$,/;qK\$GG|Bg$JMx1W$G$9!#!*!*(B
$B#4#0#0#01_$N;qK\$G@($$Bg6b$,e$NBg6b!J#1#0#0K|1_0J>e!K$r?.H>5?$GBT$C$F$$$k$H!"MbF|$K#17o$N?69~$,M-$j$^$7$?!#(B
 $B!!(B $Be$N?69~$,!"KhF|!"B+$K$J$C$F(B
 $B!!Mh$kMM$K$J$j$^$7$?!#(B

  $BGO/$J$/$H$b5.J}$NG/<}$h$j$bB?$/$J$k$O$:!D!#(B
  $B$3$l$G?M@8JQ$o$k$+$b!*M7$S?4$r$*;}$A$NJ}$@$1@'Hs;22C$7$F2<$5$$(B

  $BK!N'E*$K$OA4$/LdBj$"$j$^$;$s!J8e=R$7$^$9$,?7J9;fLL$G$be(B
 $B$2$i$l$Fe$2$i$l$F$^$9!#(B


 -

 $B!!"#;22CJ}K!!J$3$N%2!<%`$N$7$/$_>R2p4^$`!K"#(B

 $B#1!"$^$:!"2<5-#4?M$N8}:B$K$*6b$r?6$j9~$s$G$/$@$5$$!#(B
 $B!J6d9T$N<+F0?69~5!$G?6$j9~$_$^$9!##4?M$N8}:B$NItJ,$r(B
   $B0u:~$7$F$$$/$H3Z$G$9!#!K(B

  $B#2!"e$N?M$r:o=|$7$^$9!#$=$7$F!"(B
  $B%j%9%H$N0lHV2<$K$"$J$?$N8}:B$r=q$-$^$9(B
  $B$"$H$O!"HV9f$r>e$+$i=g$K?6$j$J$*$7$^$9!#(B
 $B!J$3$&$7$F=gHV$K>e$N?M$,H4$1$F$$$/$N$G0cK!@-$O$J$$!"$H$$$&(B
  $BJ[8n;N(B $B$NJ}$N@bL@$,$"$j$^$7$?!#!K(B

  $B#3!"$=$l$r!"$G$-$k$@$1$?$/$5$s%$%s%?!<%M%C%H$N7G<(HD$N%"%I%l%9(B
   $B$KAw$C$F$/$@$5$$!#$=$&$9$l$P!"$"$H$O$=$l$re0L$N?M$N8"Mx$,>C$($k$7(B
 $B!!$/$_$J$N$G2<$N?M$d8e$+$i;22C$7$??M$,ITMx$H$$$&$o$1$G$O$J$/>r7o(B
 $B!!(B $B$,A4$/F1$8$J$N$G$9!#:G=i$N#1=54V$G#1#07o0J>e$N?69~$,L5$$>l9g(B
$B$O$b$&%R%H%U%s%P%j$7$^$9!#(B

 

RE: [SLUG] html email format

2000-10-18 Thread Jill Rowling

Of course anyone atempting to read Rick's howler using Outlook Express would
not have seen the point he was making!
Therefore an excellent in-joke.
At least Outlook (without the Express) gives the user the option to send
stuff as plain text for those of use forced to use it (mumble mutter) at
work.
- Jill.
___
Jill Rowling
Snr Design Engineer  Unix System Administrator
Electronic Engineering Department, Aristocrat Technologies Australia
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone:  (02) 9697-4484  Fax:(02) 9663-1412
Email:  [EMAIL PROTECTED]


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



RE: [SLUG] RE: Damn sendmail.mc and m4

2000-10-18 Thread George Vieira

Now that I founnd the files needed I still get problems. I'm trying to get
rid of DNS lookups in sendmail and use a relay host.

I'm not sure exactly what's needed in the sendmail.mc file but I get these
errors now.

[EMAIL PROTECTED] citadelcomputer.com.au: Name server
timeout
[EMAIL PROTECTED] Transient parse error -- message queued
for future delivery

Sendmail site says to add
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl

which I tried and create a new CF file and restarted etc..etc.. but to no
avail.

Is there something I've missed? 

thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :   43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:  0x38A9A10C


-Original Message-
From: tom burkart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 2:14 PM
To: George Vieira
Subject: Re: [SLUG] RE: Damn sendmail.mc and m4


On Thu, 19 Oct 2000, George Vieira wrote:

 Fixed.. Please ignore my last mail..
Got ya thinking as soon as you hit the send button? :-)

tom.
Consultant

AUSSECPhone: 61 4 1768 2202
339 Blaxland Rd., Ryde NSW 2112
Email: [EMAIL PROTECTED]


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



RE: [SLUG] html email format

2000-10-18 Thread Rick Welykochy

On Thu, 19 Oct 2000, Jill Rowling wrote:

 Of course anyone atempting to read Rick's howler using Outlook Express would
 not have seen the point he was making!
 Therefore an excellent in-joke.

I've had lotsa fun with

begin  xx

by emailing the above, accompanied by a limerick, that the hapless
Lookout user cannot see. Without fail, the poor user was most
astonished when I explained what was happening, and felt somehow
cheated.

Thanks to whomever posted the "begin  " gotcha.


--
Rick Welykochy || Praxis Services




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



Re: [SLUG] RE: Damn sendmail.mc and m4

2000-10-18 Thread Doug Stalker



George Vieira wrote:
 
 Now that I founnd the files needed I still get problems. I'm trying to get
 rid of DNS lookups in sendmail and use a relay host.
 

I tried to do the same thing and failed - I ended up setting up DNS on
our firewall and having the the system use that to do the lookups.  

Is it possible to set up a fake named that returns the relay hosts IP
address for every lookup?  Or would that break other applications?







-- 
_
  Network Operations Engineer - Big Pond Advance Satellite
 Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000
  Ph: +61-416-085-390   Email: [EMAIL PROTECTED]


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



Re: [SLUG] RTF viewer for Linux?

2000-10-18 Thread Rodos

On Thu, 19 Oct 2000, Jobst Schmalenbach wrote:

 All,
 are there any RTF (Rich Text Format) viewers for Linux?
 I get so many of them that I dont wanna ftp all the time from an NT box
 to download it from a linux box.

Well there is strings. Or you an rtf-fm (read the friendly - fresh
meat) which lists two tools based on a search of the word "rtf".

#18: rtf2htm  - An RTF to HTML converter which supports tables.
#19: rtfeeder - Converts rtf files to html files.

You could run it through these and pipe into w3m or lynx. A lot of the
word processing tools for Linux support RTF. I know WP does and SO
probably does too. 

Rodos



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



[SLUG] Promiscuous mode

2000-10-18 Thread Howard Lowndes

I have just noticed this in a log:

Oct 19 13:11:41 stratos kernel: eth0: Transmit timeout, status 0d  media 08.
Oct 19 13:11:41 stratos kernel: eth0: Tx queue start entry 11797532 dirty entry 
11797528.
Oct 19 13:11:41 stratos kernel: eth0: Promiscuous mode enabled.

I don't know what caused lines 1  2, but line 3 worries me cos the
interface certainly is in promiscuous mode and I cannot seem to get it out
of that mode.

Should I be worried?

-- 
Howard.
__
LANNet Computing Associates http://www.lannet.com.au



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



Re: [SLUG] RE: Damn sendmail.mc and m4

2000-10-18 Thread tom burkart

On Thu, 19 Oct 2000, Doug Stalker wrote:

 I tried to do the same thing and failed - I ended up setting up DNS on
 our firewall and having the the system use that to do the lookups.  
No problem with that.

 Is it possible to set up a fake named that returns the relay hosts IP
 address for every lookup?  Or would that break other applications?
You will break any other app that uses the DNS.

define(`SMARTHOST', esmtp:smarthost.domain)dnl
This should be all you need as sendmail passes it on to the smarthost for
delivery.  (Remember it still needs to look up smarthost.domain in the
DNS).

tom.
Consultant

AUSSECPhone: 61 4 1768 2202
339 Blaxland Rd., Ryde NSW 2112
Email: [EMAIL PROTECTED]



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



Re: [SLUG] RTF viewer for Linux?

2000-10-18 Thread Jamie Honan


Ted is an RTF viewer and editor.

However which rtf? The format changes regularly. Ted often throws
up lots of warning messages.

StarOffice is quite nice, but in a completely different league
for memory requirements.

If you only want to see the text (which is often all you need)
I notice I have rtf2text, which seems to want a perl module
RTF::TEXT.

Jamie



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