Re: [SLUG] Can Apache do line by line output of PHP stuff?

2000-12-05 Thread Matt Allen

Terry,

There is some debugging settings in PHP4 that let you setup a debugging port (IIRC)

PHP is dead easy to get DB interaction happening.

Your output is a bit weird, If you want a hand in debugging, im happy to help.

Matta

On Wed, Dec 06, 2000 at 04:28:50PM +1100, Terry Collins wrote:
> Can apache be set to put out some debugging as it analyses a  page?
> 
> Supposedly PHP is installed (dynamic), but apache is ignoring any php
> test. All it outputs is a blank line. I'm looking for a way to get some
> debugging out so I can work out what is going on.
> 
> 
> --
>Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
>email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
>WOA Computer Services 
> 
>  "People without trees are like fish without clean water"
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug

-- 
Matt Allen  Linux/PHP eCommerce Solutions
Linux Worx  Linux Networking
www.linuxworx.com.auConsulting
[EMAIL PROTECTED]   
0413 777 771


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



Re: [SLUG] Running PPP over ssh.

2000-12-05 Thread Rodos

On 6 Dec 2000, Herbert Xu wrote:

> >  cotty -- pppd 10.0.0.101:10.0.0.102 noauth \
> >-- ssh -t -l root 203.0.0.5 pppd noauth
>
> Better call ssh with -e none as well.

Yes since getting it running I have added "-c blowfish -e none" to the
command. Blowfish is supposedly "very secure and much faster than 3des"
which is the default.

Thanks also to [EMAIL PROTECTED] with the iproute2 stuff. I must get my act
together and create my own Linux router to centeralise all this stuff,
then set and forget it.

Rodos

-- 
[EMAIL PROTECTED] | It is a simple task to make things complex, it is a
Camion Technology | complex task to make things simple. [Tom DeMarco 1989]
+61 2 9873 5105   |




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



Re: [SLUG] Interfacing WWW to database

2000-12-05 Thread Dean Hamstead

Not of shell scripts =\
You basically have to go pass sql statements to the cli program for
the database then load them into a variable. Then whip out awk and
break the data into usefull bits.

Id recommend you just write in c. Youll need to check out the security
issues involved though.

Dean

> > Anything that will run in cgi-bin that can talk to a database;
> > You could use shell scripts if you really wanted.
> 
> Beauty!
> Do you know where  might find some examples
> 
> Please, please don't say google as it ain't talking to me at the moment.
> Goodness knows where it has gone to.

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


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



Re: [SLUG] Running PPP over ssh.

2000-12-05 Thread Herbert Xu

Rodos <[EMAIL PROTECTED]> wrote:
>
> Now I was able to run the tunnel via

>  cotty -- pppd 10.0.0.101:10.0.0.102 noauth \
>-- ssh -t -l root 203.0.0.5 pppd noauth

Better call ssh with -e none as well.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: [SLUG] Interfacing WWW to database

2000-12-05 Thread Terry Collins

Dean Hamstead wrote:
> 
> Anything that will run in cgi-bin that can talk to a database;
> You could use shell scripts if you really wanted.

Beauty!
Do you know where  might find some examples



Please, please don't say google as it ain't talking to me at the moment.
Goodness knows where it has gone to.


--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"


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



Re: [SLUG] Interfacing WWW to database

2000-12-05 Thread Dean Hamstead

Anything that will run in cgi-bin that can talk to a database;
You could use shell scripts if you really wanted.


Dean

John Ferlito wrote:
> 
> On Wed, Dec 06, 2000 at 04:31:27PM +1100, Terry Collins wrote:
> >
> > Is there any other way to interface a WWW page to a database?
> >  NOTE --- other than perl or php.
> >
> Two ways come to mind. emb_perl and mysql and a few other have a
> cgi script that preparses an html page as a cgi script and does selects
> for you where appropriate do a quick google search for somewhint like
> mysql cgi should find something.
> 
> --
> John Ferlito
> Senior Engineer - Bulletproof Networks
> ph: +61 (0) 410 519 382
> http://www.bulletproof.net.au/
> 
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug

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


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



Re: [SLUG] Interfacing WWW to database

2000-12-05 Thread John Ferlito

On Wed, Dec 06, 2000 at 04:31:27PM +1100, Terry Collins wrote:
> 
> Is there any other way to interface a WWW page to a database?
>  NOTE --- other than perl or php. 
> 
Two ways come to mind. emb_perl and mysql and a few other have a
cgi script that preparses an html page as a cgi script and does selects
for you where appropriate do a quick google search for somewhint like
mysql cgi should find something.


-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/


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



[SLUG] Interfacing WWW to database

2000-12-05 Thread Terry Collins


Is there any other way to interface a WWW page to a database?
 NOTE --- other than perl or php. 



--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"


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



[SLUG] Can Apache do line by line output of PHP stuff?

2000-12-05 Thread Terry Collins

Can apache be set to put out some debugging as it analyses a  page?

Supposedly PHP is installed (dynamic), but apache is ignoring any php
test. All it outputs is a blank line. I'm looking for a way to get some
debugging out so I can work out what is going on.


--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"


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



[SLUG] Perl, psql and DBI

2000-12-05 Thread John Ferlito

Worked it out. For those that are interested.

$sth = $dbh->prepare("SELECT * FROM $table");
$sth->execute;
$array = $sth->{NAME};
foreach $col (@$array) {
  print "$col|";
}


-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/


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



Re: [SLUG] Tape drive in RedHat 6.2

2000-12-05 Thread George Ferizis


Actually...it ended up working, by just placing the link from 
/dev/tape to /dev/st1.

However the link was pretty much pointless..I was looking into it 
too much and /dev/st1 worked fine..funny thing that.

I still don't know what the hell stinit is whinging about 
though..but I can do cpio backups to the tape so my concern about 
stinit is pretty damn small.

And as for why there is no /etc/sysconfig/tape...well it goes in 
the same boat as stinit I guess...



From [EMAIL PROTECTED]  Wed Dec  6 14:57:41 2000
Return-Path: [EMAIL PROTECTED]
From: John Ryland <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Trolltech
Date: Wed, 6 Dec 2000 13:49:10 +1000
X-Mailer: KMail [version 1.1.99]
Content-Type:   text/plain; charset=US-ASCII
Cc: <[EMAIL PROTECTED]>
To: "George Ferizis" <[EMAIL PROTECTED]>
References: 
<010501c05f22$fff13ae0$[EMAIL PROTECTED]>
In-Reply-To: 
<010501c05f22$fff13ae0$[EMAIL PROTECTED]>
Subject: Re: [SLUG] Tape drive in RedHat 6.2
MIME-Version: 1.0
Message-Id: <00120613491005.13255@igloo>
Content-Transfer-Encoding: 7BIT
Sender: [EMAIL PROTECTED]
X-Mailman-Version: 1.1
List-Id: General Discussions 
X-BeenThere: [EMAIL PROTECTED]


On Wednesday 06 December 2000 11:22, David Zverina wrote:
>
> Actually I'd go as far as venturing that it should be a 
link to /dev/st0
> unless you're trying to set up a second drive. And of 
course the st? names
> are only applicable for SCSI tape drives.
>
> > > * an stinit craps out with
> > > Can't find the tape characteristics database.
> > >
> > > * no /dev/tape

Maybe have a read of the file 
/usr/src/linux/Documentation/devices.txt
There are quite a few different tape drive devices

Regards
John


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



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



[SLUG] Perl, psql and DBI

2000-12-05 Thread John Ferlito

Anyone know if through either DBI or just a normal query it's
possible to get the column names from a postgres database? I've managed
to get the table names but can't work out how to find out anything about
them.

-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/


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



Re: [SLUG] Tape drive in RedHat 6.2

2000-12-05 Thread John Ryland


On Wednesday 06 December 2000 11:22, David Zverina wrote:
>
> Actually I'd go as far as venturing that it should be a link to /dev/st0
> unless you're trying to set up a second drive. And of course the st? names
> are only applicable for SCSI tape drives.
>
> > > * an stinit craps out with
> > > Can't find the tape characteristics database.
> > >
> > > * no /dev/tape

Maybe have a read of the file /usr/src/linux/Documentation/devices.txt
There are quite a few different tape drive devices

Regards
John


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



[SLUG] Running PPP over ssh.

2000-12-05 Thread Rodos

With all this cool routing talk I thought I would share my experiance with
getting PPP to run over ssh to a network behind a firewall. Bit of a mini
howto of a mini howto. There were a few things which I stumbled on.

What I have is a machine on a network, lets call it 10.0.0.100 behind a
firewall which we will call 203.0.0.5. The firewall does port forwarding
of port 22 (ssh) from 203.0.0.5 to 10.0.0.100. So you ssh onto 203.0.0.5
and end up on 10.0.0.100. As a side note the firewall will only do this
port forward and therfore allow ssh for one source IP address, mine. Don't
want everyone hammering your sshd.

So I found the Firewall Piercing Howto at
http://mirror.aarnet.edu.au/LDP/HOWTO/mini/Firewall-Piercing.html
and started to follow its instructions (well there wern't any really).

I compiled the required cotty program that lets you connect to terminals
together, or in this case two ppp sessions.

There was an example command line of

cotty -d -- pppd silent 192.168.0.1:192.168.0.2 \
  -- ssh -t [EMAIL PROTECTED] pppd

Of course I tried that and nothing worked, so what did I have to do?

First of all make sure that you can ssh into the remove machine without
having to enter the password. This means you will have to use RSA
authentication for ssh. On my machine I ran ssh-keygen and then copied the
line from .ssh/identity.pub into the file .ssh/authorized_keys on the
remote server.

Another thing that would not work was pppd, firstly you could only run it
as root, I added myself to the group but it still needed other things, so
I ended up using root at both ends. I had to set PermitRootLogin to yes in
the /etc/ssh/sshd_config at the remote end to get it to allow you to come
in as root.

The pppd on both machines also wanted to do authentication so I had to set
the noauth option to the pppd command line.

Now I was able to run the tunnel via

 cotty -- pppd 10.0.0.101:10.0.0.102 noauth \
   -- ssh -t -l root 203.0.0.5 pppd noauth

This uses 10.0.0.101 as the local end and 10.0.0.102 as the remote end, I
just picked two addresses that were not in use.

Last thing to do was add a static route on the local machine for the
remote network, telling it to use the new interface which was just
created.

 /sbin/route add -net 10.0.0.100 netmask 255.255.255.0  ppp0

You then have to make sure that ip_forward is set to 1 on the remote
machine so it will forward packets onto the other machines as they come in
over the ppp session. The local machine now looks like 10.0.0.101 on the
remote network and 10.0.0.100 does a proxyarp for that address so all the
other machines on the network knows that where to send packets for it
(well sort of).

Once that was done I could ping any of the machines on the 10.0.0.x range,
the trafic would flow over the encrypted link and onto the internal
network. I can happly do anything remotely that I could internally
(telnet, web, ftp), as long as it uses TCP/IP. I have not been able to get
smbmount to work yet.

Enjoy.

Rodos

-- 
[EMAIL PROTECTED] | Ever notice how fast Windows runs ?  -- Neither did I.
Camion Technology |  [unknown]
+61 2 9873 5105   |



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



Re: [SLUG] networking interface questions

2000-12-05 Thread michaelf

I am yet to do this for myself. Bigpond permanent modem with subnet 
allocated, and also a ADSL (yet to come)

I do however have an example snip of code as we set up a friends machine. 
He has Optus Cable Modem and permanent Bigpond perm.

Machine has 3 pci nic's... eg; 1 nic for dhcp from optus (eth2), 1 nic for 
192.168.0.1/24 priv lan (eth1), 1 nic for bigpond perm subnet (eth0)

Example;

#!/bin/sh

case $1 in
 start)
  # internal to internal, no route
  ip rule add from 203.40.227.128/26 to 203.40.227.128/26 table main pre 100
  ip rule add from 203.40.227.128/26 to 192.168.0.1/24 table main pre 100
  ip rule add from 192.168.0.1/24 to 192.168.0.1/24 table main pre 100
  ip rule add from 192.168.0.1/24 to 203.40.227.128/24 table main pre 100

  # perm modem traffic goes back out via modem
  ip rule add from 203.40.227.128/26 to 0/0 table 101 pre 101
  ip route add table 101 via 139.130.37.65 dev ppp0

  # and the rest goes via cable
  ip rule add from 192.168.0.1/24 to 0/0 table 102 pre 101
  ip route add table 102 via optusdhcpd-assigned-ip dev eth2

  ;;

 stop)
  ip rule del from 203.40.227.128/26 to 203.40.227.128/26 table main pre 100
  ip rule del from 203.40.227.128/26 to 192.168.0.1/24 table main pre 100
  ip rule del from 192.168.0.1/24 to 192.168.0.1/24 table main pre 100
  ip rule del from 192.168.0.1/24 to 203.40.227.128/24 table main pre 100

  ip rule del from 203.40.227.128/26 to 0/0 table 101 pre 101
  ip route del table 101 via 139.130.37.65 dev ppp0

  ip rule del from 192.168.0.1/24 to 0/0 table 102 pre 101
  ip route del table 102 via optusdhcpd-assigned-ip dev eth2
  ;;

 *)
  echo "start or stop?"
  ;;

 esac

End example

Hope this helps... cheers


> I have a cable modem and a ISDN line. I want to put two network cards in
> the one machine and have packets return on the interface they come in on.
> At the moment they return via the default route.
> 
> I have not tried to get it working but my life would be a lot closer to
> complete if I could. One year I will use the floppy router project to
> create such a firewall/router.
> 
> Please post how you go.




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



RE: [SLUG] Tape drive in RedHat 6.2

2000-12-05 Thread David Zverina

Actually I'd go as far as venturing that it should be a link to /dev/st0
unless you're trying to set up a second drive. And of course the st? names
are only applicable for SCSI tape drives.


Dave.

--
David Zverina
Alt Key Pty. Ltd.
http://www.altkey.com
PO Box 3121, Parramatta, 2124, Australia

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Dean Hamstead
> Sent: Tuesday, 5 December 2000 17:34
> To: George Ferizis
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SLUG] Tape drive in RedHat 6.2
>
>
> > * an stinit craps out with
> > Can't find the tape characteristics database.
> >
> > * no /dev/tape
>
> id venture to say that should be a symlink to /dev/st1
>
>
>
> Dean
> --
> BONG: http://www.bong.com.au
> EMAIL...
> [EMAIL PROTECTED]  [EMAIL PROTECTED]
> [EMAIL PROTECTED][EMAIL PROTECTED]
> ICQ: 16867613
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
>



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



[SLUG] linux box fs pt 2

2000-12-05 Thread Martin


Sorry to post again to the list on this, but I just received about 10
replies, I only just posted it and most of them ask the same questions,
so I'll answer them on the list, so many more people don't ask.

I'm in Sydney's eastern suburbs, in Kingsford, about 10 minutes walk
from UNSW, to give you a fairly precise idea.

I'm selling it because I use my computer a LOT, and I like it to run
fast, compile fast, and play games fast. I'm upgrading to a really nice
new AMD system with double the ram, RAID support onboard, a GeForce 2,
etc. I'd like to keep it for use as a firewall/print server/apache etc
box but I need help with my upgrade costs.

I will not be ready to part with it until I've finished putting my new
system together, I expect about a week to ten days from now.

Apparently I undervalued it a fair bit... I'll sell it to the highest
offer below $600 or the first firm offer of $600. I don't want to sell
it for _more_ than it's worth either.

cheers,

-- 
Martin
[EMAIL PROTECTED]



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



RE: [SLUG] RPM Fun - Solved.

2000-12-05 Thread tom burkart

On Wed, 6 Dec 2000, David Kempe wrote:

> > painful.  I am still looking forward to all this fun when TL goes to
> > rpm-4.0...
> Whats TL?
TurboLinux - a distribution that is rpm based like RH but comes secure
(networking-wise) by default.

tom.
Consultant

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



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



RE: [SLUG] RPM Fun - Solved.

2000-12-05 Thread David Kempe

> painful.  I am still looking forward to all this fun when TL goes to
> rpm-4.0...

Whats TL?

dave


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



Re: [SLUG] RPM Fun - Solved.

2000-12-05 Thread tom burkart

On Tue, 5 Dec 2000, Stephen Mills wrote:

> I found it quite frustrating in Redhat's approach in upgrading RPM, as
> another person pointed out, probably to prompt more sales.
Guys, please do not say things like that without first asking for the
reason behind this.

The reason is as follows:
Rpm v4 uses the latest database mechanism (db-3.???) this makes it
incompatible with prior versions.  If you (like I did) recompile rpm v4
from scratch you will find that it asks for the Berkeley db-3.??? database
stuff.  Once you jump through the hoops you get an rpm binary that
upgrades your old db-2.??? files.  But then again this is where the fun
starts:  All the new RH rpms cause problems with the old stuff because
they have made some major changes in setups, etc which I find really
painful.  I am still looking forward to all this fun when TL goes to
rpm-4.0...

tom.
Consultant

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



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



[SLUG] Linux box for sale

2000-12-05 Thread Martin

If it's heinously off topic to post this, please let me know and I'll go
sit in the corner for a while. I couldn't see anything specifically
against fs postings in the FAQ, and since it's a linux box it seems at
least vaguely topic related.

I'm looking to get rid of my old PII linux box fairly shortly (in a
week or so). It comes with a current woody installation (Gnome/E), with
a 2.4.0-test10 kernel with drivers for the video card set up. It is just
a box (no monitor), but has:

Minitower
Abit BH6 Motherboard (1xAGP, 5xPCI, 2xISA, 3 DIMM slots, USB)
PII 333 (runs rock solid @ 350 (3.5 x FSB100) - no multiplier lock)
1 x 128MB DIMM Hyundai PC100 SDRAM (running at CAS 2)
AGP TNT2 16 MB
Quantum fireball 6.4 GB IDE HD
Panasonic 30x CDROM
SoundBlaster 16 PnP (ISA)

It's not a bad box, with fair quality gear in it. It does fairly well
for running Quake 3 Arena (under linux of course) for example.

I have no idea really what is a fair price for a box like this. I'd be
very happy to sell it for about $500, but will sell it for less if that
proves to be ridiculously optimistic on my part.

cheers,

-- 
Martin
[EMAIL PROTECTED]



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



Re: [SLUG] linux os

2000-12-05 Thread Martin

On Thu, 7 Sep 2000, divyang wrote:

> i am determined to convert my all systems on linux. cud yu please giude me thru?

Hi,

the way you have phrased your question makes it almost completely
impossible for anyone to help you. 

How many "systems" (boxes?) do you have? 

What are they running now?

What do you want to use them for after you have Linux on them?

What is your level of experience with computing? with linux/unix?

Even after you answer these kinds of questions, it is unlikely anyone
can "guide you through" via email, the amount of information a typical
linux newbie needs is just too large. If you give us some idea of what
you know and what you are trying to do, perhaps someone can give you
some pointers on how to start, where to go for information, etc.

Personally, if you are really new to linux, I would suggest you get
someone to do the first install with you who already knows linux. You
might be able to get a friend to do this, or go to an installfest, or
even pay someone to do it for you.

I'd suggest you think about Mandrake or Debian as distribution choices
(Mandrake if you have a low level of computer skills/interest, Debian if
high) and if you are really keen to do it yourself, try a comprehesive
tome like Debian/Gnu Linux Unleashed, or an equivalent Red Hat book for
Mandrake.

A good source of information is irc, if you have several computers and
can keep one up and connected to the net while you install on another,
but you should use irc when you are at a harder problem and are stuck,
not just for asking general questions like the one in your mail. I'd
suggest you use this mailing list in generally the same way.

cheers,

-- 
Martin
[EMAIL PROTECTED]



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



Re: [SLUG] **URGENT** Require a 73GB Seagate (Yes, I know its OT.. but!!)

2000-12-05 Thread Terry Collins

> Alan Lee wrote:
> 
> Hey this is off topic.

No, posting in HTML is OFF TOPIC.


--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"


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



Re: [SLUG] networking interface questions

2000-12-05 Thread Rodos

On Wed, 6 Dec 100, wal wrote:

> Is there a way to tell linux to source outgoing packets with the
> address of the link that it came in from?

Yes. The iproute2 can do this in theory. You can read about it at
http://ds9a.nl/2.4Routing/HOWTO//cvs/2.4routing/output/2.4routing.html
You mark the packets as they come in and the routing routes based on those
marks.

I have a cable modem and a ISDN line. I want to put two network cards in
the one machine and have packets return on the interface they come in on.
At the moment they return via the default route.

I have not tried to get it working but my life would be a lot closer to
complete if I could. One year I will use the floppy router project to
create such a firewall/router.

Please post how you go.

Rodos

-- 
[EMAIL PROTECTED] | I believe everyody in the world should have guns.
Camion Technology | Citizens should have bazookas and rocket launchers
+61 2 9873 5105   | too. I believe that all citizens should have their
  | weapons of choice. However, I also believe that only I
  | should have the ammunition. Because frankly, I
  | wouldn't trust the rest of the goobers with anything
  | more dangerous than string.  [Scott Adams]



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



[SLUG] **URGENT** Require a 73GB Seagate (Yes, I know its OT.. but!!)

2000-12-05 Thread Alan Lee



Hey this is off topic..
 
.. but, i require a 73GB Seagate SCSI drive... like 
URGENT heh
 
If anyone knows a supplyer who HAS it in 
stock, and is GOING to sell, please let me know like in 10 sec 
time!
 
One of our bigest clients has a problem, ie, one of 
there drives have failed in there servers, and we need to get em a 
replacement.
 
If someone could email me, or ring me, my number is 
(02) 92990022 (Sydney), or [EMAIL PROTECTED]
 
If you help us out.. im sure we can you products at 
great prices? Deal? heh
 
Hope to get a reply...!


Re: [SLUG] IBM and Linux

2000-12-05 Thread Terry Collins

Alister Waller wrote:
> 
> FYI,
> 
> I heard a rumour that IBM will be shipping Linux on their RISC 6000 Boxes
> next year. Well in the UK at least.

It is not a rumour. I thought it had already been posted to this list.

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services 

 "People without trees are like fish without clean water"


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



[SLUG] IBM and Linux

2000-12-05 Thread Alister Waller

FYI,

I heard a rumour that IBM will be shipping Linux on their RISC 6000 Boxes
next year. Well in the UK at least.


thanks

Alister



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



[SLUG] networking interface questions

2000-12-05 Thread wal

Hi,

I got a small problem of which im not sure how to go about it.
Say we have 2 links to different providers coming in to a machine.

The current situation is that mail comes in  and gets sent
through link1 (using sendmail)

I would like for mail to come in though link1 and get delivered
through link2 (that way, incoming traffic through link2 is minimized).


(note that i seem to use the term link to mean interface - ethernet etc
below)



Can this be done with the default route pointing at link2? 
Wouldnt there be a problem with this since if mx record points through
link1, then when trying to commununiicate with a client through link2
the machine would source the packets to appear to come from link2 and hence
the client would not recognise the packets.

Is there a way to tell linux to source outgoing packets with the
address of the link that it came in from? 


I believe the problem can be solved by having another sendmail machine
but i dont want to do this unless theres no other way.

Can ipchains help?

Or a NAT device?

Any help or suggestions on this matter?


In the end, the objective is to minimize incoming traffic going through link2

Regardss../
Wal


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



[SLUG] RPM Fun - Solved.

2000-12-05 Thread Stephen Mills

Hi Guys,

Thanks a bunch for your suggestions, upgrading to RPM 3.0.6 solved my
problem. I would of never considered this process.

Hehe sendmail is complaining about compiling with missing header
files, and as Dave correctly pointed out the compiled RPM version
complains about glibc. No matter I'll figure it out.

I found it quite frustrating in Redhat's approach in upgrading RPM, as
another person pointed out, probably to prompt more sales.

Thanks again,
Stephen


__
Get your free Australian email account at http://www.start.com.au



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



Re: [SLUG] RPM Fun

2000-12-05 Thread Martin

On Tue, 5 Dec 2000, Thom May wrote:

> At this point I have two comments.
> The fix -iirc- is to install rpm v3.0.5 or later  which is compatable with
> rpm's v4.
> rpm -Uvh rpm-{version}.rpm
> 
> The other is that making a totally incompatible major change to
> something like RPM is a,IMO, Micro$oftian thing to do. Ho hum.
> -Thom

Agreed, in fact it seemed quite deliberate and sinister, and in line
with the general RedHat approach, which seems to aim to sell people the
new versions when they upgrade. This was, more than anything else, what
prompted me to switch to Debian. The upgrading is easier, more rational,
and this kind of rubbish just doesn't seem to happen.

cheers,

-- 
Martin
[EMAIL PROTECTED]



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



[SLUG] linux os

2000-12-05 Thread divyang



i am determined to convert my all systems on linux. 
cud yu please giude me thru?


Re: [SLUG] RPM Fun

2000-12-05 Thread Heracles

Stephen Mills wrote:
> 
> Hi,
> If anyone has any idea, feel free to give me a yell.

> [root@davros nighty]# rpm -U rpm-4.0-4.i386.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> error: rpm-4.0-4.i386.rpm cannot be installed

There is a .tar.gz copy of the rpm source around. Try that.


I'd love to meet the moron who did this!
I got caught in the same trap AND rpm-3.0.5 gave the same error. I
gave up and decided to wait for it to turn up on the SuSE site in
their upgrades for 6.4 section - I did not think any Linux people
could be such morons as to wrap a new version of the rpm software
with itself - it should have been wrapped with 3.0.3 so it could
easily be upgraded. Really gives DOS and Mac people a good laugh
at our expense.


Stay well and happy
Heracles


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



Re: [SLUG] RPM Fun

2000-12-05 Thread James Morris

On Tue, 5 Dec 2000, Stephen Mills wrote:

> Hi, 
> If anyone has any idea, feel free to give me a yell.
> 
> Redhat 6.1, sendmail has been cleanly removed, want to install new
> version. I did a search on the web, with no cluesyes the rpm's
> were downloaded in bin mode.
> 
> [root@davros nighty]# rpm --rebuild sendmail-8.11.0-8.src.rpm
> Installing sendmail-8.11.0-8.src.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> 

You need to grab rpm 3.0.6 from ftp.rpm.org.

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




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



RE: [SLUG] RPM Fun

2000-12-05 Thread Dave Kempe

> The other is that making a totally incompatible major change to
> something like RPM is a,IMO, Micro$oftian thing to do. Ho hum.
> -Thom

Frustrates me too, esp when you try to do things like upgrade sendmail :/
However, I do understand the need to move on in terms of features glibc
binaries etc...



dave



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



Re: [SLUG] RPM Fun

2000-12-05 Thread Thom May

On Tue, Dec 05, 2000 at 10:20:00 +1000, Stephen Mills said:
> Hi, 
> If anyone has any idea, feel free to give me a yell.
> 
> Redhat 6.1, sendmail has been cleanly removed, want to install new
> version. I did a search on the web, with no cluesyes the rpm's
> were downloaded in bin mode.
> 
> [root@davros nighty]# rpm --rebuild sendmail-8.11.0-8.src.rpm
> Installing sendmail-8.11.0-8.src.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> 
> [root@davros nighty]# file sendmail-8.11.0-8.src.rpm
> sendmail-8.11.0-8.src.rpm: RPM v4 src i386 sendmail-8.11.0-8
> 
> [root@davros nighty]# rpm --version
> RPM version 3.0.3
> 
> [root@davros nighty]# rpm -U rpm-4.0-4.i386.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> error: rpm-4.0-4.i386.rpm cannot be installed
At this point I have two comments.
The fix -iirc- is to install rpm v3.0.5 or later  which is compatable with
rpm's v4.
rpm -Uvh rpm-{version}.rpm

The other is that making a totally incompatible major change to
something like RPM is a,IMO, Micro$oftian thing to do. Ho hum.
-Thom
> 
> --Stephen


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



RE: [SLUG] RPM Fun

2000-12-05 Thread Dave Kempe

The RPMS you got are probably for Redhat 7
You need to make sure they are going to work with redhat 6.
The redhat updates section in mirror.aarnet.edu.au should make it clear
enough

dave

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Stephen Mills
> Sent: Tuesday, 5 December 2000 11:20 PM
> To: [EMAIL PROTECTED]
> Subject: [SLUG] RPM Fun
>
>
> Hi,
> If anyone has any idea, feel free to give me a yell.
>
> Redhat 6.1, sendmail has been cleanly removed, want to install new
> version. I did a search on the web, with no cluesyes the rpm's
> were downloaded in bin mode.
>
> [root@davros nighty]# rpm --rebuild sendmail-8.11.0-8.src.rpm
> Installing sendmail-8.11.0-8.src.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
>
> [root@davros nighty]# file sendmail-8.11.0-8.src.rpm
> sendmail-8.11.0-8.src.rpm: RPM v4 src i386 sendmail-8.11.0-8
>
> [root@davros nighty]# rpm --version
> RPM version 3.0.3
>
> [root@davros nighty]# rpm -U rpm-4.0-4.i386.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> error: rpm-4.0-4.i386.rpm cannot be installed
>
> --Stephen
>
>
>
> __
> Get your free Australian email account at http://www.start.com.au
>
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
>



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



[SLUG] RPM Fun

2000-12-05 Thread Stephen Mills

Hi, 
If anyone has any idea, feel free to give me a yell.

Redhat 6.1, sendmail has been cleanly removed, want to install new
version. I did a search on the web, with no cluesyes the rpm's
were downloaded in bin mode.

[root@davros nighty]# rpm --rebuild sendmail-8.11.0-8.src.rpm
Installing sendmail-8.11.0-8.src.rpm
only packages with major numbers <= 3 are supported by this version of
RPM

[root@davros nighty]# file sendmail-8.11.0-8.src.rpm
sendmail-8.11.0-8.src.rpm: RPM v4 src i386 sendmail-8.11.0-8

[root@davros nighty]# rpm --version
RPM version 3.0.3

[root@davros nighty]# rpm -U rpm-4.0-4.i386.rpm
only packages with major numbers <= 3 are supported by this version of
RPM
error: rpm-4.0-4.i386.rpm cannot be installed

--Stephen



__
Get your free Australian email account at http://www.start.com.au



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



[SLUG] colour printing canon, linux

2000-12-05 Thread Dave Kempe

Hey sluggers,
I am using CUPS to print, cos i figured if anything was going to work it was
CUPS :)
Redhat 6.2 system with the cups-canon drivers from sourceforge installed.
Does anyone know how to get a Canon BJC-7100 to work with CUPS or even
linux?

Thanks,

Dave

__
solutionsFirst.net Consulting
http://solutionsfirst.net
Ph: (02) 9413 9604
Fax: (02) 9413 9719
Mob: 0413 022 143



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



Re: [SLUG] Scanjet 5p

2000-12-05 Thread Jon Biddell

On Tue, 05 Dec 2000, Matthew Davidson wrote:
> Hello,
> 
> Has anybody had any happy experiences with the HP Scanjet 5p?  I'm ashamed to
> admit I've been lazy, and had mine set up to run from a legacy OS on a
> dual-boot machine.  Unfortunately, the drive I was running this OS from died
> in a distressingly noisy manner (probably because 99.9% of the time I was
> booting to GNU/Linux on another physical drive, and the drive wasn't
> accustomed to reading much further than the MBR), and I'm now paying the
> price for initially deciding to take the convenient way out.
> 
> The scanner runs off the Symbios 53c416 SCSI card.  If the scanner is turned
> off, isapnp recognises this card and I can load the sym53c416 module, and
> everything is suffused with the warm glow of peace, love, and understanding. 
> However, if the scanner is turned on, it appears to generate some bad vibes,
> and everything starts getting really heavy with messages like "IO range check
> attempted while device activated" (isapnp), and "unrecoverable SCSI bus or
> device hang" (insmod sym53c416), and the whole scene becomes a real bummer,
> man.
> 
> Now I understand that this could be a PNP Bios issue.  I have an oldish Award
> Bios with PNP support that doesn't seem to be able to be turned off
> completely.  You can however manually assign each IRQ to either "PNP/PCI" or
> "Legacy ISA".  Assigning all IRQs to "Legacy ISA" makes no difference as far
> as I can see, except crippling my PCI Ethernet card.
>

I'm using the HP5P, on the same scsi card, with a 2gb JAZ drive in
line, and it seems to work fine.

SANE even worked first time too !!

 -- 
Regards,

Jon

--
"It is irresponsible to connect a Windows machine to the Internet"
John Wiltshire - SLUG



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