RE: [SLUG] Command/howto limit space for users

2000-11-14 Thread Mark Langford

Thanks all who helped, I now have a group quota setup on my machine!!



>>> Marty <[EMAIL PROTECTED]> 11/15/00 02:18pm >>>
> can't remember how it's done sorry..

change /etc/fstab to mount with quotas enabled (see "man fstab") and then
configure size of quotas (see "man edquota")... 

later
marty





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



**
NOTICE - This communication contains information which is confidential and
the copyright of Integral Energy Australia or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Integral Energy on 131081
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Integral Energy.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Integral Energy.

Except as required at law, Integral Energy does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or inference.
**


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



[SLUG] Re: Re: Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread Angus Lees

\begin{James Wilkinson}
> This one time, at band camp, Angus Lees said:
> >\begin{James Wilkinson}
> >> >whenever I do an apt update, my new kernel image gets dusted by the
> >> >version in the distro.
> >
> >add an epoch. ie: make-kpkg --revision 1:willow.1
> >or make your version start with a letter, so its always greater than
> >the official versions (which start with a number)
> 
> 'w' isn't a letter now?
> I was using --revision=willow.1, and they were getting beaten by
> '2.2.17-1'.

apparently herbert screwed up somewhere ;)

roach:~> apt-cache show kernel-image-2.2.17 | grep Version:
Version: 1:2.2.17-1

to quote from /usr/doc/kernel-package/README.gz,

  "I fear, though, that with the introduction of epochs in kernel
  image versions shame has entered the garden of eden, and we must
  forever use epochs to guard against forced upgrades."


ie: make it 1:willow.1, or just 9:willow.1 and be done with it.

-- 
 - Gus


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Peter Chubb

> "James" == James Wilkinson <[EMAIL PROTECTED]> writes:

James> This one time, at band camp, Alex Salmon said:
>> what do u mean by that exactly 3 to sqrt(x) by 2... what is x 

James> if (num % 2 == 1) {
James>  for (i = 3; i <= sqrt(num); i+=2) {
James>  test;
James>  }
James> }


You only actually have to test against the primes you've already
found.

So if you store them in an array, you can do something like this:

const int nprimes = 1;
uint64_t primes[nprimes] = {1, 2, 3, 5, 7, 11,};
int lastprimeIdx = 5;

bool_t isPrime(uint64_t num)
{
for (int i = 2; i <= lastprimeIdx; i++)
if (num % primes[i] == 0)
return false;
primes[++lastprimeIdx] = num;
return true;
}

int main()
{
uint64_t maybePrime;

for (maybePrime = primes[lastprimeIdx]; 
lastprimeIdx < nprimes; maybePrime += 2)
isPrime(maybePrime) && cout << maybePrime << "\n";
return 0;
}


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



[SLUG] Re: What would a geek want?

2000-11-14 Thread Jobst Schmalenbach

On Wed, Nov 15, 2000 at 04:09:16PM +1100, Angus Lees ([EMAIL PROTECTED]) wrote:
> \begin{Jobst Schmalenbach}
> >  UN*X is sexy
> > 
> > who - grep -i blonde - date; cd ~; unzip; touch;
> > strip; finger; mount; gasp; yes; uptime; umount;
> > sleep
> 
> a case-insensitive grep?  well, if you're into that sort of thing..

This is a relative point, it depends on YOUR definition of "-i".

I could be:

  different kind of faces.
  different shades of blond.
  different eye colors.

Now, lets censor the rest  ;)


jhs



-- 
If love is blind, why is lingerie so popular?

|__, 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] Re: Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, Angus Lees said:

>\begin{James Wilkinson}
>> >whenever I do an apt update, my new kernel image gets dusted by the
>> >version in the distro.
>
>add an epoch. ie: make-kpkg --revision 1:willow.1
>
>or make your version start with a letter, so its always greater than
>the official versions (which start with a number)

'w' isn't a letter now?

I was using --revision=willow.1, and they were getting beaten by
'2.2.17-1'.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



Re: [SLUG] video modes in SuSE 7.0

2000-11-14 Thread DaZZa

On Wed, 15 Nov 2000, Leonard Chan wrote:

> >Anyone out there running SuSE 7.0?
> 
> Yes :-)

Gee, what a surprise, given that I bought it from you. :)

> >I've set lilo to change the video mode to something more suitable for my
> >19 inch monitor wit hthe "video = 5" command - and it works fine until
> 
> vga = 5 in /etc/lilo.conf.  I have no problems with that.

That was what I meant. And is what I have.

> >about 3/4's of the way through the bootup - whereby SuSE sets it back to
> >boring old 24x80 mode.
> >
> >Anyone know where it happens, and how to stop it?
> 
> Have you tried other modes?  Actually, if you have 'vga = ask', you can
> list all available modes and play with each of them.

BTDT. All of them, without fail, get reset about half way through the boot
up process.

RedHat 6 {or was it 5.2?} did similar - I wonder if it's the same cause -
which I can't remember anyway!

> >While we're at it - anyone know SuSE 7.0's equivalent of rc.local? I want
> >to kickstart a program after everything else is loaded, and I can't find
> >out where in hell to do it!
> 
> /etc/rc.d/boot.local

The commentary in that file indicates it runs after bootup, but _before_
you switch to your final run level.

Is this the case? If so, it's not what I want. I want something which runs
just before the getty's spawn, and you get a login prompt - after
everything else has started.

rc.local did that under dead rat, but I don't know if boot.local does it
under SuSE.

DaZZa



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



Re: [SLUG] Re: What would a geek want?

2000-11-14 Thread Jeff Waugh



> a case-insensitive grep?  well, if you're into that sort of thing..


CINAG.

- Jeff


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

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


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



[SLUG] Re: What would a geek want?

2000-11-14 Thread Angus Lees

\begin{Jamie Honan}
> >i presume you're putting your gpg fingerprint on the front where it
> >belongs?
> 
> Would you type this in? What about using a barcode for if / when
> we get cheap hand held scanners like the Cue's.

the fingerprint will only be compared against the fingerprint you get
from gpg --fingerprint. it never has to be typed in.

visually comparing 10 groups of 4 digits is quite easy.

-- 
 - Gus


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



[SLUG] Re: What would a geek want?

2000-11-14 Thread Angus Lees

\begin{Jobst Schmalenbach}
>  UN*X is sexy
> 
> who - grep -i blonde - date; cd ~; unzip; touch;
> strip; finger; mount; gasp; yes; uptime; umount;
> sleep

a case-insensitive grep?  well, if you're into that sort of thing..

-- 
 - Gus


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



[SLUG] Re: Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread Angus Lees

\begin{James Wilkinson}
> >whenever I do an apt update, my new kernel image gets dusted by the
> >version in the distro.

add an epoch. ie: make-kpkg --revision 1:willow.1

or make your version start with a letter, so its always greater than
the official versions (which start with a number)

some things (pcmcia packages) are too strict in their recommended
versions and so you have to force dselect to ignore them (dselect
takes recommendations a little too seriously)


re: jeff's query

applying patches automatically is really nice. i have the
kernel-crypto patches applied automatically to every kernel i build,
without me having to lift a finger.  also, installing the
kernel-image.deb is even easier than typing "make install && make
modules_install && lilo". add automatically rebuilding "3rd party"
kernel modules (i use pcmcia and alsa), and its way easier than doing
it manually.

it keeps the System.map file in sync, the /vmlinuz.old symlink
accurate and preserves your kernel config in /boot/config-XX - things
i would keep forgetting to do if i had to do them by hand.

use make-kpkg, its worth it.


the "only asking new config questions" thing is just a normal kernel
"make oldconfig". a good trick is to get a new kernel source tree,
"cp /boot/config- /.config", then run
make-kpkg. you automatically inherit all your custom settings, and get
asked about new ones.

-- 
 - Gus


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



Re: [SLUG] video modes in SuSE 7.0

2000-11-14 Thread Leonard Chan

DaZZa wrote:

>Anyone out there running SuSE 7.0?

Yes :-)

>I've set lilo to change the video mode to something more suitable for my
>19 inch monitor wit hthe "video = 5" command - and it works fine until

vga = 5 in /etc/lilo.conf.  I have no problems with that.

>about 3/4's of the way through the bootup - whereby SuSE sets it back to
>boring old 24x80 mode.
>
>Anyone know where it happens, and how to stop it?

Have you tried other modes?  Actually, if you have 'vga = ask', you can
list all available modes and play with each of them.

>While we're at it - anyone know SuSE 7.0's equivalent of rc.local? I want
>to kickstart a program after everything else is loaded, and I can't find
>out where in hell to do it!

/etc/rc.d/boot.local

Rgds
Leonard


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Rick Welykochy

On Wed, 15 Nov 2000, Doug Stalker wrote:

> void swap (int x, int y) { int tmp; tmp=x; x=y; y=tmp }
> 
> #define swap(a,b) { a^=b;b^=a;a^=b }

But we are talking C++ here:

inline void swapper(int& x, int& y) { x^=y; y^=x; x^=y; }

Using C++ as a better C, we have the best of both
of the above C solutions: 3 XORs only, and safe function calling.

Remember: #defines are evil & dangerous.

Try this on for size: swap(x++,--y)
At best it will give you bizarre compile time errors.
At worst it will compile and give you crap.

Whereas swapper(x++,--y) will warn you that the compiler
is taking a reference to a (discarded) temporary variable
(a towrst) or disallow taking a reference to an expression
(at best).

For a real twister, try this: swap(c,i) where c is char and i is int.
It will compile and trash some of the bits in i. Whereas C++
says "no way: cannot pass a char via an int reference".


--
Rick Welykochy || Praxis Services
"Tired of being a crash test dummy for Microsoft? Try Linux" 




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



RE: [SLUG] Command/howto limit space for users

2000-11-14 Thread Marty

> can't remember how it's done sorry..

change /etc/fstab to mount with quotas enabled (see "man fstab") and then
configure size of quotas (see "man edquota")... 

later
marty





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



RE: [SLUG] Command/howto limit space for users

2000-11-14 Thread George Vieira

File System Quotas your looking for.. I have done this with Webmin..
www.webmin.com 

can't remember how it's done sorry..

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: Mark Langford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 1:54 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Command/howto limit space for users


Hi there, sorry about the long winded legal speel at the start of the
email...

I have set up a Linux redhat6 web server here at work for a bit of spare
time fun and learning and I'm giving work mates access to brush up their web
design skills just like an ISP.

I did a Linux course about a year ago and I remember the instructor
mentioned a command or a method to put a max size eg 2Mbyte on each users
personal directory as the ISP's do.

I can't seem to find info on the internet, books and man pages.  Can anyone
help me out here??

Thanks
Mark



**
NOTICE - This communication contains information which is confidential and
the copyright of Integral Energy Australia or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Integral Energy on 131081
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Integral Energy.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Integral Energy.

Except as required at law, Integral Energy does not represent, warrant
and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or inference.
**


-- 
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] Command/howto limit space for users

2000-11-14 Thread Michael

quota's

-Original Message-
From: Mark Langford <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, 15 November 2000 1:56
Subject: [SLUG] Command/howto limit space for users


Hi there, sorry about the long winded legal speel at the start of the
email...

I have set up a Linux redhat6 web server here at work for a bit of spare
time fun and learning and I'm giving work mates access to brush up their web
design skills just like an ISP.

I did a Linux course about a year ago and I remember the instructor
mentioned a command or a method to put a max size eg 2Mbyte on each users
personal directory as the ISP's do.

I can't seem to find info on the internet, books and man pages.  Can anyone
help me out here??

Thanks
Mark



**
NOTICE - This communication contains information which is confidential and
the copyright of Integral Energy Australia or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Integral Energy on 131081
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Integral Energy.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Integral Energy.

Except as required at law, Integral Energy does not represent, warrant
and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or inference.
**


--
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] Command/howto limit space for users

2000-11-14 Thread Mark Langford

Hi there, sorry about the long winded legal speel at the start of the email...

I have set up a Linux redhat6 web server here at work for a bit of spare time fun and 
learning and I'm giving work mates access to brush up their web design skills just 
like an ISP.

I did a Linux course about a year ago and I remember the instructor mentioned a 
command or a method to put a max size eg 2Mbyte on each users personal directory as 
the ISP's do.

I can't seem to find info on the internet, books and man pages.  Can anyone help me 
out here??

Thanks
Mark



**
NOTICE - This communication contains information which is confidential and
the copyright of Integral Energy Australia or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Integral Energy on 131081
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Integral Energy.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Integral Energy.

Except as required at law, Integral Energy does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or inference.
**


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Doug Stalker


> 
> I was thinking, that as computers are binary machines, you could
> probably speed up your algorithm by thinking in binary rather than
> decimal.  This will mean doing a lot of modification to your algorithm.
> Just thinking out loud again.

Even better would be to think it terms of how many opcodes it takes to
get the job done.  Compare:

void swap (int x, int y) { int tmp; tmp=x; x=y; y=tmp }

#define swap(a,b) { a^=b;b^=a;a^=b }


The second is from the book 'Applied Cryptography', which has some very
tight code in it.  It avoids the funtion call altogether, it doesn't
create any tempory variables, and should become 3 XOR commands in total
once compiled. 

 - 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] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>I've given up on kernel-package.  Despite rtfming, the patches are not
>being applied, the addon alsa modules are a pain to compile, and worse,
>whenever I do an apt update, my new kernel image gets dusted by the
>version in the distro.

I started to grok it as soon as I posted this.. ;)  So, i can now apply
the patch, and build the modules (i had messed the source up, a re-untar
fixed it).

The only problem I have now is that apt and/or dselect keep wanting to
'upgrade' my brand new kernel with the generic one in the repository.
Even putting the package on hold wasn't good enough.  As a work around I
made the new kernel-image have the same version as the one in the repos,
to fool apt.

Somewhere else, I noticed that there was controversy over the HelixCode
versioning scheme, in that it made it difficult to upgrade to the
official packages because 'helix' always was a greater version than any
number.  I also read that they've made a workaround in dpkg for this.
Could this be the reason that it's dusting my kernel?  I was using
'willow.1' as the version, which according to the docs, won't be
overwritten for the same reason as above.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread James Wilkinson

This one time, at band camp, Alex Salmon said:

>what do u mean by that exactly 3 to sqrt(x) by 2... what is x 

if (num % 2 == 1) {
for (i = 3; i <= sqrt(num); i+=2) {
test;
}
}

He means, check for oddness, then go from 3 to the square root of the
number you're checking, in steps of 2.

>my idea was that as all primes end in 1,3,7,9 (not all ending 1 3 7 9 are
>primes tho)

Yeah, I stand corrected on that. feh, logic.  I'm still playing with
kernel-package on Debian, and logic doesn't seem to apply here.

>James said somthing about doing everything in binary. what would be the
>actually outcome of this i mean how could i extract the last digit and set
>it to a int to test it as such??

I was thinking, that as computers are binary machines, you could
probably speed up your algorithm by thinking in binary rather than
decimal.  This will mean doing a lot of modification to your algorithm.
Just thinking out loud again.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Doug Stalker



Alex Salmon wrote:

> 
> my idea was that as all primes end in 1,3,7,9 (not all ending 1 3 7 9 are
> primes tho) so i wouldent need to start testing the number if it ended in
> say 5. sure this would slow down the working initily but as i get in to
> the say the 5 or more it would dramticly reduce time in the long
> run.. i hope ;-)

Checking for divisible by 5 won't help much

Assume an algorith like

isprime (int X)
{
for i = 2 to squareroot(X) (2 and odd numbers only)
if X modulus i ==0 return false
return true;
}


Then numbers ending in 5 (10% of the smaple space) get picked up in 3
tests if not pre-filtered.  Filtering for divisible by five adds an
extra step to all checks.

Adding a filter for even numbers helps a lot though, as it avoid the
system having to set the for loop up just to exit on the first
iteration.

On my system, checking the first million numbers : 

No prefiltering: 11 seconds
Prefilter for Even: 6 seconds
Prefilter for ending in 5s as well: 6 seconds



My test code:

(spoiler space for anyone who wants to do it themselves)

















/
//  Poor quality random number checker
//  returns true if the test number is prime, false otherwise.

bool isprime (int testnum)
{
int i;
if ((testnum & 1) == 0) return false; //number is even
int nSqrt = (int)sqrt(testnum); //(do only once to avoid calling sqrt
every cycle of the for statement
// Test odd numbers from 3 to square root of testnum
for (i=3; i< nSqrt;i+=2) 
{
if (testnum % i == 0) return false;
}
return true;
}



-- 
_
  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



[SLUG] [OT] Bad clusters on HDD

2000-11-14 Thread MacFarlane, Jarrod

Hi all,

Please correct me if I'm wrong Is it safe to say bad clusters are bad
for a health of a hard drive?

I have someone telling me that bad clusters are no big deal, and it's not a
concern if a hard drive gets a bad cluster or twenty .. it's perfectly
normal for a healthy hard drive to do this, easy to fix and so on. 

I seem to recall having hard drives replaced under warranty every time
without question when a mention of "bad clusters" was made.  I've never had
a healthy drive do this to me, any that have die soon after .. or suffer
from more and more cluster problems.

Am I losing my marbles, or is this person trying to avoid a warranty
replacement?

Thanks,
Jarrod.



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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Alex Salmon

hi 
what do u mean by that exactly 3 to sqrt(x) by 2... what is x 

i basicly get say the number what ever it is.. i originaly did say the num
was 10 i did 10 % 9 then 10%8 then 10%7 etc if the answer to all of them
(except 1 of course) is 0 then i add it to the list

i then as u say div 2 before hand to see.

my idea was that as all primes end in 1,3,7,9 (not all ending 1 3 7 9 are
primes tho) so i wouldent need to start testing the number if it ended in
say 5. sure this would slow down the working initily but as i get in to
the say the 5 or more it would dramticly reduce time in the long
run.. i hope ;-)

James said somthing about doing everything in binary. what would be the
actually outcome of this i mean how could i extract the last digit and set
it to a int to test it as such??

thanks
alex

On Tue, 14 Nov 2000, Jon Carnes wrote:

> Dude, your thinking in terms of decimal...
> 
> Test for div by 2, then use the sqrt to limit your testing: 3 to sqrt(x) by
> 2
> 
>
 






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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Peter Hardy

On Wed, Nov 15, 2000 at 01:28:48PM +1100, [EMAIL PROTECTED] wrote:
> all primes end in either 1 3 7 or 9 except  2 and 5
>  so it is pointless to test it if it dosent ie ends in a 5, so how can i
> test to see if the last number is 1 3 7 9  before i start the curnum % x
> !=0

9 = 3*3.  It isn't prime
  

You could first try mod-ing it against some of the more common ones, like 2,
3, 5, before going into your loop.  That'll knock out everything ending in
2, 4, 6, 8 and 9.  Forgive me if this sounds blatantly wrong, I'm not too
familiar with the technique you're using.

This is a linux list.  You'd be alot better off looking at c++ groups on
Usenet, or you should find a couple of relevant mailing lists on
http://www.liszt.com/


While we're at it, can anybody suggest a good C mailing list?  They seem to
be fairly thin on the ground.

Cheers,
Peter



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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Rick Welykochy

On Wed, 15 Nov 2000 [EMAIL PROTECTED] wrote:

> i have played with a few things and am going well but im stumped with a
> problem..
> 
> i decided to make a prime number generator. I started with
> plain brute force trying every combo and it all worked well.

found the sieve:

http://forum.swarthmore.edu/dr.math/problems/schmidt4.1.96.html
 

--
Rick Welykochy || Praxis Services
"Tired of being a crash test dummy for Microsoft? Try Linux" 




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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Matthew Dalton

James Wilkinson wrote:
> Well, you could convert it to a string, and look at the last character.
> I think you're going to spend more time in the conversion than you think
> you'd save by using it.

Yeah, that'd work.

> Another way, is to do your computations in binary, then you can mask off
> the last couple of bits.  i.e.: 1, 2, 3, 5, 7, 9, B, C, F are prime, you
> can get the last 8 bits of an int by doing something like last8 = num &
> 0xF

This wont work because the higher bits can also contribute to the last
digit of the decimal equivalent.


Matthew


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Stephen Robert Norris

On Wed, Nov 15, 2000 at 11:37:18AM +1100, James Wilkinson wrote:
> This one time, at band camp, [EMAIL PROTECTED] said:
> 
> >all primes end in either 1 3 7 or 9 except  2 and 5
> 
> How about 39?  That's not prime :)  You need a better heuristic ;)

No, he didn't say everything ending in 1 3 7 or 9 _is_ prime, just
that to be prime you have to end in 1 3 7 or 9 (except 2 and 5)

> 
> > so it is pointless to test it if it dosent ie ends in a 5, so how can i
> >test to see if the last number is 1 3 7 9  before i start the curnum % x
> >!=0
> 
> Well, you could convert it to a string, and look at the last character.
> I think you're going to spend more time in the conversion than you think
> you'd save by using it.

number % 10 will give you the last digit. There are much better methods
of finding prime numbers, though. sci.crypt has a lot of info about them.

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

 PGP signature


Re: [SLUG] c++... a bit OT

2000-11-14 Thread Damien Curtain

On Wed, 15 Nov 2000, James Wilkinson wrote:

> This one time, at band camp, [EMAIL PROTECTED] said:
>
> >all primes end in either 1 3 7 or 9 except  2 and 5
>
> How about 39?  That's not prime :)  You need a better heuristic ;)

he said all primes end in either 1 3 7 or 9, not that all numbers ending 
in 1 3 7 or 9 are prime

--
 Damien



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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Matthew Dalton

[EMAIL PROTECTED] wrote:

> i was wondering if someone could give me a hand on how to test the last
> number ie.

Try this:
For all the bits in the number, add together the last digit of the
decimal value that that bit represents. Do this again with the resulting
number until you have a value < 10. That's your last digit.

Example:

128  64  32  16  8   4   2   1
---
 0   1   1   1   0   1   0   1 == 117

Add  4 + 2 + 6 + 4 + 1 == 17

 0   0   0   1   0   0   0   1 == 17

Add  6 + 1 == 7

Hey presto, you've got your number.

Of course, you'll have to test whether that's really faster than doing a
plain old 'x % 10'.

Matthew


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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread Rick Welykochy

On Wed, 15 Nov 2000 [EMAIL PROTECTED] wrote:

> hi all
> i took the commen advice and i am teaching myself c++ ;-)

This is quite off topic ... but ...

> i have played with a few things and am going well but im stumped with a
> problem..
> 
> i decided to make a prime number generator. I started with
> plain brute force trying every combo and it all worked well.

try a search on google for "the sieve of erastothenes" or somtehing
like that ... it is the classic algorithm for finding primes.
brute force will get you nowhere ;^)

why C++ would help you with a problem like this is beyond me :)

O-O integer perhaps? if (number(9).isprime()) { dothis();) } ???


--
Rick Welykochy || Praxis Services
"Tired of being a crash test dummy for Microsoft? Try Linux" 




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



Re: [SLUG] c++... a bit OT

2000-11-14 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:

>all primes end in either 1 3 7 or 9 except  2 and 5

How about 39?  That's not prime :)  You need a better heuristic ;)

> so it is pointless to test it if it dosent ie ends in a 5, so how can i
>test to see if the last number is 1 3 7 9  before i start the curnum % x
>!=0

Well, you could convert it to a string, and look at the last character.
I think you're going to spend more time in the conversion than you think
you'd save by using it.

Another way, is to do your computations in binary, then you can mask off
the last couple of bits.  i.e.: 1, 2, 3, 5, 7, 9, B, C, F are prime, you
can get the last 8 bits of an int by doing something like last8 = num &
0xF

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



[SLUG] c++... a bit OT

2000-11-14 Thread alex060

hi all
i took the commen advice and i am teaching myself c++ ;-)

i have played with a few things and am going well but im stumped with a
problem..

i decided to make a prime number generator. I started with
plain brute force trying every combo and it all worked well.

i was wondering if someone could give me a hand on how to test the last
number ie.

all primes end in either 1 3 7 or 9 except  2 and 5
 so it is pointless to test it if it dosent ie ends in a 5, so how can i
test to see if the last number is 1 3 7 9  before i start the curnum % x
!=0

hope it is understanderble i just have a shocking migraine

thanks 
alex





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



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>So then I read the manpage for make-kpkg and it explained the usage of
>the --added_modules and --added_patches options.

I've given up on kernel-package.  Despite rtfming, the patches are not
being applied, the addon alsa modules are a pain to compile, and worse,
whenever I do an apt update, my new kernel image gets dusted by the
version in the distro.

I can see the advantages of using kernel-package, but I just can't grok
it.  Too much effort required to do something I can do manually in a
shorter time.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



Re: [SLUG] What would a geek want?

2000-11-14 Thread Jobst Schmalenbach

On Tue, Nov 14, 2000 at 11:58:44AM +1100, Rodos ([EMAIL PROTECTED]) wrote:
> Okay slightly OT but hopefully Linux related. I am designing a new
> business card and the process lets you print something on the back. People
> usually print crap like calanders etc.

Couldnt resist:

 UN*X is sexy

who - grep -i blonde - date; cd ~; unzip; touch;
strip; finger; mount; gasp; yes; uptime; umount;
sleep



jhs


-- 
while ( !sorted ) { do_nothing ( ) ; }

|__, 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] MYOB data files on Linux

2000-11-14 Thread Jobst Schmalenbach

On Tue, Nov 14, 2000 at 02:05:25PM +1100, Alister Waller 
([EMAIL PROTECTED]) wrote:
> They do use the premier Multi user version of MYOB.

Sorry, I didnt know.

> Looks like the lock file is created as the first user that uses MYOB and the
> rest cannot update it because of the -rwxr-xr-x permissions on the file. I
> have changed some settings in my smb.conf file to hopefully force the
> creation of the lock file to be -rwxrwxrwx instead which should solve the
> problem. Giong to test it shortly.
> 

Would it be possible to start MYOB out of a BAT/CMD file, eg

REM start myob (you gotta use this method or it wouldnt return)
start MYOB

REM wait till its up
sleep 10

REM now change the mode as this user back to "0777"
REM there are POSIX tools available on the NT reskit
chmod 0777 *.lck



You could try ...
jobst





-- 
If a pig loses its voice, is it disgruntled?

|__, 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] HelixCode + Win4Lin Window positioning

2000-11-14 Thread Mehmet Ozdemir

Hello All,

I have a really weird problem.

I using the latest HelixCode Gnome along with Sawfish 0.31 (I think, I'm
away from the box atm).

All other windows and saving their window positions fine, except for
Win4Lin, instead of going to 0,0 it starts at 0,20ish thus covering the
gnome panel at the bottom. I've tried everything from moving the window
to the required position and using save position, save attributes, using
the matched window settings in the control panel (sawfish). Hand
editting the window-history file in ~.sawfish/ without success.

Is anyone else having similiar problems, or know of a fix for this one ??

Regards

Mehmet Ozdemir
[EMAIL PROTECTED]
This message powered by EMUMAIL. -- http://www.EMUMAIL.com


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



[SLUG] paid linux work offered

2000-11-14 Thread P Truda - Bistra /Trudata/CCCP/ARS

Dear Sirs,

Is anyone out there able to assist with setting up a network. I think I 
have implemented it properly but it doesn't work.

Need help with other things too. Willing to pay.

Kind regards

Paul Truda



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



Re: [SLUG] Re: What would a geek want?

2000-11-14 Thread Crossfire

Careful... I feel an RFC coming on...

"Proposed Standard for Barcode Encoding of Business Details"

This might not be as crazy as it sounds either

--==--
  Crossfire  | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==--

- Original Message - 
From: "Jamie Honan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2000 8:18 AM
Subject: [SLUG] Re: What would a geek want?


> Would you type this in? What about using a barcode for if / when
> we get cheap hand held scanners like the Cue's.




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



[SLUG] video modes in SuSE 7.0

2000-11-14 Thread DaZZa

Folks.

Anyone out there running SuSE 7.0?

I've set lilo to change the video mode to something more suitable for my
19 inch monitor wit hthe "video = 5" command - and it works fine until
about 3/4's of the way through the bootup - whereby SuSE sets it back to
boring old 24x80 mode.

Anyone know where it happens, and how to stop it?

While we're at it - anyone know SuSE 7.0's equivalent of rc.local? I want
to kickstart a program after everything else is loaded, and I can't find
out where in hell to do it!

DaZZa - who has just done a re-install.



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



Re: [SLUG] IP accounting software

2000-11-14 Thread Howard Lowndes

I suggest that rrdtool by the same author is a better product.

-- 
Howard.
__
LANNet Computing Associates 

On Tue, 14 Nov 2000, Ken Foskey wrote:

> > Does anyone know of any good linux software to extract traffic stats out of
> > a cisco 2500?
> 
>   www.mrtg.org



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



[SLUG] Re: What would a geek want?

2000-11-14 Thread Jamie Honan


>\begin{Rodos}
>> So what would your average geek find handy to have on the back of a
>card?

>i presume you're putting your gpg fingerprint on the front where it
>belongs?

Would you type this in? What about using a barcode for if / when
we get cheap hand held scanners like the Cue's.

(Or am I being sucked in).

For ref material it seems too small.

Jamie



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



[SLUG] SITE ADDRESS AGAIN

2000-11-14 Thread ellie900


THE NEW LINK FOR OUR SITE.
SORRY FOR ANY TROUBLE YOU MAY HAVE HAD WITH THE OLD LINK.
THIS ONE HAS ALL THE CORRECTIONS

http://3638141293/27/1057927/legal.html
















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



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread Jeff Waugh



> Likewise kernel packages. Deal with multiple machines and you can compile
> your kernels on one machine and then just transfer one, execute two
> command (dpkg, shutdown -r) and you are done.


Duuhh... Makes perfect sense.


> But how often do you examine every option? Not often I'd wager.


Heh. Don't call me obsessive/compulsive, but... ;)


> make-kpkg uses the tried and tested text based config. BUT it skips
> over questions you seen before, so basically on each kernel rev you only
> have to answer questions which are new to this vesion.


Beautiful. The kind of elegance I've come to expect, really. Wow.


> Herbert is the make-kpkg king -- he does the kernels for Debian releases
> on i386.


:D

Well, thanks Herbert! I'll definitely be using this soon (I have an
application for it in mind already...)


Of course, this will only work with properly packaged kernel sources, right?

- Jeff


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

 "Boys will be boys, hackers will be hackers, geeks will be geeks,  
and cyberpunks will always just be ravers with Macintoshes."
- Monkey Master, Crackmonkey


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



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread Anand Kumria

On Wed, Nov 15, 2000 at 12:03:11AM +1100, Jeff Waugh wrote:
> 
> 
> > Any suggestions?  Or am I going to go the tried and true
> > 'ignore-the-debian-way-for-the-kernel' method?
> 
> 
> Be wewy, wewy qwiet... That's what I do. :D
> 
> I can't understand the benefits of packaging a kernel and installing it.
> Kernels are easy: There's two files, and a buncha modules in a
> well-segregated directory that's easy to deal with.

Compiling is easy, 3 commands and a tarball to deal with. So what are
the advantage of using packages?

For a single desktop person probably very few. Deal with bigger numbers
and binary packages become very useful.

Likewise kernel packages. Deal with multiple machines and you can compile
your kernels on one machine and then just transfer one, execute two
command (dpkg, shutdown -r) and you are done.

> No dependencies (apart from that of your entire OS, but we'll gloss over
> that one for the moment), and the kernel menu interface is reasonably okay
> for all of the configuration issues you're ever going to face...

But how often do you examine every option? Not often I'd wager.

make-kpkg uses the tried and tested text based config. BUT it skips
over questions you seen before, so basically on each kernel rev you only
have to answer questions which are new to this vesion.

The package isn't there to depend on things but to provide dependancies:
kernel-doc, kernel-source, kernel-image, etc.

As well, keeping all the modules, kernel and system files in one handy place.

Herbert is the make-kpkg king -- he does the kernels for Debian releases
on i386.

Anand


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



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>I've checked /usr/share/doc/blah/ for alsa and reiser values of blah and
>there is sweet fa there (well, a README.Debian which tells me nothing)
>on how to install these patches the Debian way.  Sure, i can drive
>patch, but i'm guessing there is some magic command to stick them into
>the kernel tree before i 'make menuconfig'.

So then I read the manpage for make-kpkg and it explained the usage of
the --added_modules and --added_patches options.

And then I kicked myself.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread Jeff Waugh



> Any suggestions?  Or am I going to go the tried and true
> 'ignore-the-debian-way-for-the-kernel' method?


Be wewy, wewy qwiet... That's what I do. :D

I can't understand the benefits of packaging a kernel and installing it.
Kernels are easy: There's two files, and a buncha modules in a
well-segregated directory that's easy to deal with.

No dependencies (apart from that of your entire OS, but we'll gloss over
that one for the moment), and the kernel menu interface is reasonably okay
for all of the configuration issues you're ever going to face...


Someone explain the benefits of The Debian Way in this instance, please!

- Jeff


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

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


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



[SLUG] Netscape 6 local download (English only)

2000-11-14 Thread Grant Bayley

Since it appears that ftp.netscape.com.au and ftp.au.netscape.com don't
appear to be in Australia any more, it probably makes sense to be using an 
Australian download site for the Netscape 6.0 (Release) files:

Here's a local download site:

ftp://ftp.wiretapped.net/pub/security/cryptography/128bit-browsers/Netscape/netscape6/
http://the.wiretapped.net/security/cryptography/128bit-browsers/Netscape/netscape6/

Supported platforms:

MacOS (14.3Mb)
Unix (Linux 2.2, 29.1Mb)
Win32 (24.8Mb)

The full downloads are in the "sea" directory for each platform.  It's
actually pretty decent, according to first reports.  Certainly a very
different beast to the preview releases...

Hope this helps,

Grant

---
Grant Bayley [EMAIL PROTECTED]
-Admin @ AusMac Archive, Wiretapped.net, 2600 Australia
 www.ausmac.net   www.wiretapped.net   www.2600.org.au
---




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



[SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

Ok, this one's for the Debianites.

I've apt-get'd (apt-gotten?) kernel-source-2.2.17, alsa-source-0.4 and
kernel-patch-2.2.17-reiserfs.  These together put a bunch of tarballs
and weird directories in /usr/src.

I used to just extract the kernel source and do the make-kpkg like the
docs say, that part is the easy part.  Now, the reiserfs patch has
installed itself into /usr/src/kernel-patches/i386/2.2.17/ with the
patch and some functions, and the alsa-source tarball comes out to
/usr/src/modules/alsa-source-0.4/ with the entire alsa source.

I've checked /usr/share/doc/blah/ for alsa and reiser values of blah and
there is sweet fa there (well, a README.Debian which tells me nothing)
on how to install these patches the Debian way.  Sure, i can drive
patch, but i'm guessing there is some magic command to stick them into
the kernel tree before i 'make menuconfig'.

Any suggestions?  Or am I going to go the tried and true
'ignore-the-debian-way-for-the-kernel' method?

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


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



RE: [SLUG] IP accounting software

2000-11-14 Thread David Murphy

Thanks guys MRTG looks like just what i am looking for. The only issue i
have got now is the overhead of running ip accounting on the router... Such
is life.

-Original Message-
From: Ken Foskey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 11:08 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] IP accounting software


> Subject: [SLUG] IP accounting software
> Date: Tue, 14 Nov 2000 12:33:32 +1100
> From: David Murphy <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> 
> Hi All,
> 
> Does anyone know of any good linux software to extract traffic stats out
of
> a cisco 2500?
> 
> Dave

Anand put me onto MRTG.  It is a stats collection package that collects
stats that the router provides.  These stats are then graphed and
display on a web server.

www.mrtg.org

It apparently integrates well with the big brother monitoring software
which my work is running as well.

How do I get a dump similar to tcpdump for all protocols, my work modem
line is getting some other protocol that does not appear on tcpdump?

Ken


-- 
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] IP accounting software

2000-11-14 Thread Ken Foskey

> Subject: [SLUG] IP accounting software
> Date: Tue, 14 Nov 2000 12:33:32 +1100
> From: David Murphy <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> 
> Hi All,
> 
> Does anyone know of any good linux software to extract traffic stats out of
> a cisco 2500?
> 
> Dave

Anand put me onto MRTG.  It is a stats collection package that collects
stats that the router provides.  These stats are then graphed and
display on a web server.

www.mrtg.org

It apparently integrates well with the big brother monitoring software
which my work is running as well.

How do I get a dump similar to tcpdump for all protocols, my work modem
line is getting some other protocol that does not appear on tcpdump?

Ken


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



[SLUG] Dual Boards

2000-11-14 Thread Richard Blackburn

I tried the Gigabyte Dual Board which was a disaster that I haven't
fully recovered from - probably that individual board was toast.
Now I use an EPOX Dual board - works very well. Forte computers has or
had them.
Richard


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