Re: [Poptop-server] Re: Problem in using pptp-linux

2003-08-27 Thread James Cameron
Arnt,

The problem James Ng Yuen Sum is experiencing is with configuring the
PPTP client, which is supported by the PPTP client mailing list.  I'm
the release engineer for the client.  I lurk on the PPTP server mailing
list to assist occasionally.

His statement that the web sites recommended an erroneous shell script
is astounding.  I can only guess that such web sites are outside the
normal ones.  The instructions for installing PPTP client on Debian is
on the PPTP client web site, and they don't mention a script anything
like that:

http://pptpclient.sourceforge.net/howto-debian.phtml

I wrote these instructions and tested them on Debian GNU/Linux stable
(Woody), and continue to occasionally test them on the testing
distribution.

So I'd ask James Ng Yuen Sum to tell the owner of the web site he is
referring to that their instructions are incorrect.  I cannot find the
instructions via Google, so I presume they are on a private web site.

There's nothing wrong with pptp-linux that I can see in the error
messages he shows us.  The problem is with the script provided by the
hidden web site.

-- 
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gnupg Evolution

2002-06-20 Thread James Cameron
On Wed, 2002-06-19 at 18:59, Helgi Örn wrote:
 I have this annoying problem with Evolution and gnupg; when I click a
 message lock icon to check the signature Evolution often hangs before
 the lock opens. I then have to brutally kill it and start anew.

Do you have network connection at the same time?
If not, I would expect some trouble.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: beep unconditionally

2002-06-20 Thread James Cameron
On Thu, 2002-06-20 at 17:13, Alex Malinovich wrote:
 apt-cache show beep

And then there's apt-cache show morse for when you really what the
machine to tell you what's wrong through the speaker.  ;-)

Friends of mine have an ip-up.d script for their 56k modem that lets
them know it is time to hit the net.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: User Logon Logging?

2002-06-17 Thread James Cameron
On Sun, 2002-06-16 at 04:45, Charlie Grosvenor wrote:
 In Debian woody how do I turn on user logon logging, so that a log entry
 is produced each time a user logs on?

It's already on for me.  Just type last to see the most recent
logins.  Install the sac package to analyse the wtmp file in more
detail.  See man sac.

Change the 'rotate 1' in /etc/logrotate.conf for /var/log/wtmp if you
want the logs to last longer.

(I use wtmp in my ppa package, which tracks logins on an internet cafe's
win32 clients, through samba, as well as ssh logins to the server.  See
http://quozl.netrek.org/ppa )

--
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: debian is neat but how do I turn the computer off?

2002-06-14 Thread James Cameron
On Fri, 2002-06-14 at 11:51, Derrick 'dman' Hudson wrote:
 On Fri, Jun 14, 2002 at 10:39:54AM +1000, James Cameron wrote:
 | (b) how to make this change to /etc/inittab as a package to be installed
 | on multiple machines?
 One character difference.  It doesn't look like inittab is in any
 package, so I don't know the best way to automatically change it on
 multiple systems.

The package I have made (which also adds a graphical shutdown image
using zgv) does this in the post-installation script ...

# change control/alt/delete sequence to halt rather than reboot
sed 's/shutdown -t1 -a -r now/shutdown -t1 -a -h now/' \
 /etc/inittab  /etc/inittab.dpkg.lenny-shutdown
mv /etc/inittab /etc/inittab.pre-lenny-shutdown
mv /etc/inittab.dpkg.lenny-shutdown /etc/inittab
telinit q

But I was hoping to find a more elegant solution.  ;-)

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: debian is neat but how do I turn the computer off?

2002-06-13 Thread James Cameron
On Thu, 2002-06-13 at 14:53, Derrick 'dman' Hudson wrote:
 Also, the default inittab has Ctrl-Alt-Del mapped to reboot the
 system.  You can always use that to try and reboot.  (I remapped it to
 shutdown on my systems because I wanted to)

(a) how to make this work even in X,

(b) how to make this change to /etc/inittab as a package to be installed
on multiple machines?

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


ecc, error correcting code insertion

2002-06-12 Thread James Cameron
Is there a Debian package that contains code that will add error
correcting codes to a data stream (e.g. a pipe) so that loss of a
segment of the stream can be recovered from?

(tried apt-cache search ecc, and a few other keywords)

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: ecc, error correcting code insertion

2002-06-12 Thread James Cameron
G'day Bob  Eric,

Bob was right.  I am not looking for a specific use.  I am after a
reliable way to perform end to end data verification and correction of
any stream. 

Verification is still necessary despite guarantees from TCP/IP protocol
stacks, kernel socket APIs, and programmers of TCP clients.  Most of us
do file verification using md5sum.

I've been familiar with the technology of ECC and FEC for many years,
especially in the use of CRCs and redundancy groups in the OpenVMS
BACKUP utility.  I'm looking for an open source solution to consider for
integration with some of the open source projects I lead.  Being a
Debian user for a couple of years, I felt Debian would have had
something for me.  ;-)

I'm a socket API programmer myself, and know about EAGAIN and SIGPIPE,
but that isn't the issue for me.  I suppose I could have meant a popen()
pipe.

The context that triggered my search was backup media, like floppy
discs.  vdmfec seems like it might address the requirement, though it
cannot cope with data loss.

Bob: I searched for ecc, but didn't find anything but the ecc.README ...
have you found the code anywhere?

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: problems with mppe and ppp in sid

2002-06-03 Thread James Cameron
G'day Arne,

I'm the PPTP Client[1] project release engineer.

As far as I know, Debian has not yet packaged a version of pppd with
mppe support.  (I'm not a Debian developer, and I haven't downloaded the
sid pppd package to verify this).  I worked around this lack by
compiling pppd myself from sources[2], and using that pppd with pptp.  I
can continue to use the Debian pppd for my other connections, because I
can start the mppe capable pppd and have it invoke pptp via the pty
option, a new feature with 1.1.

On my PPTP Client Diagnosis HOWTO page[3] you can find a cheap trick to
check to see if the pppd you have has mppe support.

References:

1.  PPTP Client project web page
http://pptpclient.sourceforge.net/

2.  How to install PPTP Client on Debian
http://pptpclient.sourceforge.net/howto-debian.phtml
(while this says it was last tested on potato, I've since upgraded to
woody on that machine)

3.  Checking pppd for MPPE support
http://pptpclient.sourceforge.net/howto-diagnosis.phtml#mppe_pppd

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


How to set 800x600 X?

2002-05-30 Thread James Cameron
How do you set the X server to 800x600 from a program or script?
How do you detect on a woody system whether X is 3.3 or 4.1?


G'day,

I'm setting up for an outback lan party, and since I'm using some old
equipment I'd like every one of the 12 Debian boxes to run an X server
at 800x600.

While I can probably write something that will take the XF86Config file,
remove the higher resolutions, and then start the X server ... surely
there is a better way?

# X -xf86config something :1 vt08

Can the X server once running be instructed to switch to 800x600?  I
know the Control/Alt/+ and Control/Alt/- keys do that, but I want to do
it under program control.  I'd also need to be able to change the offset
to the virtual screen; which happens when you move the cursor to the
edge of screen when the virtual resolution is larger than the display
resolution.

Also, some of the boxes have Trio64 cards, which are supported on 4.2,
not 4.1, and so I have to use 3.3.  Without starting the X server, how
can I tell on a specific Debian box which version will be started? 
Checking 'dpkg --list' hasn't helped ... sometimes both xserver-s3 and
xserver-xfree86 are installed.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: PHP4 setup problems

2002-05-28 Thread James Cameron
You're right, it is very simple.

Move the script to /var/www or where your other content is, then access
it via your web server.

http://localhost/hello.php

I wouldn't be surprised if we all forgot to mention that in the
documentation!

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: activating ipchains ip masqurading ...

2002-05-28 Thread James Cameron
Isn't it just a simple 'apt-get install ipmasq'?

It's been a while since I did this on Debian 2.2, but I thought that was
a lot easier than following the HOWTOs.  One of those wonderful 'just
works' packages.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: PHP4 setup problems

2002-05-28 Thread James Cameron
On Tue, 2002-05-28 at 22:36, Andrew Pritchard wrote:
 Hmmm - now it comes up with a 403: Permission denied. And from the error.log:
  [error] [client 127.0.0.1] Options ExecCGI is off in this 
 directory: /var/www/hello.php

Make sure it is not executable.  Mine are not, and they work.

After that, if it still doesn't work, what have you changed in
httpd.conf since installing the packages?  I thought all I did to make
it work was 'apt-get install apache php4'.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: exim imap

2002-05-24 Thread James Cameron
On Fri, 2002-05-24 at 10:58, Tom Allison wrote:
 I'm looking for suggestions on how to get exim on one server to run imap 
 for several clients.

They are separate tasks.  exim handles the inbound mail and stores it in
/var/mail/user, and imap provides access to /var/mail/user.

Package exim for the mail transport, and package uw-imapd or
uw-imapd-ssl for the client connections.

Configure them separately ...

- install exim,
- configure exim,
- test that a local mail reader (e.g. mutt) can operate,
- install an imapd,
- test that a remove mail reader can access the mail spools.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: Evolution: Cannot append message to mbox file: Success

2002-05-23 Thread James Cameron
Solved.

It was a bounce message after my previous posting to debian-user that
caused the problem I mentioned with Evolution.  It's all in bug 147855
if anybody wants to see it.  http://bugs.debian.org/147855

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: screens saver - scrolling marquee

2002-05-23 Thread James Cameron
On Thu, 2002-05-23 at 01:28, ktb wrote:
 Anyone know of a screensaver for linux along the lines of Scrolling
 Marquee in Windows?  

What springs to mind is the mgp package (MagicPoint) which is a
scriptable presentation tool.  One can create a free-running
presentation that has the data you need to display, with text arriving
from off screen even.  But I don't know a way to make it work as a
screen saver.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Evolution: Cannot append message to mbox file: Success

2002-05-22 Thread James Cameron
G'day,

I've been happily using Evolution (1.0.3-1) on woody now for a month,
and it has just started not receiving mail from my /var/mail/me mbox
file.

When I press the Send/Receive button, an error message appears:

Error while 'Fetching Mail':
Cannot append message to mbox file: /home/me/evolution/local/Inbox/mbox:
Success

Is this a problem I caused?  Has anyone else seen it?  I've found only
one, old, reference on google.  No bugs match this on
http://bugs.debian.org/evolution

The only thing I recall changing before it stopped was adding a new
filter for debian-users to push mail to another folder.  I've since
restored the filters.xml file from backup (10th May) and even deleted it
altogether.

After the failed receive of mail, the ~/evolution/local/Inbox/ directory
looks like this;

~/evolution/local/Inbox$ ls -l
total 4508
-rw-r--r--1 root root  103 Dec  4 11:08
folder-metadata.xml
-rw-r--r--1 root root   95 May 23 11:00
local-metadata.xml
-rw---1 root root   343353 May 23 10:48 mbox
-rw---1 root root68286 May 23 10:48 mbox.ev-summary
-rw---1 root root  1653504 May 23 10:48 mbox.ibex
-rw---1 root root  2521711 May 23 10:48
movemail.mbox__var_mail_root

The last file is clearly in mbox format, and is the mail imported from
/var/mail/me but not yet inserted into mbox.  There's nothing amazingly
abnormal about the message at the top of that file.

Any further clues to help diagnose?

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


ppp gui package?

2002-05-21 Thread James Cameron
Summary: anyone know of a PPP GUI based on GTK+?

G'day,

As part of the PPTP Client project, I would like to build or adapt a GUI
to make PPTP connections.  To make a connection, pppd is started with a
particular set of options.

I'm looking for Glade or GTK+ based GUI package that provides similar
functionality.  Making dial-up connections is a very similar task, we
only have to add a few options to use PPTP.  The task may be solved by
an existing PPP GUI.

Debian packages preferred.  I've had a quick look at gkdial, and it
might be useful.  Any other packages?

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: strange behavior, comments

2002-01-10 Thread James Cameron
Darrell,

Since woody, I use gdmconfig to configure gdm ... very easy compared to
previous versions.  Still, knowing what to do to run wmaker as your
session isn't trivial.

Sounds like your power bump caused corruption of file permissions.  I've
seen that a bit.  Reinstalling the gdm package may fix it.

apt-get install --reinstall gdm

I've no idea what package is responsible for setting the permissions on
/tmp though, or indeed whether it will even detect it.

Solutions to reduce the probability of future corruption:

- a UPS,
- a laptop (which has an integrated UPS),
- a filesystem type that supports journalling (ext3, reiserfs, xfs?)
- typing sync at the first sniff of a brown-out,
- putting sync into a while loop with a sleep 1 during lightning.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/



Re: PHP command line?

2002-01-10 Thread James Cameron
Matthew Daubenspeck wrote:
 Is there a way to install PHP easily for debian potato so it can be used
 through the command line?

Yes, install the php4-cgi or php3-cgi packages.

Use 'dpkg --listfiles php4-cgi' once installed to find the binary

-- 
James Cameron



Re: ext2 - reiserfs

2002-01-10 Thread James Cameron
Mirek Dobsicek wrote:
 I was thinking that /etc/mtab is a fixed file ... but it looks it is
 beeing written during starting the system

It is written to by mount or umount to maintain a list of mounted
filesystems.

 What I need to do, to succesfully convert my /dev/hda5 reiserfs,
 which file need by informed about that change?

You didn't mention changing /etc/fstab ... try that?

-- 
James Cameron



Re: Is anyone using woody in a production environment?

2002-01-10 Thread James Cameron
I agree with Martin ... you can smell a freeze coming.  It's fantastic.

I use woody for two Compaq production intranet servers, and a mix of
potato/woody for one important server that I cannot risk something going
wrong on during an upgrade.  All three servers are about 450km from me,
hence the caution.

For a pair of Australian outback internet cafes, I'm using potato in one
because I've not needed any new packages, and woody in the other because
I did.  A set of four training workstations I've pushed to sid to get
galeon.

For my home telecommute network, my gateway is potato with source
rebuilds of one or two woody packages, and the eight other machines are
woody.

For four computers that I've donated to farmers or ranchers in the area,
they are on woody just to get the latest tested desktop features; gnome,
abiword, gnumeric, gnucash ... and for some of them I've pushed them to
sid just to get galeon and evolution going.

Most people I know on IRC with Debian production servers are using
woody.  They need too many of the recent features to justify potato.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/



mgp fonts jagged after woody/sid upgrade

2002-01-09 Thread James Cameron
Under potato, mgp (magicpoint presentation tool) was able to show nicely
shaped adobe-utopia fonts.  On woody/sid the edges are quite jagged. 
What's caused this?

ii  mgp1.09a-5MagicPoint- an X11 based presentation
tool
ii  xfonts-100dpi  4.1.0-9100 dpi fonts for X
ii  xfonts-75dpi   4.1.0-975 dpi fonts for X
ii  xfonts-base4.1.0-9standard fonts for X
ii  xfonts-scalabl 4.1.0-11   scalable fonts for X
iF  xserver-mach64 3.3.6-39   X server for ATI Mach64-based graphics
cards

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/



Re: trouble dumping whole filesystem to tape /sbin/dump

2002-01-09 Thread James Cameron
Thedore Knab wrote:
 /sbin/dump -0ua -f /dev/st0 / -L slash 2 output.txt
 /sbin/dump -1a -f /dev/st0 /usr -L usr 2 output.txt
 The second comand rewrites over the data I recorded with the first
 command.

Change the first /dev/st0 to /dev/nst0 perhaps.
When you use /dev/st0 the device is rewound on close.

See also 'mt' for operations on the tape drive line rewinding or
unloading.

-- 
James Cameron
([EMAIL PROTECTED])
Not the Director of Titanic