Re: [SLUG] MySQL

2009-02-18 Thread Scott Ragen
> Yeah but ... is there any reason it wouldn't show up in the gui?
> 
> 
Ubuntu is a Desktop Operating System, mysql server is for servers perhaps?

Cheers,

Scott

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


Re: [SLUG] MySQL

2009-02-18 Thread Scott Ragen
> Yeah but ... is there any reason it wouldn't show up in the gui?

I knew it was somewhere else, but couldn't find it until now.
Go to System > Administration > Synaptic Package Manger.
Install from there.

Cheers,

Scott

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


RE: [SLUG] Fortress .... err Firewall Australia

2008-10-21 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 21/10/2008 03:13:42 PM:

>  Hi there,
> 
> Maybe I missed something but the censorship on the website on the
> original post was to be applied to "Australian homes, schools and public
> computers." 
> 
> If you're a techno head and want to view an UNCENSORED content get an
> UNCENSORED CONNECTION. EG a business connection and censor it yourself. 
> 
Since business connections are always more expensive, that only gives the 
upper class this option, everyone else may have to live with a filtered 
feed.


> Now tell me how do you stop your children from connecting to porn sites
> from their mobile phone?
> 
Allow the PARENT to decide if the child needs internet access on their 
phone AT ALL.
Seriously, what child NEEDS internet on their mobile phone?

> The internet web content is already censored!!! But we don't have
> control over it. If your under the impression that the internet is
> uncensored you need to realise that it already is.
> 
> Illigal content like online gambling and terrorist information is
> already blocked.
> 
Neither is censored, and in my opinion neither should be censored. If I 
want to (in theory) learn how to make a bomb, who says I don't have that 
right?

> Schools and public computers are already censored with strict content
> filtering policies. Why not filter it at the ISP and not at the client
> site.
> 
> Even charaty organistations don't have time or the money to have an IT
> admin just managing their content on the client side. 
> 
> LET THE ISP'S MANAGE THE FILTERING. I know I don't want to pay for the
> download of a site that ends up being blocked by my content filter. We
> are we paying for downloads that we don't want. 
> 
So you are happy to be told what you can and cannot see? What if your ISP 
has a political view and decides to filter our certain political views?

> Just think of an ISP level net nanny managing your multiply internet
> connections. I think this would be great managing your internet
> connetions on any device you have. I know I don't want to download
> something that will be filted. I DON'T WANT PORN. Why shold I pay for
> the download of a an PORN ADD that I don't want.
> 
You can block it. You do realise that most censoring applications REJECT 
the connection, so you pay for VERY LITTLE if any downloads.

> By default the SEX companies shouldn't be able to propogate PORN to our
> children by default.
> 
Just like walking through kings cross at night with your children. 
(Although I understand they have cleaned it up a lot, but I hope you 
understand my meaning)

> I used to manage content filters for multiple businesses and managing
> client side content filters are annoying. I don't want to do this but
> the reality is we need content filtering!!
> 
Who needs it? I certainly DO NOT! especially if it is FORCED on me, 
without my concent, and without my COMPLETE knowledge of what is being 
blocked.

OK, Lets look at this slightly differently
Any child that is determined enough to view porn, Internet Censorship or 
not, WILL GET PORN!
They may use encrypted bittorrent, or another method, but its not hard to 
get around content filters like these.

Internet Censorship should START and END in the home, and the best thing 
the government can do to help this is EDUCATE the population on the best 
methods to do this.
My favorite two are:
1. Place the computer in a public spot, like the living room, or dining 
room, so the children fear getting caught.
2. Regardless of if you do or not, let you children know that you log all 
website connections, but trust them enough to not have to look at those 
logs.

Social problems (and this is a social problem) CANNOT EVER be solved 
simply with technology. It requires a mix of Education, Technology and 
persiverance.

Regards,

Scott

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


[SLUG] Flash displays over everything else in webpages on Linux FF

2008-08-25 Thread Scott Ragen
Hi All,
I'm a little frustrated by web pages that display flash, and their popup 
menus that become hidden behind it.
I know I could block flash, but I don't always want to do this.
I have searched the web and the only solutions I have found are targeted 
for the web admins, and not the client browsers.
Does anyone know any solution to this problem? (and no, emailing the web 
admin is not a solution. Neither is blocking flash).

Thanks,

Scott

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


Re: [SLUG] individual sender email verification on inbound

2008-08-03 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29/07/2008 07:15:47 AM:

> I have some web generated emails being sent as 'apache@' [as the default
> web user] (which perhaps I should change, but it never really caused
> problems in the past)
> 
> now, an isp appears to be doing a user lookup as below and bounces 
emails,
> claiming my server is mis-configured:
> 
> is there any req on me having an 'apache@' address if I'm sending emails
> as such ?
> 
> (i.e., who misconfigured their server ?)
> 
One could argue that either server is incorrectly configured. I suspect 
the receiving email server is checking if the sending email is valid in an 
attempt to stop spam.
You could just alias apache@ to your (or another valid) email address, and 
that should stop the problem.

Regards,

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


Re: [SLUG] Re: Kill Firefox

2008-07-31 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 01/08/2008 02:32:53 PM:

> 2008/8/1 Peter Chubb <[EMAIL PROTECTED]>:
> > Once upon a time you could do
> >  mozilla -remote "xfeDoCommand(exit)"
> > but this seems disabled now.
> 
> Thanks. It gives me a direction to keep digging.

Hi Amos,

wmctrl -c 'window name'
You need to make sure firefoxs has no prompts to save the pages, or close 
all tabs etc upon closing.

Cheers,

Scott

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


Re: [SLUG] upgrading complicated installs

2008-05-29 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 30/05/2008 11:10:23 AM:

> 
> I saw some programs (possibly already packaged for Debian/Ubuntu)
> which can take any software packge which installs from source (some
> limited to the usual "./config && make && make test && make install",
> some more general), track what files were changed and installed by the
> installation process (using strace, I guess), then make it possible
> for you to have a list of the files involved and uninstall them
> cleanly. Same or other programs can keep track of which extra packages
> were installed outside the debian package management system.
> 
Another good approach to this is make sure your PREFIX is set to 
/usr/local/ (usually the default) when compiling any programs. This will 
keep all custom compiled packages in the /usr/local/ filesystem, and not 
mish-mashed with the distribution specific files.

Cheers,

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


Re: [SLUG] mutt Reply-To:

2008-04-30 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 01/05/2008 01:07:50 PM:

> I'm using mutt in a script to send out emails. 
> 
> $ mutt -s "subject" -a file [EMAIL PROTECTED] < /dev/null
> 
> Is there any way to add a Reply-To: header? I can't find it in google or
> man mutt.
> 
> Is there any other scripted way of doing it? Preferably bash.
> 

Set REPLYTO environment variable?
Its in the mutt man page.

Cheers,

Scott

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


Re: [SLUG] can not restart with zlib error

2008-03-12 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 13/03/2008 12:17:42 PM:

> 
> 
> > 
> > # rpm -ivh perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
> 
> 
> I managed to upgrade, BUT:
> # rpm -Uvh perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
> Preparing...###
> [100%]
>1:perl-Compress-Raw-Zlib ###
> [100%]
> # amavisd --debug
> ERROR: MISSING REQUIRED BASIC MODULES:
>   Compress::Zlib

You have installed Perl Module Compress::Raw::Zlib, you need 
Compress::Zlib.
The RPM package name should start with perl-Compress-Zlib.
I have found it on rpmfind.net here:
http://www.rpmfind.net/linux/rpm2html/search.php?query=perl-compress-zlib&submit=Search+...&system=&arch=

Cheers,

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


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 19/12/2007 11:34:30 AM:

> Norman Gaywood wrote:
> 
> >> Oddly, perl very rarely wins these. ;-)
> > This must come close:
> > 
> > perl -00 -ne 'print tr/,//' input.txt
> 
> Timing test: say the above takes time 1.0
> then the following takes time 0.46 ...
> 
> >> python -Sc "import sys; print sys.stdin.read().count(',')"
> 
> both are much much faster than a sequence of pipes and
> low-level shell utils. And easier to comprehend.
> 
> IMHO, the most important part of optimisation these days
> is comprehensibility: people power costs a lot more than
> CPU and disks power.
> 
> I nominate the perl soln as the winner so far: runs like
> a bat of out hell and is the most easy to understand.
> And the shortest in source code size.

I have to disagree. Whilst it may be fast, its not 100% correct.
Most of the time it would probably work, but if there are any blank lines, 
it outputs the current count, and starts again.

Consider the following file contents:
--file contents--
this,is,the,first,line
this,is,the,second

the,above,was,a,blank,line

and,another,blank,line
--end file contents--

On Jeff's original command:
sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m
15

The perl command:
perl -00 -ne 'print tr/,//' input.txt
753

I'm not skilled enough with perl to correct this, but
If the numbers could easily be added together it would work...

Cheers,

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


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/12/2007 05:21:35 PM:

> On Tue, 2007-12-18 at 16:09 +1100, Jeff Waugh wrote:
> > Here's a starting point. What's a more optimal way to perform 
thistask? :-)
> > 
> >   sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m
> > 
> > Tuesday afternoon shell optimisation party!
> 
> How do you want it optimised?
> 
> grep -o is the most readable. But the fastest I've found so far is
> 
> cat input.txt | tr -d '\n' | tr ',' '\n' | wc -l
> 

This seems to work too:
cat input.txt |tr -dC ',' |wc -c

Cheers,

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


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/12/2007 04:09:15 PM:

> Hi all,
> 
> Here's a starting point. What's a more optimal way to perform this task? 
:-)
> 
>   sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m
> 

Not the most graceful, but the following seems to work:
grep -o ',' input.txt |wc -l

Cheers,

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


[SLUG] bash script argument passing

2007-12-02 Thread Scott Ragen
Hi All,
I've got a script that does a few checks, under certain conditions, passes 
the arguments it to awk.
The particular line is simply:
#!/bin/bash
awk "$@"

The few tests I've done work ok, but can anyone see any possible issues, 
with escaping, expansion, etc where it wouldn't behave identical to using 
awk directly?

Thanks,

Scott


-- 
Scott Ragen
Support Manager/IT Administrator
Roadtech Systems
www.roadtech.com.au
PH: +61 2 9807 3516 FAX: +61 2 9808 5294

Those who don't understand UNIX are doomed to reinvent it, Poorly. -- 
Henry Spencer
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Internet connection problems

2007-11-29 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29/11/2007 11:16:35 PM:

> 
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP]
> Host Bridge
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
> 00:08.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge
> (non-transparent mode) (rev 15)
> 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 10)
> .
> 
Is the nic module loaded when eth0 doesn't work? (I don't have this card, 
but I would guess it would be 8139too)

If not, try loading it.

Cheers,

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


Re: [SLUG] Internet connection problems

2007-11-28 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29/11/2007 10:32:13 AM:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi Simon,
> I will check with him today to be sure, but I think the network card was
> already in the machine when he loaded Ubuntu 7.10 - which I think was a
> clean install.
> 
> He has found that when the system refuses to connect to the internet (he
> has ADSL) if he shuts it down and shifts the network card to a different
> PCI slot, on reboot into Linux, the system will connect to the internet
> the next time (sometimes the next two times) but then the next time will
> refuse to connect and even refuses to recognise eth0.
> 

Hi Heracles,
Is the network card seen in lspci?
Have a look at /var/log/dmesg, any clues in there?
What brand Network card is it? (perhaps posting the lspci -v for the nic 
may help).

Cheers,

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


Re: [SLUG] replacing rpm app with source app /usr/bin /usr/local/bin

2007-11-15 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 16/11/2007 11:51:58 AM:

> # whereis ruby
> ruby: /usr/lib/ruby /usr/local/bin/ruby /usr/local/lib/ruby
> # ruby --version
> bash: /usr/bin/ruby: No such file or directory
> # /usr/local/bin/ruby --version
> ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-linux]
> 
> what's my best and easiest option:
> 
If you haven't logged out since uninstalling ruby, log out and back in 
again.
Its most likely bash has cached where ruby is and login out and back in 
should do the trick.

Cheers,

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


[SLUG] xset force monitor to remain off

2007-11-15 Thread Scott Ragen
Hey All,
I use synergy at home with my Linux desktop plugged into my monitor via 
dvi, and my laptop via vga. I have configured synergy to do an xset dpms 
force off when I tell it to switch to the laptop, which causes the monitor 
to switch to using the vga port and beings up the laptop- that works well.

The problem I am having is when my laptop also goes into powersaving after 
being in idle for 15 mins, I come back and move my mouse/keyboard - even 
though synergy is sending it to the laptop, my linux box also wakes up, 
and gets the monitors attention first.

My question is, is there a way to "xset dpms force off" (turn monitor off, 
not dpms!) and not wake up on keyboard and mouse events, or wait a few 
seconds before waking? (so the vga connection has a better chance of 
getting the monitors attention first).

TIA,

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


Re: [SLUG] restoring scren handling in terminal ?

2007-11-09 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 10/11/2007 10:47:42 AM:

> sometimes in an ssh session my 'screen handling' goes away, basically,
> whatever I type doesn't show up on the screen anymore, and, hitting CR
> keeps reprinting prompt on same line across the screen,
> 
> what's a way out of that ?

Typing 'reset' should correct this.

Cheers,

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


Re: [SLUG] RegEx question

2007-11-08 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 09/11/2007 04:48:20 PM:

> Stuart Guthrie wrote:
> 
> > Not being a regex expert I was hoping someone could point me at a
> > list, forum or just give me a pointer on how to achieve this:
> > 
> > Field that must have 2 out of 3 of these:
> > 
> > standard a-z/A-Z
> > arabic numbers 0-9
> > special chars %$#@
> 
> [EMAIL PROTECTED]|[A-Za-z0-9]+|[EMAIL PROTECTED]
> 
Since I don't have a better answer, I should probably keep quiet, but 
there is a flaw in your regex:
[EMAIL PROTECTED]:~$ perl
my $var = 'a';
if ($var =~ /[EMAIL PROTECTED]|[A-Za-z0-9]+|[EMAIL PROTECTED]/) {
print "True\n";
}
^D
True

$var doesn't match the required 2 out of 3 characters, but still matches.

Cheers,

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


Re: [SLUG] converting tiff to pdf

2007-11-08 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 09/11/2007 11:18:26 AM:

> I've tried imagemagick but i'm getting faulty pdf's in the output:
> 
> $ convert test.tif test.pdf
> 
> The message from adobe reader is "drawing error". Some documents convert
> OK, but some don't. Other programs simply hang when opening - eg,
> document viewer and pdf viewer.
> 
> Can anyone suggest another command line method of conversion? The files
> I'm dealing with right now are tif output from hylafax. 
> 

I haven't used it, but there is a utility called tiff2pdf.
It is in the package libtiff-tools on Debian - not sure what it would be 
on other distros.

Regards,

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


Re: [SLUG] Gutsy cdrom boot problems.

2007-10-18 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 19/10/2007 01:34:26 PM:

> Hi all,
> 
> I'm trying to boot a machine with the Gutsy boot cdrom and it hangs.
> The last line is:
> 
> cs: IO port probe 0x820-0x8ff:
> 
> It seems the "cs" is pcmcia related but I've tried booting with 
> "nopcmcia" and "pcmcia=off" but neither helped.
> 
Probably not the best solution, if even possible, but can you disable 
pcmcia in the bios?

Regards,

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


Re: [SLUG] Perl IO::Socket question

2007-10-11 Thread Scott Ragen
"Shane Anderson" <[EMAIL PROTECTED]> wrote on 12/10/2007 09:45:02 AM:

> Hi,
> 
> I've removed the if statement that checks the hash so now the code 
> looks like this:
> while (my ($client, $client_address) = $server->accept()) {
> $client->autoflush(1);
> my ($port, $packed_ip) = sockaddr_in($client_address); 
> my $client_ip = inet_ntoa($packed_ip);
> my $stamp = ×tamp;
> print LOGFILE "$stamp - Client ($client_ip) connected.\n" if $DEBUG 
== 1;
> $client->recv($recv, 128);
> 
> #if (exists($commands{$recv})) { 
> #   $client->send("Works!");
> #} else {
> chomp($recv);
> $client->send("Doesn't work! - $recv - The command should 
> appear before this.");
> #}
> }
It could be chomp is removing the newline, but not carriage return(?).
Try instead of chomp this:
$recv =~ s/\r\n//;
or it may be ordered the other way, I can't remember:
$recv =~ s/\n\r//;

Regards,

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


Re: [SLUG] Perl IO::Socket question

2007-10-11 Thread Scott Ragen
> $client->recv($recv, 128);
> chomp($recv);
> 
> if (exists($commands{$recv})) {
> $client->send("Works! Received: $recv");
> } else {
> $client->send("Doesn't work! We received this: $recv");
> }
> }
> 
> The code above doesn't print out anything for $recv, however if I remove 
the
> chomp($recv) it works fine. Anyone got any idea's why running a chomp on
> this variable causes it to not be displayed at all? The variable does
> contain a newline so I do need to have it removed.
> 
Hi Shane,
Can you be a little more specific?
When you chomp, do you get the "Doesn't work" return with nothing from 
$recv variable?
When you don't chomp, do you also get "Doesn't work" returning the string 
from $recv variable?

What I'm asking, is does the hash list also contain a new line, so when 
you chomp, it no longer matches?

Regards,

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


Re: [SLUG] X-client software.

2007-10-09 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 10/10/2007 02:01:23 PM:

> Hi,
> 
> 
> Is there anyone knows about any x-client software like humminbird exceed 
for
> free to use x11 under ssh tunnelling. i used to use any gui to run on 
putty
> setting the display into localhost and exceed used to pipe those 
displays
> into local computers.

There is cygwin, with its Xwin Packages.
Look at http://x.cygwin.com

Another option, especially if its over the net and you don't mind 
installing some server sided software is to use NX.
You can download the free (as in speech) freenx on the server from 
http://freenx.berlios.de/
The free (as in beer) client is downloadable from http://www.nomachine.com

Cheers,

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


Re: [SLUG] undocumented null cipher for ssh?

2007-09-19 Thread Scott Ragen
Jeremy Portzer <[EMAIL PROTECTED]> wrote on 20/09/2007 02:00:21 PM:

> Are you sure this is a standard option?  I've tried this in the past and 

> never been able to make it work, and on my current system it just gives:
> 
> $ ssh -c none localhost
> No valid ciphers for protocol version 2 given, using defaults.
> 
> $ ssh -V
> OpenSSH_4.3p2 Debian-8ubuntu1, OpenSSL 0.9.8c 05 Sep 2006
> 
> Maybe the null cipher is available if you use SSH protocol version 1, 
> but I don't have any servers that support ssh v1 anymore.

I should've done more investigations; openssh doesn't allow the cipher 
"none" (anymore), the proprietary ssh has the option.
There are patches to enable cipher none in openssh if its really needed.

Regards,

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


Re: [SLUG] undocumented null cipher for ssh?

2007-09-19 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 20/09/2007 01:10:02 PM:

> Someone mentioned on list a while ago about using an undocumented 
feature
> of ssh that allows a null cipher (in order to speed up large file
> transfers).
> 
> Does anyone remember the option?
> 
The cipher name is "none".

Regards,

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


[SLUG] ADSL Migration from layer 3 to layer 2 with subnet

2007-09-11 Thread Scott Ragen
Hey Guys,
Internode will be shortly migrating our adsl from layer 3 to layer 2 
pppoe.
I've done pppoe before, so thats not a problem, but we have a 5 ip subnet. 
I'm curious to how I configure the server. (Internode have said we get a 
new ip address for pppoe, but keep the subnet assigned, and will be 
framed-relay through)
As far as I know, I could modify the adsl modem to pppoe, and bridge it 
for the other servers, but I'd prefer the linux server to handle the 
pppoe.

We have 2 machines, and an adsl modem connected to a DMZ, both assigned 
IP's the internode gave us (except the modem of course).
On the main server, is it possible to keep eth0 as its existing ip, and 
configure pppoe through eth0 as well? If so, how do I configure the 
routing on the server? also, what do I need to get it to do to get the 
second server to work? (I assume we don't need to modify the second 
server, but do I need to setup some routing or proxyarp on the main 
server?)

I've googled, but can't find any useful information.

TIA,

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


[SLUG] Best place to get assistance with a kernel bug (kernel: unregister_netdevice: waiting for ppp0 to become free. Usage count = 1)

2007-09-04 Thread Scott Ragen
Hey Guys,
I'm just after a little advice on where the best place to get 
assistance/report a kernel bug, whats the best information to include, and 
any other etiquette to make it as easy for the developers to solve as 
possible.

The issue is we have a multihomed debian server, which I have upgraded to 
kernel 2.6.22.2 in an attempt to solve this problem (I don't think the 
latest kernels 2.6.22.3 and up have fixed the problem after going over the 
changelogs)

Our network setup is as follows:
eth0 - LAN
eth1 - Layer 3 ADSL (This is always on)
eth2 - link for Layer 3 ADSL
ppp0 - Layer 2 ADSL (this tends to go down a few times a day - but comes 
back up on next retry)
tun0 - l2tpns for Windows Roadwarriors.

We have ipsec with multiple peer to peer and roadwarrior setups using 
openswan 2.4.7 with the kernel's ipsec modules (not KLIPS).
I use shorewall for iptables, and traffic control (tc) although I don't do 
any rate limiting, just use tc for routing.
All ipsec communications are routed out eth1 using tc rules.
I have also removed all ipv6 modules from the kernel to make sure that is 
not the cause, with no success.

I can replicate the crash by:
1. bringing up the ppp0 interface.
2. restarting ipsec.
3. having one of our peers make a connection with us. (haven't tried with 
a Roadwarrior yet)
4, bring down ppp0 interface.

This gives the kernel error: kernel: unregister_netdevice: waiting for 
ppp0 to become free. Usage count = 1
It eventually crashes the server, but freezes pppd, ifconfig and ip 
commands with a stat of D (ps describes this as "Uninterruptible sleep").

I can stop the lock, hence freeing up all the commands, including pppd by 
running:
# killall _plutorun _plutoload pluto _pluto_adns

The only the pluto process isn't killed, but then running:
# killall _updown

Corrects the issue.

Any advice or assistance would be welcome.

TIA,

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


Re: [SLUG] scp -c null ??

2007-08-16 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 16/08/2007 04:15:32 PM:

> Is it possible to have a "null" cipher for ssh/scp?
> 
> On occasion I'm on my LAN, behind a firewall/router etc, and need to
> copy a few hundred megs or gigs between boxes.
> 
> In this environment, I simply want maximum xfer rate, and minimum CPU
> use. I simply want to copy the files across, and have no desire to hide
> them, and have no one that I'm aware of on my LAN who would sniff them
> anyway.
> 
> So I imagine there should be a "-c null" option to scp. But there does
> not seem to be.
> 
Try using "-c none". Its undocumented, and may not exist for you, but 
works on my debian system.

Regards,

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


Re: [SLUG] SSH attack

2007-08-03 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 03/08/2007 02:04:42 PM:

> I prefer to use something like denyhosts to simply block the offending 
ip's
> as moving the port seems somewhat to be security through obscurity.

I agree that moving the port is security through obscurity, but obscurity 
can compliment good security practises.

For example, a private (login) webpage that doesn't have any referring 
links and the url is obscure, is inherently more secure then the (login) 
being linked from the homepage.

With that said, you would be foolish to ONLY deploy security through 
obscurity.

But lets not beat a dead horse ;)

Regards,

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


Re: [SLUG] Audio skipping on Ubuntu kernels

2007-08-01 Thread Scott Ragen
James Gregory <[EMAIL PROTECTED]> wrote on 02/08/2007 11:04:06 AM:

> It's set to 'centrino' atm.
> 
> > If your using the generic acpi, try the driver specific for your 
> > cpu/chipset. If not, try using acpi-cpufreq.
> 
> Is this more complicated than echoing the appropriate string into that
> file? I get the following:
> 
> # echo "acpi-cpufreq" > 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
> bash: /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver: Permission 
denied
> 
This is getting a bit further then I've ventured, but afaik, you should be 
able to remove the centrino module and any dependand modules, (mine is 
labelled speedstep_centrino) and inserting the acpi-cpufreq module.

Regards,

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


Re: [SLUG] Audio skipping on Ubuntu kernels

2007-08-01 Thread Scott Ragen
James Gregory <[EMAIL PROTECTED]> wrote on 01/08/2007 04:56:26 PM:

> So that does substantially help matters -- I have to try pretty hard to
> make it skip in that situation. It unfortunately also chews through
> battery life and makes the fan scream like some kind of gently blowing
> banshee. Needing 1.7GHz of processing power to download email and play
> music seems a bit overkill.
> 
> But ok, it may be *switching* performance levels that is the problem
> (since that will occur when my mail client wakes up and does stuff). If
> that is the case, what kind of things could I do? I've previously tried
> re-nicing rhythmbox and esd to -19 and it seemed to have no measurable
> effect.
> 
Which driver are you using for the cpufreq?
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver

If your using the generic acpi, try the driver specific for your 
cpu/chipset. If not, try using acpi-cpufreq.

Cheers,

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


Re: [SLUG] Audio skipping on Ubuntu kernels

2007-07-31 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 01/08/2007 04:31:34 PM:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I have only 1GB of RAM and a 2GB swap. My scaling governor is set to
> ondemand and I don't have a problem with audio (playing oggs on vlc)
> skipping with disk IO and ftp happening simultaneously.
> My kernel is  2.6.20-16-generic on Ubuntu 7.04.
> Do the files work properly when they are the only thing running?
> 
> Heracles
> 
Thanks for the response Heracles but its not really an issue for me as I 
was just experimenting with it on a Xeon processor.
I just assumed since its a server processor its not designed for 
powersaving features and put it down to a hardware incompatibility. I 
didn't play audio, but I noticed the user interface was very lagged while 
loading apps and such. I also noticed that under heavy cpu load it didn't 
increase the frequency!
I was just suggesting it to James as a possible issue.

Regards,

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


Re: [SLUG] Audio skipping on Ubuntu kernels

2007-07-31 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 01/08/2007 03:05:49 PM:

> On Wed, 2007-08-01 at 13:31 +1000, Robert Collins wrote:
> > On Wed, 2007-08-01 at 13:27 +1000, James Gregory wrote:
> > > Hey guys,
> > > 
> > > I've found that playback of music on my laptop has this horrible,
> > > horrible tendency to "skip" (by which I mean that the music stops 
for
> > > some fraction of a second) extremely frequently. This has only been
> > > occurring since Ubuntu's -generic kernels came in (I forget which
> > > version that was).
> > 
> > I'd check your disk is using dma; PIO disk IO is a great way to turn
> > your laptop into a snail.
> 
This might be way off, but I had intermittant freezing problems with the 
kernel using cpufreq ondemand governor.
To see what govenor is used, try
# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Try setting it to performance if its anything but.

Cheers,

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


Re: [SLUG] permission oddity

2007-07-01 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 02/07/2007 11:05:17 AM:

> Something new every day!
> 
> A bunch of .NEF files downloaded from my Nikon Camera appeared as mod
> 700
> 
> I did:
> 
> [EMAIL PROTECTED]:~ $ sudo chmod -R 666 Desktop/070701.Reina/NEF/
> [EMAIL PROTECTED]:~ $ ls -l Desktop/070701.Reina/NEF/
> total 0
> ?- ? ? ? ?? Desktop/070701.Reina/NEF/a03.NEF
> 
> ... etc.
> 
> For some reason the u+x bit has to be set or nothing works. I've tried
> all the combinations and can't quite understand what's going on.
> 
Hi Dave,
My guess is you are setting the permissions to 666 on both the directory 
and files.
Execute is required to recurse into directories.

Regards,

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


Re: [SLUG] nvidia 8600 driver

2007-06-14 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 15/06/2007 10:46:52 AM:

> I installed an nvidia 8600, it works well enough using the nv driver but
> after installing the non-free automatix driver, X dies completely on
> reboot - black screen - Can't log in from ctl-alt-f1 or from ssh.
> 
> After extensive googling, I happened on this page:
> 
> http://us.download.nvidia.com/XFree86/Linux-x86/1.
> 0-9755/README/appendix-a.html
> 
Download the latest drivers:
http://www.nvidia.com/object/linux_display_ia32_100.14.09.html

Cheers,

Scott

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


Re: [SLUG] Debian Sid & USB/SCSI Drive

2007-05-06 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 07/05/2007 03:19:43 PM:

> Hi Scott,
> 
Hi Steve, Thanks for your reply.

> What was the old device name of the USB drive? (I'll assume /dev/sdd)
> Do you have only the one md device? (I'll assume /dev/md0)
> What level of raid do you have? (I'll assume raid 5 seeing you have so
> many devices)
> 
Sorry, I should have been more clear.
The three SCSI drives are in a raid 5 and raid 1 for the /boot.

The USB drive is a 250GB drive thats sole purpose is for samba sharing 
that doesn't require backups (for example, freely distributable programs 
from the net)

> > Its less then ideal to use sda as a usb drive for obvious reasons, and 
I 
> > am wondering what is the best way to fix this?
> > 
> 
> udevinfo -a -p /sys/block/sdb/sdd
> Will list the attributes for the drive
> 
> here's my usbdisk udev rules
> /etc/udev/rules.d/95-usbdisk.rules
> ATTR{size}=="586072368",
> ATTRS{model}=="00JB-00KFA0 ", ATTRS{vendor}=="WDC WD30",
> NAME{all_partitions}="usbdisk"
> 
My concern isn't about removal and insertion of the disk on the running 
OS, its that sometimes it may be present on bootup, and other times it may 
not. So therefore the SCSI drives will be assigned different letters if 
the usb drive is not present, which would degrade the array, as they would 
now be sda, b and c, and not sdb, c and d.

On looking at your udev rules, could I apply this to both udev on the OS, 
and udev on initrd, and instead of the USB drive being assigned /dev/sda, 
it will be assigned /dev/usbdisk, and the other SCSI disks would be 
assigned /dev/sda, b and c?

Thanks again.

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


[SLUG] Debian Sid & USB/SCSI Drive

2007-05-06 Thread Scott Ragen
Hi Guys,
I recently upgraded our server to Sid & the latest .deb kernel, and I have 
a problem that I'm not sure of the best way to tackle.
We have 3 scsi disks in a software raid, and an external usb drive. Since 
the upgrade of the kernel, the USB drive has become sda, with the scsi 
drives being sdb,c and d.
Its less then ideal to use sda as a usb drive for obvious reasons, and I 
am wondering what is the best way to fix this?

Thanks,

Scott

-- 
Scott Ragen
Support Manager/IT Administrator
Roadtech Systems
www.roadtech.com.au
PH: +61 2 9807 3516 FAX: +61 2 9808 5294

The major difference between a thing that might go wrong and a thing that 
cannot possibly go wrong is that when a thing that cannot possibly go 
wrong goes wrong it usually turns out to be impossible to get at or 
repair. -- Douglas Adams
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Networking Problem

2007-02-26 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 27/02/2007 01:27:39 PM:

> A couple of days ago I swapped my 10/100mbs eth card for a gigabit card.
> 
--snip--
> 
> /etc /network/interfaces has entries ( identical) for both eth0 and 
eth1.
> 
> 
> As a result of all of the above, Superkaramba network monitor themes do 
> not see ip or throughput, though system is working fine.
> 
> How should I fix this? Just edit /etc/network/interfaces and remove 
> entry for eth1?
> 
Hi Bill,
Can you check in /etc/modprobe.d/aliases and see if your old cards module 
is aliased to eth0, and your new cards module is alised to eth1?
If so, just change eth1 to eth0, and remove the other module from the 
alias.
afterwards, run update-modules.

*Note, that I am assuming the modules aliases is setup like debian, if 
not, consult your manual.

Regards,

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


Re: [SLUG] IBM calculate that 4Gb RAM is optimal for Vista

2007-02-21 Thread Scott Ragen
And what does this have to do with Linux?
I really hate people attempting to bash Microsoft & their products on OSS 
lists. IMHO It really makes everyone look like zealots.

Cheers,

Scott

[EMAIL PROTECTED] wrote on 21/02/2007 05:01:19 PM:

> http://www.computerworld.com/action/article.do?
> command=viewArticleBasic&articleId=9011523
> 
> -- 
> Howard.
> LANNet Computing Associates - Your Linux people 
> When you want a computer system that works, just choose Linux;
> When you want a computer system that works, just, choose Microsoft.
> --
> Flatter government, not fatter government; abolish the Australian 
states.
> 
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/01/2007 11:49:54 AM:

> This one time, at band camp, Scott Ragen wrote:
> 
> > Wheres the spam bounce?
> 
> A spammer uses an open relay to deliver his spams.  Hey presto, spam 
> bounces.
> 
As mentioned in the previous email, the same thing would happen if the 
receiving mta used dns blacklisting!

Cheers,

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


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/01/2007 11:25:39 AM:

> 
> About half my junk mail is rejected spam originating from some b*** who 
> stole my identity. The "originator" and the "user" are not the same and 
I 
> don't even want to see these rejections. Fortunately my filters catch 
most 
> of these but too many still slip through.
> 
They are not rejections, they are bounces.
They are not always real bounces, spammers are sending spam masking it as 
bounces in an attempt to get through the spam filters!

Besides, the rejections I am talking about are no different to the 
rejections used when dns blacklisting.

Cheers,

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


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
> True it won't get caught in the trap, but in some cases this would 
> generate more spam for the "sender" still. There are not that many end 
> users who interact at the MTA level. The rejecting MTA refuses to accept 

> the mail and tells the sending MTA so, the sending MTA then generates a 
> refused delivery message to the sender who never knew about the original 

> email in the first place because the sender address was forged. So 
> someone has still got spam.
> 
That is unlikely, as spam programs will not bother creating a bounce 
message for the originating sender, it would just be a waste of its time.

eg:
A spam host connects to my server, attempts to send an email, my server 
rejects it. Since spam hosts are usually designed for maximum output, it 
then simply ignores it. No bounce.
A user sends an email, my server rejects it incorrectly identify it as 
spam. The sending mta sends an email back to the user saying it was 
rejected.

Wheres the spam bounce?

Cheers,

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


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
Apologies for my sig at the top of the email, I missed it when removing 
the cruft at the top of my reply, my reply is at the bottom of the 
previous email.

Cheers,

Scott

[EMAIL PROTECTED] wrote on 18/01/2007 10:28:52 AM:

> The major difference between a thing that might go wrong and a thing 
that 
> cannot possibly go wrong is that when a thing that cannot possibly go 
> wrong goes wrong it usually turns out to be impossible to get at or 
> repair. -- Douglas Adams
> 
> [EMAIL PROTECTED] wrote on 18/01/2007 10:18:30 AM:
> 
> > Rev Simon Rumble wrote:
> > > This one time, at band camp, Scott Ragen wrote:
> > > 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
The major difference between a thing that might go wrong and a thing that 
cannot possibly go wrong is that when a thing that cannot possibly go 
wrong goes wrong it usually turns out to be impossible to get at or 
repair. -- Douglas Adams

[EMAIL PROTECTED] wrote on 18/01/2007 10:18:30 AM:

> Rev Simon Rumble wrote:
> > This one time, at band camp, Scott Ragen wrote:
> > 
> >> IMHO its better for a sender to get "Your Mail has been rejected due 
to 
> >> suspected spam", then the email getting lost in the spam box never to 
be 
> >> seen.
> > 
> > Except that they don't get that message.  Instead they get a long, 
> > cryptic bounce message which _might_ include the the text the 
receiving 
> > MTA sends buried somewhere inside it.  In my experience users don't 
read 
> > beyond the "your message cannot be delivered", even moderately 
technical 
> > users.
> > 
> > This is something the MTAs generating the bounce message could be a 
> > _lot_ better at.
> > 
> 
> And then people start getting bounced messages for emails they didn't 
> even send (faked from address) which adds to the spam. IMHO spam should 
> not be bounced.
> 
Not bounced, rejected. This means the sending mta sends the rejected email 
back to the user, so it wouldn't get caught in the spam trap[1].

At least if the email is rejected, the user knows that the recipient 
didn't see it. If its lost in the spam box, then the sender wouldn't know 
if it was received or not.

Cheers,

Scott


[1] Depending on the email setup.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spamassassin effectiveness

2007-01-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/01/2007 07:11:47 AM:

> 
> Hi folks,
>I'm currently seeing around half the incoming emails rejected at
> SMTP conversation time (hurray), with spam scores averaging 21 or so.
> (I play it fairly safe, only scores above 20 get rejected)
> 
> The ones that get through have scores between -1 and 7; there doesn't
> seem to be a middle ground.
> 
> I currently quarantine anything with a score between 4 and 5 and take a 
look
> once a day (if I leave it too long, there're too many messages and I
> can't check them all).  Once or twice a month there'll be some ham in
> there; I haven't seen any ham in the over 5 score  in a long time.

If you don't see any ham with a score above 5, why not set your reject to 
score of 5 or 6?
IMHO its better for a sender to get "Your Mail has been rejected due to 
suspected spam", then the email getting lost in the spam box never to be 
seen.

Cheers,

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


Re: [SLUG] DIY networking kit at Aldi.

2007-01-04 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 05/01/2007 10:48:19 AM:

> 
> 
> Amos Shapira wrote:
> > On 05/01/07, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >>
> >> The ACMA fine for doing a network installation by an unlicenced 
person.
> > 
> > 
> > Sounds very strange.
> > 
> > What would differentiate the "ALDI" network (for the sake of this 
thread)
> > from the D-Link+Desktop+Laptop+ATA wire 100mbit ethernet network I 
have at
> > home right now? Have I broken the law by putting it up? After all it 
is
> > connected to the PSTN both through the ADSL modem and the ATA.
> 
> It's in the interpretation of the word "installation".  Usually, if it's 

> a "permanent" fixture, with wall places, etc., then it is often 
> interpreted as an installation.
> 
Really? I have been led to believe that as long as the network 
installation (permanent or not) is not connected directly to the phone 
line, then its OK.
That is, it is possible to use the same cat5e cable for phone (pstn) and 
IP network. This would be illegal to wire up without a license. 
If you simply wire up a LAN, and have an ADSL modem connected to the LAN, 
then you don't need to be licensed. (since the ADSL modem is responsible 
for protecting the PSTN network).

Cheers,

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


Re: [SLUG] mounting /tmp non executable ?

2006-12-20 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 21/12/2006 12:56:42 PM:

> 
> On Thu, December 21, 2006 11:47 am, [EMAIL PROTECTED] wrote:
> >
> 
> > Why not make /tmp a tmpfs partition?  If your machine has plenty of
> > RAM and swap, it's faster still.  And /tmp/* is deleted on each boot
> > so there's no real reason for it to be permanent storage.
> 
> I have 2GB, how much would you suggest for /tmp ?
> 
afaik tmpfs automatically resizes depending on how much is used at the 
time.
You can specify how much the maximum it can grow to by using size=nbytes 
(default is 1/2 your ram).

Cheers,

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


Re: [SLUG] create partitions fdisk, no reboot?

2006-11-08 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 09/11/2006 03:08:46 PM:

> Is there a way of creating partitions using fdisk, and not having to
> reboot before creating filesystems on the new partitions? ie getting the
> kernel to be aware of the new partions.
> 
Does it have to be fdisk?
cfdisk is recommended over fdisk (at least on my dist), and from the man:
W  Write  partition table to disk (must enter an upper case W).  Since 
this might destroy data on the disk, you must either confirm or deny the 
write by entering `yes' or `no'.  If you enter `yes', cfdisk will write 
the partition table to disk and the tell the kernel to  re-read  the 
partition  table  from the disk.  The re-reading of the partition table 
works is most cases, but I have seen it fail.  Don't panic.  It will be 
correct after you reboot the system.  In all cases, I still recommend 
rebooting the system--just to be safe.

If you need to use fdisk, I guess you could find out what cfdisk does to 
re-read the partition tables and use that.

Cheers,

Scott

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


Re: [SLUG] Perl/SSH Problem

2006-11-03 Thread Scott Ragen
Why Choose not to use ssh keys.
The default is to both allow passwords, and/or keys.
You don't need root access to create a passwordless login (providing the 
admin's haven't explicitly changed the default).
All you do on your mail machine is use ssh-keygen to generate the key you 
want, put the private key in ~/.ssh/ (the name depends on what type of key 
you made, man ssh-keygen for details. Then put the public keys on the ssh 
servers in ~/.ssh/authorized_keys

That should basically be it.

Now the reason I suggested that is Net::SSH (Which cannot use passwords 
for login) uses Filehandles for reading and writing, so expect should 
"just work"(tm).

Cheers,

Scott

(apologies for the top post, I'm in a rush)

[EMAIL PROTECTED] wrote on 03/11/2006 04:15:03 PM:

> Hi All,
> 
>  Here's a tough one, at least it has been for me! As you can
> see, I've almost given up.
> 
> Here's the situation: I manage a lot of servers at my work. They are
> all *NIX and so I've decided to write a bunch of Perl scripts to
> handle a lot of the repetitive tasks I have to do on said servers.
> 
> I started using Net::SSH::Perl and that worked great. Turns out some
> servers only allow Telnet (no, I'm not root on the servers, only
> manage accounts with limited sudo access otherwise I'd kick Telnet out
> in favour of SSH) so I turned the structured programs into an OOP one
> which worked well. Had SSH and Telnet now working. Here comes the hard
> part. I decided it was time to manage some interactive programs on
> said servers (say, passwd as an example) and so I started looking into
> the Expect module for Perl.
> 
> Since Expect needs to either spawn a program or access a FH,
> Net::SSH::Perl no longer suited my needs. I started to look into
> spawning SSH from Net::Telnet, then using Expect on the Net::Telnet
> object.
> After looking at the man page for Net::Telnet, I found the SSH
> example. I copied and pasted exactly how it is and it was impossible
> to get it to work. It would connect to the remote server, but the
> program could never get the password prompt. It would see the
> permission denied messages, but NOT the password prompt. After some
> more reading tonight I discovered that, for security reasons, SSH
> writes to the controlling TTY, but with the Net::Telnet SSH example it
> should work as it is creating a PTY to do just that.
> 
> Anyway, I did some more researching and found this excellent resource:
> 
>  http://www.modperl.com/perl_networking/sample/ch6.html
> 
> Once again, I copied and pasted the code exactly as it is there, ran
> it and same problem. It can't see the password prompt that the SSH
> program is sending to the TTY!
> 
> I'm pretty damn sure it is the fact that SSH is sending the password
> prompt to the TTY and  Perl's PTY is not receiving it. Why? I don't
> know !!
> 
> BTW, I'm not using SSH keys because of some limitations I have with a
> bunch of servers. The safest bet is for the script to send the
> password when it is prompted to do so, as this works on all the
> servers whereas public keys don't (again, I'm not root on them, so I
> can't fix it myself). Besides, it's far more entertaining finding the
> solution to the problem I'm having :-)
> 
> If anyone has any thoughts, ideas, etc... I'd really appreciate it.
> 
> Regards,
> Gonzalo
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

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


Re: [SLUG] Script not working

2006-10-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/10/2006 10:16:14 AM:

> I have a script to backup a VMWare virtual machine which when run 
manually 
> on the box by root runs OK, but when run by cron...well, it doesn't.
> 
> This is the script 
> 
> echo VMSNAP Backup Script
> echo _
> rm -f /vmimages/localbackup/###-###-REP1/*
> rm -f /vmimages/localbackup/###-###-VDB1/*
> echo Old images erased, new backup started
> date
> /usr/sbin/vmsnap_all
> echo Backup complete, copy started
> date
> scp -r /vmimages/localbackup/* 192.168.0.1:/vmimages/from_vm1
> echo Copy complete, script exiting
> date
> 
> 
> 
> /var/log/messages   shows
> 
> Oct 15 16:30:05 RKI-SYD-VM1 sshd(pam_unix)[5470]: session opened for 
user 
> root by (uid=0)
> Oct 15 16:30:05 RKI-SYD-VM1 sshd(pam_unix)[5470]: session closed for 
user 
> root

As far as I know, this states a session was successful via ssh (scp), 
perhaps there is nothing to place on the remote box? (eg, 
/usr/sbin/vmsnap_all didn't work)
What is /usr/sbin/vmsnap_all, is it a shell script? Perhaps it relies on 
environment variables that are not set in the cron.
After it is run from the cron, do the backups exist on the local machine's 
/vminages/localbackup?

Cheers,

Scott

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


Re: [SLUG] rebooting a non scrolling mouse

2006-10-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 17/10/2006 08:38:14 PM:

> 
> 
> I switch between two systems using a Belkin KVM, and when I return to
> Dapper, the mouse no longer scrolls. After a little while if I'm lucky
> it will start to scroll again. I can't pick a pattern though.
> 
> I've tried waiting after KVM switching (previously suggested by someone)
> but no luck.
> 
> Any suggestions about forcing the system to re-read the mouse in some
> way? Perhaps something equivalent to #/etc/init.d/gpm restart
> 
Do you have any objections to using gpm in X?
you could try modifying your pointer section in your xorg.conf as such:
Device "/dev/gpmdata"

Restarting gpm as you mentioned might reset it.

Alternatively, if its a usb mouse, you could just unplug and re-plug it in 
each time.
If its a serial mouse, check out:
http://www.faqs.org/docs/Linux-mini/3-Button-Mouse.html#s6

Cheers,

Scott


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


Re: [SLUG] SSHD / IPSec weirdness

2006-10-02 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 02/10/2006 08:59:29 AM:

> I have one out of my many sites that is experiencing weird sshd/ipsec 
> behaviour.
> 
> I have an IPSec tunnel established between the site and my site.
> 
> I can ping over the tunnel and telnet to ports 25 and 80 over the 
> tunnel, but I cannot ssh over the tunnel.
> 
Hi Howard,
Just a guess, but have you tried overriding the MTU on the ipsec vpn?
To determine if this is the problem, try pinging the other side with a 
packet size of a little less then the ipsec0 mtu size. If you don't get 
replies, its most likely your problem.
If using openswan/freeswan/, use the overridemtu= in the setup section of ipsec.conf

Cheers,

Scott

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


Re: [SLUG] Locking down SSH for tunnel access only

2006-09-07 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 08/09/2006 11:00:55 AM:

> 
> Whilst http and telnet proxied thruogh ssh is possible, and locking down
> access to only allow port forwarding is (theoretically, as in , off the 
top
> of my head I can't think of a way to do it) possible, tunnelling FTP 
through
> SSH is going to be a real pain in the arse, so I recommend you look for
> something that tunnels at the IP layer, like as others have suggested,
> OpenVPN, PPTP, or something heavy like OpenSWAN and a full IPSec stack

Thanks for the replies. I have just talked to the customer, and they will 
be implementing IPSec shortly, so ssh tunnelling won't be needed :).
I didn't realise openVPN had a windows client, that could have been an 
option. I am not a fan of pptp, so that would only be a last resort.

The main reason I wanted SSH Tunnelling, is the server is already there, 
no installation needed on the server and they already use putty.

Cheers,

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


Re: [SLUG] Locking down SSH for tunnel access only

2006-09-07 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 08/09/2006 10:09:32 AM:

> If he needs to get at the web server to update it, then what is wrong 
> with DAV; would that work?  Probably not as secure as ssh, but it does 
> reduce the, albeit low, security risk of running a ssh daemon.
> 
http was just an example, its not the only tunnel needed, telnet and ftp 
is also needed.
Cheers,

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


[SLUG] Locking down SSH for tunnel access only

2006-09-07 Thread Scott Ragen
Hi All,
Before I go ahead and suggest SSH tunnelling to a customer, I would like 
to get some suggestions on how to lock ssh down to only allow port 
forwarding. ie. a user ssh's into the gateway, which allows him to tunnel 
through to an internal web server.
I've looked at sshd's man page, and will adding the following to the users 
.authorized_keys (as well as giving the user a /bin/false shell):
no-X11-forwarding, no-agent-forwarding, no-pty, permitopen="host:port" 


I don't want the user to be able to scp, sftp, etc. There arn't any other 
services the user can access (no telnet, ftp, etc).

Thanks for any assistance.

Cheers,

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


Re: [SLUG] Port forwarding IPMASQ IPtables question

2006-09-06 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 07/09/2006 11:59:06 AM:

> Hi all,
> 
> At the moment I've got a bunch of windows desktops set up on a 10.0.9.0
> subnet. They all connect into a switch which is connected into a 
> linux router running iptables and ipmasq. 
> This router is then connected to another switch on the 10.0.1.0 subnet.
> There is another router on this subnet which is only accepting 
> connections from machines on its own subnet. 
> 
> I need machines on the .9 subnet to be able to talk to this router 
> as if they were on the .1 subnet.
> 
> Am I right in thinking that this what IPMASQ is for? It will 
> masquerade the ip's on the .9 subnet and make it look like they are 
> all coming from a single ip on the .1 subnet? 
> 
> I'm not all that familiar with ipmasq, so I'm not sure what the 
> commands to achieve the above would be. 
> 
> I've tried: 
> iptables -I FORWARD -p tcp -s 10.0.9.0/24 -d 10.0.1.7 --dport 80 -j 
MASQUERADE
> 
Try:
iptables -I FORWARD -s 10.0.9.0/24 -o $ETH1 -j ACCEPT
iptables -I POSTROUTING -s 10.0.9.0/24 -o $ETH1 -t nat -j MASQUERADE

Note that $ETH1 is the interface that is on subnet 10.0.1.0.
Also, I have excluded your tcp protocol and port, but you can add them if 
you want. You need to make sure you also masquerade dns requests if you do 
not have an internal dns server.

Cheers,

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


Re: [SLUG] Poor Gb network performance

2006-08-28 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29/08/2006 02:49:51 PM:

> G'day all,
> 
> We've got Ubuntu and Debian machines connected to our gigabyte networks.
> 
> Ubuntu kernel: 2.6.15-26-amd64-server
> Debian kernel: 2.6.8.3-k7-smp
> 
Check the output of dmesg.
for example my dmesg (100Mbps network) outputs:

tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.

Cheers,

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


Re: [SLUG] Hard Drive Problem - Advice Pls

2006-08-24 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 25/08/2006 07:47:58 AM:

> My PC dual boots XP and Kubuntu.
> 
> While trying to reformat a 1 gb Memory Stick/Flash Drive under XP I 
> somehow stuffed a  SATA HD by apparently renaming it and formatting it, 
> though as it didn't sit there forever formatting, I'm guessing that I 
> just wiped the partition table somehow.
> 
> When I boot Kubuntu I get the message:-
> 
>  "The Superblock could not be read or does not describe a correct ext2 
> filesystem. Run e2fsck with an alternative superblock:-
> 
> e2fsck -b 8193 
> 
If allyou did was wipe the partition table, you could try booting from a 
rescue cd that contains gnu parted, and try rescuing it.
I have never used this, so I can't guarentee its success. If possible, you 
may want to dd the whole drive to a file on another drive.

Cheers,

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


Re: [SLUG] Cron and shutdown command

2006-08-13 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 14/08/2006 02:31:29 PM:

> I have mythdora ( Redhat FC4 based) running more or less - at least t 
> the degree that I can record TV programs.
> 
> I want to auto-shutdown the PC after recording has finished.
> 
> Googling gives plenty of links/info, which often is contradictory.
> 
> Basically, I believe that I need to put an entry such as
> 
> 00 20 14 08  mon root /sbin/shutdown -h now

Are you only wanting to do this the once?
I know your question was about where in the cron to put this entry, but 
why not use shutdown's time argument to shutdown at 10pm?
run "shutdown 22:00" to have it shutdown at 10pm tonight only.

Cheers,

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


Re: [SLUG] Perl upgrading

2006-05-19 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 05/19/2006 01:20:36 AM:

> whilst looking where to install 'new' Perl, I've discovered that I've
> already installed it some time ago:
> ---
> # whereis perl
> perl: /usr/bin/perl /usr/local/bin/perl /usr/share/man/man1/perl.1.gz
> 
> # /usr/bin/perl --version
> This is perl, v5.6.1 built for i386-linux
> 
> # /usr/local/bin/perl --version
> This is perl, v5.8.6 built for i686-linux-thread-multi
> 
> ---
> 
> for some reason, it seems I stopped or whatever
> 
> so, just to confirm:
> 
> I leave my 'old' perl for any system stuff 'as is';
> any new perl scripts I install, I edit the '#!' to point at the 'new' 
perl;

I take it /usr/local/bin/perl is a symlink to /usr/local/bin/perl5.8.1?
If this is the case, I would suggest removing /usr/local/bin/perl, and 
reference the new version as /usr/local/bin/perl5.8.1
This will save any confusion if something goes wrong due to $PATH orders 
etc.

> 
> and , everyone is happy, and, I have current perl
> 
> now, what about all these CPAN libraries that I need from time to time:
> 
> do I need to install one for each version ? or, how do I handle that ?
> 
Yes, you will mostly need to installed modules them for each version.
You can simply 'perl -MCPAN -e shell' (for current perl)
and 'perl5.8.1 -MCPAN -e shell' (for new perl)

Cheers,

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


Re: [SLUG] Perl upgrading

2006-05-16 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 17/05/2006 09:11:35 AM:

> 
> I currently have 'perl, v5.6.1 built for i386-linux' on RH73
> 
> what's my best way to bring it up to date ?
> and bring modules up to date ?
> 
My experience has been that each perl version installs in its own 
directory, and has its own binaries etc.
eg, perl 5.6.1 could be installed in /usr/perl/5.6.1
The binary is /usr/bin/perl5.6.1 (and /usr/bin/perl is symlinked to it).

You should be able to safely install the latest perl from source without 
breaking the current version, or any OS dependancies, providing you keep 
/usr/bin/perl pointing to /usr/bin/perl5.6.1.
To then use the latest version, just put #!/usr/bin/perl5.8.1 (for 
example) in your scripts.
Call perl5.8.1 for any debugging, or installing modules etc.

Cheers,

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


Re: [SLUG] killing all httpd processes, how ?

2006-05-07 Thread Scott Ragen
> thanks, Scott
> 
> as it was, I restarted Apache several times earlier today, with out a
> single glitch
> 
> I'll try 'reload' next time.
> 
> Because I had experienced these unclean shutdowns before, I thought
> shutdown/pause/start was a 'safer option';
> now that I know what you just explained, I'll use 'reload' next time.
> 
> so, if there is a critical error in config, 'reload' would cause 'stop'?
> 
Don't quote me on it, but I think apache will crash (as in 'stop') on 
reload if you have errors in your configuration.
You should be able to do a 'configtest' to verify your config before doing 
a reload (it may be different on different distro's).

Cheers,

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


Re: [SLUG] killing all httpd processes, how ?

2006-05-07 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 08/05/2006 08:00:04 AM:

> ocassionally, when trying to reload Apache 1.3 with:
> 'service httpd stop/start'
> some Apache processes do not terminate, and, I'm stuck where I can't
> restart it anymore, nor can I shut it down completely
> 
> I then need to remember how to track and kill all releated processes, 
(or
> I panic and pull out the power cord.)
> 
> as I am about to reload new config in Apache, and, I'm not sure if I
> recall correct 'what-if':
> 
> if Apache fails to fully shutdown, do I:
> 
I know I'm not answering your question, as it has already been answered by 
another. but do you need to shutdown apache before a restart?
If all you are doing is reloading a new config, you should be able to run 
'service apache reload'
This sends a HUP signal which tells apache to reread its configuration 
file, this will ensure (providing there is no errors in the config) there 
is no interruption to the service for anyone browsing your site.

Cheers,

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


Re: [SLUG] Problem with Okipage 8z printer, CUPS and .ppd file

2006-04-25 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 25/04/2006 04:03:02 PM:


> However, when, on the laptop, I create a test file in a text editor and 
> try to print it, the text editor says, "Problem encountered when trying 
> to print" and nothing prints out.
> 
> Then, when I open CUPS in my browser and go to "Jobs", I'm told "No 
> Completed Jobs" and, when I click on "Show Active Jobs", nothing opens.
> 
> I don't have sufficient knowledge to know what to try next in an attempt 

> to get the printer working with the laptop.
> 
> If anything is apparent to those more knowledgeable, I'd be grateful for 

> some advice.

Have a look at the cups error.log. On my Debian systems this is in 
/var/log/cups/ 
If that doesn't give enough information, try increasing the verbosity  of 
'Log Level' in cupsd.conf (debug2) restart cups, try printing again, and 
check the logs again.

Good Luck,

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


Re: [SLUG] Graphics library

2006-04-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 18/04/2006 03:56:40 PM:

> Hi all,
> 
> I'm in need of a graphics library callable from C or C++ that will
> allow me to open an image, write text to that image and then save
> it again. I also need to have pretty find control over font, font
> size, font colour and so on.
> 
> Does anyone have anything to suggest?
> 
You don't mention what format the images are in, and I am not sure I 
understand what you mean, but would imagemagick (
http://www.imagemagick.org/script/index.php) do what you want?

Cheers,

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


Re: [SLUG] RSYNC and long Ping Times

2006-02-19 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 20/02/2006 10:26:23 AM:

> Hi All
> 
> I use rsync to back up data between servers for one of my clients. I 
have
> just installed a new site for themIn Leeville which is in country NSW. 
The
> site is on a 2 way sat link and as such gets ping times of 1200ms 
regularly.
> When I try and run the Rsync script I get as far as receiving the file 
list
> and then get the following:
> 
--rsync errors removed.
You could try setting the --timeout= option of rsync to longer delays.
You could also try setting --bwlimit= which will limit the bandwidth 
incase the link is getting saturated.

Cheers,

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


Re: [SLUG] Spam

2006-02-17 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 02/18/2006 04:01:44 PM:

> On Sat, 2006-02-18 at 14:39 +1100, TongMaster wrote:
> > On Sat, 2006-02-18 at 12:59 +1100, Erik de Castro Lopo wrote:
> > 

> Currently spamassassin via a mailman plugin, and a handful of header
> checks in mailman.
Do you have RBL's configured in Postfix?

Cheers,

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


Re: [SLUG] Convert console/tty input to uppercase

2006-02-15 Thread Scott Ragen
Howard Lowndes  wrote on 16/02/2006 04:30:15 PM:

> It used to be with UNIX that if you logged in with upper case the system 

> assumed that you had a terminal with no lower case function and then did 

> everything in upper case.  I don't know whether that still hold true.

The command "stty olcuc" will give the results you mention.
That shows uppercase for stdout, but stdin is still case sensitive.
eg:
[EMAIL PROTECTED]:~$ LS
CONSBYCONTRACTORSCHEMA.XML
[EMAIL PROTECTED]:~$ LS
-BASH: LS: COMMAND NOT FOUND
[EMAIL PROTECTED]:~$

The first command was done with 'ls' as input, the second with 'LS'.

Ohh, Cobol can use stty commands, as well as terminfo instructions.
I can also create a C library if it needs to be done like that - but I 
would like to exaust all other options first.

Thanks,

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


[SLUG] Convert console/tty input to uppercase

2006-02-15 Thread Scott Ragen
Hi All,
We have a linux database application, that uses cobol, which I believe 
uses ncurses to display the screen.
Does anyone know how I can set the tty to convert lowercase to uppercase.
I know how to set uppercase input to lowercase by "stty -iuclc", but I 
want it the other way round!

TIA.

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


Re: [SLUG] search engine rankings

2006-02-15 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 14/02/2006 01:56:34 PM:
> ashley maher wrote:
> > G'day,
> > 
> > I was asked how to improve a web site to improve its position for 
search
> > engine rankings.
> 
> Search engine rankings are a slippery slope, aka more than a full time
> job. AIUIN, your rank in the ones that matter is determined by the links
> to your website from outside.
> 
> So if you get i.e. slashdotted and lots of peeps make pages with links
> to your site, then it goes up in rankings.
> 
> All you can really count is the hits per page each month.
> 
> OTOH, paid advertising is the way to go. If you pay google enough, then
> you can always be on the first page for certain search words {:-).

So does that mean if I include my website in my sigs to mailing lists, 
search engines will pick it up when they crawl through the archives and 
increase the page rank? 

> -- 
>Terry Collins {:-)}}}
>email: terryc at woa.com.au  www: http://www.woa.com.au
  ^^^ Hmm, I wonder

Just having a dig.. no harm meant.

Cheers,

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


Re: [SLUG] Monthly Meeting Friday 26 September 2003 - UPDATE

2003-09-22 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 23-09-2003 12:05:13 AM:

> Sydney Linux Users' Group Monthly meeting: September 2003
> 
>When: Friday, September 26, 6:30pm - 9:30pm
>Where: UTS Broadway (http://www.slug.org.au/events/uts.html)
> 
--snip--
> 
> 
>General Talk
>Daniel Morrison - "Xbox - Bill Gates' Gift To Linux, or, Why 
>Microsoft Want To Lose Money".
>An overview of the 007 / FreeX / Mechassault hacks, mod chips, the
>development of the Xbox, practical applications for your Xbox beyond
>multiplayer Halo, and how to turn your Xbox into a home media centre.

Given that Microsoft have released a patch for the XBox that corrects this 
"feature" (stops you from installing Linux). On top of this, if you are 
online even without a live account, and access any live features in the 
game, it patches your system without permission.

Cheers,

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


Re: [SLUG] Swap Partition question

2003-09-14 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 15-09-2003 12:20:29 PM:

> Dear all,
> 
> I have a dual boot computer with RH Linux 9 and Windows 2000. I
> installed the system with 512MB ram. Now I have found that the specific
> application i use for my work runs on windows and it needs more memory.
> So I am going to upgrade the memory to 1GB. In that case do I have to
> readjust the partitions in my linux side? I read somewhere that the swap
> partition size should be double the amount of memory used.
> 
>From memory, If your RAM is 128meg or less, it should be double. Anymore 
then that, the swap should ideally be the same size as the RAM.
This also depends on what the load the machine is using, If you run out of 
memory and swap, you would need to create more swap, or RAM, depending on 
your funds.
You don't have to re-adjust the swap filesystem, you can just add another 
one. you can even create it on another hard drive if needed.


Cheers,

Scott

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

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


Re: [SLUG] Linux and windows

2003-09-08 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 09-09-2003 09:01:54 AM:

> On Tue, 2003-09-09 at 00:44, Peter Hardy wrote:
> > On Mon, 2003-09-08 at 22:53, Sayth wrote:
> > > Is mandrake 9 and win4lin a good option, the only thing I need 
windows
> > > for is my girlfriends MSn messenger, Shogun Total war and MS Excel.
> > Depending on what you use MSN for, you might find one of the many 
Linux
> > clients suitable.  My personal favourite is gaim
> > (http://gaim.sourceforge.net/).  Otherwise Win4Lin should run it just
> > fine.
> 
> There may well be problems using MSN messenger on linux come October
> 15th.
> 
--snip--
> "However, upgrading to this does not guarantee us anything. Whereas
> previously, Microsoft has let third party clients connect, they now
> require a license for doing so. They still encourage clients to connect
> to their network, so with any luck, we can work something out. If not,
> people may find a way to connect anyway, but the legalities of this are
> pretty obvious. Key words: "Intellectual Property" and "DMCA.""
> 
I'm not a solicitor or anything, but isn't it a basic right to be able to 
reverse engineer a product as long as you do not infringe patents and such 
- with the idea to increase competition and reduce monopoly markets?


Cheers,

Scott

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


[SLUG] Software RAID & LVM

2003-08-31 Thread Scott Ragen
Hi All,
I am considering converting our server to a Software Raid 5 configuration 
with LVM (Linear Mode).
Our server is running Debian woody stable dist.
Just wondering if anyone has had any experience with this kind of setup?
I have looked through the LVM and Software RAID how-to's and it doesn't 
look too complicated, but I won't know till I try it.
I would like to try it on a development machine, but the budget doesn't 
allow us to have one, so my first go is on a live system :(

Cheers,

Scott

Note: My New email address is [EMAIL PROTECTED]

-- 
Scott Ragen
Support Manager/IT Administrator
Roadtech Systems
www.roadtech.com.au
PH: +61 2 9807 3516 FAX: +61 2 9808 5294
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] URGENT: Please help, Mail problem (FROMField=NOBODY....change?)

2003-08-29 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29-08-2003 04:38:24 PM:

> 
> > Hi - I'm new to this group, and relatively new to linux
> > (I work in it every day and have done for the past 8-10months or so - 
but
> > it has been all in VI editing HTML & PERL scripts etc. so no specific
> > linux commands besides the basics)
> > 
> > but now I have reached a point in the PERL scripts that it sends 
emails
> > out to a list of users... however, when they receive them, it is 
addressed
> > from 'nobody'. We REALLY REALLY need to change that!!!
> > 
> > I use the command 'mail'  in the form
> > mail -s subject [EMAIL PROTECTED] < /tmp/mailout.$$
> 
> You're better off using the Perl module Mail::Sendmail
> to send mail (and no, this doesn't use the sendmail
> program undeneath).
> 
If this is not possible to install the module, use the sendmail command
`sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED] < /tmp/mailout.$$`

(Remember, you will need to have "Subject: Your subject here" on the first 
line of of /tmp/mailout.$$)
Also note, that sendmail is not normally in a users path.

Cheers,

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


Re: [SLUG] Apache 2.0

2003-08-29 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 29-08-2003 04:03:29 PM:

> Can anyone advise whether apache 2.0 (as provided in Redhat 9) is 
stable?
> 
OK I just gotta ask
Is Redhat 9 even stable? I have found all (Well since I had been using it, 
from 6.0 - 8.0) major releases to be unstable, unreliable and buggy.

Cheers,

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


[SLUG] Samba moving files

2003-08-18 Thread Scott Ragen
Hi All,
I would google search on this problem if I could, but I don't where I 
would start... so any pointers, or the answer would be appreciated.
My problem is:
A client ftp's files to our customer for processing, the connection goes 
as such:
ftp client> win2k-->through samba to Linux (S:\)
(They use the win2k box so the End machine isn't exposed, I know 
ridiculous using IIS as an ftp server...)

What happens is they ftp directly to the processing directory so the 
script is picking up semi completed files, and failing.

My question: What happens if they create a batch file on to the win2k box 
to move them from a temp directory to the processing directory?
Will it have the same effects as mv in Linux, or is this going to be 
pointless?

If this is fruitless, any suggestions on how this could be achieved?

TIA

Scott

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


Re: [SLUG] Setting up ssh advice?

2003-08-14 Thread Scott Ragen

[EMAIL PROTECTED] wrote on 14-08-2003 12:30:34
AM:

> To create ssh protocol 1 keys the correct syntax is `ssh-keygen -t
rsa1`
> The latter creates ssh protocol 2 rsa keys.
>  
> Scott
>  
Sorry for the html post - been corrected :). I have
just setup a new email client.

Cheers,

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


[SLUG] Dailin from mobile

2002-07-28 Thread Scott Ragen

Hi all,
Sorry the subject is sketchy, but I don't know how to phrase this, but
anyway on to my question.
I might be reaching here, but is there any software for Linux that
anyone is aware of where it will allow a user to call the Linux box, and
then the user presses a few keys on his phone, for example: #212345 and
this will be dumped to a flatfile as the contents: 12345|$date|$time

I know this is a really sketchy question, and I'm not sure where to look
(Perhaps if someone could even email me the contact of a company that
could do this)

Cheers,

Scott

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



[SLUG] Filesystems....

2002-07-23 Thread Scott Ragen

Hi guys,
I'm a little confused by this, and although it has never caused any
problems, I am somewhat concerned about it.
I was looking at my partitions through fdisk and comparing them to the
mounted filesystems, and found an oddity (atleast it looks like one to
me)
An fdisk produces two partitions as below:

/dev/hda4   420  1216   6401902+   f  Win95 Ext'd (LBA)
/dev/hda5   420  1216   6401871   83  Linux

If you notice the start and end cylinders, they are both the same.
I have tried mounting hda4 to see what it is, but it comes up with the
wrong fs type etc.

Can anyone put some reasoning into what looks to be a computer
contradicting itself?

Cheers,

Scott

-- 
Scott Ragen
Roadtech Systems Ltd.
Support Manager
Ph: +61 2 9807 3516 Fax: +61 2 9808 5294 www.roadtechsystems.com.au 


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



RE: [SLUG] Exchange Replacements

2002-06-03 Thread Scott Ragen

Samsung Contact (Formerly known as HP Openmail) might be the way to go.
It will also do the emails, and shared folders, BBS etc.
Its not free, but its not as expensive as exchange.
The only problem I have with it is it doesn't support Outlook 2002
(yet?).
Go to www.samsungcontact.com for more details.

Cheers,

Scott

PS. I have nothing to do with this company and am not pushing sales,
just giving you advice.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Dan Treacy
Sent: Tuesday, 4 June 2002 1:09 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Exchange Replacements


G'day all,

I'm looking for suggestions/experiences in tersm of replacing exchange.
I've got the mail etc side of it handled, the only bit I'm having a
problem finding a decent replacement is for the calendaring/scheduling.
it needs to have multiple people be able to change appts etc. but some
people only be able to view it. Both public and private "diaries (or
calenders)" basically most of the everyday stuff you can do with
Outlook/Xchange. 

I've looked around and have seen a few, even though primarily they seem
to be web-based, not sure what I think of that at the moment. I was
actually after a bit of feedback in tersm of experiences people have
had. Doesn't matter if it's not free but at the same time don't want to
get caught up in licensing fee hell.

So any suggestions would be gratefully recieved..

Thanks,

Dan.



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

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



[SLUG] Perl - CGI: if statement

2002-05-30 Thread Scott Ragen

Hi all,
I have created this piece of CGI code (its probably bloated, but its my
first time!)
I have a few problems with it:

#!/usr/local/bin/perl
print "Content-Type:text/html\n\n";
print "\n";
if ($ENV{'REQUEST_URI'} = adl ) {
print "no Good\n";}
#print "\n";}
print ""

What I am trying to do is redirect 404 errors to another web server
which in turn goes to another, and could end up looping indefinably.
I want the if statement to say, if REQUEST_URI *CONTAINS* adl then print
"no good" (it will change but this is testing) else continue.

Another problem I have noticed, is it changes the $ENV{REQUEST_URI} to
adl, which is not what I want, I want it to be what it says.

Sorry if this abit hard to understand, but I am confused

Cheers,

Scott

-- 
Scott Ragen
Roadtech Systems Ltd.
Support Manager
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



[SLUG] Two Sound cards

2002-05-13 Thread Scott Ragen

Hi all,
I have two sound cards running in my machine, and both of them work fine,
but I can only get one working at a time, by changing the alias sound-slot
(soundcard driver) in modules.conf
What I would like to know is, if there is anyway I can get both soundcards
synchronised so they both play the same thing.

Cheers,

Scott


--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



RE: [SLUG] Program already installed

2002-05-13 Thread Scott Ragen

Ian,
Try: rpm -Uvh  --force 
it won't ask questions then.

Cheers,

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Ian Nicoll
Sent: Monday, 13 May 2002 5:33 PM
To: slug
Subject: [SLUG] Program already installed


Hi guy's,

More on this dependencies issue, but kinda round the corner from it...if
I already have a 'program' installed (but not working) and want to
re-install it, I come across an error saying 'program already exists'. 
How do you install over it/get rid of it/tell the computer "I don't
care, just install the bloody thing".  I'm presuming rpm -ivh i don't
care if I already have it, install the bloody thing  but
that didn't work.  Maybe I'm asking too much of my system :)

(the last was a joke btw)

Ian



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



RE: [SLUG] Error Installing Programs

2002-05-07 Thread Scott Ragen

Go to rpmfind.net and put those files in the search box.
I believe they are part of the openssl packages.

Cheers,

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Ian Nicoll
Sent: Tuesday, 7 May 2002 5:41 PM
To: slug
Subject: [SLUG] Error Installing Programs


Probably as User, so I tried as root, and got:

error: failed dependencies:
licrypto.so.2 is needed by xchat-1.8.8-0
libssl.so.2 is needed by xchat-1.8.8-0

I presume this means I don't have the required 'files' in my Linux, so I
presume I have to download them.  Is that correct?  I also searched the
web for those files, but couldn't find them.

Idea's?

Ian

P.S. - once I get this one worked out I'll probably be able to annoy
#linuxhelp and annoy the list less :)

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



[SLUG] Amavis & InoculateIT 6.0 compatibility

2002-05-05 Thread Scott Ragen

Hi all,
Has anyone successfully installed amavis with CAI's InoculateIT 6.0?
I have got it scan emails that are plain text, but when it comes to a
compressed file, I get this in the mail logs:
amavis[18877]: Virus scanner failure: /usr/local/bin/inocucmd (error code:
3)
I had to change a couple of parameters before compiling, but this has got me
stuffed.
Any suggestions would be gladly welcomed.

Cheers,

Scott

--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



RE: [Re: [SLUG] Cron Weird Problem from a newby]

2002-04-14 Thread Scott Ragen

Louis,
Are you sure its a crontab problem and not just a path problem?
What I suggest you try is as root type: which crontab
it should give you the full path to the crontab binary, then as the user
type "path-to-crontab" and see if that makes any difference.
If it does, perhaps the users need the path to their crontab in their PATH,
to do this to existing users, edit ~/.bash_profile (~ means their home
directory) and put the path in "PATH=".
To do this for all new users created, place the same in
/etc/skel/.bash_profile

Regards,

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Louis Selvon
Sent: Sunday, 14 April 2002 10:31 PM
To: Kevin Saenz
Cc: [EMAIL PROTECTED]
Subject: Re: [Re: [SLUG] Cron Weird Problem from a newby]


Hi Kevin:

> *** My problem here is that when I create user accounts on this web
server,
> they cannot run "crontab -e" . I get the error message
>
> "bash: crontab: command not found"
>
> There is no cron.allow, and cron.deny on this server in /etc/ . So anyone
on
> this server can run cron. Right ??
>
> At the moment I tried something different that works instead of
> crontab -e, but I want them to be able to run "crontab -e" command.
>
> Louis.

>It sounds like their profile is not configued correctly. all my
>users can run crontab, and execute crontab -e

*** The account are created by the server Control Panel (it's called Ensim).
It must be using some defaults for account creation, and may be crontab is
not
there.

Is there a way for me to edit the already created account to give crontab
access ?

Also where does Linux store defaults for account creation ?

Louis.

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

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



RE: [SLUG] memory above 64mb.

2002-04-11 Thread Scott Ragen

Hi Ben,
If they have only heard of MS Exchange and Notes, Notes has a version of
Domino for Linux (as IBM are big supporters of Linux). As for Exchange,
Samsung Contact (formerly HP Openmail) has an exchange like end user
interface. The reason HP sold Openmail was because Microsoft threatened them
as it was directly competing with exchange (These may only be rumours, but I
was told this by the head HP sales guy in Melbourne). It is also a cheaper
alternative.
The websites for these two are: www.samsungcontact.com (new)
www.openmail.com (HP's old website) and
http://www.lotus.com/home.nsf/welcome/domino

Give it a look and see if you can sway them.

Regards,

Scott


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben
Donohue
Sent: Friday, 12 April 2002 12:11 PM
To: 'Jeff Allison'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [SLUG] memory above 64mb.

--snip--
They are thinking of putting in either Exchange/Notes/Groupwise as their
email solution. Why not Linux! Anyway i'm building a new box with Postfix at
the moment to see how it handles it. There is still the impression that
"where do you get support from Linux if no one owns it?" type of thing. As I
point out there are heaps of Linux savvy people and companies around that
can support it. Trouble is Linux is unheard of by the "IT steering
committees". They have only heard about Exchange and Notes. Linux needs to
get some credibility with the committees and bean counters before it has a
serious look in. How do you do that?

Ben

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



RE: [SLUG] memory above 64mb.

2002-04-10 Thread Scott Ragen

Hi Ben,
To make sure its reporting 64Mb and not 96, type free -m (just to double
check).
If it is, then add to your /etc/lilo.conf: append="mem=96M"
then run command: lilo

Regards,

Scott


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Ben Donohue
Sent: Thursday, 11 April 2002 12:50 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] memory above 64mb.


HI Slugs,

I have a compaq with 96Mb in it. it boots and counts 96Mb as I've just put
in 3x32Mb simms so that is all OK.

running "top" on Debian reports mem: 63352k av,

Does this mean linux is only "seeing" 64Mb?
Is this normal or should top be reporting higher memory available and how do
I fix it?

Ben

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

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



[SLUG] Failing Hardware - HDA: Lost Interrupt?

2002-04-10 Thread Scott Ragen

Hi guys,
On one of the boxes I maintain, is having problems with the box. It
mysteriously reboots and freezes (including the network).
The errors I get in the logs are:

Apr 10 19:10:44 fsbris kernel: hda: lost interrupt
Apr 10 19:10:44 fsbris kernel: hda: status error: status=0x58 { DriveReady
SeekComplete DataRequest }
Apr 10 19:10:44 fsbris kernel: hda: drive not ready for command

This happened every now and then, its not constant.
I also checked google, and it mentioned making sure the APM settings are
correct, and perhaps turning DMA off/on, and see if it helps. APM is not
enabled in the bios, or kernel (/proc/apm is not present), and I booted up
with lilo command ide=nodma The lilo command made it worse as when there is
a heavy IDE load the error message is constant, but it doesn't freeze or
reboot!

Could this be a hardware problem, or is there somewhere else I need to look?

Thanks,

Scott
--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



RE: [SLUG] Printing Postscript

2002-04-03 Thread Scott Ragen

The printer shouldn't be the bottleneck. It does wait for gs to finish
before it prints.
I will look into getting a postscript printer, does anyone know of a good
model?

Thanks,

Scott


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Matthew Palmer
Sent: Thursday, 4 April 2002 1:36 PM
To: Scott Ragen
Cc: [EMAIL PROTECTED]
Subject: RE: [SLUG] Printing Postscript


On Thu, 4 Apr 2002, Scott Ragen wrote:

As to the speed issue, I have no idea why it is taking anywhere near that
long.  We've got a P-II 350 print server, which also does a bunch of other
things (such as web serving and file serving) which chews through print jobs
at a reasonable clip.  GS isn't as fast as a native PS printer (and if
you're doing lots of jobs, I'd recommend investing in a decent PS-capable
laser - cheaper running costs, better print quality, and faster printing)
but it shouldn't take minutes per page.  Unless, of course, the bottleneck
is your printer... Does the printer spool pages at a constant rate?  Or does
it print a bit, wait for GS to catch up, and then continue?



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



RE: [SLUG] Printing Postscript

2002-04-03 Thread Scott Ragen

I don't quite follow you there.
It is setup just as lpr -Pprinter filename.ps
The printer is setup through webmin as an epson stylus, and I guess it has
automatically chosen gs.

Regards,

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Chris Young
Sent: Thursday, 4 April 2002 11:53 AM
To: Scott Ragen
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Printing Postscript


On Thu, Apr 04, 2002 at 12:01:29PM +1000, Scott Ragen wrote:
> Hi all,
> I converting html source into postscript then printing. (I use htmldoc to
> change from html source to ps)
> A small problem is when it comes to printing, it takes up to 2 minutes to
> process one page with 'gs' before the print actually starts.
> I can see the 'gs' process use up to 97% cpu and 5% of 128mb ram. What I
> would like to know is there any way to speed up processing to say, a few
> seconds? :-)

Hi Scott,

Why do you use ghostscript (gs) to print?  Why don't you just pipe the ps
file
straight to lpr to print?

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

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



[SLUG] Printing Postscript

2002-04-03 Thread Scott Ragen

Hi all,
I converting html source into postscript then printing. (I use htmldoc to
change from html source to ps)
A small problem is when it comes to printing, it takes up to 2 minutes to
process one page with 'gs' before the print actually starts.
I can see the 'gs' process use up to 97% cpu and 5% of 128mb ram. What I
would like to know is there any way to speed up processing to say, a few
seconds? :-)
The reason is that we have customers that could print thousands of pages in
one print, and the speed is unacceptable.
If its important the machine is a Celeron 333Mhz, gs version 7.03, lprng
version 3.7.4 and htmldoc version 1.8.16.

Thanks,

Scott

--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



RE: [SLUG] Copying with exclusions

2002-03-20 Thread Scott Ragen

To answer my own question, unless someone has a better answer, I could use:
# ls |grep -v ???G.DAT |grep -v ???Z.DAT |xargs cp /backup
Would this be the correct way? Is it suggested that I would tar then move,
is this quicker & safer?

Regards,

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Scott Ragen
Sent: Wednesday, 20 March 2002 5:21 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Copying with exclusions


Hi guys,
Just have a question about copying files from one directory to another with
some soft of exclusion string.
What my goal is, I want to backup all data from one directory in a
filesystem to another file system except ???G.DAT and ???Z.DAT (the
??? can be replaced with a * if necessary but not preferred)
I can do it with the "for i in" command, but is there an easier less
stressful way?
There is about 7-8 gig of data in total, (4 gig needed to be copied), and
approx 6000 files (4000 of which would need to be copied).

Thanks,

Scott

--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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

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



[SLUG] Copying with exclusions

2002-03-20 Thread Scott Ragen

Hi guys,
Just have a question about copying files from one directory to another with
some soft of exclusion string.
What my goal is, I want to backup all data from one directory in a
filesystem to another file system except ???G.DAT and ???Z.DAT (the
??? can be replaced with a * if necessary but not preferred)
I can do it with the "for i in" command, but is there an easier less
stressful way?
There is about 7-8 gig of data in total, (4 gig needed to be copied), and
approx 6000 files (4000 of which would need to be copied).

Thanks,

Scott

--
Scott Ragen
Roadtech Systems Ltd.
Technical Support
Ph: +61 2 9807 3516 Fax: +61 2 9008 5294
www.roadtechsystems.com.au

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



RE: [SLUG] Redhat Linux 7.1

2002-01-20 Thread Scott Ragen

Are you sure its the System that has a 1MB chip and not the graphics card?
I find it hard to believe a Pentium 100 would have 1MB Ram.
What OS has it been running up until now?

Regards,

Scott
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Michael Jordan
Sent: Sunday, 20 January 2002 10:04
To: [EMAIL PROTECTED]
Subject: [SLUG] Redhat Linux 7.1



To those familiar with Redhat Linux 7.1, I was intending to install this
version on my laptop- it's an old piece of hardware, an Acer Note Light. It
houses a Pentium 1 at 100MHz, 1 MB DRAM and a 774 MB hard disk.
Now is it a feasible idea for me to install Redhat Linux 7.1 on this laptop?
Are there any alternatives, any suggestions?






Get your FREE download of MSN Explorer at http://explorer.msn.com.
-- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More
Info: http://lists.slug.org.au/listinfo/slug

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



FW: [SLUG] MTU problems ??

2002-01-01 Thread Scott Ragen

Howard,
This is actually a known freeswan problem, you need to make the packets of
the freeswan ipsec* smaller then the ppp*. To accomplish this, put in your
ipsec.conf `overridemtu=`
Hopefully this will solve your problem.

Cheers,
Scott

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Howard Lowndes
> Sent: Wednesday, 2 January 2002 12:14
> To: Mail List - SLUG
> Subject: [SLUG] MTU problems ??
>
>
> I have set up a VPN over an ADSL link and I am getting traffic snarl-ups
> as a result.
>
> Previously this link was running without VPN and over PSTN.
>
> My guess is that the server is sending out packets which are now too big.
>
> 1.  Am I correct in assuming that both freeswan and ADSL add over head to
> the packets?  I seems to recall the figure of an MTU of 1412 coming in
> some where.
>
> 2.  Am I correct in assuming that the best place to fix this is in the
> ifconfig setting for that particular interface on the server?  Currently
> it has MTU 1500.  What would be a suitable setting here.  I also guess,
> since this is Redhat, that I am going to have to look in
> /etc/rc.d/init.d/network, is this assumption correct?
>
> TIA.
>
> --
> Howard.
> LANNet Computing Associates - Your Linux people
> Contact detail at http://www.lannetlinux.com
>  "We are either doing something, or we are not.
>  'Talking about' is a subset of 'not'."
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

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



RE: [SLUG] sms smash questions

2001-12-18 Thread Scott Ragen

Hey Steven,

http://www.styx.demon.co.uk/

sms_client is one I have used previously. It is written by people in the UK
and Australia (perhaps elsewhere too)
I think it works with Telstra, Also works with Optus  & Vodafone. (it has a
list of providers it works with on the front page)
Regards,

Scott


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Steven Evans
Sent: Wednesday, 19 December 2001 5:12
To: '[EMAIL PROTECTED]'
Subject: [SLUG] sms smash questions


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hey sluggers,

I am trying to make a sms smash solution atm.  I have configured it
upto the stage where i can get the smash daemon to get a message and
dial the telstra service.  After the handshake, smash does a kamakazi
and dies. It then redials.

What i would like to know is what should the default config of smash
should be to make the call to the default telstra number.
Alternatively, are there any aussie-network compatible sms software
out there that can use a dial up modem to send sms' ? Is Tel$tra the
only dialin point?

Cheers,
Steve

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.1

iQA/AwUBPCAvxRMcfLgR5MndEQLGTQCg7MEDRLQt/0UUJDp9hph06hwjUr8AnAu0
IPzdWGPHkWPmR4tfns5qXR7L
=26cZ
-END PGP SIGNATURE-




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



[SLUG] IP Changes

2001-11-26 Thread Scott Ragen

Hi all,
I've been looking for a good hardy script/program that will run commands I
specify when an ip address on ppp0 (adsl) changes.
I need to run commands like iptables restart, ddclient (to change the
dyndns.org dns) and restart the vpn.
Does anyone have any suggestions, ddclient apparently can, but I couldn't
get it to work because I think it performs the commands after it changes the
domain name, which it can't because of iptables firewall.

Regards,

Scott

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



  1   2   >