Re: HP Laserjet 6L

1998-03-22 Thread Colin R. Telmer
On Thu, 19 Mar 1998, Brandon Mitchell wrote:

 On Thu, 19 Mar 1998, Stefan Baums wrote:
 
  Hi all,
  
  is anyone running the HP Laserjet 6L with Debian GNU/Linux? I'm using
  magicfilter 1.2-20, and the 6L is not in magicfilterconfig's list of 
  supported
  printers. Can I use another filter (say, for the 4L) and will I be able to 
  get
  600x600 dpi with that?
 
 I just used the 4L with default setings (e.g. didn't touch resolution).
 Works fine.

I am also using a 6L - the 4L filter will only give you 300x300. Use the 4
filter instead. Cheers.

--
Colin Telmer, Ottawa, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://www.telmer.com


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


Re: (smail + pine) reply-to?

1998-03-09 Thread Colin R. Telmer
On Mon, 9 Mar 1998, Ian Keith Setford wrote:

 I have a local lan connected to the Internet through a Pipe 50.  The
 domain I use is real but the domain is NOT routed on the internet right
 now.  I would like to use smail + pine to send messages.  This setup is
 currently working but I would like the reply-to action for these
 messages to read my ACTUAL email address.
 
 Example:  twist.lucidity.org-- msg sent to [EMAIL PROTECTED]
 
   if this person hits reply to this msg it
   will be undeliverable because lucidity.org
   is not routed on the internet.
 
 How can I make the reply action on the receivers end to show a different
 email than the address from which I sent it?

Don't know if I completely follow you but I used to have a linux box on
the net in an old office with the address of terrapin.econ.queensu.ca. I
wanted all my mail to go through our main mail server,
qed.econ.queensu.ca, but I wanted to read and reply on terrapin. To
accomplish this I put a .forward on qed (qed - terrapin) and then changed
the following line (which was originally empty) in my personal .pinerc:

# Sets domain part of From: and local addresses in outgoing mail.
user-domain=qed.econ.queensu.ca

That worked perfectly. All mail looked like it came from qed. However,
this does not alter the X-Sender. I was going to investigate how I could
change it to qed also, but out of 6 years of running my mail in that
fashion, I only ran across one mailer that sent replies using X-Sender, so
I didn't bother. I noticed that when I set up smail that I had the option
of specifying an outgoing mail address, but changing that to anything
other than terrapin screwed up smail for me (don't recall why).

Anyway, in short, I think changing that one line in .pinerc should do the
trick.

Cheers, Colin.

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Incredibly huge /var/log/lastlog

1998-02-17 Thread Colin R. Telmer
On Tue, 17 Feb 1998, Miquel van Smoorenburg wrote:

 According to Marcus Brinkmann:
  Would someone mind to explain me and the others what fixed seize files are
 
 Who mentioned fixed size files?

I guess I did in my first post. After reading your susequent posts, I
think that I should explain. Warning, I did not completely grasp your
explanation but I think I got the jist of it (this will show in the
wording I use). lastlog is an ordered file that saves last information for
each user's offset (?) at a particular location, where that location is
determined by the offset. If only a few users login and their offset's are
close together, then lastlog is a relatively smaall file. However, if a
user logs in with an offset vastly different, then lastlog becomes a huge
file as reported by ls as it stored this offset at some distance from
the others and therefore creates a file with a large amount of empty
space. I think the idea that lastlog is fixed is that if there is a
maximum offset a user can have, then after this offset is logged, the file
will always be that size. 

Is this way off?

Cheers, Colin.

-- 
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


56k voice modem compatible with debian/vgetty

1998-02-14 Thread Colin R. Telmer
Sorry if this is a little off topic, but I have immediately by a modem for
my debian (unstable) machine within the next two days. Given I have to do
this, I thought I would get check out a voice modem - Is there a good 56k
internal voice modem that is compatible with vgetty? Is there one that
does faxing also?

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: pine/spell checking

1998-02-12 Thread Colin R. Telmer
On Thu, 12 Feb 1998, A. M. Varon wrote:

 On Wed, 11 Feb 1998, Paul Miller wrote:
 
  Is there a good spell checker for pine? - One that works all the time and
  gives possible choices?
 
 There is a program called ispell. It can be used with pine.

Paul, In case you haven't used ispell, it does not give any choices
(unless I have it set up incorrectly). 

A.M. Do you have ispell give you choices in pine?

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Incredibly huge /var/log/lastlog

1998-02-12 Thread Colin R. Telmer
After a recent hamm upgrade (two or three days ago) on my machine (pretty
much a single user machine) I noticed that /var/log/faillog and
/var/log/lastlog are incredibly large (particularily lastlog): 

-rw-r--r--   1 root root  1522440 Feb 10 23:03 faillog
-rw-r--r--   1 root root 18523020 Feb 11 09:18 lastlog

I realized these files are fixed size binary files, but an 18meg lastlog
seems way too big. Checking a couple of debian 1.3.X machines in my
department yield sizes well under 1meg. Any idea what is wrong here?
lastlog is part of the login package, but that has not been revised for
some time (changelog.debian's last entry is dated 970616-1). Is this
perhaps due to a bug in the most recent version of libc6?

Any help is gratefully appreciated. Cheers, Colin.

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: /usr/spool and related links...

1998-02-11 Thread Colin R. Telmer
On Tue, 10 Feb 1998, Kristian Strickland wrote:

   In all fairness to the authors, is it accurate to call a program's
 incorrect behaviour a bug when the incorrect behaviour is caused be the
 standards being changed _after_ the software was released?

Actually, your statement is incorrect (IMHO). Software that is, for
example developed for another *nix os and is restructured by a debian
maintainer to fit our policy, does not have to adhere to our standards at
any point in time (before of after the release). Bugs here are meant to
imply bugs with the debian system. This statement includes upstream bugs.
To the average user, they may not know where the bug came from (i.e. the
debian maintainer or upstream). Within debian, it's a bug. If it is an
upstream bug, we helpfully pass it on (even perhaps with a patch). If it
is just due to our packaging, then we take care of it. Upstream authors
realize this (perhaps we should put a loud statement at the top of our bug
tracking system to clarify that we could just as easily be responsible for
the bug). Anyway, I think it is a whole lot easier letting users file
everything as bugs and have us sort out the details. 

I do agree with you, but there doesn't seem to be a better solution.

Cheers, Colin.

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: latex2rtf - where is it?

1998-02-10 Thread Colin R. Telmer
On Tue, 10 Feb 1998, Tony wrote:

 I seem to to have a manpage for latex2rtf, but nothing that the system can 
 find. Does anyone know which package it is in?

Hate to do this, but it is in the latex2rtf package:) Now to be helpful -
I assume you mean man latex2rtf works, but there seems to be no
latex2rtf executable. Here's a few things to try to help track down the
problem:

try dpkg --status latex2rtf to see the status of the package. Maybe it
was removed but failed to erase the man page.

try whereis latex2rtf to search the whereis database to see if it lists
the executable. The output should look like 

cgowave-3-77:~/tsp/citibase$ whereis latex2rtf
latex2rtf: /usr/bin/latex2rtf /usr/lib/latex2rtf  /usr/man/man1/latex2rtf.1.gz

try find /usr -name latex2rtf to find the executable.

If the package is there but latex2rtf is not in the path (or the
executable is missing, etc) remove the package and reinstall it.

Cheers, Colin.

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Using hamm? READ THIS about /usr/spool and related links...

1998-02-10 Thread Colin R. Telmer
On 10 Feb 1998, Norris Preyer wrote:

 All this is cool, I just couldn't figure out which package removed
 the link, so I wasn't sure which package to file a bug against.

The package that removed the link is fine. It is the packages that try to
use the link that bugs should be reported against. In other words,
packages shouldn't use the link, but should refer directly to /var/spool.
If you find a package that tries to use the link and fails (because the
new base-files removed it), please file a bug report against that package
(and then if you need to use the buggy package, just create the soft-link
yourself). 

Santiago: Will further future upgrades of base-files again remove the
link? I would think that would be a good thing as it will root out buggy
packages. 

Cheers, Colin.

--
Colin Telmer, Kingston, Ontario, Canada
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


problems with w command

1997-11-27 Thread Colin R. Telmer
The w command on a few of our servers is not working properly. I'll use
two machines, verdi and frisch, to explain this although it is not
isolated to these machines. Both machines have kernel 2.0.29 and procps
1.12.2 and the kernel configuration is pretty much identical (except for a
coupld of things like differing ethernet cards). On verdi, w yields:
verdi:~$ w
  2:19pm  up 17 days, 39 min,  6 users,  load average: 0.00, 0.00, 0.00
USER  TTYLOGIN@  IDLE   JCPU   PCPU  WHAT
russell  tty11:41pm 24518:27 111:26   0:00 xinit /home/russell/.xinitrc -- 
-auth /ho
russell  ttyp0   4:45pm  84:39   0:00   0:00 bash
russell  ttyp1   1:45pm 126:27   0:01   0:01 bash
russell  ttyp2   2:30pm  91:39   0:02   0:00 bash
russell  ttyp3  10:52pm 924:11   0:00   0:00 rlogin russell
telmerco ttyp4   2:19pm   0:00   0:00   0:00 w

But on frisch, w yields:
  2:21pm  up 24 days,  1:09h,  5 users,  load average: 0.00, 0.00, 0.00
USER  TTYLOGIN@  IDLE   JCPU   PCPU  WHAT
kutsoati ttyp0   2:08pm   4:23   0:00   ?-
polasek  ttyp1   1:24pm  93:54   0:00   ?-
telmerco ttyp2   2:15pm   0:00   0:00   ?-
kutsoati ttyp3   2:20pm   0:32   0:00   ?-
maheuj   ttyp4  11:10am 190:25   0:00   ?-

PCPU and WHAT are screwed up. I was going to try to fiddle with psupdate
but I thought I would ask here first. Also, the person who brought this to
my attention has noticed some other details:

From: James G. MacKinnon [EMAIL PROTECTED]
To: Colin Telmer [EMAIL PROTECTED]
Subject: still more on w problem

I forgot to mention that w always produces correct output for sessions
associated with a tty, but not for ones associated with a ttyp. Of course,
on verdi, edith, emma, lovell, and waugh, it produces correct output for
all sessions. It is only on jgm and frisch that it does not. Very strange!

Any ideas?

Any help is gratefully appreciated. Cheers, Colin.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: K6 and Debian

1997-11-26 Thread Colin R. Telmer
On Wed, 26 Nov 1997, Charles Read wrote:

 [BTW, I've concluded that unless
 you find a PCL printer with PostScript capability,
 you're stuck with either one that works really well
 under Win95 (PCL) or one that works really well
 under Linux (PostScript).].

PCL is HP not Win95. Or, in other words, there are plenty of Win95
printers that print PostScript. I've used many different printers (HP4,
HP4 with ps, Epson something, TI laserwriter (postscript), and a new
bubblejet) with linux and find they all preform properly. Do you use
magicfilter? I tried apsfilter and found too much baggage in the setup. I
switched to magicfilter (which doesn't have the greatest setup either -
rather than asking the installer if it can overwrite the generic printcap,
if it sees one there already it just exits. If you install it, move your
existing printcap elsewhere) and it works great. On printers without
postscript, it uses gs. Anyway, if you do (or will) use magicfilter and
are having problems, let me know and I will try to help. Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: .xreset equivalent of .xsession?

1997-11-23 Thread Colin R. Telmer
On 22 Nov 1997, David Z. Maze wrote:

 You can put things after your window manager in .xsession.  These will 
 be executed after your window manager exits (user logs out) but before 
 the X server resets.

To do that I would need to remove the exec statement which causes fvwm to
take over the process and the script exits at that point. Then the calling
process is left hanging around, but what you place afterwards is executed
on logout. The problem is that I want to kill a daemon called pland. This
works, but check this out: 

USER   PID %CPU %MEM   VSZ   RSS  TT STAT  START   TIME COMMAND
telmerco  6920  1.0  2.5  1504   796  ?  S 10:14   0:00 sh 
/etc/X11/Xsession 
telmerco  6932  0.8  1.9   980   592  ?  S 10:14   0:00 /usr/lib/plan/pland 
-k 

I'd rather just leave the pland running:(

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: TROUBLES WITH LINUX DEBIAN GNU 1.3.1 2CD SET

1997-11-22 Thread Colin R. Telmer
On Sat, 22 Nov 1997, Oscar Alvarez Paredes wrote:

 I bought this 2CD Debian Distributuion but i haven't already been able
 to instal it.
 
 I tryied to boot it from the CD but after displaying the first line it
 hangs.
 I made the seven instalation disks and i installed the base system but i
 couldn't configure my CR-ROM, so i copied the whole CD in my hard disk
 and i executed dselect but it couldn't find the /stable/binary-i386
 directory. I have selected /bo/binary-i as this directory an it lets me
 choose the packages to install but when proceeding with installation it
 aborts because of many erros.

Hopefully some others will reply to this, becuase you should have been
able to install from CD (Ihave always done it on the net, so I can't
comment). Anyway, when you copied the entire CD to harddisk, did you
preserve all the symlinks properly? I would expect dselect to bomb if you
did not. Then it should be a matter of pointing dselect to the base
directory where you have put debian (i.e. the directory that contains
bo, hamm, etc. After that, you should be able to select stable or
unstable. Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: xdmfvwm

1997-11-22 Thread Colin R. Telmer
On Sat, 22 Nov 1997, Greg Green wrote:

 I am new to Debian Linux and I am having problems with xdm and fvwm.
 When I used Red Hat Linux, all I had to do to get Xwindows to start at
 login was to edit the /etc/inittab to go default to run level 4.  Now, I
 am running Debian 1.30 and do not even see a reference to xdm in the
 /etc/inittab.  I am obviously missing some key point, can anyone help?

To get xdm going:
1) change /etc/X11/config to start xdm (i.e. remove the no- ). Mine looks
   like

# This file contains configuration flags for the X Window System.
# For a description of the meanings of the flags, see
# /usr/doc/X11/debian.README
no-run-xconsole
obey-nologin
allow-user-resources
allow-user-modmap
allow-user-xsession
allow-failsafe
start-xdm
xdm-start-server

2) Make sure an X server is specified in /etc/X11/xdm/Xservers something
   like
# xbase and xserver configuration scripts.
:0 local /usr/X11R6/bin/X -bpp 16

3) Edit any other files that you wich to customize in /etc/X11/xdm
4) run /etc/init.d/xdm start

I may have forgotten something, but that should work. 

 Also, when I startx manually, the system will not use my .fvwmrc.  I get
 too many errors to list here, but all I did was copy the
 /usr/X11R6/lib/X11/fvwm/system.fvwm to my $HOME/.fvwmrc and tried to add
 an additional xterm at start-up, and change to setroot color to solid
 SteelBlue.
 I don't believe these changes made any impact because when I keep the
 defaults in my .fvwmrc, and try and refresh fvwm, I get the same errors.

I use fvwm2 but don't really know what could be wrong. Could you list the
first 10 or 20 lines of errors? Also, is there a chance that you are using
an old fvwm script with fvwm2? You can convert it with
/usr/doc/fvwm2/utils/fvwmrc_convert

Let me know if that helps. Cheers, Colin.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


.xreset equivalent of .xsession?

1997-11-22 Thread Colin R. Telmer
Is the a file that a user can put logout commands similar to
/etc/X11/xdm/Xreset_0?

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: one more on plan (fwd)

1997-11-21 Thread Colin R. Telmer
One of the packages that I maintain includes a daemon, pland, that is
recommended to be started in users' .xsession file. Previously, after
logout, the daemon just hung around and is therefore recommended to be
started as pland -k, where the -k kills any existing pland before starting
a new one. Another switch, invoked as pland -K, kills any existing pland
and then exits without starting a new one. Dirk Eddelbuetel advised me to
do something to kill pland on logout as it is a waste of resources so I
thought that I could add pland -K to my .xsession as the last line so
that when I quite my window manager (second last line), pland -K is
invoked and any existing daemon is killed. I tried this but it does not
work. Am I doing something wrong or is there another way to go about this?
I suppose I could look at .logout but I would like to keep this in
.xsession as it is an X app and that seems cleaner. Any suggestions are
gratefully appreciated. My .xsession is below. Cheers, Colin.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca

-- Forwarded message --
Date: Thu, 20 Nov 1997 23:46:09 -0500 (EST)
From: Colin R. Telmer [EMAIL PROTECTED]
To: Dirk Eddelbuettel [EMAIL PROTECTED]
Subject: Re: one more on plan

On Mon, 20 Oct 1997, Dirk Eddelbuettel wrote:

 
   Colin  I don't exactly understand. Do you mean to add a line to kill pland
   Colin after the usual final line that starts a window manager so that on
   Colin logout you pland is killed? One could use pland -K
 
 Yes, that's what I mean. If you don't kill it, it hangs around for no good
 reason.

This doesn't work for me:

cgowave-4-237:~$ more .xsession
if [ -x /usr/lib/plan/pland ] ; then
/usr/lib/plan/pland -k
else
echo Can't find pland 
fi

xhost +$HOSTNAME.cgocable.net
exec /usr/X11R6/bin/fvwm2
/usr/lib/plan/pland -K
cgowave-4-237:~$ 

pland -K works when you run it by hand, but not here - I always find
telmerco's pland -k running when I log in as root afterwards. Can you
see any thing wrong with the above? Cheers.


--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


lesstifg-dev problems

1997-11-15 Thread Colin R. Telmer
I have just recently upgraded to lesstifg and lesstifg-dev to recompile a
package I maintain using libc6 stuff. After installing the newest
versions, 
pn  lesstif none (no description available)
pn  lesstif-altdbg  none (no description available)
pn  lesstif-altdev  none (no description available)
pn  lesstif-bin none (no description available)
un  lesstif-dbg none (no description available)
un  lesstif-dev none (no description available)
ii  lesstifg0.81-2 OSF/Motif implementation released under  LGPL
pn  lesstifg-dbgnone (no description available)
ii  lesstifg-dev0.81-2 Development library and header files

the make seems to fail when looking for Xm.h:

make[2]: Entering directory `/home/telmerco/debian/plan/plan-1.6.1/src'
gcc -s -D_GNU_SOURCE -DNOLOCK -DLINUX -DRABBITS   -c main.c
main.c:39: Xm/Xm.h: No such file or directory
main.c:40: Xm/Text.h: No such file or directory

It worked fine with the previous version. Any ideas? Any help is
gratefully appreciated. Here is the relevant part of main.c (third and
fourth last lines):

#include stdio.h
#include stdlib.h
#include time.h
#include fcntl.h
#include pwd.h
#ifndef VARARGS
#include stdarg.h
#endif
#ifndef MIPS
#include unistd.h
#include stdlib.h
#endif
#include ctype.h
#include signal.h
#include string.h
#include sys/types.h
#include X11/StringDefs.h
#include Xm/Xm.h
#include Xm/Text.h
#include cal.h
#include version.h



--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


COM 5? Extra I/O Card?

1997-11-14 Thread Colin R. Telmer
I have recently acquired the need for another com port and am already
using com1 (mouse) and com2(UPS) and found the following paragraph in a
FAQ for the palm pilot (the palm pilot is a PDA that has a syncronization
cradle that connects to a com port):


What to do if you do not have a free serial port

One problem I encountered was that I did not have a free serial port. My
mouse is on cua0 and my modem on cua1.  For a while I had to switch the
Pilot cradle with my modem. This was highly annoying because I could not
use the modem while I was playing with my Pilot. I solved this with a $29
dollar ISA card I found at a local computer story, local as in locally
owned and operated. The card is called the COM-5 card and is manufactured
by Mouse Systems. 

The card is useful because if COM1 and COM2 are in use then COM3 and COM4
are not available. A COM port is simply a label that identifies a specific
IRQ and address. COM1 and COM3 share the same IRQ as does COM2 and COM4.
But this card allows you to add another serial port at any combination of
IRQ and address that you desire. I have mine set on IRQ 12 and address
238. To get this to work with Linux all I had to do was tell Linux to map
this specific address and IRQ combination to the device /dev/cua2. The
following command does this: setserial /dev/cua2 port 0x238 irq 12
autoconfig It tell Linux where the serial port is available and to what
device to map it. With this working I was able to play around with my
Pilot while using my modem. Also I now have an extra serial port should I
need it for other tasks. 
---

Someone at a local computer store is trying to convince me that I can do
this with any I/O card. He gave me one that has jumpers which allow the
following:

Serial Port 1: COMA can be Com1(3F8) or Com3(3E8) with IRQ either 3,4,5
Serial Port 2: COMB can be Com2(2F8) or Com4(2E8) with IRQ either 3,4,5

At the moment, here are the interrupts that are in use:
 0: 518753   timer
 1:  18301   keyboard
 2:  0   cascade
 5:  3   sound blaster
11:  86783   NE2000
12:  28599   PS/2 Mouse
13:  1   math error
14:  76318 + ide0
15:  0 + ide1

Can I somehow use this card and assign irq 5 to the new com port and move
the sound card to say 7? If some could someone be kind enough to state
how:) If not can I assume that I need this specific Com-5 card
mentioned above? Cheers.
 

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


setting up a slip/ppp server

1997-11-14 Thread Colin R. Telmer
I have a machine that is connected to the net and want to set up a slip or
ppp server only so that I can dial into the machine via a connected modem
with a PDA (palm pilot) that can establish either a slip or ppp
connection. Setting this up must be covered in a FAQ, can I assign some
kind of local ip address to the PDA when it tries to get one without
creating problems because I am connected to the internet and the address
may already be in use? Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Please advice on insmod problem

1997-10-29 Thread Colin R. Telmer
On 29 Oct 1997, Carey Evans wrote:

 Robert J. Alexander [EMAIL PROTECTED] writes:
 
  insmod psaux
  
  which yields the following error message :
  
  /lib/modules/2.0.30/misc/psaux.o: unresolved symbol
  kill_fasync_R53d38e09
 
 Presumably you need psaux for your PS/2 mouse.
 
 Try depmod -a, which probably won't work.
 
 Have you recompiled your kernel?  You'll need to recompile and install
 all the modules from that kernel as well.

Also, doesn't psaux depend on the misc module? Here's the output from
lsmod on my machine:
cgowave-4-237:~# lsmod
Module PagesUsed by
psaux  11 (autoclean)
misc   1[psaux] 1 (autoclean)
vfat   32 (autoclean)
fat6[vfat]  2 (autoclean)
ne 21
8390   2[ne]0   

You'll need to select the misc module when recompiling the kernel.

Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: POP and SMTP program for shell users

1997-10-27 Thread Colin R. Telmer
On Mon, 27 Oct 1997, Shaleh wrote:

 Is there a elm/pine type program that will do POP and SMTP?  thanks.

1) Install qpopper or imap-4 depending on the protocol you want. No
   configuration necessary that I know about.
2) Install fetchmail and configure it to work with qpopper or imap-4. Some
   configuration, but quite easy following fetchmail's man pages. If you
   run into difficulty, email me for help.
3) Use pine or elm or whatever local mail system you choose.

For example, I use fetchmail with imap-4 which grabs my mail through an
ssh pipe which is then filtered by procmail into various incoming
mailboxes and I read it all with pine. Cheers. 

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: POP and SMTP program for shell users

1997-10-27 Thread Colin R. Telmer
On Mon, 27 Oct 1997, Martin Bialasinski wrote:

 On Mon, 27 Oct 1997, Colin R. Telmer wrote:
  On Mon, 27 Oct 1997, Shaleh wrote:
  
   Is there a elm/pine type program that will do POP and SMTP?  thanks.
  
  1) Install qpopper or imap-4 depending on the protocol you want. No
 configuration necessary that I know about.
 
 Why this? Isn't that only needed if you want to make your box a pop/imap
 server? I think Shaleh just wants to read mail, so this is not needed.

Sorry, your right. I have two linux boxes and set up one to pop/imap from
the other. I needed to install imap-4 on the server and _not_ on the
client. Too little coffee...

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Strange disk problems - file dates out of wack

1997-10-26 Thread Colin R. Telmer
A server in my department has suddenly created (or altered) some files and
I cannot figure out how to remove them. Below is the a part of the
original note sent to me and I have tried various attempts to remove the
files as weel with no avail. I even went to the point of creating a user
with uid 28757 but that did not help either. One thing that isn't
mentioned below is that when the I tried to remove the files the kernel
stated operation not permitted rather than the usual permissions stuff.
Any ideas how I can get rid of these files?

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca

-- Forwarded message --
Date: Fri, 24 Oct 1997 11:29:40 -0400 (EDT)
From: James G. MacKinnon [EMAIL PROTECTED]
To: Colin R. Telmer [EMAIL PROTECTED]
Cc: James G. Mackinnon [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Re: frisch

On Fri, 24 Oct 1997, Colin R. Telmer wrote:

 Unmounted /home without any problems and ran e2fsck with the check for
 bad blocks and force options. However, the disk seems to be fine.
 Strange.

Here are the key parts of the original note:

There are several directories that are claimed (by du) to be absurdly big:

501597058   ./reevesj/.netscape/cache/13
634965987   .
1017117464  ./reevesj/.netscape/cache
1017117572  ./reevesj/.netscape
1017168521  ./reevesj

Of course, those numbers are not correct!

Looking more closely at /reevesj/.netscape/cache, one finds:

br--r-srwx   1 2878729728 73,  60 May 21  2025 07

Notice the date and the permissions!  Whatever this is, I cannot remove
it, even using rm -f, as root! I also cannot change the permissions.

Then, within the directory /reevesj/.netscape/cache/13, one finds:

c---rwxr-t   1 2494228192 60,  62 Jan 25  2026 cache340259B30115B9F
pr-s-wxr--   1 3155811396   0 Jan 13  1983 cache340259B30125B9F.gif
p-ws-wx-wx   1 6019 23682   0 Jan 31  1940 cache343150330010C49.gif

Notice the dates! Again, it seems to be impossible to remove these or
change the permissions.

Cheers, James.

James G. MacKinnon   Department of Economics
phone: 613 545-2293  Queen's University
  Fax: 613 545-6668  Kingston, Ontario, Canada
Email: [EMAIL PROTECTED]   K7L 3N6


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


glimpse engine on web site

1997-10-26 Thread Colin R. Telmer
Am I doing something wrong, or has the glimpse engine that one can use to
search the mailing-list archives never worked? I always get the following
error message:


Error:

can't open glimpse index-file lists/.glimpse_index (use -H to give an
index-directory or run 'glimpseindex' to make
an index) 

Exit code 1 


Debugging information:

I got passed

 query 
 plan 
 errors 
 0 
 partial 
 on 
 maxfiles 
 10 
 maxlines 
 10 

I called

glimpse/glimpse -H lists -U -y -n -i -W -L 1000:10:10 -F .*-.* -e plan 

glimpse returned to stdout

and to stderr

can't open glimpse index-file lists/.glimpse_index
 (use -H to give an index-directory or run 'glimpseindex' to make an
index)


--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Strange disk problems - file dates out of wack

1997-10-26 Thread Colin R. Telmer
On Sun, 26 Oct 1997, Philippe Troin wrote:

  Looking more closely at /reevesj/.netscape/cache, one finds:
  
  br--r-srwx   1 2878729728 73,  60 May 21  2025 07
  
  Notice the date and the permissions!  Whatever this is, I cannot remove
  it, even using rm -f, as root! I also cannot change the permissions.
 
 What does lsattr say ? Maybe it's an immutable file (chattr it).

frisch:/home/reevesj/.netscape/cache# lsattr 07
lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
lsattr: No such device While reading flags on 07 

frisch:/home/reevesj/.netscape/cache# lsattr 13
lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
lsattr: Invalid argument While reading flags on 13/cache340259B30125B9F.gif
lsattr: Invalid argument While reading flags on 13/cache343150330010C49.gif
lsattr: No such device While reading flags on 13/cache340259B30115B9F 

I also tried chattr -i 07 but got the same error message. Any other ideas?
Thanks for the suggestion. Cheers, Colin.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: Strange disk problems - file dates out of wack

1997-10-26 Thread Colin R. Telmer
On Sun, 26 Oct 1997, Ted Harding wrote:

 Try (non-destructively) e2fsck -fnV on the device with these files
 and stand back ... (at any rate pipe it through less). I predict
 several thousand lines of possibly alarming information. Depending on what
 you see, you may judge that it's worth taking the chance to give fsck a free
 reign to try to make the filesystem clean (though it may zap some stuff in
 so doing); or else raw-backup (dd to another device) the bytes on the device
 and then either do fsck, or reformat the filesystem, or replace the hard
 drive.

I have done a e2fsck -fnv but it also did not reveal any problems (output
below). However, it did reveal the existence of 27 block device files that
I assume have no reason to be under /home. I'm at a loss - any other
suggestions? Thanks, Colin.

frisch:/# e2fsck -fnv /dev/hda6
e2fsck 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

   25948 inodes used (4%)
 902 non-contiguous inodes (3.5%)
 # of inodes with ind/dind/tind blocks: 2230/249/41
 1169173 blocks used (54%)
   0 bad blocks

   24468 regular files
1128 directories
  19 character device files
  27 block device files
   3 fifos
  20 links
 292 symbolic links (292 fast symbolic links)
   2 sockets

   25959 files  



--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Strange disk problems - file dates out of wack - solved

1997-10-26 Thread Colin R. Telmer
On 26 Oct 1997, Ben Pfaff wrote:

 Philippe Troin [EMAIL PROTECTED] writes:
Unmounted /home without any problems and ran e2fsck with the check for
bad blocks and force options. However, the disk seems to be fine.
Strange.
 
 You might want to try the debugfs program.  Perhaps it can unlink the
 files.

I ran debugfs -w /dev/hda6, changed into the appropriate directory, rm'd
the files (some complaints, but proceeded), quit and the files were
gone:). I then ran a e2fsck -fvcy /dev/hda6 (unmounted) and it repaired a
few screwy inodes. Everthing seems to be fine now. Thanks for all the
help. Cheers, Colin. 

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: The real Debian.org - please read

1997-10-26 Thread Colin R. Telmer
On Sun, 26 Oct 1997, Dave Cinege wrote:

 If you are new to Debian, please don't make the mistake I made. This is a 
 closed 
 software project, where you are allowed to contribute only if you surcome to 
 the 
 personal agenda of the current leadership. This is the structure and model of 
 the 
 project, make no bones about it.

I am a developer, albeit a fringe developer in that I do not maintain many
packages or any mainstream packages. I became a developer to give
something back to Debian as I and my department (economics, not the
institute below) uses the Debian distribution more and more every day. I
have not always agreed on the management technique, but Debian is a
volunteer organization. It is large. It is not perfect. Inherent in any
organization of this nature is disagreement and the need for some subset
of volunteers to have a final say. Otherwise nothing would be
accomplished. Overall I am immensely pleased with Debian.  I was openly
and freely admitted as a developer and will leave when and if I decide I
do not agree with the direction Debian is headed. There are many linux
distributions including Debian that all have their advantages and
disadvantages. Debian is no exception. We are all free to choose among
them.

New users, old users, new developers, etc. - please make the above
judgments for yourself. I cannot find any logic in Mr. Cinege's attacks on
the Debian project and am at a loss to why he expends so much effort
abusing something he seems to dislike. I assume that I am missing parts of
his arguments as some discussions were in private and therefore I am not
fully informed. However, that is irrelevant. These skirmishes have never
affected me in any way nor in the way that I approach the organization and
use the distribution. I am thrilled with Debian and, with a lot of help
from Dirk Eddelbuettel, have easily convinced my department Debian is
stable enough to switch from AIX to Debian/GNU Linux for all applications. 

Colin Telmer.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Pine and fvwm under hamm

1997-10-20 Thread Colin R. Telmer
On Mon, 20 Oct 1997, Matt Thompson wrote:

 since i updated to hamm, two odd things are happening.  one is that often
 when i send a message from Pine, it hangs for 20-30 seconds before saying
 'message sent and copied to sent mail'.  just in case there was a problem
 with smail, or my isp's mail server (mail.oz.net), i sent some mail from
 netscape, without incident.  obviously this can be a bit of a pain if i
 have a lot of email to send. :)

I found the comments in the .pinerc file suggested a simple hack which
worked for me (my sendmail-path was originally blank):
# This names the path to an alternative program, and any necessary  arguments,
# to be used in posting mail messages.  Example:
#/usr/lib/sendmail -oem -t -oi
# or,
#/usr/local/bin/sendit.sh
# The latter a script found in Pine distribution's contrib/util directory.
# NOTE: The program MUST read the message to be posted on standard input,
#   AND operate in the style of sendmail's -t option.
sendmail-path=/usr/lib/sendmail -oem -t -oi
 

Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Setting the time and xntp

1997-09-29 Thread Colin R. Telmer
I am currently using a machine that has Win95 on the first harddisk and
debian unstable on a second harddisk and I am having trouble getting the
time to change from GMT. The cmos clock is set to the Eastern time zone
and as this is not my machine I don't feel right asking to have the cmos
clock set to GMT. The problem is that I have always run xntp on my own
debian machine and have been doing that here as well. Until recently this
worked fine, but after the last upgrade, the system clock under debian
always displays GMT. I have not changed /etc/timezone (US/Eastern) and
within /etc/init.d/boot, GMT=. It seems to me that /etc/init.d/boot sets
the clock correctly, but when xntp's netdate is run, it sets it to GMT. I
dug through the html docs for xntp3 but couldn't find anything. Any
suggestions?

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
mailto:[EMAIL PROTECTED]
http://terrapin.econ.queensu.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Strange update problem

1997-09-14 Thread Colin R. Telmer
I just updated a machine that was previously running unstable to the
most current version of unstable and a bunch of programs that seem to
depend on libc5 core dump (emacs, fvwm2, ?). I poked around but couldn't
solve the problem so I thought the easiest thing to do would be to
present the output of strace and see if anyone knows what I am missing.
Any help is gratefully appreciated. Cheers

--- strace emacs
execve(/usr/bin/emacs, [emacs], [/* 27 vars */]) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40007000
mprotect(0x4000, 20961, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 668058, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat(/etc/ld.so.cache, {st_mode=0, st_size=0, ...}) = 0
open(/etc/ld.so.cache, O_RDONLY)  = 3
mmap(0, 9600, PROT_READ, MAP_SHARED, 3, 0) = 0x40008000
close(3)= 0
stat(/etc/ld.so.preload, 0xbc0c)  = -1 ENOENT (No such file or directory)
open(/usr/X11R6/lib/libXaw.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 229376, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000b000
mmap(0x4000b000, 201946, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x4000b000
mmap(0x4003d000, 20172, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x31000) = 0x4003d000
mmap(0x40042000, 4, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 
-1, 0) = 0x40042000
close(3)= 0
mprotect(0x4000b000, 201946, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libXmu.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40043000
mmap(0x40043000, 63121, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x40043000
mmap(0x40053000, 3832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) 
= 0x40053000
mmap(0x40054000, 456, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40054000
close(3)= 0
mprotect(0x40043000, 63121, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libXt.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 294912, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40055000
mmap(0x40055000, 274695, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x40055000
mmap(0x40099000, 11912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x43000) = 0x40099000
mmap(0x4009c000, 1148, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4009c000
close(3)= 0
mprotect(0x40055000, 274695, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libSM.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 36864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4009d000
mmap(0x4009d000, 27961, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x4009d000
mmap(0x400a4000, 4908, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) 
= 0x400a4000
close(3)= 0
mprotect(0x4009d000, 27961, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libICE.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 86016, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400a6000
mmap(0x400a6000, 71887, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x400a6000
mmap(0x400b8000, 3532, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) 
= 0x400b8000
mmap(0x400b9000, 6712, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400b9000
close(3)= 0
mprotect(0x400a6000, 71887, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libXext.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 49152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400bb000
mmap(0x400bb000, 40189, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x400bb000
mmap(0x400c5000, 4272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9000) 
= 0x400c5000
close(3)= 0
mprotect(0x400bb000, 40189, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libX11.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 671744, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400c7000
mmap(0x400c7000, 646981, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0x400c7000
mmap(0x40165000, 19984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x9d000) = 0x40165000
mmap(0x4016a000, 884, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016a000
close(3)= 0
mprotect(0x400c7000, 646981, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open(/usr/X11R6/lib/libncurses.so.3.0, O_RDONLY) = -1 ENOENT (No such file or 
directory)
open(/lib/libncurses.so.3.0, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3..., 4096) = 4096
mmap(0, 245760, PROT_NONE, 

netbook and diskless workstations

1997-09-09 Thread Colin R. Telmer
Does anyone have any experience using netboot? My department has a number
of Windows machines and a couple of fast Debian machines in one room all
on a net. After plugging debian and X enough, the debian machine consoles
are always busy but some students still are using windows, so I can't
convert all machines to debian. Is it possible to use netboot to boot
these machines from floppy to run off of one of the debian machines? The
other solution would be to put second disks in these windows machines, but
funds are scarce and that may not be a viable alternative. Cheers.

--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219   
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Printing to a HP Deskjet 870 Cxi

1997-08-22 Thread Colin R. Telmer
Does anyone know how to set up a Deskjet 870 Cxi with magicfilter (or
anything else for that matter)? Cheers, Colin.

Ps. I have no desire for color - could I just use the 550 filter?

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Printing to a HP Deskjet 870 Cxi

1997-08-22 Thread Colin R. Telmer
On Fri, 22 Aug 1997, Colin R. Telmer wrote:

 Does anyone know how to set up a Deskjet 870 Cxi with magicfilter (or
 anything else for that matter)? Cheers, Colin.
 
 Ps. I have no desire for color - could I just use the 550 filter?

Should have tried the 550c before posting - it worked perfectly.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


passing -c filename to /etc/init.d/dhcpc

1997-08-16 Thread Colin R. Telmer
I want to dynamically set /etc/hostname by using the below script and
having it called using the -c switch to dhcpcd

(from dhcpcd(8)):
OPTIONS
   -c filename
  Specifies the command file which  is  invoked  when
  dhcpcd successfully gets an IP address.

I altered /etc/init.d/dhcpc to start the daemon as follows:
start-stop-daemon --start --quiet --exec $DAEMON -- -c /usr/sbin/dynamic_host 
$IFACE

where /usr/sbin/dynamic_host is owned by root:root and has permissions of
755 and is:
#! /bin/bash

if [ -f /var/run/dhcpcd-cache.eth0 ] ; then
IPADDR=$(grep IPADDR /etc/dhcpc/hostinfo-eth0 | sed 's/IPADDR=//g')
HOSTNAME=$(host $IPADDR | grep Name | sed 's/Name: //g' | sed 
's/.cgocable.net//g')
echo $HOSTNAME  /etc/hostname
else
echo dhcpcd has not retrieved a ip address yet.
fi
 
However, nothing to /etc/hostname happens when /etc/init.d/dhcpc is
restarted. Furthermore, running /usr/sbin/dynamic_host by hand works fine
and so I am totally confused. Does /etc/init.d/dhcpc have write access to
/etc/hostname? Any help is gratefully appreciated. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: printing over samba to win95

1997-08-15 Thread Colin R. Telmer
On Thu, 14 Aug 1997, Rick Macdonald wrote:

  On Thu, 14 Aug 1997, Paul Miller wrote:
  
   I'm trying to add an entry to the /etc/printcap file to print on another
   machine (win95) using samba.  I have a HP Deskjet 660C and I want to use
   Magicfilter's DJ550C filters.  Here's the problem:
   
   1) how do I use two filters in the printcap file (dj550c-filter and 
   smbprint)
   2) when I print w/ only smbprint, the printer's error light lights up and
   if I press the retry button it works...
 
 I don't use Magicfilter, but the following should help you see what needs
 to be done.

I do use magicfilter and I call the filter within the smbprint script.
Here's my printcap and smbprint. Cheers.

# Added by CRT 97/05/10
lp|rlp|iigr|hplj3|Remote printer entry:\
:cm=HPLIII printer in IIGR 301:\
:lp=/dev/rlp:\
:sd=/var/spool/lpd/remote:\
:af=/var/log/rlp-acct:\
:lf=/var/log/rlp-errs:\
:if=/usr/local/bin/smbprint:\
:mx#0:\
:sh:


#!/bin/sh -x
(
# NOTE You may wish to add the line `echo translate' if you want automatic
# CR/LF translation when printing.
#echo translate
echo print -
/usr/sbin/ljet3-filter $@
) | /usr/bin/smbclient MAIN\\HPLIII -I ipaddress -N -P  
/var/log/smb-print.log


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [backup method] - what about TOB?

1997-08-13 Thread Colin R. Telmer
On Tue, 12 Aug 1997, Behan Webster wrote:

 Dale Martin wrote:
  
  1) It tars directly to a device - not to a filesystem.  This means one
  backup (full, differential, or incremental) per disk, yes?  I haven't
  looked too hard yet - hacking the script to tar to a filesystem can't
  be that hard, though.
 
 Nope.  Tob allows you to put multiple backups on the same tape.
 It uses mt(1) to go to the right place on the tape (you must use
 the non rewinding tape device to get this to work however).  I
 believe tob defaults to putting a full backup at the beginning
 of a tape, a diff is written in the second spot, and incrementals
 are appended to that.

The question above seems to me to suggest Dale wants to do a single backup
to multiple devices (i.e. a bunch of floppies) rather than the other way
around. Anyway, if that is the case, both tar and afio have support for
multivolumes, although given that afio archives each file whereas tar
makes one large archive, if you are going to multiple floppies, perhaps
afio would be a better idea?

Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound card as a module and audio CDs

1997-08-13 Thread Colin R. Telmer
On Wed, 13 Aug 1997, Oliver Elphick wrote:

 In message [EMAIL PROTECTED], w
 rites:
   I am running debian hamm and have a sbwave32 as a module (no awe stuff,
   just compiled as sb16). When I unfortunately have to boot to win95 and
   then return to debian and play a cd using workman, I don't get any sound
   until I play a sound file through /dev/audio (i.e. it seems to me that
   something is not triggering kerneld to load the sound module). I guess I
   could write a simple little wrapper to insmod and rmmod and run workman
   inbetween, but I thought there may be a better way to go about this. Any
   ideas?
   
 This is not limited to sb16.  I experience the same problem running with
 a GUS Extreme and the commercial OSS software.  
 
 Following Colin Telmer's hint, I found that the card would play CD's if
 I played a midi file first (with playmidi -g).

I should have been a little more clear - I don't think it has anything to
do with the particular type of soundcard or audio cd player. Rather it
seems like it is a generic problem that audio cd players just don't signal
kerneld to load the sound module. Cheers.

PS. I have added the following to my .xsession (could just as well be put
in .bash_profile if you don't run xdm):

cat /dev/null  /dev/audio

That gets kerneld to load the sound module without needing to hear some
obnoxious startup sound:)

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: WAVE

1997-08-13 Thread Colin R. Telmer
On Tue, 12 Aug 1997, Doctor Sanity wrote:

 Hello Debians,
 
 I was wondering if anyone could possibly give me any information
 regarding the WAVE service that is being advertised by Roger.  I've read a
 while back about several people who were on the list, and I was wondering if
 they could tell me their experience and impressions about it.
 
 Please don't just tell me to look at the website
 (http://www.wave.ca).  I am interested in first hand experiences.
 Installing the modem, how it works, how it works with Linux, etc.

I never had the experience of installing the hardware as I recently put
debian on a win95 machine that already used the WAVE. Anyway, install the
debian dhcpcd package (the client - the server is dhcpd) and whammo. It
figured everything out and I was connected. Incredible speed compared to a
phone line (although the incoming speed is much faster than the outgoing).
I really don't what else to say - I had no problems with it. Credit should
be given to the dhcpcd maintainer. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


sound card as a module and audio CDs

1997-08-12 Thread Colin R. Telmer
I am running debian hamm and have a sbwave32 as a module (no awe stuff,
just compiled as sb16). When I unfortunately have to boot to win95 and
then return to debian and play a cd using workman, I don't get any sound
until I play a sound file through /dev/audio (i.e. it seems to me that
something is not triggering kerneld to load the sound module). I guess I
could write a simple little wrapper to insmod and rmmod and run workman
inbetween, but I thought there may be a better way to go about this. Any
ideas?

Any help is gratefully appreciated. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: File impossible to delete

1997-08-08 Thread Colin R. Telmer
On Fri, 8 Aug 1997, Peter S Galbraith wrote:

 Somehow, I got a corrupted file on my system:
 
  bash-2.00# ls -l /root/Mail/
  total 269488144
  c---r- 8240 8224 8224  32,  48 Aug  2  1995 drafts
 
 I can't delete it!
 
  bash-2.00# chown root drafts 
  chown: drafts: Operation not permitted
 
  bash-2.00# rm -f drafts 
  rm: drafts: Operation not permitted
 
 What can I do to get rid of it?

As root can you chmod 700 drafts and then try rm -f drafts?

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: copying text files (unix to dos)

1997-08-06 Thread Colin R. Telmer
On Tue, 5 Aug 1997, Paul Miller wrote:

 ahh.. I found the option for mount (conv=??) but I didn't find those tools
 -- todos / fromdos or unix2dos / dos2unix..  I have mtools 3.6
 installed... anyone know what package either of these utils are part of?

sysutils (try dpkg --search dos2unix)

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mail encrypting/pgp

1997-07-31 Thread Colin R. Telmer
On Thu, 31 Jul 1997, Paul Miller wrote:

 I noticed that almost everyone on this list uses pgp.. I installed the
 debian package and I'm wondering how do auto-encrypt/decrypt all my mail.
 
 I use pine (pinepgp package) and netscape communicator 4.01b6

Don't know how to do it in netscape but for pine, given you also have
pinepgp installed, read the README.debian in /usr/doc/pinepgp and
add the following line to your display-filters section of your
configuration:

_BEGINNING(-BEGIN PGP)_ /usr/lib/pinepgp/check _TMPFILE_ _RESULTFILE_

if you want to check sigs (do this by editing .pinerc or using the config
option in the main menu of pine

and for outgoing mail,add the following lines to your sending-filters 
section of your configuration: 

  /usr/lib/pinepgp/auto _TMPFILE_ _RECIPIENTS_
  /usr/lib/pinepgp/sign _TMPFILE_
  /usr/lib/pinepgp/crypt _TMPFILE_ _RECIPIENTS_

You might also consider enabling the compose-send-offers-first-filter
feature.  

Then when you send a message, you will be prompted for which filter you
would like to use.


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: time

1997-07-30 Thread Colin R. Telmer
On Wed, 30 Jul 1997, Paul Miller wrote:

 how do I set the CMOS time from the system time? -- when the system
 reboots, the time is incorrect and is too far off track that xntp3 won't
 set it..

clock -w (man clock for more info). Actually, I have xntp3 running all the
time so to keep the cmos clock as accurate as possible, I have root's
crontab do a clock -w every night. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Where is Netscape Communicator?

1997-07-28 Thread Colin R. Telmer
On Fri, 25 Jul 1997, Matt Kazmar wrote:

 On Fri, 25 Jul 1997, Pedro I. Sanchez wrote:
 
  I'm trying to download the latest beta of Communicator (b6 I believe)
  but I can't find it in any of the ftp[12..].netscape.com sites (actually
  it seems I can't find any unix version at all!). Can anybody tell me
  where is it?
 
 I found the version I'm using in 
 ftp://ftp.netscape.com/pub/communicator/4.01/4.01b6/english/unix/other/

I had the same problem. Actually, it is somewhat strange that you can find
it on the ftp site at netscape but none of there web pages list a linux
version. Weird. 

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: How to find programs provided by package?

1997-07-18 Thread Colin R. Telmer
On Fri, 18 Jul 1997, Christopher Ray Martin wrote:

 Is there any way to get dpkg to tell you what files were in a package if
 you don't have the .deb archive? For example, I installed mctools-lite a
 long time ago, but I have no idea what programs were provided, and the
 documentation is VERY sparse...

dpkg --listfiles mctools-lite will do it. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


setting time via a server?

1997-07-16 Thread Colin R. Telmer
I currently use a small script/executable combination named st/gettime to
set my system clock via an atomic server. This is done as a cronjob at
3am and immediately after the system time is written to the cmos time
(clock -w). For some unknown reason, once and awhile when I come in to my
office in the morning, the time is correct, but the date is advanced
forward by one day. Is there some other method of doing this that will set
the date as well as the time from a internet server? st will only do the
time. Also, I would prefer not to run xntp - it seems wasteful to me to
have it running continuously to just set the clock every 24 hours. Can
xntp be used as a one-off program and put into a crontab? Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: audio files

1997-07-08 Thread Colin R. Telmer
On Tue, 8 Jul 1997, Jason Westervelt wrote:

 There is a program that comes in RedHat called showaudio.  Does anyone
 know where to snag this for Debian?  I can't figure out how to install a
 RedHat package through Debian, and would prefer not to.  If I could just
 find the source, that would be good enough.

No showaudio that I know of under debian, but there is a playaudio that is
part of the mime-support package. If you have that installed, you'll find
it at /usr/lib/mime/playaudio. I have a symlink to it from /usr/local/bin
so that I can use it without the absolute path. However, it is nothing
like showaudio. It's just a simple script that cats a file to dev/audio
and therefore doesn't do any conversion. You may want to look at the bplay
package. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rxvt colours

1997-07-07 Thread Colin R. Telmer
On Mon, 7 Jul 1997, John Maheu wrote:

 On 7 Jul 1997, Emilio Lopes wrote:
 
   JM == John Maheu [EMAIL PROTECTED] writes:
  
  JM After upgrading to 1.3, rxvt can find certain colours:
  JM rxvt: can't load color snow 
  JM rxvt: can't load color blue 
  
  JM I also have this problem using gnuplot.
  
  JM I've tried some of the tricks posted the last few weeks. I have a
  JM ~/.Xdefaults and ~/.Xresource pointing to ~/.Xdefaults.
  
  JM Inside X, rxvt -bg blue -fg snow works fine!
  
  JM Any ideas
  
  Don't you have a netscrape around, do you?
  
 Yes I have netscape???

I think he meant netscape running. In other words, netscape is sucking
up the colormap. However, if this is the case, I would assume that 
rxvt -bg blue -fg snow would fail also so I don't think that is the
answer.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Anyone available that I can call???

1997-07-03 Thread Colin R. Telmer
On Wed, 2 Jul 1997 [EMAIL PROTECTED] wrote:

 I try to install the file libc5_5.4.33-3.deb using dpkg and I get a
 message that says version 4.23-6 is already installed.

I am sorry as I really don't know how to solve your problem but the one
strange thing I have noticed is that the package you are trying to install
is libc5_5.4.33-3.deb but then dpkg turns around and says the older
version 4.23-6 is installed. The reason I mention this is that I saw
another post that stated that 4.23-4 is in unstable whereas 4.33-3 is in
stable. There may be a temporary mix up on the archive site that may cause
the problem although I don't know if this would cause it. Anyway,
hopefully fuelling the discussion will get other more knowledgable users
involved. Cheers. 

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Window Managers

1997-07-03 Thread Colin R. Telmer
On Thu, 3 Jul 1997, David Kohel wrote:

 I just set up and configured xdm (thanks to those who responded 
 with advice on shadow passwords, etc.), and by default, xdm 
 sources the $HOME/.xsession files, not $HOME/.xinitrc files.  

If you use xdm, .xsession is the individual user configuration. If you
just run X through startx or xinit, then .xinitrc is the file to use. Look
into /etc/X11/xdm for the global Xsession and in /etc/X11/xinit for the
global xinitrc. Modify the one you that is applicable and then save it as
the appropriate dot file. Cheers.


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: octave

1997-07-03 Thread Colin R. Telmer
On Thu, 3 Jul 1997 [EMAIL PROTECTED] wrote:

 Thanks to the many who helped yesterday. Octave complained that it needed
 libg++, even though it wasn't listed dependent on it. I tried to install
 libg++27_2.7.2.1-6.deb.
 When I did, dpkg found several packages in available that had the
 version field empty. I looked at the file and each of those packages had
 versions x:yz . I changed them to x.yz and that seemed to allow dpkg to
 proceed. However it then said libg++27_2.7.2.1-6 needed libc5 later than the
 version that was installed. So I installed libc5-dev_5.4.20-1.deb. It had a 
 few
 complaints about empty version fields which I fixed the same way, and then
 seemed to install ok.
 Finally I typed octave and this time the response was segmentation fault.
 What should I try next?

What version of octave are you using?

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


xinitrc vs. xsession (was Re: Window Managers)

1997-07-03 Thread Colin R. Telmer
On Thu, 3 Jul 1997, Gary L. Dolan wrote:

 I hate to think that my version of 1.2 (now 1.3) is idiosyncratic, but the
 global xsession and the global xinitrc files are identical. I have attempted
 in my own halting way to parse my way thru the file(s), and the result 
 appears to me to be that some resource files do not get read. I would be
 pleased if someone would correct my impression if I am wrong.

I don't exactly know what you are asking. First, I knew the files had the
same functionality, but I never looked to see if they are the same. I have
two completely separate things to say about this so I will separate them
as I think one may be a bug:

Given they have the same functionality, they both basically define and
source a couple of system files (Xresources and Xmodmap) and then source
individual user files (.Xmodmap and .Xsession). They then go onto do some
other stuff and then they source a users startup file (.xsession). If that
file exists, the rest of the global file does not get sourced, rather the
user file is used in its place. This is all done within the last unnested
if statement which is

if [ -x $startup ]  grep -q ^allow-user-xsession /etc/X11/config
then
  exec $startup
else
  xterm -ls 
  if [ -e /etc/X11/window-managers ]
  then
for i in `sed 's/#.*//' /etc/X11/window-managers`
do
  if [ -x $i ]
  then
exec $i
  fi
done
  fi
  if [ -x /usr/X11R6/bin/fvwm ]
  then
exec fvwm
  fi
  exec twm
fi  
--

So if $startup exists, then that file is read rather than the rest of the
above. So if you want to run different window manager rather than the
default one listed in /etc/X11/window-managers, then take this above piece
without the if statement regarding /etc/X11/window-managers and put it in
.xsession with your window manager of choice. For instance, if I always
wanted to run kdm, my .xsession could look as simple as
--
#!/bin/sh

exec kdm
--

I actually always run fvwm2 and I have a few customizations in my
.xsession which is
--
#!/bin/sh

source /etc/profile
source ~/.bash_profile

if [ -x /usr/lib/plan/pland ] ; then
  exec /usr/lib/plan/pland -k 
fi

exec fvwm2
-

I hope I am getting my point across.


My second point is (possibly a bug). Shouldn't /etc/Xsession have $startup
defined as .xsession and /etc/X11/xinit/xinitrc have $startup defined as
.xinitrc? At the moment, both files have $startup defined as .xsession. Is
this a bug?

Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Matlab for Debian?

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997, Hamish Moffatt wrote:

 On Tue, Jul 01, 1997 at 09:53:00AM -0800, Bruce Perens wrote:
  You might also see if Octave will satisfy your needs (it's a free package).
  There's also something called scilab that was once in non-free, I don't
  know if it is still there.
 
 Octave is quite good but unfortunately does not seem to be entirely
 source-code compatible, if you're trying to run pre-written stuff.
 I used it for my studies this semester and some supplied
 programs would not run without some fairly minor modifications.

But the modifications are very minor. I grabbed some quite complicated
econometric code for matlab (GMM code) and from what I can recall there
was one operator that was a little different and a function or two that
began with an f (as in fplot) that needed to be changed to g. Anyway, the
reason that I am writing this is to say if you do try octave, look into
the documentation for matlab compatibility. There is a list of options
that are suggested to be set that you should be aware of to give it the
look and feel of matlab. Cheers.


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) Black cable.

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997, Brian White wrote:

  Apart from this, apcd is ready as a debian package but I didn't find the
  time to upload it, feed the changes back to the upstream maintainer, etc.
  
  Whoever wants this package, drop me an email.
 
 If nobody else wants it, I'll take it. (but only if nobody else wants it --
 I'm pretty swamped)

I'll take it but some of this stuff is foreign to me. In other words, I
may have a lot of questions to ask. Also, I started the thread:) I
recently noticed that Nils uploaded the package - does he still want to
give it away? Cheers, Colin. 

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rxvt ignores x resource settings?

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997, Joey Hess wrote:

 If I add these settings to my resources, rxvt should appear in reverse video
 with no scrollbar... but it seems to compltely ignore the resources. If I
 specify them on the command line (rxvt -background black -foreground white
 +sb), it works ok. Why? (rxvt version: 2.20-4)

I had this problem a while ago and figured out a hack for it (although
this is weird) for an old version of rxvt. If I put a symlink in my home
directory as follows, it reads the resources fine:  

.Xdefaults - .Xresources

However, strangely enough, I removed this symlink yesterday and it seemed
to like .Xresources. The version I am running currently is also 2.20-4. So
Iam really not offering a solution unfortunately, but it may help in the
interim. Cheers.


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: octave

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997 [EMAIL PROTECTED] wrote:

 
 I installed octave with the original installation of debian 1.1 some months
 ago. I have not tried to run octave until now. It doesn't get very far- it
 says can't load library 'libg++.so.27' . I looked for that library on my
 system and can't find it either. The file /var/lib/dpkg/status says
 install ok installed depends gnuplot, less.  gnuplot and less are both
 installed. What should I do? Thanks for helping.

Hard to say - what version of octave and libg++ are you using?

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rxvt ignores x resource settings?

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997, Stephen Zander wrote:

 Joey Hess wrote: 
  1. It doesn't let you place rxvt settings in /etc/X11/Xresources
  2. It probably means it doesn't preprocess the files with cpp, therefore, it
 might read settings it isn't supposed to see.
  3. It's nonstandard and generally just ugly and very confusing.
  
  It should be fixed to behave as a normal X app and use the X resources.
 
 I though the whole point of rxvt to avoid most of the xrdb stuff.

Sorry to continue a long thread, but you have now peaked my curiousity -
why is the point of rxvt to avoid xrdb? Is that part of the reason it uses
less memory? Curiousity killed the cat... Cheers.


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Wine and xpm

1997-07-01 Thread Colin R. Telmer
On Tue, 1 Jul 1997, Will Lowe wrote:

 Should I install xpm source?  And if so,  where does it go?

Install the debian xpm#.#-dev package. dpkg will put it where it should
go. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


apcupsd, genpower, and PowerShute(TM) Black cable.

1997-06-28 Thread Colin R. Telmer
I have just tried to get two APC Smart UPS v/s 650s up and running in my
department but unfortunately, genpower does not support the cable, a black
PowerShute(TM)  cable with serial number 940-0024C. I have genpower
running with my APC Back-UPS 400 and cable 940-0020B successfully after
figuring out I should use the tripp-nt cable type using gentest. gentest
is a program that monitors the serial port and displays which line goes
high or low when the ups is unplugged. This is a great program to figure
out if the response of your cable fits one of the cable configurations
compiled into genpower. However, when I ran gentest in every way possible
using the black cable, there was no signal at all. I then tried statserial
and again, there was no signal (note I put my cable on the new ups to make
sure it was working and it worked fine). This leaves me with a couple of
questions:

1) Does anyone know how I can figure out a new cable specification for the
   940-0024C when gentest and statserial are no help?

2) I have found another non-debian package called apcupsd which does
   support this cable and most other APC cables. It also supports smart
   mode which is not supported in genpower. Moreover, it is GPLd. I would
   be happy to package this for debian if there is no objections/some
   demand. 

Any comments? Cheers, Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Why is pine so slow?

1997-06-28 Thread Colin R. Telmer
On Wed, 25 Jun 1997, Paul Wade wrote:

 On Wed, 25 Jun 1997, Shaya Potter wrote:
 
 I get the same with smail and I'm not using a smarthost. I think it could
 be an smail or pine config thing, because you would think that smail would
 accept the mail right away and pine would continue. Makes me think that it
 makes an initial delivery attempt at the time. I know that when I have
 mail in the retry spool, pine runs normally.
 
 If somebody already knows about this, please post it.

It seems that when pine did the last major upstream release, the config
file changed (at least in my case, but I could have changed it awhile
ago). Anyway edit .pinerc and change sendmail-path (originally blank) to
the example that is commented out: 

# This names the path to an alternative program, and any necessary arguments,
# to be used in posting mail messages.  Example:
#/usr/lib/sendmail -oem -t -oi
# or,
#/usr/local/bin/sendit.sh
# The latter a script found in Pine distribution's contrib/util directory.
# NOTE: The program MUST read the message to be posted on standard input,
#   AND operate in the style of sendmail's -t option.
sendmail-path=/usr/lib/sendmail -oem -t -oi   


This made my pine lightning fast without the possible problems of using
the background sending option. 

Cheers, Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: xdm is not comming up ......

1997-06-20 Thread Colin R. Telmer
On Fri, 20 Jun 1997, Eddie Katz wrote:

 I have installed and configured xdm, at boot time xdm is launched but 
 nothing appears on the screens. I only have the 6 tty screens available. 
 Doing ps -x shows that xdm is running.
 So where is it.
 
 Of course, loggin in to a tty screen and executing startx works !

Check to see if you have an entry in /etc/X11/xdm/Xservers (mine follows).
Also check /etc/X11/config to see if there is an entry line like
start-xdm if this line contains no-start-xdm, remove the no-.
finally, my entry below starts X in true color (16bpp). If you remove the
-bpp 16 then it will start in the default 8bpp. Some X apps only run
under 8bpp. Cheers, Colin.

# $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $
#
# Xservers file, workstation prototype
#
# This file should contain entries to start the servers on the
# local machine; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#   XTerminalName:0 foreign
#
# X servers are automatically added to this file by the Debian
# xbase and xserver configuration scripts.
:0 local /usr/X11R6/bin/X -bpp 16

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Xlib3.3 server probs

1997-06-20 Thread Colin R. Telmer
On Fri, 20 Jun 1997, Jean Pierre LeJacq wrote:

 On Fri, 20 Jun 1997, Brian Skreeg wrote:
 
  Only the user that  runs the xserver (startx) can run apps on it
  any attempt to run an app by another user is refused. eg below;
 
 Two solutions.  You can allow any user to run apps by executing:
 
   xhosts +

Actually, to be somewhat more secure (if you are connected to the net),
you can use (it should be xhost, not xhosts) 

xhost +fulldomainname

so that other machines are still refused. Also, if this is the way you
choose to go, you can alternatively create the file /etc/X*.hosts
(replacing * with the display number, usually 0) and include each machine
on individual lines. See xhost(1) for details. Cheers, Colin


--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [lpd] filtering

1997-06-16 Thread Colin R. Telmer
On Mon, 16 Jun 1997, [ISO-8859-1] Mika Marjamäki wrote:

 Hi! Does anyone know, if the standard lpd/lpr etc. support input-filtering
 for network printers, or do I have to install LPRng or something?
 
 We have several printers connected to HP JetDirect boxes, but i cannot get
 input filtering working with them..

I think that under standard lpr you have to set up a double queue. See
the bottom of the Printing-HOWTO in the section on remote printers.
Cheers, Colin.
 
--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Questions regarding dynamic IPs and dhcpcd

1997-06-11 Thread Colin R. Telmer
After successfully setting up dhcpcd to connect to a cable modem, I have a
few questions regarding dynamic ip addresses. First note that I have read
through the dynamic-ip-hacks mini-HOWTO, but am still a little confused. 
Also, I will write up what ever information I find in a mini-HOWTO or a
debian note if it seems useable to others (which I think it would given
the explosion of cable modems).

Background: 

I have set up debian 1.3 on a remote machine in Burlington that will
usually run Windows95 (parents machine - it will only run debian when I am
there or when I get someone to boot debian). My local permanent machine is
a static ip machine in Kingston. I would like to be able to call my
parents and have them boot debian (they know how to boot and shutdown, but
no more)  and then have the machine automatically email me the dynamically
assigned ip address. 

Questions:

The dynamic-hacks mini-HOWTO really only deals with ppp. pppd outputs the
new ip address in $4. Is there anything similar to this for dhcpcd? I
can't find anything in the man page and I assume that I will need to
extract this from /etc/dhcpc/hostinfo-eth0.

Given this, after some experimentation, when I boot the remote machine (I
am in Burlington at the moment) it takes dhcpcd approximately 3 minutes to
configure the network and at that point /etc/dhcpc/hostinfo-eth0 is
updated and /var/run/dhcpcd-cache.eth0 is created. So I have to wait until
this happens to extract the ip address from /etc/dhcpc/hostinfo-eth0. 

So what I want to do is write a script that waits until
/var/run/dhcpcd.cache-eth0 is created and then mails me
/etc/dhcpc/hostinfo-eth0. The waiting part is the part I do not know how
to do unless I just use an infinite loop (with perhaps a 10 minute limit)
that continously checks for /var/run/dhcpcd.cache-eth0. Is there a better
way to do this?

Ignoring correct syntax (i.e. a rough idea of the script - my bash book is
in my office), here's what I would like to try to do automatically from
startup:

--
time_now = (get time somehow)
while ( ! -f /var/run/dhcpcd.cache-eth0)
  if (time_now+10  (get time somehow))
file_exists = false
exit
  fi
continue # i.e. keep looping until file exists or 10 minutes has past.

# if file is not created implying dhcpcd failed, then shutdown the machine
# but give long enough warning to stop in case someone who knows the root
# password (like me) is in Burlington and wants to use debian even though
# the net is down

if (file_exists == false)
  shutdown -h 5 Shutting down in 5 minutes. Cancel with shutdown -c
  exit
fi

mail -s New IP address [EMAIL PROTECTED] /etc/dhcpc/hostinfo-eth0
---

After that I would (on the local machine in Kingston) create a script that
pulls this message from my mail spool, uses host (from the dnsutils 
package) to get the name, and updates /etc/hosts as in the
mini-HOWTO. However, one step at a time. All help is gratefully
appreciated.

Cheers, Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Rogers Cable Access..a follow-up

1997-06-10 Thread Colin R. Telmer
On Tue, 10 Jun 1997, Richard Morin wrote:

 As the proud new user of a cable modem from Rogers cable here in
 Canada and I can say that the configuration was very easy.  No need for
 dhcpd(sp?) clients at all
 
 1. The ethernet device is a SMC Etherez 8416, which was supported by
 SMC-Ultra in the kernel. (I think other users may get a 3com...so either
 way the kernel supports them.)
 
 2. I was assigned a static IP address, told the netmask, and gateway
 machine.  
 
 I set up the ethernet device, set up the routes, then changed my current
 configs to point at the new name servers, ect.bingo.  It is very fast,
 but there aren't many people on it yet, remember this is just a test.  I
 grabbed a new kernel from sunsite with netscape in windows, and watched as
 it climbed to 34k/s.  I know it isn't scientific by any means, but that is
 10X faster than anything I've achieved with my 28.8 modem.   

This is not the case with the Wave in Burlington, Ontario (via CableNet
which I think leases the technology from Rogers). IP addresses are
assigned dynamically and therefore dhcpcd is needed. I installed debian
and configured the network exactly as I would do in my office in Kingston
(permanently on net, static ip) but when it asked for ip, netmask, etc. I
just took the defaults (arbitrary addresses shown for example) because I
did not know what to put there instead. I grabbed the packages necessary
to get dhcpcd going with only the five base disks installed (netstd,
linreadline2, ncurses3.0,cpp,dhcpcd) and installed them with dpkg. I then
installed the dhcpcd package and looked in /etc/dhcpc/* and low and
behold, dhcpcd had already configured everything to get ip addresses from
cgocable.net. COOL. nothing else to do. Next, I fired up dselect and used
the ftp option and I now have a complete 1.3 system. 

Should some mention of this be put into the installation guide? 

 Price, when it rolls out is in the $50-60/month range, I knew you'd be
 curious.no, I don't work for them..

This may sound expensive, but when you think about it, it seems fair to
me. Consider the alternative - installation and monthly charge of a second
phone line is around CAN$20, an isp is around CAN$20 (?), and considering
there may be download charges past a certain time limit with the isp
(and/or restrictions on the time of day) and that wave downloads are much
faster than standard phone line isps, it could be a bargain. Cheers,
Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


links between rex* and bo?

1997-06-10 Thread Colin R. Telmer
Are there any symlinks between bo and any of the rex directories? I want
to remove the rex directories from my local mirror given space constraints
but I recall seeing a note that a few links still existed. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


DLINK-220 (was Re: rogers wave cable access....)

1997-06-09 Thread Colin R. Telmer
On Thu, 5 Jun 1997, Jason Gunthorpe wrote:

  2) What ethernet driver should I use for a D-LINK 220? NE-2000?
 
 D-Link 220's are PnP NE-2000 clones. If you get isapnptools you should be
 able to configure the card in linux and then use the ne driver.

I have tried to do this without success. I tried pnpdump without any
options, but it only listed my AWE32 and modem. When I did this, it looked
at regport 0x203. Is there a possiility that the dlink220 is on another
regport? Cheers, Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rogers wave cable access....

1997-06-05 Thread Colin R. Telmer
On Thu, 5 Jun 1997, Richard Morin wrote:

 I've ignored the cable access threads in the past because it didn't
 pertain to me.  Now, I've been fortunate enough to have been selected for 
 a free three month trial of rogers wave in my area (Internet access
 through our cable giant Rogers). I was wondering if anyone could let me
 know which packages I should be looking into to make it work under Debian.
 Any other canucks out there using the wave?
 
 As soon as the intallers from the cable company leave, re-boot from win95,
 and check that baby out, I can't wait.I hope they don't expect me to
 analyze their software too;-) 

I don't know much about this, but I am in the same boat - I am travelling
to Burlington to hook up a machine that runs off the Wave. So I thought I
would describe what I thought needs to be done and then ask a few
questions of my own. 

First, read the dhcpcd mini HOWTO and the documentation to it (I have yet
to install this and look at the documentation other than the HOWTO).

To be done(?):
1) Set up debian to use the ethernet card in your box just as you would if
you were directly connected to the internet with a fixed ip address. This
should be fairly straight forward depending on you ethernet card.
2) According to the HOWTO, you need to get winipcfg (or what ever it is
called the probes the cable modem server for an ip address) to write out
it's information to file using some switch (specifics listed in HOWTO).
The HOWTO then goes on to instruct the user to boot to debian using
loadlin. I don't do this this way and I assume that you can just use lilo
as long as the partition where the winip output file is stored is
accessible.
3) (vague) Use the dhcp client ( dhcpcd ) to parse the information from
that file and ... done?

I know this is quite vague but I am hoping to have others fill in the
blanks. Anyway, the questions this raises are:
1) Can one get dhcpcd to probe the server itself? I thought that this
software basically replicated the winipcfg program.
2) What ethernet driver should I use for a D-LINK 220? NE-2000?

Cheers, Colin.

PS. I will report my failure/success as I go and would be quite happy to
contribute the either/both the dhcpcd documentation and the mini-HOWTO.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rogers wave cable access....

1997-06-05 Thread Colin R. Telmer
One other thing I forgot to mention. I think you can also use alternative
sofware such as bootp, but I am quite sure that Rogers Wave uses the dhcp
protocol. Cheers.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rogers wave cable access....

1997-06-05 Thread Colin R. Telmer
On Thu, 5 Jun 1997, Ron Welch wrote:

 FWIW, there a new version of the DHCP mini-HOWTO at:
 
 http://sunsite.unc.edu/LDP/HOWTO/mini/DHCPd

unfortunately that is the server (dhcpd), not the client (dhcpcd). After I
take a stab at this, perhaps I'll try to write up a client mini-HOWTO. As
for the kerbosos, I'll let you know after the weekend. Cheers, Colin.

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
 PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC  B8 3B 97 0E 01 BC EC 0B
   PGP Public Key at URL:http://terrapin.econ.queensu.ca



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .