[SLUG] Re: Getting a defaultroute to stick

2002-01-25 Thread Marek Samoc

On Fri, 25 Jan 2002, Howard Lowndes wrote:

HL> I have a site which is dual homed (ADSL and PSTN)
HL>
HL> I am trying to script /etc/ppp/ip-down.local so that when the ADSL
HL> connection goes down (the rp-pppoe script for bringing it up has the
HL> defaultroute option) I want the default route to toggle over to the PSTN.
HL>
HL> By running debug code in the ip-down.local script I can see the toggling
HL> happening, but at the end of the day the (new) default route has
HL> disappeared again.
HL>
HL> Could it be that because this connection that is going down has the
HL> defaultroute associated with it, it takes down any defaultroute that it
HL> finds as its last act of defiance?  It ceratinly appears that way
HL>


Just set the default route to the PSTN link and use
 /sbin/route add -net 0/0 $1 in your ip-up script refering to the ADSL
link.
The route will disappear by itself when the ADSL link goes down...

Marek

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



[SLUG] Digital Watermarking

2002-01-25 Thread Kevin Waterson

Is there software for linux to read and create digital watermarks for images?
I thought The GIMP could do this but I cannot find a plugin for it.

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



Re: [SLUG] lost eth1 solution

2002-01-25 Thread David Kempe

That should be fairly easy - just don't define a gateway for eth0
You should be able to do it by editing
/etc/sysconfig/network-scripts/ifcfg-eth0 i think. (i think you said you had
redhat)
or one of the various configuration utilitys for redhat should have it.

Then the adsl should add a default route no worries

dave


- Original Message -
From: "Kevin Waterson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 5:44 PM
Subject: [SLUG] lost eth1 solution


> OK, got it fired up, the solution was to install with
> eth0 in place, and setup the network, then, after installation
> put the second NIC in place and let kudzu find in but when
> prompted, do not set up the network.
> When you have a prompt,
>  ifconfig eth1 up
> and then
>  adsl-start
> this bought up the link but it seems the default route remains the
> one for eth0, so, I needed to ifconfig eth0 down and then adsl-start
> to get it to work. So next I need to get eth0 up againg without
> affecting eth1.
>
> any thoughts?
>
> Kevin
> --
> 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] Re: Getting a defaultroute to stick - Problem solved

2002-01-25 Thread Howard Lowndes

It seems that it was some sort of race condition.

I was running adsl-stop;route -n to drop the line and then to look at the
routing tables immediately afterwards.

Well the debug code in the ip-down.local showed the changes to the routing
table (I wss logging them to syslog), but looking at the routing tables
immediatly after the adsl-stop did not show the changes.

I then tried adsl-stop;sleep 5;route -n and the routing table showed up
correctly.

I guess the adsl-stop detaches the shutdown process from the terminal and
executes it in the background and that I was seeing the routing tables
BEFORE they had been updated.

It had me confused for a few hours.

On Fri, 25 Jan 2002, Howard Lowndes wrote:

> I have a site which is dual homed (ADSL and PSTN)
>
> I am trying to script /etc/ppp/ip-down.local so that when the ADSL
> connection goes down (the rp-pppoe script for bringing it up has the
> defaultroute option) I want the default route to toggle over to the PSTN.
>
> By running debug code in the ip-down.local script I can see the toggling
> happening, but at the end of the day the (new) default route has
> disappeared again.
>
> Could it be that because this connection that is going down has the
> defaultroute associated with it, it takes down any defaultroute that it
> finds as its last act of defiance?  It ceratinly appears that way
>
>

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



RE: [SLUG] Netatalk under Debian 2.2r2

2002-01-25 Thread Michael Kraus

G'day...

> Do you have appletalk protocol compiled into the kernel (or loaded in as
> a module if that's the way you lean)?

Thanks... found the module appletalk.o (it's so obvious once you've hit this
point!)..

All the best...

Michael.

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



RE: [SLUG] lost eth1 solution

2002-01-25 Thread George Vieira

in redhat the default route is probably set in it's config file...

/etc/sysconfig/network-scripts/ifcfg-eth0

remove the option

GATEWAY  (or something)

then on boot it'll won't have a default route...


-Original Message-
From: David Kempe [mailto:[EMAIL PROTECTED]]
Sent: Friday, 25 January 2002 9:03 PM
To: Kevin Waterson; [EMAIL PROTECTED]
Subject: Re: [SLUG] lost eth1 solution


That should be fairly easy - just don't define a gateway for eth0
You should be able to do it by editing
/etc/sysconfig/network-scripts/ifcfg-eth0 i think. (i think you said you had
redhat)
or one of the various configuration utilitys for redhat should have it.

Then the adsl should add a default route no worries

dave


- Original Message -
From: "Kevin Waterson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 5:44 PM
Subject: [SLUG] lost eth1 solution


> OK, got it fired up, the solution was to install with
> eth0 in place, and setup the network, then, after installation
> put the second NIC in place and let kudzu find in but when
> prompted, do not set up the network.
> When you have a prompt,
>  ifconfig eth1 up
> and then
>  adsl-start
> this bought up the link but it seems the default route remains the
> one for eth0, so, I needed to ifconfig eth0 down and then adsl-start
> to get it to work. So next I need to get eth0 up againg without
> affecting eth1.
>
> any thoughts?
>
> Kevin
> --
> 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 - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Logging in Postgres

2002-01-25 Thread a b

Hi

I want to log all transactions which occur in a
database.  In particular all the select/delete and
insert statements which occur.  I want to have them
written to a log file.  What is the best way to do
this?

Cheers

Tony


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Missing grey suit jacket

2002-01-25 Thread Patrick Mougin

Hey guys,

as the subject says, a grey suit jacket I brought to the meeting (25/1/02)
has now gone walkabout. I had heard that someone had picked it up at the
meeting and brought it to House Of Guangzhou, but me being the forgetful
person I am, I forgot to retrieve it *yet again*. So if anyone has any idea
of where it has disappeared, could they either email me personally, or call
me on my mobile (0416 381 658)? It would be greatly appreciated, and I would
be eternally grateful.

Cheers all,

Patrick

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



[SLUG] File browser

2002-01-25 Thread Wayne Crich

A little while ago I came across a linux file browser that allowed you to browse 
shared files on MS machines. Can anyone supply a program name, I cannot remember it or 
find it in my files.

Thanks
Wayne


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



Re: [SLUG] File browser

2002-01-25 Thread Craige McWhirter

On Sat, 2002-01-26 at 07:15, Wayne Crich wrote:
> A little while ago I came across a linux file browser that allowed you to browse 
>shared files on MS machines. Can anyone supply a program name, I cannot remember it 
>or 
> find it in my files.

"Linux Neighborhood" is one such application. There are others.

-- 

Cheers,
  Craige.

http://mcwhirter.com.au/



msg19862/pgp0.pgp
Description: PGP signature


Re: [SLUG] Missing grey suit jacket

2002-01-25 Thread Craige McWhirter

On Sat, 2002-01-26 at 02:25, Patrick Mougin wrote:

> as the subject says, a grey suit jacket I brought to the meeting (25/1/02)
> has now gone walkabout. I had heard that someone had picked it up at the
> meeting and brought it to House Of Guangzhou, but me being the forgetful
> person I am, I forgot to retrieve it *yet again*. So if anyone has any idea
> of where it has disappeared, could they either email me personally, or call
> me on my mobile (0416 381 658)? It would be greatly appreciated, and I would
> be eternally grateful.

Don't forget to ring the House of the Amazing Boiled Television Entrails
to see if it's still there.

-- 

Cheers,
  Craige.

http://mcwhirter.com.au/



msg19863/pgp0.pgp
Description: PGP signature


[SLUG] perl quicky

2002-01-25 Thread > Dean Hamstead

does perl have a function to return the length of a string?

eg

$length = size($foo);

Dean
-- 
--   --
ME: http://dean.bong.com.auICQ: 16867613
[EMAIL PROTECTED][EMAIL PROTECTED]

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



Re: [SLUG] perl quicky

2002-01-25 Thread James Morris

On Sat, 26 Jan 2002, > Dean Hamstead < wrote:

> does perl have a function to return the length of a string?
> 
> eg
> 
> $length = size($foo);
> 

length()

- James
-- 
James Morris
<[EMAIL PROTECTED]>


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



[SLUG] IMP Folders not *happening*

2002-01-25 Thread safari

Hello, relative newbie here, and appreciative of any help.

I'm with a volunteer tech collective and we run IMP v2.2.6. The only
folder option is inbox... we're unable to create, rename or delete any
folders.

when attempting to create a folder, the following error message is given.

b>Error: the new folder was not created 

http://www.horde.org/faq/admin/trouble/index.php#t25 gives a possible
explanation:


5.3.4 In IMP, users can't use any folders besides INBOX.

The most common problem that results in users being
unable to access their mail folders is a misconfigured 

   $default->folders

in horde/imp/config/defaults.php3. That variable should be set to the
location of a user's personal folders, often "mail/" or "Mail/".
It must have the trailing slash.

---

The above explanation is not the prob. This file is fine. (Although, we're
using /etc/imp/defaults.php3)
 
Anyone have anything else I can try? Thanks and kind regards, safari


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



[SLUG] background not autoloading under ximian

2002-01-25 Thread Mehmet Ozdemir

Hello Sluggers,

Here's one for the ximian monkeys out there.

I running rh7.1 with completely up to date ximian gnome 1.4. For some
reason my background image will not load unless I right click go to
"configure background image" and click "apply".

I tried nuke a config files under .gnome/ w/o success, even if i create
a new user, this user also suffers from no backgournd problem, root is
also affectted.

Any ides on what I've stuffed. I running gmc and not nautilus if that
makes a difference.

regards

mehmet ozdemir

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



Re: [SLUG] File browser

2002-01-25 Thread Wayne Crich

Thanks Craige

Definately the program I used before.

Wayne
1/26/02 9:52:39 AM, Craige McWhirter <[EMAIL PROTECTED]> wrote:

>On Sat, 2002-01-26 at 07:15, Wayne Crich wrote:
>> A little while ago I came across a linux file browser that allowed you to browse 
>shared files on MS machines. Can anyone supply a program name, I cannot remember it 
or 
>> find it in my files.
>
>"Linux Neighborhood" is one such application. There are others.
>
>-- 
>
>Cheers,
>  Craige.
>
>http://mcwhirter.com.au/
>



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



[SLUG] installing via nfs

2002-01-25 Thread sm

Hi, could someone help with this?

I'm trying to install RH 7.1 over nfs.

I've been trying to copy bootnet.img onto a floppy from the install cd
but the file size is too big at 1.5Mb for a 1.4Mb floppy.

Is there a way to get this file on a floppy?
Am I aproaching this the right way?

Thanks in advance.
Being new to Linux this list has been invaluable help.

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



[SLUG] KDat or alternative tape backup replacement

2002-01-25 Thread Michael Kraus

G'day sluggers...

Hrmm, I've installed debian and am wishing to use an easy to use tape backup
application. (KDat was being used, however as the system is now debian...)

Any suggestions?

Thanks heaps...

Michael.

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



Re: [SLUG] IMP Folders not *happening*

2002-01-25 Thread Howard Lowndes

On Sat, 26 Jan 2002 [EMAIL PROTECTED] wrote:

> The most common problem that results in users being
> unable to access their mail folders is a misconfigured
>
>$default->folders
>
> in horde/imp/config/defaults.php3. That variable should be set to the
> location of a user's personal folders, often "mail/" or "Mail/".
> It must have the trailing slash.
>
> ---
>
> The above explanation is not the prob. This file is fine. (Although, we're
  
 file? should be a directory
> using /etc/imp/defaults.php3)

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