Re: [SLUG] contrib sources???

2002-02-09 Thread Myles Byrne

Dude, its been gone for ages (halfway through last year) and it ain't
comin back by emailing slug. Mabe you should try emailing plannet
mirror.

I'm using sunsite.mff.cuni.cz/OS/Linux/Dist/Mandrake/ and I get the full
5k through my modem

-- 

  ::  Myles Byrne | [EMAIL PROTECTED]  :.

  --

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



[SLUG] Cant find pstoppm.ps in Ghostscript package.

2002-02-09 Thread Michael Lake

Hi all,

I have a Perl script (textogif) which I downloaded which coverts latex equations to 
gifs by using gs to render ps files. It's failing with:
Error: /undefinedfilename in (pstoppm.ps)
cause I don't have that file on my system.  

The docs that came with the program say that 
"pstoppm.ps  (version supplied with Ghostscript 2.6.1)"
but dpkg -L gs | grep pstoppm says "nope" :-)
and a find does not find it either.

So it looks like the Ghostscript that comes with Debian does not include that file.
Jills SUSE system also does not have the file. Perhaps it not in later versions of gs?
Anyone know what package I need for that file? 

The part of the Perl script that calls it is:
open(P, "| gs -q -sDEVICE=ppmraw pstoppm.ps") ||
 die("Can't open pipe to Ghostscript\n");
printf(P "%d %d ppmsetdensity\n", int($dpi / $res), int($dpi / $res));
print(P "(_temp_$$) ppm1run\n");
print(P "quit\n");
close(P);
die("Ghostscript/pstoppm.ps error processing _temp_$$.ps\n") if $?;

and its failing at the line that opens the pipe to gs as it can't find pstoppm.ps.

Mike
-- 

Michael Lake
Active caver, Linux enthusiast and interested in anything technical.
Safety Convenor, Australian Speleological Federation
Owner, Speleonics (Australia)

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



[SLUG] contrib sources???

2002-02-09 Thread Paul

To all the mandrake users out there.
I do not know where the hdlist for the following repository is.
could some one please enlighten me.

http://www.planetmirror.com/pub/Linux/mandrake/current/contrib/

Thanks in advance
Paul

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



Re: [SLUG] Samba - Using eth0:0 alias

2002-02-09 Thread David Kempe

> The purpose is because I have 2 servers, a Live and a development. The
> live died (was dying) so I aliased the IP address onto the devel server.
>
> Everything works exactly as expected, except clients using UNC cannot
> connect. They connect only by using the IP address

For the clients to connect only via IP - well thats the broken bit - names
are there for exactly this problem.

Anyway - what does netstat -an tell you?
are their open ports 137 and 139 on both interfaces?

have you given samba a listen on directive?

dave

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



[SLUG] Internet cafe setup

2002-02-09 Thread Nicholas Reese








Hi all,

 

I am setting up a small internet café using Smoothwall as the firewall and Redhat
for most of the other machines. I am intending to set up Linux as the
workstation machines with some Win machines if we can scratch together some licences (my fantasy is zero Win but the world isn’t
perfect YET).

 

What I want to be able to do is easily control and monitor
network usage i.e. someone wants to use a workstation, they are allocated one,
the network is enabled for that machine, then the useage
of that machine is logged for charging. When they have finished using the
machine the network access is removed for that machine.

 

Has anyone set something like this up? What have they found
to be the best tools? What would be the easiest and simplest approach? 

 

Any suggestions would be greatly appreciated.

 

Regards,

 

Nick Reese

 








Re: [SLUG] Samba - Using eth0:0 alias

2002-02-09 Thread David Kempe

> Is anyone familiar with this type of behaviour ?

Not really but are you sure the server alias directive can't help you out?
Then your samba server - say its called sally - can also be called jill and
bill too :)
I think the specific directive is "netbios alias"

check out the man pages for more details.

As for your actual problem, I'm not sure :)

dave

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



Fixed [was] Re: [SLUG] "/dev/cdrom is not a valid block device"

2002-02-09 Thread Howard Lowndes

Yea, it worked.

On Sun, 10 Feb 2002, Howard Lowndes wrote:

> I may have just found the answer:
>
> depmod -ae
>
> I'll away & try it.  I may be back (8-)
>
> On Sun, 10 Feb 2002, Howard Lowndes wrote:
>
> > ...that is the error message I get when I try to mount the CD on a box I
> > am setting up, a Compaq Presario 2417, in which I have replaced the HDD
> > (/dev/hda).
> >
> > The distro is RH7.2 and it installed OK from /dev/hdb.
> > /dev/cdrom is symlinked to /dev/hdb OK.
> > If I try to "mount /dev/hdb /mnt/cdrom" then I get a similar error.
> > If I try to "dd if=/dev/hdb" again the same error.
> > /var/log/dmesg shows the device as being detected at boot.
> > /etc/sysconfig/hwconf shows that kudzu found the device.
> >
> > I'm out of clues, anyone got any to spare?
> >
> >
>
>

-- 
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] "/dev/cdrom is not a valid block device"

2002-02-09 Thread Howard Lowndes

I may have just found the answer:

depmod -ae

I'll away & try it.  I may be back (8-)

On Sun, 10 Feb 2002, Howard Lowndes wrote:

> ...that is the error message I get when I try to mount the CD on a box I
> am setting up, a Compaq Presario 2417, in which I have replaced the HDD
> (/dev/hda).
>
> The distro is RH7.2 and it installed OK from /dev/hdb.
> /dev/cdrom is symlinked to /dev/hdb OK.
> If I try to "mount /dev/hdb /mnt/cdrom" then I get a similar error.
> If I try to "dd if=/dev/hdb" again the same error.
> /var/log/dmesg shows the device as being detected at boot.
> /etc/sysconfig/hwconf shows that kudzu found the device.
>
> I'm out of clues, anyone got any to spare?
>
>

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
 "We are either doing something, or we are not.
 'Talking about' is a subset of 'not'."

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



[SLUG] Samba - Using eth0:0 alias

2002-02-09 Thread Peter Worboys

Good morning

I have a server with a single ethernet card, but aliased to two IP
addresses.

eth0 = 172.30.65.25
eth0:0 172.30.65.24

Samba mounts work as expected to eth0, but not to eth0:0  ie:

\\172.30.65.25\users  works

\\172.30.65.24\users fails.

If I reverse the aliases so eth0 becomes 172.30.65.24 then it works but
172.30.65.25 on eth0:0 fails.

Is anyone familiar with this type of behaviour ?

Peter Worboys
Jupiters Limited



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



[SLUG] "/dev/cdrom is not a valid block device"

2002-02-09 Thread Howard Lowndes

...that is the error message I get when I try to mount the CD on a box I
am setting up, a Compaq Presario 2417, in which I have replaced the HDD
(/dev/hda).

The distro is RH7.2 and it installed OK from /dev/hdb.
/dev/cdrom is symlinked to /dev/hdb OK.
If I try to "mount /dev/hdb /mnt/cdrom" then I get a similar error.
If I try to "dd if=/dev/hdb" again the same error.
/var/log/dmesg shows the device as being detected at boot.
/etc/sysconfig/hwconf shows that kudzu found the device.

I'm out of clues, anyone got any to spare?

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
 "We are either doing something, or we are not.
 'Talking about' is a subset of 'not'."

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



[SLUG] cups colour and a vimrc trick

2002-02-09 Thread Ken Foskey

First the trick,  Jeff might like this for his .vimrc.  I have been
reading manuals again.

set printexpr=PrintFile(v:fname_in)
function PrintFile(fname)
  call system("qtcups " . a:fname)
  call delete(a:fname)
  return v:shell_error
endfunc

Calls cups client for printing,  allows printer setup.

My problem is that the HP dj 670C colour cartridge is stuffed (I am
guessing) and I cannot get any colour out.  I cannot switch the printout
to grayscale and make it stick.


Any hints.
KenF

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



Re: [SLUG] dos boot disk

2002-02-09 Thread Ken Caldwell



> 
> is it possible to create a bootable msdos disk from a standard RH or Suse
> distro? Everyone assumes that you have a DOS disk to hand, or a windows
> box to create one on.
> 
It is possible to download "freedos" and create all the floppys
including a boot floppy using your linux system and I have done it.

There was a bug in the freedos kernel a month or so back but they have
probably fixed their distro by now. I haven't checked. At that time you
had to get a later kernel to use with their "distribution".  If I
remember and have time I will have a look tomorrow.  If you wish I could
email you an image of a boot disk and you could dd it to a floppy.

regards,

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



[SLUG] Can't get PHP4 to run on Debian

2002-02-09 Thread Mike Lake

Hi all,

I have installed php4 on my debian box but the php script does not work
as I seem to have a problem with apache not loading the php module.
When I have the LoadModule line uncommented "apachectl start" does not
start the httpd daemon. I have to comment out the LoadModule line for
the php4 for apache to start and of course then php won't work.

How can I find out what the problem is in the loading of the module? 
The apache error.log file gets no entry in it as apache won't run with
the module trying to load even with LogLevel set to debug. 
A test of the httpd syntax with 'apachectl configtest' shows OK with the
module line in it so the syntax is ok.
Maybe its another previously loaded module making problems.

The 'test.php' test file is just:




Tests


Tests
Test PHP Info.




My httpd.conf file contains:

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

I know that the order of these modules can be tricky. Its last in the
list and was put there by apt-get install php4 followed by apacheconfig.
 
Also in httpd.conf is the line...

AddType application/x-httpd-php .php

The module is there OK.

/usr/lib/apache/1.3# ls -l libphp*
-rw-r--r--1 root root  1363200 Dec 28 04:45 libphp4.so

Any ideas ?
Mike
-- 

Michael Lake
Active caver, Linux enthusiast and interested in anything technical.

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



[SLUG] dos boot disk

2002-02-09 Thread David



is it possible to create a bootable msdos disk from a standard RH or Suse
distro? Everyone assumes that you have a DOS disk to hand, or a windows
box to create one on.


David.

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