Re: [SLUG] run levels

2002-04-23 Thread Antony Stace

you need to change

/etc/inittab

The link

http://www.tldp.org/LDP/sag/x2111.html

might be helpful.



On Wed, 24 Apr 2002 11:11:02 +1000
Mick Howe [EMAIL PROTECTED] wrote:

 I need to change the default run level in redhat 7.1 for a while.
 
 how do I do it?
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Any recommendations for an on line secondhand computer shop located in Australia?

2002-04-16 Thread Antony Stace

Any recommendations for an on line secondhand computer shop located in Australia?


Cheers

Antony





_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



[SLUG] What is an easy way to see the HTTP headers in a HTTP request?

2002-04-09 Thread Antony Stace

What is an easy way to see the HTTP headers in a HTTP request.  I want to see things 
like

HTTP/1.1 200 OK
Date; Fri, 30 Oct 1998 13:12:23 GMT
Server: Apache/1.3.3 (Unix)
Cache-Control: max-age=1800, must-revalidate
..
..
..


Thanks for your wisdom!!

Cheers

Tony

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] What is an easy way to see the HTTP headers in a HTTP request?

2002-04-09 Thread Antony Stace

Thanks Chris.

On Tue, 9 Apr 2002 17:00:10 +1000
Chris Young [EMAIL PROTECTED] wrote:

 On Tue, Apr 09, 2002 at 03:58:29PM +0900, Antony Stace wrote:
  What is an easy way to see the HTTP headers in a HTTP request.  I want to see 
things like
  
  HTTP/1.1 200 OK
  Date; Fri, 30 Oct 1998 13:12:23 GMT
  Server: Apache/1.3.3 (Unix)
  Cache-Control: max-age=1800, must-revalidate
 
 In the apache logs?  At the client (browser) end?  Over the network?  Your
 question is confusing because you use the term HTTP request then paste what
 appears to be a response to an HTTP request.  Are you after the response or
 the request.


From the clients side, I want to see what the server is sending the client.
Thanks for the suggestions...now I will put them to work!

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] What is an easy way to see the HTTP headers in a HTTP request?

2002-04-09 Thread Antony Stace

Thanks for the help folks!

 
   1) You can telnet to port 80
 
  try
 
  1)telnet www.server.com 80
 
 (You will see something like this)
Trying www.server.com 
   Connected to www.server.com
   Escape character is '^]'.
 
 
  2)HEAD / HTTP/1.0 (press return twice)
 
  you will get to see the HTTP headers like these.
 

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] Optus Dial-Up Internet

2002-03-17 Thread Antony Stace

 watch out though as Dingoblue (and hence optus I gather since I don't
 think there's anything special with the hardware/connection for dingoblue
 versus optusnet customers) block inbound ports 25 and 80 (and possibly
 others).  This means you can't run your own web or mail server (well
 not on standard ports or not without some trickery).

What about Optus's Cable and DSL services.  
Anyone know if they block ports which are used in popular video conferencing 
software(NetMeeting, Gnome Meeting) or telephone software?
What about ssh, is that port blocked?

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] Optus Dial-Up Internet

2002-03-17 Thread Antony Stace


  What about Optus's Cable and DSL services.  

Is there a website somewhere that lists the suburbs where Cable is available, both 
Optus and Telstra. 
I just looked on the Optus site and the only way to see if a suburb has Optus Cable is 
to type in the postcode.  The postcodes
I tried didn't have Cable access :(, so I am looking for a general site which says 
which suburbs have it, anyone know of
such a list?

Cheers

Tony


_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] Optus Dial-Up Internet

2002-03-17 Thread Antony Stace

 You have to give them a call and ask them. 

Will do.

If you live in a unit, chances
 are they won't be able to provide cable service to your home.

Is there any one who has Cable/DSL to a unit/apartment? If so who is the providor?

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



[SLUG] Mozilla to Netscape cookie converter

2002-03-13 Thread Antony Stace


Anyone know of a program that can convert a Mozilla format cookie file to a Netscape 
format cookie file?

Thanks

Tony

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] Mandrake

2002-03-12 Thread Antony Stace

 
 [blah@blah tar]# rpm -tb smpeg-xmms-0.3.5.tar.gz
 smpeg-xmms-0.3.5.tar.gz: No such file or directory

is . in your PATH?, if not you might try

PATH=$PATH:. ; rpm -tb smpeg-xmms-0.3.5.tar.gz

or

rpm -tb ./smpeg-xmms-0.3.5.tar.gz

_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] ext2 or ext3?

2002-03-11 Thread Antony Stace

 ext3 by a long shot; by default, it uses ordered writes (a kind of
 journalling), so your data is safer, and you don't have to wait through
 laborious fscks when you start up. You can also turn on full data
 journalling, which, whilst slower, is safer again (it's also oddly faster
 for some kinds of operations).

How do I set the journalling level?
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] A question for vi gurus

2002-03-11 Thread Antony Stace

Can someone please enlighten me on how to yank from mark a to mark b and place it 
in 

1.  the default no name buffer
2.  a named buffer

Cheers

Tony

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



[SLUG] Logging onto ftp.oracle.com failing

2002-03-07 Thread Antony Stace

Hi

I need to get a patch for oracle, 

ftp://ftp.oracle.com/pub/www/otn/linux/glibcpatch.tgz

It prompts for a username and password, I signed up and got one.  However whenever
I try and

1.  ncftp -u myusername ftp.orcale.com
2.  Enter this link into a Internet Explorer 6(All other browsers do nothing except to 
report password failure) and enter my username and password when a dialog appear

they both fail.  How can I log in and get this patch?

Cheers

Tony

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



Re: [SLUG] bash shell script variables

2002-03-03 Thread Antony Stace

 
 RRexportflag=yes
 XXexportflag=no
 
 for i in `cat companies`
 do
 
 if [ $iexportflag = yes ] ; then
 
 do some exporting 
 
 fi
 done

 The problem I have is that the $iexportflag becomes RRexportflag and Not the
 value (yes) which is what I want

you might want to try using == (equality check) instead of =(assignment)



_
Do You Yahoo!?
Get your free yahoocom address at http://mailyahoocom

-- 
SLUG - Sydney Linux User Group Mailing List - http://slugorgau/
More Info: http://listsslugorgau/listinfo/slug



Re: [SLUG] bash shell script variables

2002-03-03 Thread Antony Stace

 you might want to try using == (equality check) instead of =(assignment)

Opps, Monday!forget i said thati should have read your email better

Tony


_
Do You Yahoo!?
Get your free yahoocom address at http://mailyahoocom

-- 
SLUG - Sydney Linux User Group Mailing List - http://slugorgau/
More Info: http://listsslugorgau/listinfo/slug



[SLUG] Looking for Calender Generating Program

2002-03-02 Thread Antony Stace

Hi

I am looking for a calender program for linux which works like

/usr/bin/cal

but produces output suitable for printing  One month should take up
one A4 page and each day should be in a box/rectangle big enough so 
someone can write a small note for a particular day
Any such program floating around out there that can do this?


Cheers

Tony



_
Do You Yahoo!?
Get your free yahoocom address at http://mailyahoocom

-- 
SLUG - Sydney Linux User Group Mailing List - http://slugorgau/
More Info: http://listsslugorgau/listinfo/slug



[SLUG] Shutdown sequence on Kondara 2.0(Redhat 7.1 Based) hangs

2002-02-26 Thread Antony Stace
Hi Ladies and Gentlemen


Everytime I shutdown my computer(Kondara 2.0, based on Redhat 7.1) the shutdown 
sequence always hangs, the last messaage
on the screen is

starting killall: su(pam_unix)[2689] session opened for user tomcat by(uid=0)

The shutdown sequence just stays on this script and never finishes, well until I hit 
the power button, needless to 
say this isn't such a good thing.  

Anyone have any idea why it just hangs here, and better still how can I fix this.

-- 


Cheers

Tony。
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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


[SLUG] How can I get a list of locks in a table in Postgres?

2002-02-23 Thread Antony Stace
Hi

I have run into a problem with postgres.  I cannot update some rows in a table while
i can update other rows in the same table.  How can I see what locks are on a 
table/row in postgres?


-- 


Cheers

Tony。
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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


Re: [SLUG] RE: slug digest, Vol 1 #1519 - 9 msgs

2002-02-21 Thread Antony Stace
Look in /etc/xinit.d


On Wed, 20 Feb 2002 16:05:21 +1100
"Upendra Singh" [EMAIL PROTECTED] wrote:

 Dear friends,
 I have Red Hat Linux 7.0. I am trying to disable/enable a few services, but
 /etc/inetd.conf does not exist on this system.  Could you tell me what is
 that, if there is any, the equivalent file on this system?
 Thanks
 Upendra
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, January 01, 2002 6:26 AM
 To: [EMAIL PROTECTED]
 Subject: slug digest, Vol 1 #1519 - 9 msgs
 
 
 Send slug mailing list submissions to
   [EMAIL PROTECTED]
 
 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.slug.org.au/listinfo/slug
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it is more specific
 than "Re: Contents of slug digest..."
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 -- 
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 


Cheers

Tony。
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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


Re: [SLUG] linux grinding to a halt

2002-02-19 Thread Antony Stace
 Sometimes (too often) I am working on my Mandrake 8.1 machine and suddenly 
everything grinds to a halt making me have to do a cold boot.
 This is quite annoying and has the potential to corrupt data and losing information 
I am working on.
 This happens sometimes when using Mozilla, or anything that is too processor or 
memory intensive.

My machine also freezes up completly sometimes when using Mozilla, I am running 
Kondara 2.0(Redhat 7.1 base System)
I have found that Mozilla trashes the system often if I right click a link and choose 
save, needless to say, I don't
do this anymore!
I have no idea why Mozilla can kill the OS.  Seems bad an application run as non root 
can bring the OS to a halt.



-- 


Cheers

Tony。
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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


[SLUG] Does java compiler with Suns JDK supports multiprocessors in Linux

2002-01-28 Thread Antony Stace

Hello

I have had a look on the web, but can't seem to find much information on this.
Does anyone know if the java compilers and runtime environments included with Suns JDK 
1.3 and 1.4 
take advantage of a multiprocessor linux system(Assume a fairly recent stable kernel) 
or will they use(in a 2 processor
system) just one processor.  I want to speed up compile times but am not sure if a 
multiprocessor system will do it.
  
I don't know if this is a function of the java compiler itself or the operating system.



-- 


Cheers

Tony

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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



Re: [SLUG] Finding open files on the system

2001-05-09 Thread Antony Stace
sounds like

lsof

if you wrote your utility in c I would be interested in looking at the
source code, does it parse the /proc file system to get the information?


Cheers

Tony

Andrew Eager wrote:
 
 At the last meeting,  it was asked:
 
 " If the disk is spinning madly is there any way to determine which
 process is causing the activity ?"
 
 A bloody good question that I have asked myself many times.  I used to
 have a utility called 'fopen' under QNX but not under linux.
 
 If anyone is interested,  I have written a utility called 'fopen' which
 does the following
 
   a)  Prints the PID, Process name  Currently open files for that PID
   b)  as above but for sockets
   c)  as above but for pipes.
 
 It also prints either the size of the file (so you can see it growing)
 or optionally, the time since last access/change/modification.
 
 Example:
 
PIDPROCESSTIME FILE/RESOURCE
   1161   crond00:05:18  /var/log/cron
 
 . etc
 
 If anyone interested, let me know.
 
 Andrew E.
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug

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


[SLUG] Looking for c source code which can generate passwords for cvs

2001-05-03 Thread Antony Stace
Hi Folks

Does anyone know where I can find some c source code which
can generate the passwords used by cvs.

Cheers

Tony

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


[SLUG] Dragging Applications between Destops in KDE2, is it Possible?

2001-05-03 Thread Antony Stace
Hi Folks

Is it possible to change a setting somewhere so I can drag an
application between Desktops in KDE2?

Cheers

Tony

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


Re: [SLUG] mySQL delete problem.

2001-03-27 Thread Antony Stace

do you have delete permissions on the password table?

Stephen Robert Norris wrote:
 
 On Wed, Mar 28, 2001 at 01:09:29PM +1000, Grahame Kelly wrote:
  Hi all.
 
  I have a table called password which has:
 
  Field   Type
   uname   varchar(64) Key
   passwd  varchar(16)
 
  and another table user (partly shown) which has:
 
  Field   Type
   unamevarchar(64) Key
   status varchar(64)
   total   varchar(64)
 
  and I am wishing to delete all users from passwd
  where user.status = "old".
 
  I have tried the following which according to MySQL
  manual should work (Deleting Rows from Related Tables).
 
  delete FROM password WHERE password.uname IN
  (select uname FROM user WHERE status = "old");
 
  Can anyone offer some assistance.
 
  Thanks, Grahame
 
 What happens? Does the subselect (if run by itself) produce the results
 you expect?
 
 --
 Stephen Norris[EMAIL PROTECTED]
 Farrow Norris Pty Ltd   +61 417 243 239
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

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



[SLUG] Is there an open source VSS client?

2001-03-23 Thread Antony Stace

Hi Folks

Does anyone know if there is an open source client out there which can
access a Visual Source Safe(VSS) repository?  I want to access a VSS
repository from Linux and LynxOS.

Cheers

Tony

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



Re: [SLUG] Read a:

2001-02-20 Thread Antony Stace

if you have problems with mtools, make sure 

/etc/mtools.conf

is configured correctly


Raoul Golan wrote:
 
 "David Slater" [EMAIL PROTECTED] writes:
 
  From a REAL beginner to Linux,
 
  How do I read my DOS zipped file on the A: drive ?
 
  (Because I want to activate my TANDBERG Tape drive, and I am hoping
  a downloaded firmware upgrade-driver might do the trick).
 
  Regs, David.
 
 $ mcopy a:file.zip .
 $ unzip file.zip
 
 Make sure you have mtools and unzip installed.
 
 --
 :%s/[Ll]inux/GNU\/Linux/g
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

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



Re: [SLUG] Ftping multiple files on command line

2001-02-20 Thread Antony Stace

look at

ncftpget

and

ncftpput

John Ferlito wrote:
 
 Anyone know of a nice tool perferably something standard that
 will let me ftp files from the command line. I'm currently using this
 
 lftp -e 'mget dat*.tar; quit' ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/
 
 but it's hard to get lftp to keep quiet. The * is the problem by the way
 otherwise I'd just use wget.
 
 --
 John Ferlito
 Senior Engineer - Bulletproof Networks
 ph: +61 (0) 410 519 382
 http://www.bulletproof.net.au/
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

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



Re: [SLUG] Convert unix timestamp to human readable?

2001-02-14 Thread Antony Stace

When you say timestamp do you mean seconds since epoch?
What format do you want the output in, example please.


"MacFarlane, Jarrod" wrote:
 
 Does anyone have a script/method/program that'll convert a unix timestamp in
 to something I can read?
 
 I've searched google, found some scripts that have not worked.. found a lot
 of things that didn't help me.
 
 Suggestions?
 
 Thanks,
 Jarrod.
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

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



[SLUG] Problems with an expect script

2001-02-13 Thread Antony Stace

Hi Folks

I am having problems with a simple expect script.  The contents are

x
#!/usr/bin/expect -f 
set addy devmachine
set user devuser
set password PASSWORD

spawn telnet -l $user $addy

expect "user name:"
send "$user\r"

expect "password:"
send "$password\r"  (1)

interact (2)

xxx
this works fine.  When I want to set up some environment variables and a
few other things between (1) and (2),
ie

[snip]
expect "devmachine:"   #looking for the command prompt
send "resize\r"
[snip]

the script always logs on ok, then it stalls for about 10 seconds with
the message of the day followed by
  
^[[13;80R

after this annoying pause I eventually get the command prompt without
any of my commands being run.  I have tried putting a sleep 3 between
(1) and (2) but it doesnt seem to help.

Can someone please suggest how I might fix this.

Cheers

Tony

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



Re: [SLUG] Formating a USB Floppy

2001-02-08 Thread Antony Stace

hi folks

thanks for all the suggestions,

mkfs.msdos -I /dev/sda

did the trick

cheers

tony


John Clarke wrote:
 
 On Thu, Feb 08, 2001 at 11:48:08AM +0900, Antony Stace wrote:
 
  doesn't want to work
 
 No, sorry, my fault.  fdformat does a low-level format, which I didn't
 know (thanks Ken), mkdosfs just creates the filesystem.  I thought you
 were just trying to create the filesystem.
 
 fdformat only works on devices with a major number of 2.  You can't
 simply delete this check and recompile the program, because the
 format mechanism is different.
 
 Standard floppy controllers format track-by-track, that is, they need
 to be told to format each track in turn.  SCSI devices, however, have a
 format command which formats the entire device at once.  IIRC, you need
 to specify the device parameters in the format command.
 
 I was thinking that it'd be fairly easy to write a SCSI format program,
 but I needed some information to do so.  A quick google search turned
 up this:
 
 http://pantransit.reptiles.org/prog/archive/scsifmt.c
 
 According to the comments, it's supposed to check that the device is
 a Zip drive, but although there's code present to do that check, the
 function is never called.  The only thing I'm not sure of is whether
 it needs to be changed to pass tracks/sectors/heads/sector size in
 the format command.  I don't have a SCSI floppy drive on which to
 test it ...
 
 Cheers,
 
 John
 --
 Any sufficiently advanced technology is indistinguishable from a rigged
 demo.
 
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://slug.org.au/lists/listinfo/slug

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



[SLUG] Formating a USB Floppy

2001-02-07 Thread Antony Stace

Hi Folks

Can someone please tell me how to format a disk in MSDOS format with a
USB floppy drive.  I am running Kondara MNU/Linux 2000 which has Kernel
2.2.17-10k.
My computer recoginses the USB floppy as /dev/sda.  I cannot use the

fdformat

command since it only works on the devices /dev/fdXX. 


Cheers

Antony

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