[SLUG] external players in Firefox 2.0

2006-11-02 Thread Ashley

Hi,
In my earlier version of firefox I was able to go to tools and select 
the bottom link that let me tell the browser what external program it 
should use to play certain files. This link is no longer there and 
manage file types only allows changes to a few types it does not allow 
the adding of them.
My problem is that I want to stream an mms radio stream (which works 
with vlc) but the browser only gives me the option to use totem (which 
doesn't work) or cancel. How do I change this?


Ashley
--
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] external players in Firefox 2.0

2006-11-02 Thread Zhasper

Open the prefences dialog, go to "Content" click "Manage" at the bottom of
the dialog.

On 11/2/06, Ashley <[EMAIL PROTECTED]> wrote:


Hi,
In my earlier version of firefox I was able to go to tools and select
the bottom link that let me tell the browser what external program it
should use to play certain files. This link is no longer there and
manage file types only allows changes to a few types it does not allow
the adding of them.
My problem is that I want to stream an mms radio stream (which works
with vlc) but the browser only gives me the option to use totem (which
doesn't work) or cancel. How do I change this?

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





--
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
--
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] Multiple interfaces in iptables rules

2006-11-02 Thread David Kempe

Damn Pete,
just use shorewall :)

dave

Peter Hardy wrote:

Peter Hardy wrote:
But I'd like a rule to apply to my eth0 and eth1 interfaces while 
ignoring all other ethernet interfaces. Rusty's Packet Filtering 
HOWTO doesn't specify any syntax for it. It's not possible to give 
multiple -i or -o flags, and splitting it in to seperate rules for 
each interface is awkward at best.


I've tried comma separated interfaces by running `iptables -A INPUT 
-i eth0,eth1 -j LOG`, but it doesn't log any traffic to eth0, so I'm 
guessing iptables is looking for an interface named "eth0,eth1". And, 
of course, space separating the interface names just gives a bad 
argument error.


So, is it possible to have iptables match two or more interfaces in a 
single rule?


For the benefit of the archives, I solved this by marking packets 
based on the interface criteria, and then matching on marks.


As an example, my multi-homed gateway previously had a number of rules 
like these to filter traffic routed between the local networks.
 $IPT -A FORWARD -m state --state NEW -m tcp -p tcp -i $OFFICE_IFACE 
-o ! $INET_IFACE -j tcp_local
 $IPT -A FORWARD -m state --state NEW -m tcp -p tcp -i ! $INET_IFACE 
-o $OFFICE_IFACE -j tcp_local


My question came up because I'm about to attach another Internet link 
to it, and wanted it excluded from the above rules just like 
$INET_IFACE is above.


The solution I'm trialling is to mark all incoming packets like so:
 # Packets arriving from external links are marked 1
 $IPT -t mangle -A PREROUTING -i $INET_IFACE1 -j MARK --set-mark 1
 $IPT -t mangle -A PREROUTING -i $INET_IFACE2 -j MARK --set-mark 1

 # Packets departing on an external link are marked 2
 $IPT -t mangle -A PREROUTING -o $INET_IFACE1 -j MARK --set-mark 2
 $IPT -t mangle -A PREROUTING -o $INET_IFACE2 -j MARK --set-mark 2

Then my jump rules become:
 $IPT -A FORWARD -m state --state NEW -m tcp -p tcp -m mark ! --mark 2 
-i $OFFICE_IFACE -j tcp_local
 $IPT -A FORWARD -m state --state NEW -m tcp -p tcp -m mark ! --mark 1 
-o $OFFICE_IFACE -j tcp_local



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


[SLUG] dualling with dell

2006-11-02 Thread Daniel Bush

Hi Folks,
Anyone here who can offer advice on dual booting a modern dell laptop
(inspiron 9400) whilst preserving at least some of the dell
functionality?

I've done some research on this [1], and it looks like I have
1) a dell-based MBR
2) a dell utility partition at the front of the disk
3) winXP in the 2nd parition
4) a dell system recovery (symantec-based image) partition (DSR) at
the end of the disk
5) a hidden partition that won't be detected by the bios (a process
called 'hpa') which is right at the end of the disk which allows you
to use dell media direct (play dvd's without loading a full os).
A diagram of this setup is on the mediadirect link below ([1]).

I'm interested to know if people are putting grub in the MBR or trying
to preserve the dell MBR, because if you use grub, you are probably
going to lose the functionality for both the utility and rescue
partitions.
I can see a method for how to use the windows bootloader - instead of
grub in the mbr -  to boot linux (in linuxdevcenter article [1]), but
is this going to work on top of the dell mbr?  Is it chainloading or
something?

The utility partition looks replaceable; also the dell resouce cd may
do a similar job to this utility so it seems superfluous.

The dsr partition looks irreplaceable.
However I have a dell winxp disc and a dell resource cd which suggests
that, if I really wanted to, I could re-install windows and the
drivers without using the rescue partition or any of the dell stuff
that was originally on my disk.  It would be less convenient, but good
enough.  And there are alternatives.

Then there's the hidden mediadirect hpa partition which might be a gig
or two.  Has anyone done anything with this on their modified systems?

Whilst I'm trawling for advice: I can't seem to get a consensus on the
size of the swap partition.  I have 2gb of ram.  How much of an issue
is swap?

Some thoughts from anyone who has been or currently is in the trenches ?
Thanks,
Daniel.


[1]
http://www.goodells.net/dellrestore/
http://www.goodells.net/dellutility/index.htm
http://www.goodells.net/dellrestore/mediadirect.htm
http://www.linuxdevcenter.com/lpt/a/6554
--
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: How assign two variables with STDOUT and STDERR coming from a command at the same time?

2006-11-02 Thread Hans-Joerg Bibiko


Dear all,

I have the following problem:

A command will write some data to STDOUT and, maybe, some data to  
STDERR.


To assign a variable to STDOUT:

A=$(command)

To assign a variable to STDERR:

B=$(command 2>&1) # redirect STDERR to STDOUT

OK

But, I want to assign A and B at the same time. But how???

One solution would be the following:

A=$(command 2>&1 temp.file)
B=$(cat temp.file)

But I don't want to use a additional temporary file for that.
Can I redirect STDOUT or STERR to a variable directly?

I would be pleased for any hints.

Many thanks in advance

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


[SLUG] forced covetous

2006-11-02 Thread Alice Phelps





The freight forwarder is among. Therefore, it is important to find out
the scheduled arrival date of your import and follow-up. The primary
purpose of CSI is to protect the global trading system and the trade
lanes between CSI ports and the U. This applies to any goods or
merchandise that are electronically transmitted to the purchaser, such
as CDs, books, or posters. When cargo or freight arrives at a U.
However, there are exceptions to this.
The Department of State makes the determination, with the concurrence of
the. CBP Officers using gamma-imaging technology discovered the two
individuals hiding in a container of Styrofoam trays. Notice of the
denial of all or part of the protest will be mailed to the person filing
the protest or to his agent.
Customs, however, rarely exercises this right unless there is a
particular concern about the circumstances surrounding an importation.
The Incoterms provide a common set of rules for the most often used
international terms of trade. As mentioned above and for various
reasons, Customs may require a formal entry for any importation. It is
used to restrict the exportation of textiles and textile products to the
US and to prevent the unauthorized entry of the merchandise into this
country. On the other hand, import restrictions that are based on
health, safety and protecting endangered species apply across the
board.
is required to post a bond or its cash equivalent. By obtaining approval
by the. The protest is filed with the port director whose decision is
being protested.
Customs Service has the authority to investigate and prosecute persons
involved in this and other illegal activities.
The freight forwarder is among.
Customs Service has the authority to investigate and prosecute persons
involved in this and other illegal activities.
Therefore, it is important to find out the scheduled arrival date of
your import and follow-up.
Variations of the Harmonized Tariff Schedule are used around the world
in a cooperative effort to regulate international trade. You should not
be misled into thinking your purchase price includes duty because the
seller cannot say with absolute certainty what the duty will be. This
applies to any goods or merchandise that are electronically transmitted
to the purchaser, such as CDs, books, or posters.
Please see our publication, "Importing Into the United States," for more
detailed information. The one exception to this is made-to-measure suits
from Hong Kong, which are subject to quota restrictions regardless of
the use they are imported for. What is the meaning of the term defense
service? CBP Officers using gamma-imaging technology discovered the two
individuals hiding in a container of Styrofoam trays. This applies to
any goods or merchandise that are electronically transmitted to the
purchaser, such as CDs, books, or posters.
A Customs inspection at the time of entry will determine such compliance
which is verified by the original manufacturer's certification
permenently affixed to the vehicle or merchandise.
The one exception to this is made-to-measure suits from Hong Kong, which
are subject to quota restrictions regardless of the use they are
imported for.



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

[SLUG] pen coffin

2006-11-02 Thread Jasper Gordon





I'm in the minority, of course - most people love to get away to sunnier
climes, forgetting their. Tonight is the Survivor Cook Islands premiere,
so, oh joy, something to look forward too. When infected, users visiting
Google are actually looking at a fake Google site.
Samy is a self-propagating worm that appears to have. So, what kind of a
summer was it? A flaw in several virus scanners could let a malicious
file evade detection, a security researcher has warned.
com for full links, other content, and more! Over the past hour, I had
been sitting beside my car, waiting for a van to turn up and release me
from my pain.
Well, more like a semi-controlled experiment that turned into
self-torture. And now, if you'll excuse me, I'm getting. com for full
links, other content, and more!
Well, here we are - the last day of summer. Most parts of west Wales can
best be described. Rained hard at night, but not at all during
daylight.
I'm talking marriage.
Over the past hour, I had been sitting beside my car, waiting for a van
to turn up and release me from my pain. Brown's clowning around to the
lyrical "Field of Dreams," Hollywood has long had a love affair with
baseball.
When they split, we mourned a little. com for full links, other content,
and more!
com for full links, other content, and more!
I'm in the minority, of course - most people love to get away to sunnier
climes, forgetting their. com for full links, other content, and more!
com for full links, other content, and more! Most parts of west Wales
can best be described.
com for full links, other content, and more! Full story at
ComputerWeekly. Tonight was live poker tourney night - our first one in
a. " the unkempt lady asked, hiding a smirk.
Well, here we are - the last day of summer. I'm talking marriage.
I'm talking marriage. Samy is a self-propagating worm that appears to
have.



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

[SLUG] structural

2006-11-02 Thread Netty Rubio





Even if you just want to redecorate and stock your kitchen this is an
awesome deal!
The event will include exhibitions of the countries represented .
Known for its quality of exhibitions, OITE is .
Cup images will be on show at Oddfellows Hall . Cup images will be on
show at Oddfellows Hall . It's all FREE, so sign up today!
This individual returns home.
Our FREE twice-weekly newsletter is filled with the latest and greatest
coupons and deals to save you money! Helen Molesworth, chief curator of
exhibitions at the Wexner Center for the Arts, will become curator of
contemporary art for the Harvard University Art .
A new contest every weekday! guild has had to move twice throughout the
entertainment and retail center because of those terms.
This is real world conversations. Cup images will be on show at
Oddfellows Hall . Join for free by clicking through the link and
entering your email address on the form. Your recipient will receive an
e-mail with all the information they need to redeem their e-gift
certificate on Tupperware.
Our FREE twice-weekly newsletter is filled with the latest and greatest
coupons and deals to save you money! Center Primoz Brezec, along with
forwards Jake Voskuhl and Walter Herrmann, also . Gift Certificates let
them choose exactly what they want and are sent instantly so even if you
wait until the last minute you can still get a Tupperware Gift to
someone special! said Sarah Woodbridge, Group Director Exhibitions, IIR
Middle .
offer customers the ability to store, trade and plan .



-- 
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] Multiple interfaces in iptables rules

2006-11-02 Thread Peter Hardy

Peter Hardy wrote:

The solution I'm trialling is to mark all incoming packets like so:
 # Packets arriving from external links are marked 1
 $IPT -t mangle -A PREROUTING -i $INET_IFACE1 -j MARK --set-mark 1
 $IPT -t mangle -A PREROUTING -i $INET_IFACE2 -j MARK --set-mark 1

 # Packets departing on an external link are marked 2
 $IPT -t mangle -A PREROUTING -o $INET_IFACE1 -j MARK --set-mark 2
 $IPT -t mangle -A PREROUTING -o $INET_IFACE2 -j MARK --set-mark 2


I should probably mention that those second two rules are, of course, in 
the POSTROUTING chain.


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


[SLUG] Ruby/Rails junior developers

2006-11-02 Thread Taryn East
Hi All,

My work is looking for some junior Ruby/Rails developers.
Job description is available on seek here:
http://www.seek.com.au/showjob.asp?jobid=7958778


Cheers,
Taryn

-- 
Let there be lights!
http://fiatlux.webcentre.co.nz/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Another anti-spam idea

2006-11-02 Thread jam
Hi
A customer has told me he has heard of this anti-spam technique.
Will I implement it for them?
Any body got any pointers for me please.
Heck it would be a nice slug solution too:

* You send me an email

* If your address is in my white-database no further ado

* If it is not in my DB I reject the mail, send you a reply explaining, with 
an attached obscure image of a number.

* You send me another mail with that number as the subject and your address is 
whitelisted.

You may add significant addresses to the DB by hand, so that 'them' are never 
inconvenienced in any way.

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


[SLUG] Recording wavs from line-in

2006-11-02 Thread Adelle Hartley
Hi all,

I have an ubuntu (6.06) server that I ssh into.  Is there a ready-made
command-line package that I can "apt-get install" that will let me use this
machine to record audio from the line-in (preferably as wavs)?

Google keeps pointing me to pages that seem to assume my music collection is
on CD.  The closest thing to useful that I have found is wavrec, but I have
not had success at building it on ubuntu.

Adelle.

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


[SLUG] perl, php

2006-11-02 Thread blak kat
if there are any perl and php engineers here... please email me [EMAIL 
PROTECTED] directly (not back to this list).. or even web dev ppl who are 
superb with css html etc..
theres really cools jobs going... ill tell u where if u email me first. hehe
lets just say its on of the best known websites in the world.. 



Send instant messages to your online friends http://au.messenger.yahoo.com
--
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] Another anti-spam idea

2006-11-02 Thread Robert Thorsby

On 2006.11.03 10:29 [EMAIL PROTECTED] wrote:

Hi
A customer has told me he has heard of this anti-spam technique.
Will I implement it for them?
Any body got any pointers for me please.
Heck it would be a nice slug solution too:

* You send me an email

* If your address is in my white-database no further ado

* If it is not in my DB I reject the mail, send you a reply
explaining, with an attached obscure image of a number.

* You send me another mail with that number as the subject
and your address is whitelisted.


Heck, why not just use Dan Bernstein's qmail which can be configured 
(more or less) to do precisely that. And break every email protocol in 
the known universe -- but that's just DJB.


Or use spamassassin ... or greylisting ... or subscriber only ... or 
just about anything.


Better yet. Don't give out your email address to **anyone**

Robert Thorsby
--
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] Another anti-spam idea

2006-11-02 Thread Jeff Waugh


> * If it is not in my DB I reject the mail, send you a reply explaining,
> with an attached obscure image of a number.

The most annoying anti-spam method in the world. A sure-fire way to not get
mail from anyone.

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia   http://lca2007.linux.org.au/
 
"What inspired you to become a bus driver?"
 "Linus Torvalds."
-- 
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] Recording wavs from line-in

2006-11-02 Thread Erik de Castro Lopo
Adelle Hartley wrote:

> Hi all,
> 
> I have an ubuntu (6.06) server that I ssh into.  Is there a ready-made
> command-line package that I can "apt-get install" that will let me use this
> machine to record audio from the line-in (preferably as wavs)?

The arecord program should do the trick:

# dpkg -S /usr/bin/arecord
alsa-utils: /usr/bin/arecord

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
"Death is perhaps too easy" -- Iqbal Sacranie in 1989 about
Salman Rushdie, author of "The Satanic Verses". Sacranie 
received a knighthood in 2005 as the face of 'moderate'
British Islam. He has never disowned his earlier statement.
-- 
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] Another anti-spam idea

2006-11-02 Thread Luke Yelavich
On Fri, Nov 03, 2006 at 10:48:10AM EST, Jeff Waugh wrote:
> 
> 
> > * If it is not in my DB I reject the mail, send you a reply explaining,
> > with an attached obscure image of a number.
> 
> The most annoying anti-spam method in the world. A sure-fire way to not get
> mail from anyone.

And not accessible.

Just had to point out the obvious. :)
-- 
Luke Yelavich
GPG key: 0xD06320CE 
 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
-- 
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] Another anti-spam idea

2006-11-02 Thread Robert Collins
On Fri, 2006-11-03 at 07:29 +0800, [EMAIL PROTECTED] wrote:
> Hi
> A customer has told me he has heard of this anti-spam technique.
> Will I implement it for them?
> Any body got any pointers for me please.
> Heck it would be a nice slug solution too:
...
I have a policy for this approach: I blacklist the person so I dont have
to read mail *from* them, as I can never reply to it.

-Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part
-- 
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] dualling with dell

2006-11-02 Thread Michael Lake

Daniel Bush wrote:

Anyone here who can offer advice on dual booting a modern dell laptop
(inspiron 9400) whilst preserving at least some of the dell
functionality?

I've done some research on this [1], and it looks like I have
1) a dell-based MBR
2) a dell utility partition at the front of the disk
3) winXP in the 2nd parition
4) a dell system recovery (symantec-based image) partition (DSR) at
the end of the disk
5) a hidden partition that won't be detected by the bios (a process
called 'hpa') which is right at the end of the disk which allows you
to use dell media direct (play dvd's without loading a full os).


I just did an install a few weeks ago on a Latitude.
I opted to format the disk from after partition 2 i.e after the Windows 
partition.
I used gparted on a bootable CD to reduce the Windows partition from 100G to 
20G.


I'm interested to know if people are putting grub in the MBR or trying
to preserve the dell MBR, because if you use grub, you are probably
going to lose the functionality for both the utility and rescue
partitions.
I let Grub install to the MBR. I just wanted to leave Windows and wasn't interested 
in the media DVD stuff.



Whilst I'm trawling for advice: I can't seem to get a consensus on the
size of the swap partition.  I have 2gb of ram.  How much of an issue
is swap?

I set mine to 2G I think. I have 2G RAM also.

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
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] Another anti-spam idea

2006-11-02 Thread Martin Barry
$quoted_author = "[EMAIL PROTECTED]" ;
> 
> Any body got any pointers for me please.

"Challenge-Response Anti-Spam Systems Considered Harmful"
http://linuxmafia.com/faq/Mail/challenge-response.html

cheers
marty

-- 
supine: From the Latin for "lying on one's back," to be supine has come to mean
"inactive." But as Damien Hirst suggests with his maxim "Minimum effort for
maximum effect," there's nothing wrong with being inactive. 

"An Idler's Glossary" - http://www.hermenaut.com/a158.shtml
-- 
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] Another anti-spam idea

2006-11-02 Thread jam
On Friday 03 November 2006 07:51, you wrote:
> > A customer has told me he has heard of this anti-spam technique.
> > Will I implement it for them?
> > Any body got any pointers for me please.
> > Heck it would be a nice slug solution too:
> >
> > * You send me an email
> >
> > * If your address is in my white-database no further ado
> >
> > * If it is not in my DB I reject the mail, send you a reply explaining,
> > with an attached obscure image of a number.
> >
> > * You send me another mail with that number as the subject and your
> > address is whitelisted.
> >
> > You may add significant addresses to the DB by hand, so that 'them' are
> > never inconvenienced in any way.
>
> Unless you're very clever at detecting mailing lists, your customer is
> going to be kicked off every mailing list they try to join. And some
> mailing lists go out of their way to be hard to detect.
>

> And the customer is obviously not in business - or is happy to upset
> everybody who tries to send them email - like every potential new
> customer.
>
> It might be okay to do this for a private address - sorta like an
> unlisted phone - but not for anything else.

Am I being thick, or did you miss a point or two?

What business uses mailing-lists?
Iff they did, you add that-mail-list to the DB by hand (umm 3 seconds with 
php)
The business gets some 500 spam / day. spamassassin gets about 300-400 (The 
spammers are getting really clever).

As an EG dontronics won't even release their email address. You as a paying 
customer have to go through hoops to get it. They seem to be doing OK.

A reply saying "to help us with spam, please send one mail" seems quite 
reasonable to us engineering types

http://www.dontronics-shop.com
Dontronics
PO Box 595
Tullamarine  Victoria  3043

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


[SLUG] Re: choke

2006-11-02 Thread hav
What are these msgs?  Some kind of spam?  I have got several like this
lately via email - a whole lot of unrelated/seemlingly meaningless
(with about 1 in 6 sentences related to my interests so I am wondering
if its some mining/spam s/w?).  Anyone else know?

-- 
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] Another anti-spam idea

2006-11-02 Thread Rev Simon Rumble
This one time, at band camp, [EMAIL PROTECTED] wrote:

> The business gets some 500 spam / day. spamassassin gets about 300-400 (The 
> spammers are getting really clever).

I suggest you outsource your spam filtering to someone who can better 
that rate, without you having to spend oodles of time tweaking the 
rules.  Leave it to the experts, I say.

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

The Tourist Engineer
Because nerds travel too.
http://engineer.openguides.org/

 "It's better to die on your feet than to
  live on your knees."
- Power and the Passion, Midnight Oil
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: perl, php

2006-11-02 Thread hav
...why would you bother with PHP if you know perl?

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


[SLUG] Re: Another anti-spam idea

2006-11-02 Thread jam
Hi
For those who think this is a bad idea, I just received my slug digest:

   1. pen coffin (Jasper Gordon)
   2. expectantly oil slick (Clarence Pate)
   3. For your prompt attention
  ([EMAIL PROTECTED])
   4. altruistic jack-of-all-trades (Daniel Ashley)
   5. structural (Netty Rubio)
   6. Re: Multiple interfaces in iptables rules (Peter Hardy)
   7. Ruby/Rails junior developers (Taryn East)
   8. Another anti-spam idea ([EMAIL PROTECTED])
   9. Recording wavs from line-in (Adelle Hartley)
  10. perl, php (blak kat)

5 spam in 10 mail from the cleverest mail-admin folk in Oz. Wow the spammers 
are winning!
James
-- 
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: Another anti-spam idea

2006-11-02 Thread Robert Collins
On Fri, 2006-11-03 at 08:30 +0800, [EMAIL PROTECTED] wrote:
> Hi
> For those who think this is a bad idea, I just received my slug digest:
..
> 5 spam in 10 mail from the cleverest mail-admin folk in Oz. Wow the spammers 
> are winning!

'X is a good idea because Y happens'.

Theres no causal link, you're arguing with fallacies. 

-Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part
-- 
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] Another anti-spam idea

2006-11-02 Thread Christopher Vance

On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi
A customer has told me he has heard of this anti-spam technique.
Will I implement it for them?
Any body got any pointers for me please.
Heck it would be a nice slug solution too:

* You send me an email

* If your address is in my white-database no further ado

* If it is not in my DB I reject the mail, send you a reply explaining, with
an attached obscure image of a number.

* You send me another mail with that number as the subject and your address is
whitelisted.

You may add significant addresses to the DB by hand, so that 'them' are never
inconvenienced in any way.


Unless you're very clever at detecting mailing lists, your customer is
going to be kicked off every mailing list they try to join. And some
mailing lists go out of their way to be hard to detect.

And the customer is obviously not in business - or is happy to upset
everybody who tries to send them email - like every potential new
customer.

It might be okay to do this for a private address - sorta like an
unlisted phone - but not for anything else.

--
Christopher
--
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] external players in Firefox 2.0

2006-11-02 Thread Zhasper

Possibly a man who replies to himself is more worthy of contempt, I'm not
sure..

In short, after more discussion with Ashley, I've realised that that dialog
doesn't help. As Ashley said, it lets you change existing mappings but not
add new ones; and the dialog Firefox presents merely tells you what app it's
about to use, it doesn't allow you to choose anything.

I'm stuck, anyone else got ideas?

On 11/2/06, Zhasper <[EMAIL PROTECTED]> wrote:


Open the prefences dialog, go to "Content" click "Manage" at the bottom of
the dialog.

On 11/2/06, Ashley < [EMAIL PROTECTED]> wrote:
>
> Hi,
> In my earlier version of firefox I was able to go to tools and select
> the bottom link that let me tell the browser what external program it
> should use to play certain files. This link is no longer there and
> manage file types only allows changes to a few types it does not allow
> the adding of them.
> My problem is that I want to stream an mms radio stream (which works
> with vlc) but the browser only gives me the option to use totem (which
> doesn't work) or cancel. How do I change this?
>
> Ashley
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



--
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004





--
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
--
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: Another anti-spam idea

2006-11-02 Thread Lindsay Holmwood
Hi James,

On Fri, Nov 03, 2006 at 08:30:15AM +0800, [EMAIL PROTECTED] wrote:
> 
> 5 spam in 10 mail from the cleverest mail-admin folk in Oz. Wow the spammers 
> are winning!

SLUG's mailing lists and servers are admined by an entirely volunteer crew. 
We're constantly swamped with an ever increasing volume of spam (just check
out http://slug.org.au/cgi-bin/mailgraph.cgi for the amount of mail we're 
actually receiving :-).

While we do our best to curtail the spam coming through, it's always
going to be an uphill battle.

Our spamassassin instance is highly trained, though it does die from
time to time (as it just did). I've restarted it, so hopefully we'll see
a marked decrease about now. 

Lindsay

-- 
http://slug.org.au/ (Sydney Linux Users Group)
http://lca2007.linux.org.au/ (linux.conf.au 2007)
http://holmwood.id.au/~lindsay/ (me)
-- 
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: perl, php

2006-11-02 Thread Alan Harper
On Thu, 2006-11-02 at 16:16 -0800, hav wrote:
> ...why would you bother with PHP if you know perl?
> 
*puts on fireproof suit*
Why bother with perl when you know python? :)

-- 
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: perl, php

2006-11-02 Thread Michael Lake

Alan Harper wrote:

*puts on fireproof suit*
Why bother with perl when you know python? :)


Try installing Python eggs compared to installing Perl modules.
No wonder the Python packages are called eggs - they break easily :-)

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
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: perl, php

2006-11-02 Thread Adam Kennedy

Alan Harper wrote:

On Thu, 2006-11-02 at 16:16 -0800, hav wrote:

...why would you bother with PHP if you know perl?


*puts on fireproof suit*
Why bother with perl when you know python? :)


CPAN. And significant whitespace. And there's more jobs :)

Adam K

--
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: perl, php

2006-11-02 Thread Adam Kennedy



Adam Kennedy wrote:

Alan Harper wrote:

On Thu, 2006-11-02 at 16:16 -0800, hav wrote:

...why would you bother with PHP if you know perl?


*puts on fireproof suit*
Why bother with perl when you know python? :)


CPAN. And significant whitespace. And there's more jobs :)


In retrospect the significant whitespace charge probably isn't fair, 
since on the CPAN there's a module that lets you use Python-style 
significant whitespace with Perl as well :)


http://search.cpan.org/~fxn/Acme-Pythonic-0.45/lib/Acme/Pythonic.pm

Adam K
--
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: perl, php

2006-11-02 Thread Rev Simon Rumble
This one time, at band camp, Adam Kennedy wrote:

> In retrospect the significant whitespace charge probably isn't fair, 
> since on the CPAN there's a module that lets you use Python-style 
> significant whitespace with Perl as well :)

Erm, I don't think it was being listed as a positive.

But hey, why not go the whole hog?

http://en.wikipedia.org/wiki/Whitespace_%28programming_language%29

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


 "Alliance: In international politics, the union of two thieves
  who have their hands so deeply inserted into each others'
  pockets that they cannot separately plunder a third."
- Ambrose Bierce: The Devil's Dictionary
-- 
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: perl, php

2006-11-02 Thread Adam Kennedy

Rev Simon Rumble wrote:

This one time, at band camp, Adam Kennedy wrote:

In retrospect the significant whitespace charge probably isn't fair, 
since on the CPAN there's a module that lets you use Python-style 
significant whitespace with Perl as well :)


Erm, I don't think it was being listed as a positive.

But hey, why not go the whole hog?

http://en.wikipedia.org/wiki/Whitespace_%28programming_language%29


Because the CPAN has had an implementation of that since long before 
that was invented. :)


http://search.cpan.org/~dconway/Acme-Bleach-1.12/lib/Acme/Bleach.pm

Adam K

--
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: perl, php

2006-11-02 Thread Lindsay Holmwood
On Fri, Nov 03, 2006 at 01:33:43PM +1100, Michael Lake wrote:
> Alan Harper wrote:
> >*puts on fireproof suit*
> >Why bother with perl when you know python? :)
> 
> Try installing Python eggs compared to installing Perl modules.
> No wonder the Python packages are called eggs - they break easily :-)
> 

Python programmers don't know not to bother with eggs because there's
Debian. :-)

Lindsay

-- 
http://slug.org.au/ (Sydney Linux Users Group)
http://lca2007.linux.org.au/ (linux.conf.au 2007)
http://holmwood.id.au/~lindsay/ (me)
-- 
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: perl, php

2006-11-02 Thread Adam Kennedy



Lindsay Holmwood wrote:

On Fri, Nov 03, 2006 at 01:33:43PM +1100, Michael Lake wrote:

Alan Harper wrote:

*puts on fireproof suit*
Why bother with perl when you know python? :)

Try installing Python eggs compared to installing Perl modules.
No wonder the Python packages are called eggs - they break easily :-)



Python programmers don't know not to bother with eggs because there's
Debian. :-)


Indeed. In all seriousness though I've heard this a lot of times, from a 
number of senior Python personalities (not Guido though).


I can't help but wonder if it hurts Python in the long wrong, because it 
makes it harder for people to play if they are in strange and unusual 
places (and I don't just mean Win32 here).


Adam K


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


[SLUG] Antispam Ideas

2006-11-02 Thread T Murray

Hi all,

I currently moderate the slug-chat list - heaps of spam gets killed
every day before it hits the digest.  While new spam is being blocked
old mail rules are allowing spam through into the lists.

The only real solutions that I see are: (1) edit all existing mail
rules to ensure integrity, or more drastically (2) Remove all
subscribers from the lists and have a re-subscription period for all
real members.

This has been a topic that has be discussed time after time - and I
dont think there is going to be an easy pain free solution.

What do you think?
--
Regards,



Trent Murray

T:   0419 39 99 78
F:   02 9543 7654
E:   [EMAIL PROTECTED]   >> received direct to mobile phone
M:  P.O Box 3269 Bangor NSW 2234
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Suspend and IR

2006-11-02 Thread Kevin Saenz

Hi all,

I think I asked this question before.

I have gentoo running MythTV, I would like to build suspend into the kernel
and use the USB IR to start up the system. Is this possible?
Or do I have to use some sleep function that is only actioned when using the
power button on the remote control?
--
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] Antispam Ideas

2006-11-02 Thread Jeff Waugh


> I currently moderate the slug-chat list - heaps of spam gets killed every
> day before it hits the digest.  While new spam is being blocked old mail
> rules are allowing spam through into the lists.
> 
> The only real solutions that I see are: (1) edit all existing mail rules
> to ensure integrity, or more drastically (2) Remove all subscribers from
> the lists and have a re-subscription period for all real members.

Are you saying that spammers are subscribed and injecting spam without
protection? That's easy to solve -- root them out as their spam messages
come in. There's no need to unsubscribe everyone to solve that problem.

But I think I'm missing part of your summary. Mailman rules apply to all
email as it comes in, and are not set at the time of subscriptiong.

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia   http://lca2007.linux.org.au/
 
 "Applications are just kernel testcases." - Andrew Morton
-- 
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: perl, php

2006-11-02 Thread James Dumay

Eric, care to chime in? :-)

On 11/3/06, Adam Kennedy <[EMAIL PROTECTED]> wrote:




Lindsay Holmwood wrote:
> On Fri, Nov 03, 2006 at 01:33:43PM +1100, Michael Lake wrote:
>> Alan Harper wrote:
>>> *puts on fireproof suit*
>>> Why bother with perl when you know python? :)
>> Try installing Python eggs compared to installing Perl modules.
>> No wonder the Python packages are called eggs - they break easily :-)
>>
>
> Python programmers don't know not to bother with eggs because there's
> Debian. :-)

Indeed. In all seriousness though I've heard this a lot of times, from a
number of senior Python personalities (not Guido though).

I can't help but wonder if it hurts Python in the long wrong, because it
makes it harder for people to play if they are in strange and unusual
places (and I don't just mean Win32 here).

Adam K


--
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] Suspend and IR

2006-11-02 Thread Rev Simon Rumble
This one time, at band camp, Kevin Saenz wrote:

> I have gentoo running MythTV, I would like to build suspend into the kernel
> and use the USB IR to start up the system. Is this possible?

I don't think so.  You'd need some kind of "Wake On LAN" style header on 
the motherboard and then the IR receiver would need independent power.  
You could possibly make something like that to use the Wake On LAN 
header?

> Or do I have to use some sleep function that is only actioned when using the
> power button on the remote control?

With all the talk about "base load" on the power grid, I think there is 
a major opening for someone to come up with an infra red controllable 
power strip.  This way only the power strip itself would be sucking down 
"phantom power" (the power used by all these devices on "standby") and 
you could use your remote to power everything up.

Half Bakery has something liket his:
http://www.halfbakery.com/idea/IR_20Remote_20Power_20Strip

Hell, if someone made these I reckon the government would subsidize 
their sale!

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


Illegal arrivals by sea have always been a problem
in Australia.  Ask any Aborigine.
- corruption of a Robert Orben quote
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2006-11-02 Thread jam
On Friday 03 November 2006 11:28, [EMAIL PROTECTED] wrote:
> > 5 spam in 10 mail from the cleverest mail-admin folk in Oz. Wow the
> > spammers are winning!
>
> SLUG's mailing lists and servers are admined by an entirely volunteer crew.
> We're constantly swamped with an ever increasing volume of spam (just check
> out http://slug.org.au/cgi-bin/mailgraph.cgi for the amount of mail we're
> actually receiving :-).
>
> While we do our best to curtail the spam coming through, it's always
> going to be an uphill battle.
>
> Our spamassassin instance is highly trained, though it does die from
> time to time (as it just did). I've restarted it, so hopefully we'll see
> a marked decrease about now.
 
Lindsay
if my comments are perceived as critical I humbly appologise. I know all too 
well how hard it is to stay ahead of the game. All I was saying is that if 
this can defeat the SLUG group with lots of very able talent what do mere 
mortals do?
Cheers James
-- 
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: perl, php

2006-11-02 Thread Erik de Castro Lopo
James Dumay wrote:

> Eric, care to chime in? :-)

Only if you spell my name right. Or do you mean some other Eric?

Erik (that with a 'K' James).
-- 
+---+
  Erik de Castro Lopo
+---+
"There is only a small difference between a strong atheist and 
a Christian: they agree on a very long list of gods that don't 
exist, and disagree about only one of them."
-- 
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] Another anti-spam idea

2006-11-02 Thread Mikolaj Habryn

Martin Barry wrote:

$quoted_author = "[EMAIL PROTECTED]" ;
  

Any body got any pointers for me please.


"Challenge-Response Anti-Spam Systems Considered Harmful"
http://linuxmafia.com/faq/Mail/challenge-response.html
  
A significant percentage of the points against stem from the habit of 
doing the C-R offline, after the initial received delivery. Doing it in 
real-time and responding with a 5xx at SMTP delivery time ameliorates a 
chunk of them.


Not all, though :)

m, who currently favours micro-bonds for guaranteed email delivery.
--
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] Another anti-spam idea

2006-11-02 Thread Rev Simon Rumble
This one time, at band camp, Mikolaj Habryn wrote:

> doing the C-R offline, after the initial received delivery. Doing it in 
> real-time and responding with a 5xx at SMTP delivery time ameliorates a 
> chunk of them.

So you're expecting lusers to trawl through the text of a bounce message 
and find the "5xx message rejected see http://foo.com/whitelist.html"; 
line and know what to do?  I think not!

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


A lifetime of listening to disco music is a high price to pay
for one's sexual preference

- Quentin Crisp
-- 
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: slug Digest, Vol 10, Issue 8

2006-11-02 Thread Lindsay Holmwood
On Fri, Nov 03, 2006 at 11:33:47AM +0800, [EMAIL PROTECTED] wrote:
> On Friday 03 November 2006 11:28, [EMAIL PROTECTED] wrote:
> > > 5 spam in 10 mail from the cleverest mail-admin folk in Oz. Wow the
> > > spammers are winning!
> >
> > SLUG's mailing lists and servers are admined by an entirely volunteer crew.
> > We're constantly swamped with an ever increasing volume of spam (just check
> > out http://slug.org.au/cgi-bin/mailgraph.cgi for the amount of mail we're
> > actually receiving :-).
> >
> > While we do our best to curtail the spam coming through, it's always
> > going to be an uphill battle.
> >
> > Our spamassassin instance is highly trained, though it does die from
> > time to time (as it just did). I've restarted it, so hopefully we'll see
> > a marked decrease about now.
>  
> Lindsay
> if my comments are perceived as critical I humbly appologise. I know all too 
> well how hard it is to stay ahead of the game. All I was saying is that if 
> this can defeat the SLUG group with lots of very able talent what do mere 
> mortals do?
> Cheers James

I understand. :-)

I don't think there'll ever be a effective way of blocking spam with
current technologies. We'll just have to live with it. 

Lindsay

-- 
http://slug.org.au/ (Sydney Linux Users Group)
http://lca2007.linux.org.au/ (linux.conf.au 2007)
http://holmwood.id.au/~lindsay/ (me)
-- 
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: slug Digest, Vol 10, Issue 8

2006-11-02 Thread Rev Simon Rumble
This one time, at band camp, Lindsay Holmwood wrote:

> I don't think there'll ever be a effective way of blocking spam with
> current technologies. We'll just have to live with it. 

Current technology, sure.  Old-time technology could solve it.  The 
noose is an effective deterrent.

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


"A politician is like a nappy. He should be changed regularly, and for
 the same reason" - Column 8, Sydney Morning Herald
-- 
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: slug Digest, Vol 10, Issue 8

2006-11-02 Thread Jeff Waugh


> I understand. :-)
> 
> I don't think there'll ever be a effective way of blocking spam with
> current technologies. We'll just have to live with it. 

Weell, we do *choose* to live with the (historically) small amount of
spam that hits the list. At any point, we could moderate non-subscriber
posts, which we've discussed numerous times but steadfastly avoided (for
good reasons, at least thus far). But it has always been a balance between
effective blocking, small amounts that get through, and the annoying vocal
minority who like to characterise the committee as evil, lazy or both for
whatever reason.

I had hoped that Mailman could block (or even discard) entire messages with
naughty/unnecessary attachments but it appears that (without a bit of extra
work), it can only remove the attachments.

Perhaps if we can't effectively block the latest kinds of spam (and there
have been an increasing number of these actually hitting the list), we could
consider the moderated non-subscriber option again.

(Look how this controversial issue can be raised without making demands or
accusations, or being snarky towards the admins/ctte! Everybody say wow!)

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia   http://lca2007.linux.org.au/
 
"Not only that, but Google is fast. In fact, it's quite competitive
  with DNS." - Raph Levien
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Perl/SSH Problem

2006-11-02 Thread Gonzalo Servat

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] Backing up to dvd

2006-11-02 Thread Leslie Katz
A friend needed copies for his wife of a dvd of a performance by her 
dance group. He didn't know how to go about producing the copies. To 
help him out, I bought a dvd writer and made the copies for him. That 
left me with a dvd writer for which I'd never before felt any need.


I thought that a possible use of it would be to make backups of my 
system, something about which I'd been careless so far. I went looking 
for an application that would create backups and burn them to a dvd as 
part of one continuous process.


I've been able to find only two.

One is Mondo Rescue (www.mondorescue.org). However, its manual says, 
"Mondo is not an everyday backup program." I don't know enough to know 
why that's so.


The other is Backups for Linux 
(http://sourceforge.net/project/showfiles.php?group_id=68179). It 
doesn't suggest that it's not an everyday backup program, but, at the 
same time, it appears to have been downloaded only fourteen times ever.


Are there other applications of which people are aware, but which I've 
missed, which will create local backups and burn them to dvd as part of 
one continuous process?



--
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] Recording wavs from line-in

2006-11-02 Thread Adelle Hartley
Erik de Castro Lopo wrote:
> The arecord program should do the trick:

Yeah, that's what I wanted.  I'm having a weird problem with it though.  I
figured out how to set the volume using alsamixer and also to select the
line input for capture.  I can hear the line input in stereo, and

arecord -f cd somefile.wav

produces a file that windows alleges contains 2 channels, but the second
channel contains only silence.

Adelle.

-- 
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] Recording wavs from line-in

2006-11-02 Thread Erik de Castro Lopo
Adelle Hartley wrote:

> Erik de Castro Lopo wrote:
> > The arecord program should do the trick:
> 
> Yeah, that's what I wanted.  I'm having a weird problem with it though.  I
> figured out how to set the volume using alsamixer and also to select the
> line input for capture.  I can hear the line input in stereo, and
> 
> arecord -f cd somefile.wav
> 
> produces a file that windows alleges contains 2 channels, but the second
> channel contains only silence.

There are a number of possible scenarios.

   - If you are recording from a microphone, it might be a mono mic
 and hence only one channel.
   - The socket where you are plugging in might be a mono socket.
   - The audio source might be mono.

>From here is probably up to you.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
"When exported to Muslim lands, various aspects of Western pop 
culture must be modified in order to accommodate Muslim sensibilities. 
When Muslims come West, various aspects of Western pop culture must 
be modified in order to accommodate Muslim sensibilities."
-- http://www.jihadwatch.org/dhimmiwatch/archives/008623.php
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html