RE: [SLUG] video security systems

2010-03-01 Thread Mike Lake
Hi 

On Mon, March 1, 2010 11:42 am, david wrote:
> Does anyone know of a company that does Linux based video security
> systems?
> I'm talking about the installation of camera and network hardware that
> will talk to Linux software - not just the software itself.

Do you mean Linux in an IP camera or the in the DVR connected to an analog 
camera?
 
Anyhow have a look here:
http://www.skyview.com.tw/home.html
This mob makes Linux based 4-16 Ch DVR Cards
They sell in Aust at: http://www.ozspy.com.au/cart/products.asp?ID=392

I am also looking at a video system for farm monitoring. My system needs 
wireless.
 I have not yet decided to go for either:
- analog video -> wireless Tx > wireless Rx -> DVR -> Linux box -> modem or 
- IP camera -> WAP ~> WAP -> Linux box -> modem

Someone mentioned Mobotix. They look great but I got a price on a M24 last week.
They are about $2000 in Aust and then add the lens of your  choosing for $165.
Non IP camera are 100's of dollars and not 1000's.
 
Mike

UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain 
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the 
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
-- 
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] OT: moving from Access to ...?

2008-11-07 Thread Mike Lake
Hi all

Sebastian asked...

> For a bigger project at work I set up a access database a while ago -
> it does the job but I would like to get away from access.
> The database is basically a large list of past job/FEAdesigns for
> later reference. At some stage I wanted to import/export from and to
> out FEA software (a text file).
...
> I would prefer to have the reporting and data entry done in a web 
> based format.
> 
> Are there any simple good options?

Steven suggested Django which is a web application development framework which 
uses Python.
I would second that - try it out.  I am using it at my work and it was my first 
application using Python 
so I had to learn Python at the same time.  I really liked the system very well 
as I could do quite a lot 
using the online Django tutorials. 

Most importantly is that the framework is very active, lots of developers, a 
good mailing list/newsgroup and lots of contributed code. And very easy to 
install and use on Linux!

http://www.djangoproject.com/
http://groups.google.com/group/django-users/
http://www.djangosnippets.org/

Mike
 



Michael Lake
9514 2238 (w)


-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Convert Document with ascii Text to Html

2008-05-07 Thread Mike Lake
Hi 

> How to convert Document of text and Ascii value to convert in to html 
> , is any command is available in linux , 
> i tryied few command in linux as follow , 
> texi2html- a Texinfo to HTML converter , but this is not 
> converting a ascii to html conversion ,
> Document which has html tags explanation and special character also,
> Is any command or tool will convert to html , 

I think you are getting confused here. The above commands docbook2html etc take
ASCII text which is already marked up with formatting and convert it to HTML.
Your document if it is already marked up with some formatting comands might be
able to be converted automatically to HTML but it depends on what the 
formatting is 
in the document. 

Post here a few paragraphs only, note just a few, of your ASCII or text 
document 
so we can see what it looks like and advise you.

Mike

 

-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] python-uno & open office depends problem

2007-12-08 Thread Mike Lake
Hi all

I have this problem which is stopping me from installing anything new.
System is Debian stable on a Dell.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  python-uno: Depends: openoffice.org-core (= 2.0.4.dfsg.2-7etch2) but 
2.0.4.dfsg.2-7etch4 is installed
E: Unmet dependencies. Try using -f.

So I tried the force option:

$ sudo apt-get -f upgrade
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be upgraded:
  python-uno
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
5 not fully installed or removed.
Need to get 0B/358kB of archives.
After unpacking 131kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 133572 files and directories currently installed.)
Preparing to replace python-uno 2.0.4.dfsg.2-7etch2 (using 
.../python-uno_2.0.4.dfsg.2-7etch4_i386.deb) ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
main()
  File "/usr/bin/pycentral", line 1367, in main
rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, in remove
default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
main()
  File "/usr/bin/pycentral", line 1367, in main
rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, in remove
default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing 
/var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
INFO: using old version '/usr/bin/python2.3'
Errors were encountered while processing:
 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ 

I can't remove python-uno as openoffice-writer depends on it.
I notice that it's trying to use python2.3 when I have python2.3, 2.4 and 2.5 
installed.
In /etc/alternatives/ I have python -> /usr/bin/python2.4

I'm a bit lost on how to proceed.

Michael Lake

-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
-- 
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] Latex question: chapter style

2007-10-09 Thread Mike Lake
Hi

> The chapter style is quite simple but I can't find the way to modify
> any of the available packages to reproduce it.

Are you using the Book class or the Article class in the begindocument? 

One can define your own command for this
\newcommand{\mychap}[1]{%
Chapter \thechapter
\vspace{-2mm}
\begin{center}
\LARGE\textsc{\textbf{#1}}
\end{center}
\vspace{2mm}
}

and use it like \mychap{Getting Started}

or you can redefine the \chapter command.
It's tricky. This is what I did ages ago. Have not tested it again.

\makeatletter
%Goosens p 28,29
\renewcommand{\chapter}{\newpage\secdef\cmda\cmdb}
\newcommand{\cmda}[2][default]{%
   \begin{center}%
   \sffamily\Large\bfseries #2%% Arg 2 -> Main Title
   \end{center}%
   \addcontentsline{toc}{section}{#1}% % Arg 1 -> TOC
}
-- 
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] Checking my understanding of using DynDNS.org services.

2007-02-13 Thread Mike Lake
Hi all

On Mon 12 Feb 2007, Alex Samad wrote:
> I have had bigpond for about 4 years, I use their smtp server as an outbound,
> to stop my mail being blocked because it came from a dial up (I'm on cable). I
> haven't had a problem.  I have my own domain setup.  Haven't had a problem 
> with
> tpg or exetel either.
> 
> I think most isp allow relaying through there smtp (outbound from your laptop
> to the internet) from all of their ip addresses

I had been told that Bigpond would block smtp and searching on Google
for smtp and Bigpond shows many frustrated users who have been blocked
but I had better have a try and see what gives. 

I have reconfigured exim4 and guessed a few things as I don't know much
about mail but Bigpond's website gives its mail site name as
mail.bigpond.com so I set exim to use it and I think it has worked. This
email is sent from mutt while at home using Bigpond.

This email should appear to come from [EMAIL PROTECTED]

Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Mike Lake
Hi all


I have a virtual server under my control which runs a perl web
application and now a Java Tomcat app which uses mail a fair bit. I'm loking
for something which will tell me how much memory the perl app is taking
versus the Tomcat app over a period of say 1 hour or so. 

Googling for 'memory profiler web applications' and things brings up
things that you use to find memory leaks in apps which I dont want.
Naturally top just gives me instantaneous values which don't mean much
when a web app is only getting a few hits a minute or even less.
Thats why I want to get an average over a few hours or so.

Also I don't have Gnome or any gui thing on this server so it has to be
command line or a perl or bash or other program that can be run from
command line. Output to file would be perfect.

Does anyone have suggestions? What do people here use for getting stats
on programs like this?

Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] Installing a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-20 Thread Mike Lake
Hi all

This is a followup to inform thsoe thast helped me with suggestions on
what I tried and eventually did.

On Fri May 05, Michael Lake wrote:
> In an earlier post I was having probs with getting subversion to work on a 
> server as there wasn't enough entropy. I can't use the rng-tools as it's a 
> virtual server and it does not have access to that hardware (it hangs 
> actually if I try). Hence I have compiled subversion now and I have to 
> install it. I'm testing it first though on my laptop which already has 
> cvs2snv, websnv, trac which depend on subversion.

Although I had downloaded the subversion source and recompiled apr to
use /dev/urandom that wouldn't then be part of the package management and 
would need to be updated manually every now and again. 
Thus I wanted an easier solution.

Ian Wienand suggested:
> If you have root, why not symlink /dev/random to /dev/urandom and
> avoid the need for entropy.  I'm sure the security implications are
> minimal.

When I wondered how can I go back again and create the character device?
Ian suggesed I read up on man mknod which I did.

I decided to try and make /dev/random the same as /dev/urandom first.

$ ls -l /dev/random  
crw-rw-rw-  1 root root 1, 8 Jun 20  2002 /dev/random

$ ls -l /dev/urandom 
cr--r--r--  1 root root 1, 9 Jun 20  2002 /dev/urandom

Create a new /dev/random

# mv random random.old
# mknod random c 1 9  
# Operation not permitted

So I could not create a new device on the virtual server.

I ended up just doing the symlink and I had the old random saved as
random.bak anyhow.

/dev# ln -s urandom random
/dev# ls -l random 
lrwxrwxrwx  1 root root 7 May 16 17:32 random -> urandom
#

# svnadmin create /var/lib/test

Thus now svnadmin runs fine and does not hang.


Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-05 Thread Mike Lake
On Fri May 05, Ian Wienand wrote:
> On Fri, May 05, 2006 at 05:01:11PM +1000, Michael Lake wrote:
> > The make install for the compiled subversion I think will go into 
> > /usr/local/
> > But I need to "remove" the subversion that was put on via apt-get which is 
> > in /usr/bin/ and /usr/lib etc otherwise there will be clashes and things 
> > will get confusing.
> 
> /usr/local/bin should be in your path before /usr/bin, so your locally
> installed version will be called when you just call 'svn'.  I'd just
> leave the old package there.
> 
> If you have root, why not symlink /dev/random to /dev/urandom and
> avoid the need for entropy.  I'm sure the security implications are
> minimal.

This is what I have found

\beginquote
The /dev/random device is suitable for use when very high quality
randomness is desired (e.g. for key generation), as it will only return
a maximum of the number of bits of randomness (as estimated by the
random number generator) contained in the entropy pool.

The /dev/urandom device does not have this limit, and will return as
many bytes as are requested.  As more and more random bytes are
requested without giving time for the entropy pool to recharge, this
will result in lower quality random numbers.  For many applications,
however, this is acceptable.

.. snipped 
Under Linux, where /dev/random blocks, you can wait a long time on an
unattended server for a read to return, since the default is to use the
keyboard and mouse to stir the entropy pool, and these may not even be
present. 
\endquote

and another quote is "The only difference between /dev/urandom and
/dev/random is that /dev/random will block if the estimate of the amount
of entropy in the pool is insufficient for the amount of random numbers
being requested. /dev/urandom will not block. "

My machine has this:

~$ ls -l /dev/uran*
cr--r--r--  1 root root 1, 9 Jun 20  2002 /dev/urandom

~$ ls -l /dev/ran*
crw-rw-rw-  1 root root 1, 8 Jun 20  2002 /dev/random

Why is one writable by all and the other not ?
If I do as root 'ln -s /dev/random /dev/urandom' what might it screw up?
How can I go back again and create the character device?

It would certainly be easier then as the normal subversion package would
probably work.

Mike
-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-05 Thread Mike Lake
On Fri May 05, Michael Chesterton wrote:
> Michael Lake <[EMAIL PROTECTED]> writes:
> 
> > 'apt-get remove subversion' would also remove cvs2snv, trac, websvn. I
> > want them to stay. I found if I use "apt-get --ignore-deps=trac
> > --ignore-deps=cvs2snv --ignore-deps=websvn remove subversion"  it
> > would keep the other packages. But then how will those other packages
> > know that I have subversion?
> 
> I have a feeling that's not going to work very well. I think the next
> time apt-get install/update runs, it's going to complain and will want
> you to reinstall subversion.
> 
> > Can I somehow put on some dummy subversion package that fulfils the
> > role that the subverion package did in satifying dependencies of the
> > things that reply on subversion? What do Deb heads do in this
> > situation.
> 
> use equivs to play games with package dependencies, never used it
> before so I can't help with using it.
Okies, Monday I'll look at Debian docs about "equivs". This weekend its
Cliefden caves for some caving.

> > What I'll prob use is the tigres source compiled one rather than the Debian 
> > package.
> 
> can you apt-get source subversion, edit debian/rules to change the ./configure
> line to suit, dpkg-buildpackage -rfakeroot -b -us -uc, install the newly
> created package, then echo subversion hold | dpkg --set-selections?

Thats what I originally tried. I got the source down but the compile
terminated as the debian src package wanted libapr0 version 9.something.5 to
9.something.9 but I have 9.something.13. So it would not compile.
Hence I tried the tigris source which was also more recent.

Mike
-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] Question on ownerships and permissions of subversion respositories

2006-04-29 Thread Mike Lake
On Sat Apr 29, Michael Lake wrote:
> Hi all
> 
> I have a question on ownerships and permissions of subversion respositories.

> /var/lib# chown -R root:src svnrepos/

Actually I'm also planning to have the repository browsable by Trac (an
SCM system) so I'll probably need it also readable by www-data. What
does one do there if one wants users to be able to have file:// access
locally and apache to have read access?

Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] apt-get update and pgp keys

2006-04-15 Thread Mike Lake
On Thu Apr 13, Ian Wienand wrote:
> On Thu, Apr 13, 2006 at 11:10:10PM +1000, Steve Kowalik wrote:
> > I doubt the key in question is on the keyservers. It's located at
> > http://ftp-master.debian.org/ziyi_key_2006.asc
> 
> Or just install the debian-archive-keyring package

Thanks Ian, I had installed the debian-keyring package whereas what I
needed was the debian-archive-keyring package. I think the problem is
now fixed.

Mike
-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] bash question - how to tell if apache has stopped?

2006-01-12 Thread Mike Lake
Hi all

Thanks Oscar. I didnt know about the pidof command. With your example 
of using the return value I now have my script working.

I tested it out by killing apache with -9 and leaving a PID file around.
The test for the PID file like [ -f $APACHEPID ] would indicate that
apache was still running. Using pidof gives a list of pids if its
running and nothing if its not. It's exit status is 
"0 At least one program was found with the requested name.
 1 No program was found with the requested name."
Hence its perfect for my script.

Thanks for the other suggestions too.

On Tue Jan 10, O Plameras wrote:
> Use 'pidof' (PID of command).
> 
> A small script to demonstrate how to check if /usr/sbin/apache-perl is 
> running.
> 
> #!/bin/sh
> RET=0
> pidof /usr/sbin/apache-perl >/dev/null 2>/dev/null
> RET=$?
> [ $RET -eq 0 ] && echo Running && exit 0
> echo Not Running
> exit 1
> 
> To distinguished among processes (same name) save output
> from 'pidof'  command (instead of dropping off to /dev/null) and
> process. This is going to be a bit involved.
> 
> A simpler way is to copy apache-perl into different directories
> and use,
> 
> pidof /dir1/apache-perl
> pidof /dir2/apache-perl
> etc.
> by using the method in the script above.

-- 


-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] A beginner's server???

2005-07-09 Thread Mike Lake
Hi John


On Sat Jul 09, John Gibbons wrote:
> Is there such a thing as a simple server setup to handle a simple static 
> website that a beginner can install and run from home??
> 
> John.
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

I presume you have Linux up and running. If so its likely that a web
server is already running on you machine. If so going to http://localhost/
in your browser should show you a HTML page. Whats show?


Mike
-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] How do I get nullmailer to start sending from its queue?

2005-07-09 Thread Mike Lake
Hi all

I have just got mutt & nullmailer working together so that my domain name, from 
address
etc works but the nullmailer does not send the messages in its queue
until I run nullmailer-send.

man nullmailer says...

" When  the  program  starts, the queue is scanned to build a list of
  messages to send.  The queue is rescanned when either the trigger is
  pulled,  or  after pausetime  seconds  have elapsed  after  the  last
  failed delivery.  When there are no messages in the queue, nullmailer
  does no rescanning until the trigger is pulled.  Pulling the  trigger
  consists  of opening  up the trigger named pipe and writing a single
  byte to it, which causes this program to be awakened (if it's not
  already processing the queue).  This procedure is done by
  nullmailer-queue to ensure that messages are delivered immediately. "

" pausetime
  The  number  of  seconds to pause between successive queue runs when
  there are messages in the queue (defaults to 60).  If this is set  to
  0,  nullmailer-send  will exit immediately after going through the
  queue once (one-shot mode)."


When I send with mutt the email appears in the queue
/var/spool/nullmailer/queue and sits there unless I run as root
nullmailer-send.

e.g.

casteret:/var/spool/nullmailer# nullmailer-send
Rescanning queue.
Starting delivery, 2 message(s) in queue.
Starting delivery: protocol: smtp host: mail.myisp.net.au file:
1120910264.32083
smtp: Succeeded: 250 2.0.0 j69C6ZGZ032101 Message accepted for delivery
Sent file.

It seems that I have nullmailer-send running as daemon: 

casteret:/etc/init.d# ps ax | grep null
 7855 pts/2  S  0:00 /usr/sbin/nullmailer-send -d
 7856 pts/2  S  0:00 /usr/lib/nullmailer/smtp -d -s mail.myisp.net.au

But I can wait and wait and it never sends. 

I would like it to send as soon as a message gets into the queue when Im
online.

Mike

-- 


-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
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] How to add /usr/local/lib/perl/5.6.1/ to the perl @INC array in Debian

2005-07-03 Thread Mike Lake
Michael Lake wrote:

> >I have a server with some CPAN modules in /usr/local/lib/perl/5.6.1/
> >perl is now 5.8 and is not finding the scripts in 5.6 An upgrade 
> >occurred weeks ago so I dont know why this has occurrred just today or 
> >maybe yesterday.
> >
> >I probably need to add /usr/local/lib/perl/5.6.1/ to the @INC array
> >
> >Does anyone know where this is set in Debian? I know that you can add 
> >directories to the INC array via the -I command line invoking perl
> >but what scripts starts perl in Debian to add this so that all scripts 
> >starting with /usr/bin/perl end up with the new @INC. I looked for env 
> >vars also but didnt find it it anywhere.

I have fixed my problem with a quick hack.
A web application that needs the perl modules had failed as it could not find: 
Template.pm 
This was in /usr/local/lib/perl/5.6.1/ and @INC looks for modules in 
/usr/local/lib/site_perl
I didnt have a directory usr/local/lib/site_perl so as @INC was already
looking there I made a symlink:

ln -s /usr/local/lib/perl/5.6.1/ /usr/local/lib/site_perl

Thus Template.pm was found. This does not mean that all other modules
will work. I think there will be other probs taht I have that I will
find soon enough.

I have two options:

1. Carefully one-by-one install the modules that are required into perl
5.8 via the normal process accepting the defaults. @INC looks for them in
5.8 directories before site_perl.
Eventually then remove the symlink.

2. Install the packages again but install download the newest from CPAN
and install them to usr/local/lib/site_perl so they are never missed
again when perl goes to 5.9 or 6.0

My question is where do folks store your CPAN moduless on machines so that they 
are not 
'orphaned' when perl gets to 5.9? 

Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Can't ssh to another machine as a normal user; su root; then use vi

2003-09-27 Thread Mike Lake
Hi all,

Now that Jill has 'upgraded' to Debian and it matches my Alpha's Debian
it seems our systems are a little more careful of security than her old
SUSE and I am having probs with logging in as root and editing with vi
over X.

I (mikel) am on machine martel and I ssh as user caves to machine tazieff.
I can use vim and xeyes etc as X forwarding is set to yes in
/etc/ssh/ssh_config
Often I need to edit a config file and su root but then I cant use vi as
I get:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

If I ssh to tazieff as myself i.e. mikel then su root then I can start
vi as the connection is forwarded fine.

If I ssh to tazieff as root (as I have enabled root login) I can use vi
but I prefer to just su root when required from being user caves.

I could login as mikel to tazieff and then su root but I ma not doing
anything as mikel so find that a bit silly.

Reading the man pages for ssh_config and sshd_config there do not seem
to be any obvious settings that I should change. I think it is something
to do with authentication rather than X forwarding.

Mike


-- 
You are only young once, but you can stay immature indefinitely.

Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian install fails - cant download libstdc++2.10-glibc2.2

2003-08-26 Thread Mike Lake
Hi all

Jill and I are installing a Debian 3.0r1 onto a machine at home as it
now has a new disk and its undergoing a new brain transplant from SUSE
to Debian. We are having one problem.

We are installing from CD1; The CD is burnt from an iso image and when I
mount it the directory looks fine. I dont think there is a prob with the
CD.

The new hard disk is partitioned fine, and all the
partitions are mounted and swap done - so far so good.  At the stage
where we install the base system it detects that the CD we are
installing from has installable packages and asks if we want to use
that. Yes. It then starts to validate packages and a
progress bar appears with the text "Validating
/target/var/lib/apt/lists/ etc" but then it ends with the error
message:
"Couldnt download libstdc++2.10-glibc2.2"

We went to another tty and can see that that file is on the CD in dir
/pool/main/g/gcc2.95/libstdc++2.10-glibc2.2_2.95.4-11woody1_i386.deb and
its size is so 142324 bytes. We can also use cp to copy it to /tmp so
its certainly readable.  

What we think is that maybe the installer is not sure where the file is.
We even tried copying the file into the /target/var/cache/apt/archives/
which is where it appears there are many libs that are used during the
base install. No luck.

Help needed.

-- 
Lord, what fools these mortals be! -- William Shakespeare, "A Midsummer-Night's Dream"

Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] what tool to mirror/sync data with ?

2003-08-19 Thread Mike Lake
On Tue Aug 19, Voytek Eymont wrote:
> what should I use to mirror user data to another Linux machine ?
> I need to initially copy the whole dir, and then, once in a while, check
> for updated docs, and, copy any updated or new files

This is a script that I use to transfer mail from one machine to
another.


#!/bin/sh
# This will rsync mail from Martel to Casteret - you must be on Casteret.

# Check if we are on casteret, if not exit.
if [ $HOSTNAME != casteret ]; then
   echo "You are on $HOSTNAME". 
   echo "You must be on casteret to run this script."
   exit 1
fi

echo "This will rsync mail from Martel to Casteret"
echo "Continue (y/Y) or press any other key to exit?"
# We have to check for a reply!
read REPLY
if [ -z $REPLY ]; then
   echo "You didn't enter anything; try again next time."
   exit 1
fi

# If user has NOT selected y/Y then exit.
if [ $REPLY != "y" ] && [ $REPLY != "Y" ]; then
exit 0
fi

# Otherwise we continue.
rsync -rlv --existing [EMAIL PROTECTED]:Mail/* /home/mikel/Mail/


and here is another script that copies mail over where I dont want to
over write existing mail.


#!/bin/sh

# Check if we are on martel, if not exit.
if [ $HOSTNAME != martel ]; then
   echo "You are on $HOSTNAME". 
   echo "You must be on martel to run this script."
   exit 1
fi

# This will check that all the mail files in the directory are of zero length
# i.e. they have already been read and saved away and we wont be writing over
# the top of previous mail.
# (try instead ls -s only )
if [ `ls -l | tr -s ' ' | cut -d ' ' -f5,9 | grep -v copy | cut -d ' ' -f1 | grep -v 
0` ]; then
echo 'There are non empty mail files! This program will exit.'
ls -l | tr -s ' ' | cut -d ' ' -f5,6,7,9
echo
exit
fi

echo "This will rsync existing mail files from:"
echo "Casteret/Mozilla/Triode Folder --> Martel/Mutt/Casteret Folder"
echo "Continue (y/Y) or press any other key to exit?"
# We have to check for a reply!
read REPLY
if [ -z $REPLY ]; then
   echo "You didn't enter anything; try again next time."
   exit 1
fi

# If user has NOT selected y/Y then exit.
if [ $REPLY != "y" ] && [ $REPLY != "Y" ]; then
exit 0
fi

# Otherwise we continue.

rsync -rlv --existing [EMAIL PROTECTED]:.mozilla/Mail/mail.triode.net.au/* 
/home/mikel/Mail/From_Casteret/
echo
echo "Finished"
echo
-

That should also show you how to use rsync :-)

-- 
Executive ability is prominent in your make-up.

Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] apt-get build-dep vim fails with '....broken packages were found'

2003-02-10 Thread Mike Lake
Hi all,

Using Debian stable.
I have downloaded vim sources via 'apt-get source vim' and wanted 
to get all the dependencies to build it so I used 'apt-get build-dep vim'
but I got this...

# apt-get build-dep vim
Reading Package Lists... Done
Building Dependency Tree... Done
E: Some broken packages were found while trying to process build-dependencies.
You might want to run `apt-get -f install' to correct these.

I presume that apt-get check will let me know of any broken packages.
I didnt think I had any anyways

martel:/etc/apt# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done

The apt-howto manual said that if I get broken packages that one can run the folloing 
two commands and try again. I did so but the apt-get build-dep still gives the same 
error.

# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.

# dpkg --configure -a
# 

so all seems fine.

Whats the problem that stops me getting a build-dep for vim ?

-- 
No violence, gentlemen -- no violence, I beg of you! Consider the furniture! -- 
Sherlock Holmes

Mike Lake
Caver, Linux enthusiast and interested in anything technical.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Debian box not accepting print jobs from a remote SGI box

2002-04-18 Thread Mike Lake

> Check /etc/lprng/lpd.perms

Ah thanks. I had created one in /etc

> As distributed in Debian it doesn't allow remote access.
> There are two lines you need to get rid of in that file to allow
> remote printing.
> Find the `REJECT NOT SERVER' line and comment it out, likewise the
> line
> REJECT SERVICE=R FORWARD
> 
> Then do 
>  sh /etc/init.d/lprng restart
> then try printing again.

Ace. It all works fine now.

> If you machine is not behaind a firewall, you'll need to configure
> lpd.perms a little more strictly than this.

Indeed.  will now read lpd.perms man page as I am at a Uni = directly
exposed to the big bad Internet :-)

PS. This came to me just me not slug as far as I can see. Do you want me
to pass this onto slug as well?

Thanks heaps Peter :-)


-- 
Hunt and kill the dangerous animal for my email. [EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



[SLUG] Recovering data from a Windows disk using Linux tools.

2002-04-18 Thread Mike Lake

On Fri, Apr 19, 2002 at 01:39:54PM +1000, Peter Hardy wrote:
> I've accidentally stomped all over my data on a few occasions - trashed
> my partition table, e2fsck'ed /dev/hda instead of /dev/hda2, and most
> recently destroyed a partition by rebooting half-way through a fsck.
> Not a pleasant way to learn a lesson, but they've all stayed learnt.  I
> now back up, for a start. :-)

Great we have some experts here :-)

I have a friend who has just formatted his IBM format Windows floppy
with important info on it. There are $ packages he could use but he is a
uni student. Under Linux I could mount the fd ro but is there another
FAT table on Windows floppies can I tell the mount command to use?
I am hoping that Linux utils might be able to get his files back, not
with all their correct names, but at least salvage them as AFAIK the
format command does not actually write all over the disk?

Mike
-- 
To email me, smash the sub atomic particle.[EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.



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



Re: [SLUG] Debian box not accepting print jobs from a remote SGI box

2002-04-18 Thread Mike Lake

On Sat, Apr 20, 2002 at 12:06:33AM +1000, Mike Lake wrote:
> > Mike> Hi All, Some time ago I upgraded my Deb box and since then
> > Mike> remote printing to it from an SGI does not work. I am running
> > Mike> testing on the Deb box.

I have created a /etc/lpd.perms and added a DEFAULT ACCEPT to it.
Then restarted lprgn daemon and tried printing again from the SGI box.
Still no luck :-( 

One thing that may be important is that when setting up the SGI box to
print to the Debian box the "Setting up Network Printer" takes a long
time and I suspect it times out. The printer is setup as an icon appears
for it and jobs get into the SGI queue. But that long delay suggests
that the Debian box is not talking back to it as it expects. 

-- 
If you want to find my email address then squash the bug :-) 
[EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] Debian box not accepting print jobs from a remote SGI box

2002-04-18 Thread Mike Lake

On Fri, Apr 19, 2002 at 01:57:53PM +1000, Peter Chubb wrote:
> >>>>> "Mike" == Mike Lake <[EMAIL PROTECTED]> writes:
> 
> Mike> Hi All, Some time ago I upgraded my Deb box and since then
> Mike> remote printing to it from an SGI does not work. I am running
> Mike> testing on the Deb box.
> 
> Which lpd are you running? lprng or lpd or cups ?  They each have
> different access control mechanisms.

Thanks crossfire for the comments. Yes I have lprng system.

> Can you print locally?
yes

> Is there anything in the logs?  (You'll need to check
> /var/log/messages /var/log/daemon.log /var/log/syslog and the output
> of lpq -v

There are no entries for the failures in the three log files.
lpq -v shows no new jobs in the queue appearing.

-- 
Remove the minerals for my email.[EMAIL PROTECTED]

-- 
Hunt and kill the dangerous animal for my email. [EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.



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



[SLUG] Debian box not accepting print jobs from a remote SGI box

2002-04-18 Thread Mike Lake

Hi All,

Some time ago I upgraded my Deb box and since then remote printing to it
from an SGI does not work. I am running testing on the Deb box.

The print jobs from the SGI appear in its local queue but it does not
apppear in the queue on the Deb box. There is no error message in the
lpd log files to say there is a problem but I get SGI box saying:
error code 1 in request hp-177 on printer hp.
Check /var/spool/lp/log on the printer host.

The printing HOWTO says that I have to have the machine that wants to
print listed in
either hosts.equiv or hosts.lpd There is no man page for hosts.lpd so I
am presuming that the printing system on Debian does not use this. I
have added the machine name to hosts.equiv to see if that works but no
luck. 

At the moment I am thinking that the Deb box is just denying the print
job. Is there some other file that I need to setup. The lpd man says
things about a lpd.perms file but I never did have one of those before.

Mike
-- 
My sister opened a computer store in Hawaii. She sells C shells down by the seashore.

Michael Lake, University of Technology, Sydney
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
   ***




UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Mike Lake

Terry wrote
! Undefined control sequence.
l.4 \documentclass
  [a4paper,12pt]{report}
  ? 

And it repeats for every latex command

What does it do if you try latex ie not pdflatex ?
What does it do if you use article class instead of report for latex or
pdflatex.
Is there anything in the file before \documentclass that might be
causing the error?


-- 
One way to make your old car run better is to look up the price of a new model.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
   ***




UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] xdm and logging out for newbies

2002-04-02 Thread Mike Lake

On Wed, Apr 03, 2002 at 10:10:12AM +1000, Wienand Ian wrote:
> use the gdm config tool (pretty sure it is called gdmconfig).  this has
> options to put the shutdown tab, etc on your menu.  You can also setup faces
> and things if you care to as well.  

Perfect ! Thanks it is all set up now again.

> > -Original Message-
> > From:   Mike Lake [SMTP:[EMAIL PROTECTED]]
> > To: [EMAIL PROTECTED]
> > Subject:[SLUG] xdm and logging out for newbies
> > Does anyone know what the display manager is that has that shutdown menu
> > on it. I was sure it was gnome but gdm aint it.

-- 
If you want to find my email address then squash the bug :-) 
[EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] xdm and logging out for newbies

2002-04-02 Thread Mike Lake

Hi all,

Well Debian is dist-upgraded after removing gnome to save space and I
have just been trying to put back on the *same* X display manager that I had
last time - prob is that I can't seem to find it. I thought it was 
gdm and installed that but its not the same. The one I was using before
had a menu at the top for session, language and most importantly a shutdown
option that rebooted the machine. This was used by the other user of my
machine when she wanted to reboot to windows. gdm does not have that.
I have put xdm on and thought "oh I can tell her to use Ctrl-Alt-Del" (CAL) to
reboot. But that only works if you dont login via xdm. xdm traps CAL.
Does anyone know what the display manager is that has that shutdown menu
on it. I was sure it was gnome but gdm aint it.

Mike 
-- 
Extract the sex toy for my email.   [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Netscape keeps changing permissions on its directory andbookmarks file.

2002-04-01 Thread Mike Lake

On Tue, Apr 02, 2002 at 05:09:06PM +1000, Daniel Stone wrote:
> On Mon, Apr 01, 2002 at 12:27:39PM +1000, Michael Lake wrote:
> > bookmarks into a nice HTML page with search facility. It works as a CGI script but 
> > that means that it need to be able to see your bookmarks file. It works when I 
>have set:
> > drwx--x--x5 mikelmikel 664 Apr  1 11:51 .netscape
> > -rw-r--r--1 mikelmikel  117660 Apr  1 11:41 .netscape/bookmarks.html
> > but when you fire up Netscape after a short while the permissions get changed back 
> > to what Netscape wants to:
> > drwx--5 mikelmikel 656 Apr  1 11:49 .netscape
> > -rw---1 mikelmikel  117660 Apr  1 11:41 .netscape/bookmarks.html
 
> You have three options, in descending order of preference:
> a) switch to a capital-F-Free browser, such as Konqueror (much better in
>KDE3), or Galeon
I like Netscape even though it's owned by AOL :-)

> b) have the CGI script run as mikel, in which case it will have
>permission
Thats an idea, thanks. But how does one get a specific cgi script to to run as a 
user other than what is specified in the http.conf file. Apache starts the 
cgi script running as wwwrun when it gets invoked.

> c) hack the Netscape binary to not do that
No thanks :-)


-- 
If you want to find my email address then squash the bug :-) 
[EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] size mismatch when apt-getting

2002-03-14 Thread Mike Lake

Thanks Anand and Daniel.

Seems like it has sorted it self out.

It seems that apt-get keeps a tally of what it didnt get due to a mismatch and when I 
do the next apt-get it just gets the ones it didnt get last time. I noticed this as 
each time the total size of the apckages that it needs to get gets smaller.

eg 1st invocation of apt-get using --fix-missingneeded to  get about 50 megs. Failed 
with:
 
Failed to fetch 
http://mirror.aarnet.edu.au/debian/pool/main/x/xfree86/xlibs_4.1.0-14_i386.deb  400 
Bad Request
Failed to fetch 
http://mirror.aarnet.edu.au/debian/pool/main/d/dialog/dialog_0.9a-20011202-1_i386.deb  
Size mismatch
Failed to fetch 
http://mirror.aarnet.edu.au/debian/pool/main/d/defoma/defoma_0.10.1.1_all.deb  Size 
mismatch
Failed to fetch http://mirror.aarnet.edu.au/debian/pool/main/g/gv/gv_3.5.8-25_i386.deb 
 Size mismatch

After a few more invokations using --fix-missing ...
needed to get about 9 megs. 

Need to get 8822kB/58.1MB of archives. After unpacking 64.5MB will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.aarnet.edu.au testing/main xlibs 4.1.0-14 [1219kB]
Err http://mirror.aarnet.edu.au testing/main dialog 0.9a-20011202-1
  400 Bad Request
Get:2 http://mirror.aarnet.edu.au testing/main defoma 0.10.1.1 [71.9kB]
Get:3 http://mirror.aarnet.edu.au testing/main gv 1:3.5.8-25 [225kB]
Get:4 http://mirror.aarnet.edu.au testing/main gs-common 0.3.2 [12.9kB]

next invokation using --fix-missing needed to get about 6 megs. 

Need to get 6007kB/58.1MB of archives. After unpacking 64.5MB will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.aarnet.edu.au testing/main dialog 0.9a-20011202-1 [99.6kB]
Err http://mirror.aarnet.edu.au testing/main defoma 0.10.1.1

and after a few times its now ok and its asking upgrade questions.

Seems I will be OK now :-)

This happened on debian.us and aarnet and planet mirror so it it seems to me 
unlikely that the servers all happened to be updating their mirrors at the same 
time and hence file sizes were changing.  Also it happens at the end of the upgrade 
files being retrieved ie the first few dozen are fine, so I suspect that there there 
might be a problem at my end - perhaps with an intervening proxy as Anand suggested.

Anyhow now its all upgraded OK.

Thanks all. Byes.

Mike
-- 



UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] ftp client - MORE

2002-03-14 Thread Mike Lake

On Tue, Mar 12, 2002 at 10:07:20PM +1100, Bernhard L?der wrote:
> Ok, that works for known files, but what if I have to upload new directories
> & folders with files in them?
> Is there a recursive feature in ftp?

Unfortunately not. I have included a perl script that I wrote last week when suddenly 
my shell access was turned off by my web provider. This does not create any 
directories but its easy to add to this script if needed.  It uses ftp rather than 
having to worry about Net::ftp in Perl. Was a quick 20 min hack.
Note that you can use a .netrc file but it probably safer not to. If it is not there 
the ftp will just ask for the passwd.

#!/usr/bin/perl -w

use strict;

my $localDir= "/home/mikel/public_html/speleonics/"; 
my $remoteDir   = "/home/mikel/public_html/";

my $i;
my @changedFiles;
my $ftpuploadFile = "/tmp/ftpupload.myisp";

print "\n";
print "\n";
print "*** FTP upload to My ISP ***\n";
print "\n\n";

print "FTP transfer uses file .netrc to connect to ISP.\n";
print "Local directory to upload files FROM will be: $localDir\n";
print "Remote directory to upload files TO  will be: $remoteDir\n";

@changedFiles = `find $localDir -type f -mtime -7`;



# Write the ftp script


open(FILE, ">$ftpuploadFile") || die "Can't open file: $!";

print FILE "open tazieff\n";
print FILE "prompt\n";
print FILE "lcd $localDir\n";
print FILE "cd $remoteDir\n";

print "\nAdding files to ftp script to upload...\n";
foreach $i (@changedFiles)
{
$i =~ s/$localDir//;
print "file: $i";
print FILE "put $i";
}

print FILE "close\n";
print FILE "bye\n";

close (FILE);

print "\nRunning ftp upload now... (watch for errors below here)\n";
print `ftp < $ftpuploadFile`;

print "\nRemember to delete the file $ftpuploadFile when finished.\n";



-- 
Hunt and kill the dangerous animal for my email. [EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



[SLUG] size mismatch when apt-getting

2002-03-13 Thread Mike Lake

I am still getting 
Failed to fetch 
http://http.us.debian.org/debian/pool/main/p/plotutils/libplot_2.4.1-7_i386.deb  Size 
mismatch
Failed to fetch 
http://http.us.debian.org/debian/pool/main/libu/libungif/libungif3g_3.0-7_i386.deb  
Size mismatch

when doing an 'apt-get --fix-missing dist-upgrade'

Google shows that this error occurs when some servers report a different size than 
what the package is supposed to be. There are some bug reports about this but that 
does not help me here. The previous errors ALL occured when  trying the us debian 
mirror so I removed that from sources.list and just used the aarnet ones. Now the 
errors occur with the aarnet site.

Failed to fetch 
http://mirror.aarnet.edu.au/debian/pool/main/l/logcheck/logtail_1.1.1-13.1_all.deb  
Size mismatch
Unable to correct missing packages.
E: Aborting Install.

I have also tried --ignore-missing but still get failed to fetch and it wont start the 
install. Surely this should have at least started to install and configure the 
packages that did download.

Unable to correct missing packages.
E: Aborting Install.

How does one get around this?

Mike
-- 


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] I want to remove gnome but debian wants to add stuff.

2002-03-13 Thread Mike Lake

Just a followup and a thanks. I got rid of gnome and netscape. Thanks 
for the help there. I just had to go back to stable to remove them
rather than being in testing and trying to remove them. Once my
system was in a nice state where an apt-get upgrade showed nothing 
to upgrade in stable I moved sources.lis to testing. Several iterations 
of 'apt-get --fix-missing upgrade' and --ignore-missing was needed. 
I am now in the process of dist-upgrade. The entire process
clobbered /etc/X11/X symlink for some reason which is now fixed.
I will see how it all goes.

Thanks for the help to all.
Mike
-- 


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



[SLUG] I want to remove gnome but debian wants to add stuff.

2002-03-11 Thread Mike Lake

Hi all,

Still cant get rid of gnome.

apt-get --no-download --fix-missing remove libgnome32

The following packages will be REMOVED:
gdm gnome-bin gnome-control-center gnome-core gnome-help gnome-libs-data
gnome-network gnome-panel gnome-panel-data gnome-terminal libcapplet0
libgnome32 libgnomesupport0 libgnomeui32 libgnorba27 xcontrib xlib6g-dev xpm4g xsm 

The following NEW packages will be installed:
libbz2-1.0 libcapplet1 libdb3 libdps1 libfreetype6 libgdk-pixbuf2
libglade0 libgtk1.2-common libscrollkeeper0 libstdc++2.10-glibc2.2 libxaw6
libxaw7 libxml1 nas-lib perl perl-modules scrollkeeper xlibmesa3 xlibs 
28 packages upgraded, 19 newly installed, 19 to remove and 176 not upgraded.
Need to get 13.9MB/24.0MB of archives. After unpacking 3003kB will be used.

Do you want to continue? [Y/n] y
Unable to correct missing packages.
E: Aborting Install.

I have just seen the no-download in 'man apt-get' and thats great as my system has 
already
downloaded the needed debs but fix-missing cant seem to fix the prob. I
really just want to remove gnome as I think that will free up heaps.

Mike
-- 
If you want to find my email address then squash the bug :-) 
[EMAIL PROTECTED]


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] I want to remove gnome but debian wants to add stuff.

2002-03-11 Thread Mike Lake

On Tue, Mar 12, 2002 at 11:41:31AM +1100, Anand Kumria wrote:
> On Tue, Mar 12, 2002 at 10:34:53PM +1100, Mike Lake wrote:
> > I am trying to do a dist-upgrade from potato to woody but dont have enough
> > space in /var for the deb archives (have 70Meg need 120 Meg). As gnome is
> > big and I dont actually use it I though I would remove that which would free
> > up lots of space and those updates for gnome would not get downloaded.
> > But when I ask the system to remove gnome (guessing that I remove gnome-core 
> gnome-core just contains the core set of gnome applications.
> Generally if you want to remove a big sub-system, picking on of the
> dependant libraries is a better choice. I'd suggest trying libgnome (or 
> libgnome32).

Thanks. Tried libgnome but that didnt work but libgnome32 goes OK 
ibut with "apt-get remoe libgnome32" I get the errors below. 
I have tried apt-get update again and it goes fine with no
errors.  I tried the --fix-missing but get these. Have repeated 
this and get same error. How to I get around this size mismatch?

apt-get --fix-missing remove libgnome32

28 packages upgraded, 19 newly installed, 20 to remove and 176  not
upgraded.
Need to get 10.4MB/24.0MB of archives. After unpacking 2875kB will be used.
Do you want to continue? [Y/n] yes
Get:1 http://http.us.debian.org woody/main perl-5.005-base 6.3 [3038B]
Err http://http.us.debian.org woody/main perl-modules 5.6.1-7
400 Bad Request [IP: 141.213.4.21 80]
Get:2 http://http.us.debian.org woody/main libdb2 2:2.7.7.0-3.1 [264kB]
Get:3 http://mirror.aarnet.edu.au woody/main perl-modules 5.6.1-7
[1279kB]
Get:4 http://http.us.debian.org woody/main perl-5.005 6.3 [2932B]

etc..

Failed to fetch
http://http.us.debian.org/debian/pool/main/d/db2/libdb2_2.7.7.0-3.1_i386.deb
Size mismatch
Failed to fetch
http://http.us.debian.org/debian/pool/main/p/perl-transition/perl-5.005_6.3_all.deb
Size mismatch
Failed to fetch
http://http.us.debian.org/debian/pool/main/p/perl/perl_5.6.1-7_i386.deb
Size mismatch
Failed to fetch
http://http.us.debian.org/debian/pool/main/p/perl/perl-base_5.6.1-7_i386.deb
Size mismatch
Failed to fetch
http://http.us.debian.org/debian/pool/main/n/newt/whiptail_0.50.17-9.5_i386.deb
Size mismatch
Unable to correct missing packages.
E: Aborting Install.


--
Mike


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



[SLUG] I want to remove gnome but debian wants to add stuff.

2002-03-11 Thread Mike Lake

Hi all,


So Debian is snack eh ? :-)
I am trying to do a dist-upgrade from potato to woody but dont have enough
space in /var for the deb archives (have 70Meg need 120 Meg). As gnome is
big and I dont actually use it I though I would remove that which would free
up lots of space and those updates for gnome would not get downloaded.
But when I ask the system to remove gnome (guessing that I remove gnome-core 
and the dependency info will remove the other gnomeish things) it wants 
to install new packages.

> apt-get remove gnome-core
Reading Package Lists... Done
Building Dependency Tree... Done

The following extra packages will be installed:

debconf debianutils defoma dialog esound gconf gnome-bin
gnome-control-center gnome-mime-data gnome-terminal gs-aladdin gsfonts libart2 
libbz2-1.0
libc6 libc6-dev libcapplet0 libcapplet1 libcdparanoia0 libdb2 libdb2-util libdb3
libdps1 libesd0 libforms0.89 libfreetype6 libgconf11 libgdk-pixbuf-gnome2
libgdk-pixbuf2 libglade-gnome0 libglade0 libgnome-vfs-common libgnome-vfs0
libgnome32 libgnomesupport0 libgnomeui32 libgnorba27 libgnorbagtk0
libgtk1.2 libgtk1.2-common libgtkxmhtml1 libncurses5 libnewt0 liboaf0 liborbit0
libpanel-applet0 libpaperg libpng2 libpopt0 libscrollkeeper0 libstdc++2.10-glibc2.2
libungif4g libxaw6 libxaw7 libxml1 libzvt2 locales nas-lib oaf perl perl-5.005
perl-5.005-base perl-base perl-modules scrollkeeper slang1 whiptail xbase-clients
xfaces xlib6g xlibmesa3 xlibs xserver-common 

The following packages will be REMOVED:

gnome-core gnome-help gnome-panel gnome-panel-data gnome-session xcontrib xlib6g-dev
xpm4g xsm 

The following NEW packages will be installed:

defoma dialog gconf gnome-mime-data libbz2-1.0 libcapplet1 libcdparanoia0 libdb3
libdps1 libfreetype6 libgconf11 libgdk-pixbuf-gnome2 libgdk-pixbuf2
libglade-gnome0 libglade0 libgnome-vfs-common libgnome-vfs0
libgtk1.2-common liboaf0 libscrollkeeper0 libstdc++2.10-glibc2.2
libungif4g libxaw6 libxaw7 libxml1 nas-lib oaf perl perl-modules scrollkeeper
xlibmesa3 xlibs 

41 packages upgraded, 32 newly installed, 9 to remove and 173  not upgraded.
Need to get 31.4MB of archives. After unpacking 20.2MB will be used.
Do you want to continue? [Y/n] n
Abort.

Mike

Why does it want to add new packages when I have asked it to remove gnome ?

-- 
Do what thou wilt shall be the whole of the Law. -- Aleister Crowley

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
***




UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



[SLUG] news server for use at UTS

2002-03-06 Thread Mike Lake

Hi all,

The news server here at the Uni of Technology, Sydney no longer seems to be
operational (news.uts.edu.au). I have not been able to find out why or who 
looks after it so I am looking for another source of news for comp.text.tex 
(no not alt.bins). I tried news.unsw.edu.au and it told me that it wasn't
going to talk to me but at least it said hello unlike the one here at uts.
The news server at Syd Uni only has one newsgroup for societies. Google
shows lots of servers but I wanted to use one in Australia and pref from a
uni as uts would pay less. Anyone use one regularly and know one that is up?
I dont want a web based one, they suck :-)

Mike
-- 
Before borrowing money from a friend, decide which you need more. -- Addison H. Hallock

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
   ***




UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: Can't get output from passthru() in PHP. was Re: [SLUG] Can't get PHP4 to run on Debian

2002-02-11 Thread Mike Lake

On Mon, Feb 11, 2002 at 11:14:37PM +1100, Michael Lake wrote:
> Mike Lake wrote:
> But the code below just outputs 
>   cat myemail | spamfooler end
> The perl program spamfooler when invoked from the command line does output text but 
>its not showing up in the HTML output from PHP. The output should
> be a single line of text. Here is the PHP code.
> 
>$command="cat myemail | spamfooler"; 
>   echo ("Command is: $command");<--- this is a test line
>   passthru($command);
>   echo " end";  <-- test line
> ?>
> 
> Any tricks I dont know?

Oh I have the permissions for the script smamfooler set to be:
-rwxr-xr-- so its executable by what ever php runs as.
I even for a test set it to to o+x but still no luck.

-- 
The little town that time forgot, Where all the women are strong, The men are 
good-looking, And the children above-average. -- Prairie Home Companion

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au

Soory for \/



CRICOS Number:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


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



Re: [SLUG] Several questions after an apt-get dist-upgrade

2001-12-02 Thread Mike Lake

On Sun, Dec 02, 2001 at 10:13:26PM +1100, getadog wrote:
> On Sun, Dec 02, 2001 at 10:06:24PM +1100, Daniel Stone wrote:
> > dpkg --purge --force-depends zmailer-ssl && apt-get install postfix (or
> > exim, or whatever).
> 
> apt-get install zmailer-ssl- postfix (or exim, or whatever)

But as I mentioned the system already has exim as its MTA. zmailer provides
the same thing, an MTA. I would have thought that when I installed logrotate
it would need a mailer (OK) and it wanted mailx and that needed an MTA.
The packaging system should have realised it had exim on and so not
insisted on installing zmailer. 

What I can't follow is that on this Debian system here at work (Pentium) and
on my Intel 486 at home zmailer is not required but on the Alpha Debian, as
you can see from the apt-get lines mailx depends on zmailer. Same Debian
release. 

Mike
-- 
"Card readers? We don't need no stinking card readers." -- Peter da Silva (at the 
National Academy of Sciencies, 1965, in a particularly vivid fantasy)

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] Several questions after an apt-get dist-upgrade

2001-12-01 Thread Mike Lake

Hi All,

I have just done an apt-get dist-upgrade of an Intel 486 gateway from stable to 
unstable.
I have just a few questions...

Question 1
--
dpkg: warning - unable to delete old file `/usr/doc': Directory not empty

All the doc files in here are symlinks to ../share/doc/
I am presuming that unstable has decided to have all docs in /usr/share and 
nothing in /usr/doc and wanted to remove all those symlinks and the directory
/usr/doc - is that right. In which case I can manually delete them?

Question 2
--
dpkg: warning - unable to delete old file `/var/log/ksymoops': Directory not empty
This currently contails lots of.
-rw-r--r--1 root root32113 Sep  1 23:06 20010901230651.ksyms
-rw-r--r--1 root root  222 Sep  1 23:06 20010901230651.modules
Seems to be lots of temp files about loaded modules. I have deleted them all
and I will see what ones reappear and when. 

Question 3
--
Some time ago I installed logrotate which needed mailx to be able to mail me messages 
and this in turn required zmailer. zmailer is a big package for
high volume mail and should not be needed really. As apt-cache show zmailer says
"Most users don't need this package -- for most users, sendmail or exim or
 smail will suffice."
I have exim installed.
I tried to delete it:

loubens:/home/admin# apt-get remove zmailer-ssl
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  logrotate mailx tripwire zmailer-ssl
0 packages upgraded, 0 newly installed, 4 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 15.5MB will be freed.
Do you want to continue? [Y/n] n
Abort.

The strange thing is that my Debian Alpha has logrotate and mailx but did not need 
zmailer.
The 486 Intel does.
Whats the dependencies for other peoples systems out there?

Question 4
--

I have in my sources.lust :-)
deb http://security.debian.org unstable/updates main contrib non-free

I had changed the stable to unstable. I get however...

W: Couldn't stat source package list http://security.debian.org unstable/updates/main 
Packages
(/var/lib/apt/lists/security.debian.org_dists_unstable_updates_main_binary-i386_Packages)
 - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org 
unstable/updates/contrib Packages
(/var/lib/apt/lists/security.debian.org_dists_unstable_updates_contrib_binary-i386_Packages)
 - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org 
unstable/updates/non-free Packages
(/var/lib/apt/lists/security.debian.org_dists_unstable_updates_non-free_binary-i386_Packages)
 - stat (2 No such file or directory)

Is there no unstable security branch? Surely I would not have stable in that line
as that would then refer to older stable versions of software?

Mike
-- 

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


>From - Sun Dec  2 17:15:52 2001
X-Mozilla-Status: 0801
X-Mozilla-Status2: 
FCC: /home/mikel/nsmail/Sent
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 02 Dec 2001 17:15:52 +1100
From: Michael Lake <[EMAIL PROTECTED]>
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0; html=0; 
linewidth=0
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-4GB i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Several questions after an apt-get dist-upgrade
References: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi All,

I have just done an apt-get dist-upgrade of an Intel 486 gateway from stable to 
unstable.
I have just a few questions...

Question 1
--
dpkg: warning - unable to delete old file `/usr/doc': Directory not empty

All the doc files in here are symlinks to ../share/doc/
I am presuming that unstable has decided to have all docs in /usr/share and 
nothing in /usr/doc and wanted to remove all those symlinks and the directory
/usr/doc - is that right. In which case I can manually delete them?

Question 2
--
dpkg: warning - unable to delete old file `/var/log/ksymoops': Directory not empty
This currently contails lots of.
-rw-r--r--1 root root32113 Sep  1 23:06 20010901230651.ksyms
-rw-r--r--1 root root  222 Sep  1 23:06 20010901230651.modules
Seems to be lots of temp files about loaded modules. I have deleted them all
and I will see what ones reappear and when. 

Question 3
--
Some time ago I installed logrotate which needed mailx to be able to mail me messages 
and this in turn required zmailer. zmailer is a big package for
high volume mail and should not be needed really. As apt-cache show zmailer says
"Most user

Re: [SLUG] Documenting code logic

2001-11-29 Thread Mike Lake

On Thu, Nov 29, 2001 at 10:33:38PM +1100, Jeff Waugh wrote:
> 
> 
> > This is a case of the aftermath of hacking together stuff for years but
> > I'm wondering if people have found any decent linux software suited to the
> > task of documenting existing code logic.
> 
> Ask Mike Lake to give you a rundown on noweb. :)

GOTO "Slug Presentations".item[0]

:-)

Mike
-- 
Money can't buy love, but it improves your bargaining position. -- Christopher Marlowe

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] LaTeX: a random walk.

2001-11-18 Thread Mike Lake

On Fri, Nov 09, 2001 at 10:43:01PM +1100, Bill Bennett wrote:
> I'm trying to understand some of the classier programmes
> to be found in The LaTeX Companion. Not easy, although it would
> help if some of them worked when you ran them.
> P.144, The random walk in PSTricks is what's the matter.
> Can anyone tell me what \setrandim (so spelled) does?
> I can't find it in the LaTeX programme anywhere.

Just saw this messgage tonight and didn't notice a reply. Ah well 
not much to do while debian does an upgrade of the Alpha so

www.google.com search for \setrandim leads us to a latex file
%% Curves-RandomWalk.tex --- Example of iterative drawing  
%% Author  : Denis GIROU (CNRS/IDRIS - France)

which uses the command in this line
\setrandim\X{0pt}{1pt}  

Before its use however the latex file reads in
\input{random.tex} % From Donald Arseneau (on macros/generic on CTAN) 

so we look up this on CTAN at http://www.ctan.org

  random = Generating "random" numbers in TeX.
  "Generates pseudo-random integers in the range 1 to 2^{31}. Macros are to
  provide random integers in a given range, or random dimensions
  which can be used to provide random `real' numbers, are also available. 
  See also lcg" 

If you go to a ctan mirror, download the package, and install it, 
it will probably contain documentation describing all.

Bill, that sounds like a neat pstricks program :-)

Mike
-- 
A man was reading The Canterbury Tales one Saturday morning, when his wife asked "What 
have you got there?" Replied he, "Just my cup and Chaucer."


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



Re: [SLUG] PostScript to PDF via virtual printer

2001-11-14 Thread Mike Lake

On Thu, Nov 15, 2001 at 10:30:15AM +1100, [EMAIL PROTECTED] wrote:
> Just stumbled over this too, last night.  It avoids the need to buy
> expensive PDF creation software from Adobe.
> http://www.linuxgazette.com/issue72/bright.html

Yes it's an ace "trick". I have setup a few Windows PC's here to use a
virtual PostScript printer (usually a colour HP laserjet) and ps2pdf to
enable users to create PDF files. Whats really most interesting though is
that most people believe that you MUST have Adobe Distiller to create any
PDF files. I often get M$ Word files submitted to some web sites I run
with the comment from the user "I don't have Distiller so I can't create 
PDF". Alas Adobe markets so well :-(

Mike
(who still prefers ps over pdf as I can lift up the bonnet of ps and fiddle
with the carburettor)
-- 
We don't really understand it, so we'll give it to the programmers.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] LaTeX problem revisited.

2001-10-31 Thread Mike Lake

On Thu, Nov 01, 2001 at 02:43:52PM +1100, Bill Bennett wrote:
> Thanks to Mike Lake, I can now report that, Page 146 of The LaTeX
> Graphics Companion notwithstanding, there is no such animal as
> \PstRegularPolygon. However, if you substitute \PstPolygon all
..
> Can some kind soul tell me how to make the outline thicker?
> \fboxrule doesn't work. 

At this stage there are 3 options.

1. There should be some docs for the packages. Search using find for docs
with the same name as the package, ignoring the extension. eg 
$ locate multicol
/usr/share/doc/texmf/latex/tools/multicol.dvi.gz
/usr/share/texmf/tex/latex/tools/multicol.sty

Here the docs are in the dvi file but in other cases they are part of the
dtx file.

2. Look on usenet and comp.text.tex newsgroup. Do an archive search before
you ask any questions :-) The guys who are on this are really good, well
they wrote many of the basic tex packages and substructure. 

3. Actually look through the pst-col.sty file orwhatever for the 
linewidth command.  Just grep for line and you will find it there somewhere.

> Also, could someone tell me how to fill the polgon with a colour? 
Um I have not done that.

Mike
-- 
 does Johnie Ingram hang out here on IRC?

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] www-data unable to write to /tmp when running latex from cgi scrip

2001-10-31 Thread Mike Lake

On Wed, Oct 31, 2001 at 06:38:33PM +1100, Michael Lake wrote:
> Mike Lake wrote:
> > I can't work out why a cgi script which fires off latex to process a
> > file in /tmp does not seem to be able to write the dvi file or its log
> > file. The application creates a file called 192.168.1.4.tex fine.
> > But latex won't run on it from the cgi script.

A followup. I found my problem.
1. I was not in the right directory.
2. The file handle of the file I was trying to run latex on was still 
open from when I had created it. I just had to rearrange the code to close
the file handle THEN run latex on it. 
Silly bug :-)

Mike
-- 
The universe is an island, surrounded by whatever it is that surrounds universes.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] www-data unable to write to /tmp when running latex from cgi scrip

2001-10-30 Thread Mike Lake

Hi all,

I can't work out why a cgi script which fires off latex to process a
file in /tmp does not seem to be able to write the dvi file or its log
file. The application creates a file called 192.168.1.4.tex fine.
But latex won't run on it from the cgi script.

This is the command I am using in perl:
system("date > /tmp/chemlabel.log; latex $latex_file >> /tmp/chemlabel.log") && \
die "can't run latex on $latex_file !"; 

The apache error log says
can't run latex on /tmp/192.168.1.4.tex !
so that comes from the die statement and shows that its getting the 
right filename and 192.168.1.4.tex is being created.

after running this cgi script FROM my web application
/tmp$ ls -l
total 23
-rw-r--r--1 www-data www-data  288 Oct 31 17:40 192.168.1.4.tex
-rw-r--r--1 www-data www-data  195 Oct 31 17:40 chemlabel.log

you can see that the output of the attempt to run latex on the file is
in chemlabel.log

/tmp$ cat chemlabel.log 
Wed Oct 31 17:40:43 EST 2001
This is TeX, Version 3.14159 (Web2C 7.3.1)
! I can't write on file `192.168.1.4.log'.
Please type another transcript file name: 
! Emergency stop
No pages of output.


OK so it seems like latex running as user www-data can't write its log
file 192.168.4.log etc. 
If I su to www-data from root so that I am that user then I can run
latex on the file quite OK as you can see here:

/tmp$ latex 192.168.1.4.tex   <-- note I am user: www-data now
This is TeX, Version 3.14159 (Web2C 7.3.1)
(192.168.1.4.tex
LaTeX2e <1998/12/01> patch level 1

Output written on 192.168.1.4.dvi (1 page, 292 bytes).
Transcript written on 192.168.1.4.log.


Now an ls -l shows...

-rw-r--r--1 www-data www-data8 Oct 31 17:43 192.168.1.4.aux
-rw-r--r--1 www-data www-data  292 Oct 31 17:43 192.168.1.4.dvi
-rw-r--r--1 www-data www-data 2304 Oct 31 17:43 192.168.1.4.log
-rw-r--r--1 www-data www-data  288 Oct 31 17:40 192.168.1.4.tex
-rw-r--r--1 www-data www-data  195 Oct 31 17:40 chemlabel.log

viewing the dvi file shows its all ok and as expected www-data was able
to write the log file and the dvi file .

But agian if I try to run it from the web browser firing off the cgi
script then the chemlabel.log file shows a new date (which means it is
being written to ok) but that mesasage that latex can't write on
192.168.1.4.log

But www-data owns the file and should be able to write to it.
-rw-r--r--1 www-data www-data 2304 Oct 31 17:43 192.168.1.4.log

At a loss.

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] dwww: and missing documentation.

2001-10-30 Thread Mike Lake

Hi Debian gurus :-)

Have noticed for a while that the http://localhost/dwww page
has great docs but two links have no contents:

"List of HTML documents" pointing to
http://martel.speleonics.com.au/dwww/dwww-short-index.html
and
"List of HTML documents, with descriptions" pointing to
http://martel.speleonics.com.au/dwww/dwww-long-index.html

The "dwww: Debian Documentation Menu" is fine as are others.

I have: 

/var/lib/dwww/html/dwww-long-index.html 

which says



Dwww list of documentation (long)



To the short index

Long list of documentation

The list of documents is divided into sections:





so whats missing which would be under those sections?
or what is not updating the lond and short indexes as stuff is added?

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



Re: [SLUG] RE: openz.org (was: Aussie IT deficit hits $15bn)

2001-10-25 Thread Mike Lake

On Thu, Oct 25, 2001 at 07:08:42PM -1000, cpaul wrote:
> On Tue, 23 Oct 2001 08:44:09 +1000 eurk-dsl wrote:
.
> maybe old news by now, but a bunch of new zealanders think so,
> and managed to present their case reasonably well:
> excerpt from http://www.openz.org/

Thats an EXCELLENT letter. [Ron Skeoch have you read this :-)]
The NZ letter is well written, provides well thought out reasons for using
open source and most of all provides an extensive reference list. 
I would be quite happy to spend some time in assisting to put together
something like this for our political parties.
(geez, Im prob committing myself too far here but oh well )

> maybe it's an idea to write a similar letter to our own governments?  
I was thinking along those lines after seeing the Greens using FrontPage !

Is that letter itself ie its wording and references released under the open
source documentation licence ? 
It takes a long time to compose something like that and why reinvent the
wheel :-)

Mike
-- 
The early bird gets the coffee left over from the night before.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] Free PDF editing tools

2001-10-23 Thread Mike Lake

Richard Hayes wrote on Fri Oct 12 14:48:02 2001 
> Dear List,
> I use ps2pdf to create PDFs. Is there any free /open source tools that
> allows me to edit a pdf  file?

I just came across pstoedit accidentlly and remembered you
post Richard.

pstoedit:
Description: PostScript and PDF files to editable vector graphics
converter. pstoedit converts Postscript and PDF files to various editable
vector graphic formats including tgif, xfig, PDF graphics, gnuplot
format, idraw, MetaPost, GNU Metafile, PIC, Killustrator and flattened
PostScript.

Google will help with finding da web site for it.
I have a readme.txt describing it at work. Its quite neat.
 
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



Re: [SLUG] Aussie IT deficit hits $15bn

2001-10-22 Thread Mike Lake

On Tue, Oct 23, 2001 at 11:09:52AM +1000, Richard Hayes wrote:
> If just the government  used free software / open source the total savings we 
> be in the order of  $15 billion per year.
> 
> Or  to use other measures a brand new major teaching hospital in each capital 
> city (6 x $1.5 billion) +  $1 billion  for higher education + $1 billion odd 
> for land degradation / salinity + 1 billion for child care + a few billion 
> for tax cuts / higher pensions.

> 1. Profits - Yes, it is much cheaper  
> 2. Environmental - Yes, it improves the solutions for other people including 
> poor people  
> 3. People - Yes - Better educated as they can see the products (source)

Yes, I was thinking of this on the weekend when I was looking at the Greens
Policy's on their pages at http://www.greens.org.au
(Click on Policies at the top of the page, there are 7 policies in total)
I was surprised to see that they were generated with M$ Frontpage.


They of all the parties woud be most receptive to open source. Has anyone
approached them about this I wonder. They would need a good grounding in the
theory of open source and its impact with real world companies.
It would fit in though with their other policies and their aims.

Mike
-- 
If you can't say anything good about someone, sit right here by me. -- Alice Roosevelt 
Longworth

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Tar over SSH

2001-10-22 Thread Mike Lake

On Tue, Oct 23, 2001 at 07:33:13AM +1000, Grant Parnell wrote:
> Hmmm consider writing a little program to insert in the pipe that filters 
> all output until it gets a marker.
> ssh root@martel 'echo "MARKER"; tar cvf - /home/mikel/testing' | filter.pl 
> | dd >/dev/rmt0

Nice idea but I am backing up a few Gigabytes of data from a few home
directories. That would involve an if comparison for every line which would
be a stupendous bottle neck even if written in assembler :-)
I shall prob just remove any lines from root's .bashrc, .profile that echo
as the script will always be run from root. Just thought that surely someone
in slug does *streaming* backup to another machine using *tar over ssh* and 
must have examples of how the do it.

> > # This is what will run when it all works :-)
> > #ssh root@martel 'tar cvf - /home' | dd > /dev/rmt0
> > Question: 
> > How do I stop the login stuff from prepending to the tape.?
> > Is there a better way to pipe tar through ssh or use scp? so

Mike
-- 
panic: can't find /

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Re: Tar over SSH

2001-10-22 Thread Mike Lake

On Mon, Oct 22, 2001 at 10:37:40PM +, Herbert Xu wrote:
> Angus Lees <[EMAIL PROTECTED]> wrote:
> 
> > only echo if bash is in "interactive" mode (don't know how you check
> > that off the top of my head. in tcsh you see if $prompt is defined)
> 
> [ "${-#*i}" != $- ]

Oh geez ! IMHO a little obfuscated I think.
Thanks Jan and Steve, I shall try YOUR suggestions :-)

Mike
-- 
"You can't get very far in this world without your dossier being there first." -- 
Arthur Miller

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] Tar over SSH

2001-10-20 Thread Mike Lake

Hi guys,

Persuant to a suggestion that I should not be trying to backup machines
using tar over NFS as it can lead to probs (such as root on the remote
machine not being able to read the machine to backup) I have been trying
to get tar over ssh going.

This was the problem I had.
Date: Sun, 7 Oct 2001 09:29:00 +1000
\begin{Mike Lake}
> I am having a problem getting tar to backup one machine (martel) which 
> has it's home directories NFS exported to the machine with the tape
> drive on it (tazieff). The prob is basically that root cannot read
> some
> files as it seems the uid/gid numbers don't match between the
> machines.

Angus wrote
> tar has support for reading over rsh (or ssh).
> since NFS authentication is IP-based, rsh should be no less secure. ssh
> would obviously be the best alternative.
> it'll be much nicer on the network, avoid permission issues, etc if you
> use that method instead of NFS.

so I am now using ssh. I did a search on google and it suggested a few
ways. Most were just ssh'ing an already created tar file across to the
backup machine. What I want is a stream of data from the machine to
backup to the machine with the tape drive on it. That way I won't run out
of diskspace sometime.

I have authorized keys on both machines so root can login using ssh with
no passwd and I have changed the /etc/ssh/sshd_config file to allow root
logins via "PermitRootLogin yes" (slug archives helped there !)

This is the script that runs:
---
root:# cat test
#!/bin/bash

# This is what will run when it all works :-)
#ssh root@martel 'tar cvf - /home' | dd > /dev/rmt0

# This is here for testing, testing dir contains a few files
ssh root@martel 'tar cvf - /home/mikel/testing' 
---

The problem is that when ssh logs into root .bashrc & .profile gets run
and there is some output from the login shell. This is prepended to the
tar file so its not a tar file anymore. I can see the lines of the login
if I run "/test | more". 

This is what I want to do: Backup all home directories on the Alpha
by streaming the contents via ssh or scp to the backup machine with 
the tape drive. The script would be started FROM the backup machine with
the tape drive on it.

Question: 
How do I stop the login stuff from prepending to the tape.?
Is there a better way to pipe tar through ssh or use scp? so
that it streams from the Alpha to the tape machine.

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] undefined function mysql_pconnect()

2001-10-20 Thread Mike Lake

Hi all,

I have installed a HTML bookmark management app called "bookmarker".
After a considerable amount of fixing config files I have reduced the
number of errors to one.
When I try to open it's index.php3 I get:
  
Fatal error: Call to unsupported or undefined function mysql_pconnect()
in db_mysql.inc on line 73

line 73 is this
$this->Link_ID=mysql_pconnect($Host, $User, $Password);

I have the following packages related to mysql and php3 installed on the
Debian 2.2 Alpha.

mysql-server and mysql-client (both working OK)
php3-mysql
php3
phplib   version: 1:7.3dev-3.1

It's the phplib library that provides the file db_mysql.inc

$ dpkg -L phplib | grep db_mysql.inc
/usr/lib/phplib/db_mysql.inc

The bookmarker app says ...

"These instructions refer to my configuration of bookmarker (PHP
3.0.7, PHP Base Library 7, MySQL 3.22.21, Apache 1.3.6, Red Hat
Linux 5.2). bookmarker has only been tested under this configuration,
though it  should work in any PHP environment with a PHPLIB supported
database.  Currently, PHPLIB supports MySQL, PostgreSQL, Oracle,
Sybase and  ODBC databases. bookmarker supports PHPLIB 7."

Anyone know what the problem is? Is it that the pconnect
function is not defined anywhere and I need some other library?

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



Re: [SLUG] Security Issue

2001-09-17 Thread Mike Lake

On Tue, Sep 18, 2001 at 02:05:38PM +1000, Lloyd Bayley wrote:
> Quick question...for some reason, I can no longer run system commands from 
> a telnet session from my windows box on the RH7.1 box.
> I log in as me, su to root and things like fdisk and ntsysv now say bash: 
> command not found.
> Have checked perms and all are set to root with the appropriate eXecute..
> (All programs I'm trying to run exist too btw) :)

Is the path set correctly? ie # echo $PATH
and see if it includes the path to the executables. 

> Is there a switch that has been flicked somewhere along the line to stop 
> telnet (remote) consoles running these system-critical programs?

when you login the path would be set by a combination of .bashrc and
.bash_profile depending on what shell is used.
Seems like your shell may not be reading the files to set your path.

Mike
-- 
She's genuinely bogus.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [Slug] Strange Harddrive Access In Red Hat 7.0

2001-07-03 Thread Mike Lake

On Thu, Jul 05, 2001 at 12:24:45AM +1000, Mike Lake wrote:
> Mine is running pretty much at 28% on a Pentium 233MHz with 3 Meg RAM/64 Meg

Sorry^32Meg

-- 
"If Jesus came back today, and saw what was going on in his name, he'd never stop 
throwing up." -- Max Von Sydow's character in "Hannah and Her Sisters"

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] shrinking a partition

2001-07-03 Thread Mike Lake

On Wed, Jul 04, 2001 at 01:53:54PM +0800, Steven O'Reilly wrote:
> Hi
> 
> I currently have a dual boot RedHat 6.2 and Win95 laptop.  I wish to try
> Debian on this machine to see if it works with internal modem etc.  The
> RH partition is the largest and has heaps of space, i wish to shrink
> this but not lose any data.
> 
> I remember shrinking the original partition when instaling GNU/linux,
> but what I read about fdisk and cfdisk seem to only allow deleting but
> not resizing.

fips.exe

You will find it in the dos utilities section on most distros.
It's FREE.

Mike
-- 
You think Oedipus had a problem -- Adam was Eve's mother.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [Slug] Strange Harddrive Access In Red Hat 7.0

2001-07-03 Thread Mike Lake

On Wed, Jul 04, 2001 at 01:53:59PM +1000, Russell Andrew Willis wrote:
> > On Tue, Jul 03, 2001 at 11:28:36PM +1000, Russell Andrew Willis wrote:
> > > I am running a Pentium 350 II 64 MB RAM & 10 GB HDD. RH runs ok under
> > > XWindow & Gnome but I get get continuous HDD access when logged on as
> > > user or root. When I log out this ceases. I'm a newbie & can see it has
> > > something todo with the Xwindow or gnome system. Have enclosed a copy of

Yeah, I see that you have X showing at 141% which does seem a litte large.
Mine is running pretty much at 28% on a Pentium 233MHz with 3 Meg RAM/64 Meg
swap. To me your X seems to be taking a little too much.

Anand Kumria wrote:
> > You are supposed to get frequent disk access whenever you use Linux as it
> > will be flushing data to disk (or swapping). To determine which of those

Yes it may be frequent but Russel said "continuous" and we need to work out
from Russel what continuous means ie going on for more than a few minutes?

>  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 638 root   9   0 91704  86M  2080 S 0.7 141.7   0:05 X

Mike
-- 
"If a camel flies, no one laughs if it doesn't get very far." -- Paul White

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-28 Thread Mike Lake

On Wed, Jun 27, 2001 at 08:10:01PM +1000, getadog wrote:
> On Wed, Jun 27, 2001 at 06:56:07PM +1000, Mike Lake wrote:
> > So if I was using 'localhost' which is refering to a URL that the request
> > comes from then it would use ServerName:Port ie b4114:80 ?
> > .
> > Im a little confused between the server name and hostname.
 
> If you set a ServerName and UseCanonicalName On apache will redirect 
> your browser to what ever you set your ServerName to. 
> If you don't  set a ServerName and set UseCanonicalName On apache will 
> redirect your browser to `hostname -f`. 
> If you set UseCanonicalName Off (Commenting it out turned it on for me), 
> apache won't redirect you at all.
> 
> I think its easier to see whats happening with wget -S localhost/~mikel,

getadog suggested I try different combinations to see what happens - an
excellent way to learn :-)
Basically I tried all the combinations in httpd.conf with
ServerName/UseCanonical and used wget to see the what reponded. 
Put the output to a file and pretty printed and read it on the train.
Yeah Fun :-) I wont put the results here as its t long.

Also used ping and the browser to try to resolve localhost and b4114a while
doing a tcpdump -i lo and saved the output for each case.
Have learnt a lot about how to use tcpdump and ping and wget to see whats
being resolved to where and by whom.

> Your source address changes depending on which interface you are pinging.
Can see that sort of but still have to try and work out what I should have
for that setting. 

> What I think was happening was you were pointing your browser to
> http://localhost/~mikel, and apache was redirecting it to 
> http://mycomputername/~mikel, so when your browser tried to go to 
> http://mycomputername/~mikel, it used as its soucre ip address 
> mycomputername, which was denied.

> Clear as mud? :)
yep. I must say Im still a little confused but will have a play around more.

Just to fill you in on why I am doing this; I wrote a kinetics experiment
last year for the UTS Chemisty Dept which does a monte carlo simulation of
some reactions for the students to play with. Gets 8 students out of the lab
for 3 hours / week. It all ran from my RedHat Linux box with 32Meg RAM and
was used by 8 students, accessing it via Netscape from Windows PC's.

This year it will run again but I am changing it so it can be more easily
installed and run from any server. I had lots of hard coded server
specific stuff in it. It will now run from a Debian distro which put Apache 
things in different places to RedHat. My chnages will make it easier for
others to install it and for me to maintain it.

Mike
-- 
Do you think that when they asked George Washington for ID that he just whipped out a 
quarter? -- Steven Wright

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Joining SLUG Remotely

2001-06-28 Thread Mike Lake

On Fri, Jun 29, 2001 at 12:50:32PM +1000, Jobst Schmalenbach wrote:
> there are two australian sites:
>  www.cybercash.com.au (their name has changed, dunno the new one)

www.technocash.com.au - that's probably the one you were thinking of?

Mike
-- 
IndicTeX-HTML L2hos L2hos.pm XyMTeX-HTML cfgcache.pm cweb2html dot.latex2html-init 
example foilhtml icons l2hconf.pm makemap makeseg readme.hthtml styles texinputs 
versions Rince is [EMAIL PROTECTED] (We have Joey, we have Fun, we have Linux on 
a Sun) -- Seen on #Debian

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] xdvi displays RGB ! - SOLVED

2001-06-28 Thread Mike Lake

On Fri, Jun 29, 2001 at 10:14:23AM +1000, Craige McWhirter wrote:
> Another option, which I've found more practical in my circumstances, is
> to use pdflatex instead of latex with GV (or gnome-gv) as the viewer.
> This produces nice PDF files, if the name didn't already hint at that ;)

Yes I have looked at pdflatex and used it but for most of my work it does
not provide anything that latex/dvips doesn't provide. Though for the next
issue of the Royal Society of NSW Journal that I have just finished
typesetting I am thinking of sending it to the printers via a PDF file -
seems like the "common" printing houses these days have never heard of 
PostScript.

Mike
-- 
The SAME WAVE keeps coming in and COLLAPSING like a rayon MUU-MUU ...

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] xdvi displays RGB ! - SOLVED

2001-06-28 Thread Mike Lake

Hi Guys,

This is a follow up to my problem with the solution (well workaround) 
as I don't know WHY) so that if others have the same problem a 
solution will be findable.

On Tue, Jun 26, 2001 at 01:21:13PM +1000, Mike Lake wrote:
> Hi,
> I made a post a while ago on my fonts in xdvi appearing strange.
> (22 May 2001). I still have not worked out what the prob is.

The rest of the text is below for reference but I found out how
to fix the problem. I have to start xdvi with the option
"-copy" (this can be put into the .Xdefaults file too as a resource).
The man page says about this:

"-copy  (.copy) Always use the copy operation when  writing characters 
to the display.  This option may be necessary for correct operation 
on a color display, but overstrike characters will be incorrect. If 
greyscale anti-aliasing is in use, the -copy operation will disable 
the use of colorplanes and make overstrikes come out incorrectly. "

I don't know why this is now required when I didn't need it before.
It occurred after one of those magical mystery apt-get upgrades :-)

The rest of the previous post was:
> When I run xdvi the fonts appear to be "colour separated" ie
> all the letters instead of being black on a white background
> are alternating, vertical blue/red stripes."
> See previous post for the details. Seems like no one here
> has encountered tha prob before but I have found out a few
> more snippets that may help someone to guess what my prob may be.
> 
> If I hit 1G while in xdvi to turn on anti-aliasing the "colour
> separation" disappears but I have bitty fonts - yep expected as
> ani-aliasing is now off. If I type 0G to turn off aliasing I get 
> the color-separated fonts again.

other text snipped.

Mike
-- 
The first marriage is the triumph of imagination over intelligence, and the second the 
triumph of hope over experience.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Fw: Side issue about Sydney Linux User Group

2001-06-27 Thread Mike Lake

On Thu, Jun 28, 2001 at 01:47:29PM +1000, Adam Kennedy wrote:
> I mean, has anyone ever tried explain to a normal person what a
> self-referential non-descriptive acronym IS? And what it has to do with
> software.

Ah no take the Microsoft way here - users don't need to know that.
It's tooo hard :-)

> The problem with GNU/Linux is not about giving credit where credit is due,
> for example Redhat Linux ( ignoring Radhat/GNU/Linux issues for a second ),
> but that by having such a difficult name for his organisation, he makes the
> adoption of it much more difficult.  People will always use a shorter name
> where one can be found.

Yeah like GNU is short, it's snappy and I can remember it. 
Geez its not like Hoest is it, well it pronounced as Herkist, but I still 
can't remember how to spell it even aftre their TV advertising campain :-)

> Personally, I think that the only time we should NEED to use GNU/Linux is
> for situations where you refer to it formally, that is, in similar
> situations to when you would refer to Redhat as Redhat Linux...
> 
> GNU/Linux is longer, harder to type, harder and say, and a nonsensical
> acronym anyways, so it's common use should not really be nescesary or
> expected. 

But if you just have it on a sig, say on official SLUG correspondance,
emails etc then you dont have to type it all the time. I have it on my web
site and Royal Society NSW web site. I still say "Linux" all the time to
friends.

> And I don't see RMS enforcing GNU/debian, or GNU/FreeBSD...  or does he. Why
> pick on Linux for any reason other than frustration for not being
> recognised?

Maybe. I prob would feel the same.

Mike
PS. Geez that fortune below this time is good...
-- 
I/O, I/O, It's off to disk I go, A bit or byte to read or write, I/O, I/O, I/O...

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Fw: Side issue about Sydney Linux User Group

2001-06-27 Thread Mike Lake

On Thu, Jun 28, 2001 at 02:01:58PM +1000, Bevan Broun wrote:
> But could we as (GNU/)linux users at least ack RMS's contrib with a
> "GNU/Linux" button on the slug website pointing to the GNU site and RMS's
> essays on the topic?
> 
> We could use GNU/Linux in the sig of the slug mail.

I think that is a simple and useful suggestion. It does not take much for us
to decide that that's one way to acknowledge the contributions of GNU stuff.
Just by having Linux/GNU on pages will cause newbies to ask "what's GNU" and
expand the horizons of how much open source there is.

SLUG has been, if rather informally, questioned as to why we don't refer to
Linux as GNU/Linux and this thread is now archived and searchable so our
response to RMS's comments is rather public. As SLUG is a largish and quite
well though-of LUG perhaps we should take the initiative that this gives us
and have a policy to try to give some more obvious credit where it is due.

I don't propose that we change the name but that suggestions such as 
Bevan's, and others are considered by the Committee. That SLUG take an 
active stance and maybe provide a model for other LUGs to follow in 
providing appropriate acknowledgement of GNU.

Mike
-- 
I am so optimistic about beef prices that I've just leased a pot roast with an option 
to buy.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Fw: Side issue about Sydney Linux User Group

2001-06-27 Thread Mike Lake

On Thu, Jun 28, 2001 at 01:26:42PM +1000, Matthew Davidson wrote:
> Linux, so SLUG is still a technically correct name.  However I suggest
> (audaciously, as a non-member) that SLUG adopt a policy of when
> referring to the kernel the term "Linux" is used, otherwise "GNU/Linux",
> particularly in public forums, publicity material, etc.

I sympathise with RMS but frankly the real world sometimes is a little harsh
and people who contribute greatly don't ge the full praise they deserve.

Last year I decided to use Linux/GNU in the "About this Site" section of the
Royal Society of New South Wales homepages.
http://www.science.uts.edu.au/rsnsw/#About

and also on my business and personal pages at:
http://www.speleonics.com.au/about.html

> It's only a little bit of care and effort to give credit where it's due,
> and put the philosophical issues front and centre.  It's frustrating

I agree. Just by Sluggers, Linux persons etc putting GNU/Linux or Linux/GNU
in the appropriate places can we say "thanks GNU to you too" (TGNU2U2)
:-)

Mike
-- 
Style may not be the answer, but at least it's a workable alternative.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Installing Driver Problems Under Red Hat 6.2

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 06:34:10PM +1000, D.V.Rogers wrote:
> Hi All
> Wondering if anyone can help out with why I am having trouble installing
> a driver under Red Hat 6.2
> Kernel 2.2.17-14.

Right at teh very start of the build you have...
 
> [root@seismic driver]# make depend
> /bin/cp Makefile.orig Makefile
> /usr/bin/X11/makedepend dio48h.c diotest.c
> /usr/bin/X11/makedepend: warning:  dio48h.c, line 1: cannot find include
> file "linux/version.h"
>   not in /usr/local/lib/gcc-include/linux/version.h
>   not in /usr/include/linux/version.h

$ dpkg -S /usr/include/linux/version.h 
libc6-dev: /usr/include/linux/version.h

So on my Debian system that suggests that you need the development library
sources for libc6.

Mike
-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs. -- 
Dennis Ritchie

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Using Locate Under Red Hat 6.2

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 06:36:47PM +1000, D.V.Rogers wrote:
> Hello All (Again)
> When using locate under Red Hat 6.2 i get the following;
> you need to run the /etc/cron.daily/slocate.cron command as root
> How do I do this?

Have a look at that file ie /etc/cron.daily/slocate.cron
You will prob find that its a script that runs something like this:

#!/bin/sh
/usr/bin/slocate -u -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"

That script just runs a program called slocate that updates a database of
where all the files are - ie keeps the database up-to-date.

You can run the script from /etc/cron.daily by hand.
Just go into the directory and type ./slocate as root.
It will run and do its job.

You are prob getting the message because the system has not had a chance to
run the script for a while.

Mike
-- 
It's sweet to be remembered, but it's often cheaper to be forgotten.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 06:25:30PM +1000, getadog wrote:
> On Wed, Jun 27, 2001 at 06:16:07PM +1000, Mike Lake wrote:
> > When I point it at http://localhost/~mikel I get 
> > "Forbidden You don't have permission to access /~mikel on this server."
> > AND the URL in the browser changes to:
> > http://mycomputername.mydomain.edu.au/~mikel/
 
> In your apache configuration search for UseCanonicalName 
> and set it to off. Comments in the file explain what it means.

AH! thats it.  http://localhost/~mikel now access my public_html directory
with "allow from localhost". I can now convert all iinstances of my own 
static addr in the access file to localhost.

# UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
# Apache needs to construct a self-referencing URL (a url that refers back
# to the server the response is coming from) it will use ServerName and
# Port to form a "canonical" name.  With this setting off, Apache will
# use the hostname:port that the client supplied, when possible.  This
# also affects SERVER_NAME and SERVER_PORT in CGIs.
#UseCanonicalName on

So if I was using 'localhost' which is refering to a URL that the request
comes from then it would use ServerName:Port ie b4114:80 ?
(Real names here now.)
With it off (ie just now I commented it out) what would it use as
hostname for me gives b4114
Im a little confused between the server name and hostname.

This machine here has name b4114 but its not listed in the Unis DNS.
I have 
#ServerName new.host.name
of course commented out.

> > Dont really follow about the binding.
> > I understand about mapping to an address if it can loo up an addr from a
> > name but not the bit about the "from" bit. 
> 
> try tcpdump -i lo then point your browser to http://localhost/
> and then http://mycomputername. Look at how your source
> address changes depending on which address you point your browser
> to.

Thats excellent. Yep run as root I can see it shows all the packets on the
local interface and dumps lots when you use the browser at http://localhost
etc. I'll have a play and see the diff with b4114. 

Mike
-- 
The future is a myth created by insurance salesmen and high school counselors.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 05:48:48PM +1000, Andrew Bennetts wrote:
> At a guess, the first should work, and the second shouldn't.  Your
> browser is free to bind to any local interface it likes when it creates
> a socket to connect to somewhere... default behaviour for sockets is to
> try pick an appropriate interface, so if you point your browser at a
> "real" IP addres, or a domain name that maps to one, it will connect
> from your internet connection's address, not your localhost one.

Thats what I can't follow yet - that the "internet connection address" that
my browser is connecting FROM is not the same as "localhost" which is me.

My browser, in order for return packets to get back to my browser, sits on I
gather mycomputer:80 ie port 80 on my machine.
localhost is a "synonym" for 127.0.0.1 (cause /etc/hosts maps it) which is 
my machine but not a machine and a port ie its just a machine. 

Is that right?

-- 
Nirvana? That's the place where the powers that be and their friends hang out. -- 
Zonker Harris

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 05:48:48PM +1000, Andrew Bennetts wrote:
> On Wed, Jun 27, 2001 at 05:11:24PM +1000, Mike Lake wrote:
> > # allow from localhost  # why does this not work?
> 
> Are you pointing your browser at 
>   http://localhost/blah
> or at:
>   http://mycomputername/blah

When I point it at http://localhost/~mikel I get 
"Forbidden You don't have permission to access /~mikel on this server."

AND the URL in the browser changes to:
http://mycomputername.mydomain.edu.au/~mikel/

(That means that localhost is being resolved to mycomputer.mydomain I
gather)

When I point it at http://mycomputername/~mikel I get 
"Forbidden You don't have permission to access /~mikel on this server."

> At a guess, the first should work, and the second shouldn't. 
Nope. neither.

If I point it just to http://localhost I get:
You don't have permission to access / on this server.

If I point it to http://mycomputername I get the correct index.html file 
in /var/www

> Your browser is free to bind to any local interface it likes when it creates
> a socket to connect to somewhere... default behaviour for sockets is to
> try pick an appropriate interface, so if you point your browser at a
> "real" IP addres, or a domain name that maps to one, it will connect
> from your internet connection's address, not your localhost one.
> I hope this helps (and I hope I'm making sense :)

Dont really follow about the binding.
I understand about mapping to an address if it can loo up an addr from a
name but not the bit about the "from" bit. 

Mike
-- 
Don't worry if you're a kleptomaniac; you can always take something for it.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-27 Thread Mike Lake

On Wed, Jun 27, 2001 at 05:21:30PM +1000, Mike Lake wrote:
> On Wed, Jun 27, 2001 at 05:12:59PM +1000, enterfornone wrote:
> > Does it do DNS lookups?  Perhaps 127.0.0.1 would be better than localhost.
> 
> To the first part, ?
> To the second part, no 127.0.0.1 also does not work.

Ok. my /etc/hosts says

127.0.0.1   localhost
etc.some other machines

so it should be able to understand localhost as 127.0.0.1 as I have

# /etc/nsswitch.conf
blah blah...
hosts:  files dns

Now that line above should tell system to look at files first before trying
to resolve via dns and my name server. But surely would not Apache know that
127.0.0.1 is this machine?

Mike
-- 
Weinberg's Second Law: If builders built buildings the way programmers wrote programs, 
then the first woodpecker that came along would destroy civilization.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

2001-06-26 Thread Mike Lake

On Wed, Jun 27, 2001 at 05:12:59PM +1000, enterfornone wrote:
> > Hi all,
> > 
> > Just setting up Apache conf file and I have the following:
> > 
> > 
> > Options Indexes SymLinksIfOwnerMatch
> > AllowOverride None
> > # MRL added next 3 lines
> > order deny,allow
> > deny from all
> > allow from 130.10.11.12 # allow from my own IP addr 
> > # allow from localhost  # why does this not work?
> > 
> > 
> > I seem to have to put my static IP addr in there for it to work.
> > Putting localhost does not work in any of the directives.
> > It would be preferable in case my IP addr changes sometime.
> > Why? What am I doing wrong.
> 
> Does it do DNS lookups?  Perhaps 127.0.0.1 would be better than localhost.

To the first part, ?
To the second part, no 127.0.0.1 also does not work.

Mike
-- 
When I was little, I went into a pet shop and they asked how big I'd get. -- Rodney 
Dangerfield

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] Apache: why doesn't "allow from localhost work" ?

2001-06-26 Thread Mike Lake

Hi all,

Just setting up Apache conf file and I have the following:


Options Indexes SymLinksIfOwnerMatch
AllowOverride None
# MRL added next 3 lines
order deny,allow
deny from all
allow from 130.10.11.12 # allow from my own IP addr 
# allow from localhost  # why does this not work?


I seem to have to put my static IP addr in there for it to work.
Putting localhost does not work in any of the directives.
It would be preferable in case my IP addr changes sometime.
Why? What am I doing wrong.

Mike
that ain't the real IP addr.
-- 
Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] SCP on debian

2001-06-26 Thread Mike Lake

On Tue, Jun 26, 2001 at 11:19:53PM +1000, Robert Reid wrote:
> Hi,
> scp is in the "ssh" package, so use
> apt-get install ssh
 
> It is in the non-us branch I think, so make sure there is something to
> that effect in your /etc/apt/sources.list file.
> I think the version in potato is quite old, so you may wish to grab it
> from woody or sid if you feel like it.

This is from my sources.list

# SSH2 is only in unstable and in the non-free section
deb http://non-us.debian.org unstable/non-US contrib main non-free

Mike
-- 
Today's scientific question is: What in the world is electricity? And where does it go 
after it leaves the toaster? -- Dave Barry, "What is Electricity?"

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] xdvi displays RGB !

2001-06-25 Thread Mike Lake

On Tue, Jun 26, 2001 at 01:21:13PM +1000, Mike Lake wrote:
> I made a post a while ago on my fonts in xdvi appearing strange.
> (22 May 2001). I still have not worked out what the prob is.
> 
> When I run xdvi the fonts appear to be "colour separated" ie
> all the letters instead of being black on a white background
> are alternating, vertical blue/red stripes."
.

BTW it's definately not a colour map running out from a hog like Netscape.
xwininfo:
Depth: 24
Visual Class: TrueColor

Netscape ain't running.

Have a look at the gif and you will see what I mean. Running out of colors
from the available colormap appears quite different.

Mike
-- 
Accuracy, n.: The vice of being right

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] xdvi displays RGB !

2001-06-25 Thread Mike Lake

Hi,

I made a post a while ago on my fonts in xdvi appearing strange.
(22 May 2001). I still have not worked out what the prob is.

When I run xdvi the fonts appear to be "colour separated" ie
all the letters instead of being black on a white background
are alternating, vertical blue/red stripes."
See previous post for the details. Seems like no one here
has encountered tha prob before but I have found out a few
more snippets that may help someone to guess what my prob may be.

If I hit 1G while in xdvi to turn on anti-aliasing the "colour
separation" disappears but I have bitty fonts - yep expected as
ani-aliasing is now off. If I type 0G to turn off aliasing I get 
the color-separated fonts again.

At 1s magnification (the largest) there is no prob but its there at 2s or
smaller magnification.

Any ideas on what the prob might be? The screen looks terrible. 

I have attached a gif to show what the prob is. Wait! don't flame me yet -
its only 1485 bytes. In this case a picture is really worth 1000 bytes of
text.

Mike
-- 
Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
   ***



 xdvi.gif


Re: [SLUG] slrn - getting down arrow key to show each article.

2001-06-24 Thread Mike Lake

On Sun, Jun 24, 2001 at 11:20:37AM +0930, Dave Fitch wrote:
> On Fri, Jun 22, 2001 at 04:10:19PM +1000, Mike Lake wrote:
> > Am using slrn to read comp.text.tex and when you scroll down the 
> > headers with the down arrow key you have to hit enter as well to
> > read the articles. I want it to be like mutt ie as you move
> > down the headers each article is displayed. 
> > Any one know how to do this?
 
> no sorry, but 'n' does what you want, in newsreaders it was
> traditionally always 'n' to move to the next article.

Ah perfect! Thanks.
Thats what I was looking for. It was so simple the manual didn't cover that
:-)

Mike
-- 
Just go with the flow control, roll with the crunches, and, when you get a prompt, 
type like hell.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] dpkg-source: command not found

2001-06-22 Thread Mike Lake

Thanks Andrew :-)

On Fri, Jun 22, 2001 at 05:31:41PM +1000, Andrew Bennetts wrote:
> On Fri, Jun 22, 2001 at 05:25:03PM +1000, Mike Lake wrote:
> > sh: dpkg-source: command not found
> > Unpack command 'dpkg-source -x ncpfs_2.2.0.17-1.dsc' failed.
> > E: Child process failed
 
> apt-get install dpkg-dev

and now I get:

# apt-get source ncpfs
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 486kB of source archives.
Get:1 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (dsc) [540B]
Get:2 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (tar) [479kB]   
Get:3 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (diff)
[6631B]
Fetched 486kB in 2m0s (4027B/s)

Mike
-- 
The Roman Rule: The one who says it cannot be done should never interrupt the one who 
is doing it.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] dpkg-source: command not found

2001-06-22 Thread Mike Lake

OK apt-get men whats gone wrong? How do I fix it?

# apt-get source ncpfs
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 486kB of source archives.
Get:1 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (dsc) [540B]
Get:2 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (tar) [479kB]   
Get:3 http://mirror.aarnet.edu.au stable/main ncpfs 2.2.0.17-1 (diff)
[6631B]
Fetched 486kB in 2m1s (3994B/s)
sh: dpkg-source: command not found
Unpack command 'dpkg-source -x ncpfs_2.2.0.17-1.dsc' failed.
E: Child process failed

It downloaded the source tar.gz fine but man apt-get or man dpkg 
or apropos dpkg does not mention dpkg-source.

Mike
-- 
Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] ncpmount: option problem

2001-06-21 Thread Mike Lake

On Thu, Jun 21, 2001 at 11:00:26PM +1000, Martin wrote:
> maybe a thought. have you tried:
> ncpmount -ov -S blah

# /usr/bin/ncpmount -ov -S  etc.
Unknown option `v', ignoring it

Unhappy Mike :-(
-- 
Life only demands from you the strength you possess. Only one feat is possible -- not 
to have run away. -- Dag Hammarskjold

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] ncpmount: option problem

2001-06-21 Thread Mike Lake

On Fri, Jun 22, 2001 at 09:37:48AM +1000, [EMAIL PROTECTED] wrote:
> > # /usr/bin/ncpmount -ov -S groucho -U mikelake -A 138.xx.xx.xx.xx
> > /web/http/faculty/ /mnt
> 
> i'm still guessing (not having ncpmount on my system)
> but have you tried
> # /usr/bin/ncpmount -v -S groucho -U mikelake -A 

Yep. That just returns the version number and does not even attempt
to contact the Novel serve.

Mike
-- 
"The jig's up, Elman." "Which jig?" -- Jeff Elman

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] ncpmount: option problem

2001-06-21 Thread Mike Lake

On Thu, Jun 21, 2001 at 11:00:26PM +1000, Martin wrote:
> maybe a thought. have you tried:
> ncpmount -ov -S blah

No I had not. I just tried:

# /usr/bin/ncpmount -ov -S groucho -U mikelake -A 138.xx.xx.xx.xx /web/http/faculty/ 
/mnt
Unknown option `v', ignoring it
Logging into MACHO as MIKELAKE
Password: 
ncpmount: Invalid argument in mount(2)

# /usr/bin/ncpmount -vo -S groucho -U mikelake -A 138.xx.xx.xx.xx /web/http/faculty/ 
/mnt
Unknown option `-S', ignoring it
usage: /usr/bin/ncpmount [options] mount-point
Try `/usr/bin/ncpmount -h' for more information

So -ov gives Invalid arg and -vo gives Unknown option for -S

a few more combinations.

# /usr/bin/ncpmount -v -o -S groucho etc
Unknown option `-S', ignoring it

# /usr/bin/ncpmount -v o -S groucho etc
ncpfs version 2.2.0.17

and I've tried -o -v also.

Umm..? The man pages says:

"-v Print  ncpfs  version  number.  It  has another meaning
(verbose) if you specify -o on command line. If you are
interested in version, type ncpmount -v without another
options."

So Im lost as to how to get debugging info. 
I am 'apt-get source ncpfd' ing now... :-(

Mike
-- 
The price of success in philosophy is triviality. -- C. Glymour.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] ncpmount: option problem

2001-06-20 Thread Mike Lake

On Thu, Jun 21, 2001 at 03:43:50PM +1000, DaZZa wrote:
> On Thu, 21 Jun 2001, Mike Lake wrote:
> > I am getting an error from ncpmount when trying to mount a Novel
> > Netware server. I used to do this with the previous RedHat but
> > have been unable to get it working lately.
> > # /usr/bin/ncpmount -vo -S macho -U mikelake -A 138.12.34.567
> >  /web/http/faculty/rsnsw /mnt
 
> It's the "-vo" option that is causing the problem, not the -S.
> dazza@fred:~ > ncpmount -vo
> ncpmount: option requires an argument -- o
sniped...
> Try it without the -vo switch {which isn't valid, according to my man page
> - different version than yours, though}.
> Try it without and see what happens.

Ah thankx DaZZa, thats solved one problem.

Logging into MACHO as MIKELAKE
Password: 
ncpmount: Invalid argument in mount(2)

yep its the vo that causes that error about -S not being valid.
The reason for using -vo on my version is that I wanted some debugging info. 
It takes a while for the "ncpmount: Invalid..." to return so I think it
IS trying to log me in. 
As you can see it says I have something wrong with the syntax.

man ncpmount for my version says
"-v Print  ncpfs  version  number.  It  has another meaning
(verbose) if you specify -o on command line. If you are
interested in version, type ncpmount -v without another options."

# ncpmount -v
ncpfs version 2.2.0.17

as the man page says -v gives version so maybe I'm doing something wrong
with the vo bit. I have tried -v -o and -vo but get same -S error.
How does me get the verbose?

Mike
-- 
'Course, that doesn't work when 'a' contains parentheses. -- Larry Wall in 
<[EMAIL PROTECTED]>

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] ncpmount: option problem

2001-06-20 Thread Mike Lake

Hi All,

I am getting an error from ncpmount when trying to mount a Novel
Netware server. I used to do this with the previous RedHat but
have been unable to get it working lately. 

# /usr/bin/ncpmount -vo -S macho -U mikelake -A 138.12.34.567
 /web/http/faculty/rsnsw /mnt

Unknown option `-S', ignoring it
usage: /usr/bin/ncpmount [options] mount-point
Try `/usr/bin/ncpmount -h' for more information

man ncpmount shows:
-S  server (server is the name of the server you want to use.)

and ncpmount --help shows:
usage: ncpmount [options] mount-point
-S server  Server name to be used
-U usernameUsername sent to server

so whats wrong with the option "-S"?

The ncpfs package is Version: 2.2.0.17-1 on Debian potatoe.

Anyone know if I am doing something wrong?

Mike
-- 
Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Why does my executable [SOLUTION]

2001-06-20 Thread Mike Lake

On Wed, Jun 20, 2001 at 06:01:38PM +1000, Jeff Waugh wrote:
> 
> > but I would like to understand why one can run binaries linked against
> > this library when their executable permissions are removed.
> > I gather that what is running it is the library rather than me?
 
> I was going to explain, but I found that if you just run ld-linux.so.2, it
> gives a pretty good starters explanation already.

Yes I understand now. One can also man ld.so
I had tried man ld-linux.so but no results and had not yet thought to just
run it without parameters.

Thanks,
Mike
-- 
[Washington, D.C.] is the home of... taste for the people -- the big, the bland and 
the banal. -- Ada Louise Huxtable

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] re SMH 19/6

2001-06-20 Thread Mike Lake

On Wed, Jun 20, 2001 at 09:31:31PM +, Howard Lowndes wrote:
> They could always resurrect Xenix

Trivia: The Uni of "Technology", Sydney is still running some 
scientific equipment on an IBM PS2 running an early SCO Xenix :-)

Mike
-- 
Consultant, n.: Someone who'd rather climb a tree and tell a lie than stand on the 
ground and tell the truth.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Why does my executable [SOLUTION]

2001-06-19 Thread Mike Lake

On Wed, Jun 20, 2001 at 04:04:10PM +1000, Jeff Waugh wrote:
> 
> 
> > chesty@starburst:~$ /lib/ld-linux.so.2 /usr/bin/xsnow 
> > Xsnow-1.41, December 16th 2000 by Rick Jansen ([EMAIL PROTECTED])
> > WWW: http://www.euronet.nl/~rja/Xsnow/
> 
> Which just goes to show that on *any* secure machine, you should *always*
> remove ld-linux.so.2!

Now I'm not to silly as to do that but I would like to understand why 
one can run binaries linked against this library when their executable 
permissions are removed. I removed all exec permissions from xeyes 
ie ugo-x and was still able to start it as a normal user using the
above trick.  (Debian potatoe)

I gather that what is running it is the library rather than me?

Mike
-- 
Your job is being a professor and researcher: That's one hell of a good excuse for 
some of the brain-damages of minix. (Linus Torvalds to Andrew Tanenbaum)

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] insmod over modprobe.

2001-06-18 Thread Mike Lake

On Mon, Jun 18, 2001 at 05:26:20PM +1000, DaZZa wrote:
> On Mon, 18 Jun 2001, George Vieira wrote:
> > Please reply to email as I'm not on the list.
 
> Am I the only one who finds this annoying and rude?
.bits eaten away
> he needs the list badly enough to badger
> us with his questions, but doesn't stay on the list so he can attempt to
> answer someone elses.

Well first ask George why he attaches the rider. 
He may have a good reason. George? :-)

-- 
squatcho, n.: The button at the top of a baseball cap. -- "Sniglets", Rich Hall & 
Friends

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Cheap and nasty camera

2001-06-17 Thread Mike Lake

On Mon, Jun 18, 2001 at 10:32:38AM +0800, Mike Holland wrote:
> On Mon, 18 Jun 2001, Jamie Honan wrote:
> 
> > All will be released under the GPL. But in order to show how to
> > build, what it looks like etc, I want to take some photos.
> 
> Use a scanner. Even cheap ones I used had a some centimetres depth of
> field, plenty for photographing flat-ish objects. And the quality is
> infinitely better than a cheap digital camera.
>   OR just use a regular camera, and scan the photo prints.

The latest issue of Cave Radio and Electronics Group, which I subscribe to, 
has an article on this technique for documenting PC boards complete 
with electronics.  I had not even though of it before. 
The depth of field of scanners is quite deep.

(Jamie, drop e a reminder email before next SLUG meeting and i'll mak ea
photocopy of the article for you)

Mike
-- 
I feel better about world problems now!

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] WHOIS..server.

2001-06-14 Thread Mike Lake

On Wed, Jun 13, 2001 at 10:56:38PM +1000, Chris Barnes wrote:
> dont liek them. I'll try the trick with the "--" but i cant promise
   "-- "
  /\
  |
  space

Mike
-- 
Some parts of the past must be preserved, and some of the future prevented at all 
costs.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] apt-get update rpm

2001-06-14 Thread Mike Lake

On Wed, Jun 13, 2001 at 12:12:11PM +, Herbert Xu wrote:
> Michael Lake <[EMAIL PROTECTED]> wrote:
> > Ah they have an rpm_4.0.2-10_alpha.deb !
> > Thanks - I'll pull it down tonight when my Alpha connects.
 
> This package will not work for you unless you're using testing or unstable.
> So you need to either upgrade to that or recompile the package.

Really? Bugger.
I tried dpkg -i rpm... but have put it off as it needed some upgrades
to some important libs. Didn't want to do hat yet as I have a Royal Society
of NSW Journal to get out by end of this month (all done in LaTeX on 
Deb/Linux) and I'm wary of upgarding libs when one has a deadline.

I'm not running testing or unstable so may have to come back to this
next month :-)

Thanks for all ya help.
Mike
-- 
The moving cursor writes, and having written, blinks on.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] apt-get update rpm

2001-06-12 Thread Mike Lake

Hi,

I have rpm 3.0.3 on my Debian box and want to update to 4.0
(to alien a RH7 mozilla binary for the Alpha).

But apt-get update rpm does not update it as it thinks thats the most
recent - pooh.

Does anyone know what section rpm might be in?

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



Re: [SLUG] Proxy blues

2001-06-05 Thread Mike Lake

On Tue, Jun 05, 2001 at 06:51:43PM +1000, Laurie Savage wrote:
> I cannot get through the Dept of Education Proxy server with Lynx or 
> Konqueror. The general setting given a school's ID is
> http://pac.xxx.yyy.zzz.au/schools/schoolid-xyzetc.pac
> Netscape under Linux can do this. Has anybody any ideas about getting 
> through a PAC setup. The Sydney admin people don't know/don't 
> care - I'm not using 

I did a search on google for "schools 'pac file'" and there are lots of
links to follow from Linux In Australian Scools list. 
One link, for Qld schools may help:
http://www.telstra-ccc.qld.schools.net.au/autoproxy/autoproxy.html
Lots of others too.

Mike
-- 
Love your neighbour, yet don't pull down your hedge. -- Benjamin Franklin

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Spend time working around bugs!

2001-06-04 Thread Mike Lake

On Tue, Jun 05, 2001 at 03:02:27PM +1000, Ian Ward wrote:
> > Now _THAT_ is innovation!  Don't worry about fixing the bugs, write a
> > whole new system to work around it.
> > http://www.microsoft.com/office/evaluation/fastfacts.htm

Well I had to use Windows and use IE Explorer to read it. 
Netscape 4.7 on IRIX and Linux shows a top title section and a blank
content. Just nice plain white space. I have to kill Netscape as the
File/Close won't work. But at least on Unix I can kill it. On Windows
netscape hangs on this page and can't kill it - have to reboot.
But it displays fine on Explorer :-) 

Ah Mike, read the code and see why! 
Good Idea :-) 
Oh my God! 

But did have a good use for Linux today. Someone sent a uuencoded Word Doc to
me and M$ Word thought it was in a different character set :-) Couldn't work
it out at all. A few minutes later in Linux; apt-get install sharutils;
uudecode word.doc; cp word.doc /dos/temp ... and Word reads it fine.

Mike
-- 
Good day for overcoming obstacles. Try a steeplechase.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] Linux Instructor

2001-05-30 Thread Mike Lake

On Thu, May 31, 2001 at 03:41:23PM +1000, Del wrote:
> > Linux Australia (http://www.linux.org.au/) have a recruitment database
> > which is suitable for this purpose.
> 
> I've seen that, but it's rather out of the mind's eye.  If someone needs
> a Linux person in a hurry then I can't see what's wrong with a post here.
.
> Can we perhaps restrict the format ... perhaps make the poster put the
> ad onto linux.org.au and then just post a 2 liner with the URL here?

That would be an excellent idea and a possible compromise. I have placed an
ad myself on Linux Aust last year but at the time also mentioned on this 
list that I was looking for a programmer (and a got a really good SLUG one
too). Thats why I would not like to see ads totally banned. They have a
place. There are prob many young programmers here that may get their first
nibble at some commercial work and get experience by seeing an ad here. So I
would support a 2 liner pointing to a URL at Linux Aust or some other place.

Mike
-- 
You definitely intend to start living sometime soon.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] OT: memory pricing

2001-05-23 Thread Mike Lake

On Thu, May 24, 2001 at 12:35:33AM +1000, Rob B wrote:
> Hi all,
> Anyone know where I can get reasonably priced ECC SDRAM memory ... say 128M
> or 256M sticks?  Doesn't have to be super-fast either .. PC83 will do

This isn't a hardware list but...
Pelham at Pennant Hills have everything yo need in memory including knowing
what the are talking about.
Len Chan at Cetus Technnology at Hornsby would be very good to checkout.
They may have better prices than Pelham.

http://www.cetustech.com.au

Mike
-- 
Afternoon very favorable for romance. Try a single person for a change.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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] xdvi displays RGB !

2001-05-21 Thread Mike Lake

Hi All,

Have an unusual problem. My xdvi display was working quite fine but now the
letters are red, green & blue. The characters are fuzzy as each one seems a
superposition of a few characters. It wa quite fine some months ago. 
I made sure Netscape is not running as it can hog colours and have set 
enlightenment background back to plain. If I startx xdvi witha dfferent
background I get same prob. If I expand the background it shows fine without
the blurred appearance.

I don't think I'm running out of colours as xdvi ran fine before, graphics
viewers started after xdvi can show graphics fine and usually if you run ot
of video mem it affects all apps that use colours. xdvi is a B/W app.

Anyone seen this before?

Mike
-- 
Michael Lake, ASF Safety Convenor.
University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
   *



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



Re: [SLUG] Where to get a 2nd hand laptop

2001-05-17 Thread Mike Lake

On Fri, May 18, 2001 at 12:00:48PM +1000, Andy Eager wrote:
> I have a friend who saw a cockroach run into his toshiba.   He then 
> placed the said laptop into the freezer in an attempt to kill it.

It was probably a Toshiba Bug that he saw returning to the laptop :-)

Mike
-- 
Writing is turning one's worst moments into money. -- J.P. Donleavy

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



Re: [SLUG] mutt and urls

2001-05-17 Thread Mike Lake

On Thu, May 17, 2001 at 12:48:38PM +1000, Jobst Schmalenbach wrote:
> On Wed, May 16, 2001 at 04:07:09PM +1000, Mike Lake ([EMAIL PROTECTED]) wrote:
> > I have installed urlview to fire up netscape when using mutt. 
> > OK it works but I have to:
> > * hit Ctrl-b to browse and a menu pops up of all the urls
> > * cursor to the appropriate entry
 
> you can use a number to jump to the appropriate URL!
Yes but its still two keystrokes, meanwhile the Windows user is a length
ahead :-)

> > * I then have to type q to quit the menu
> > * it asks for "press any key to continue"
> if you set "wait_key" to no it does not (mutt manual):

Now that is a nice tip and its works very well. Thanks.

Mike
-- 
You will gain money by a fattening action.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver 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



  1   2   >