making nvidia drivers

2003-03-16 Thread John F.
I have a NVIDIA GeForce3, and the nv driver doesn't work very well.  I 
want to compile the nvidia driver from the sources, but I don't know 
how to do it.  I have installed nvidia-kernel-source and 
nvidia-glx-source, but I don't know how to make the .deb packages to 
install.  What commands do I issue to do this?
Thanks

--
This was the most unkindest cut of all.
-- William Shakespeare, Julius Caesar
The fashion wears out more apparel than the man.
-- William Shakespeare, Much Ado About Nothing


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



Re: making nvidia drivers

2003-03-16 Thread John F.
Gavrila wrote:

John F. wrote:

I have a NVIDIA GeForce3, and the nv driver doesn't work very 
well.  I want to compile the nvidia driver from the sources, but I 
don't know how to do it.  I have installed nvidia-kernel-source and 
nvidia-glx-source, but I don't know how to make the .deb packages to 
install.  What commands do I issue to do this?
Thanks


I don't really think you need to have a .deb pkg to do that since 
you're 'patching' the kernel.
However enter Nvidia_kernel dir and type 'make install', then go to 
Nvidia_glx and do the same. Then you have to edit the XFREE config 
file as stated in the nividia installation guide on nvidia site.

Regards


I went to the nvidia_kernel dir and typed 'make install', but it said 
*** No targets specified and no makefile found.  Stop.  The 
nvidia_kernel dir is under /usr/src/modules.  I have made a .deb file 
from /usr/src/modules for some alsa-modules, but I can't remember how to 
do it.  Any ideas?
Thanks

--
This was the most unkindest cut of all.
-- William Shakespeare, Julius Caesar
The fashion wears out more apparel than the man.
-- William Shakespeare, Much Ado About Nothing


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



Re: making nvidia drivers

2003-03-16 Thread John F.
I looked at that, but the part with make-kpkg modules_image seems like 
it is starting to compile a new kernel.  I don't know, but most of the 
questions I was being asked made no sense to me, I'm still kinda a 
newbie after a year and a half in Linux.  I don't know what I'm supposed 
to do.
Thanks

Alan Chandler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 16 Mar 2003 4:38 pm, John F. wrote:
 

I have a NVIDIA GeForce3, and the nv driver doesn't work very well.  I
want to compile the nvidia driver from the sources, but I don't know
how to do it.  I have installed nvidia-kernel-source and
nvidia-glx-source, but I don't know how to make the .deb packages to
install.  What commands do I issue to do this?
Thanks
   

How about following the instructions in 
/usr/share/doc/nvidia-kernel-src/README.Debian.gz

- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+dMQFuFHxcV2FFoIRAmUFAJ4uLF14OYTmIRjzUmPkCZMt2kUoNwCfaSeP
AvwoGfujOHpTGFAxB+QQZ7w=
=PXQL
-END PGP SIGNATURE-
 



--
This was the most unkindest cut of all.
-- William Shakespeare, Julius Caesar
The fashion wears out more apparel than the man.
-- William Shakespeare, Much Ado About Nothing


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



Re: making nvidia drivers

2003-03-16 Thread John F.
I did this up throught the debian/rules binary_modules command, where 
I got the following error:

nv.c:22: linux/modversions.h: No such file or directory
make[1]: *** [nv.o] Error 1
make[1]: Leaving directory 
`/usr/src/modules/nvidia-kernel-1.0.2880/NVIDIA_kernel-1.0-2880'
make: *** [build-stamp] Error 2

How do I fix this error?
Thanks
Mpiktas wrote:


I went to the nvidia_kernel dir and typed 'make install', but it said 
*** No targets specified and no makefile found.  Stop.  The 
nvidia_kernel dir is under /usr/src/modules.  I have made a .deb file 
from /usr/src/modules for some alsa-modules, but I can't remember how 
to do it.  Any ideas?
Thanks

First of all read documentation in /usr/share/doc/nvidia-glx-src and 
/usr/share/doc/nvidia-kernel-src

If you want to make .deb package you must do in command line

export KVERS=your-kernel-version
export KSRC=the-place-where-your-kernel-headers-are
cd /usr/src/modules/nvidia-kernel-blah-blah/

debian/rules binary_modules

then

cd /usr/src/nvidia-glx-blah-blah
dpkg-buildpackage
then cd /usr/src/ and
dpkg -i *.deb
Then change XF86Config appropriately and voila. But read the 
documentation first, it is not long, but very helpful:) And browse the 
list archives.

Mpiktas






--
This was the most unkindest cut of all.
-- William Shakespeare, Julius Caesar
The fashion wears out more apparel than the man.
-- William Shakespeare, Much Ado About Nothing


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



nvidia follow-up and new question

2003-03-16 Thread John F.
Okay, I got the driver to work through some secret methods (downloading 
a tar file and compiling), but now I need to know how to change the PAM 
settings, because when I try to run something like tuxracer, I get the 
following:

Error: Could not open /dev/nvidiactl because the permissions
are too resticitive.  Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
The README file from the driver said to modify 
/etc/security/console.perms of /etc/logindevperms, but I can't find 
either.  How do I change the permissions for these?  Thanks

--
You are a bundle of energy, always on the go.
You are dishonest, but never to the point of hurting a friend.



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



message from cron

2003-03-15 Thread John F.
I am getting about 60 or so messages a day from the cron daemon.  I 
would like to stop them coming, but I don't know how.  I would think if 
I disabled the netnews server, but it doesn't show up as being enabled 
with ksysv, so I don't know what to do.  A complete copy of one of the 
messages is below:

Envelope-to: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] test -x /usr/bin/rnews  rnews -U
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin
X-Cron-Env: HOME=/var/spool/news
X-Cron-Env: LOGNAME=news
Hostname does not resolve or 'domain' in inn.conf is missing

Thanks

--
Don't go around saying the world owes you a living.  The world owes you
nothing.  It was here first.
-- Mark Twain
Q:  What's yellow, and equivalent to the Axiom of Choice?
A:  Zorn's Lemon.


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



What disks are what?

2003-02-18 Thread John F.
I am downloading the Debian disk sets (using jigdo), and I am wondering: 
What is on each of the (seven or eight?) disks?  I would rather not 
download the source disk, as my connection is rather slow and it will 
take me long enough to download all this.  Can somebody tell me what is 
on each disk, and how they are organized?
Thanks


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



IP's

2003-02-17 Thread John F.
I would like to tell my firewall to deny all connections from any IP 
address.  What would I put as the IP to be blocked?


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



quake/RTCW firewall rules

2002-09-30 Thread John F Davis

Hello

I was trying to run a RTCW(quake 3) server behind my firewall last night. I
setup the firewall iptable rules
to forware udp packets of 27690(from memory) to my server.  My friend and I
were able to play
but he said his connection was very poor.  I have a 768/128K dsl line and I
realize my upstream
connection is not that great but I figured we should have been able to play
ok.

Also, I tried to run just a dedicated server and he said the connection was
equally as bad.

I have p3 1.2Ghz 512Meg machine.  My firewall is a p1 200Mhz and it does
nothing but
serve as a firewall.

Any idea what would be the problem?  Do I have to configure the firewall
for tcp ports
as well?

JD



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




resize partitions using parted

2002-09-30 Thread John F Davis

Hello

Anybody ever try to resize partitions using parted? Did it work ok?

I have a box which was setup with one large root partition and no /boot
partition.  It was
just supposed to be a test install, but it has grown into a working box and
I would
rather fix it to use multiple partitions than re-install it at this
point.

Also, I see there is a tool called resize2fs, but I don't think that is
what I want to use
becuase I want to go from 1 partition to multiple partitions.  Furthermore,
I
want to insert a /boot partition into the beginning of the disk.

JD



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




shared memory and dynamic pointers

2002-05-15 Thread John F Davis
Hello

Does anybody know if there is a open source library which provides dynmic
memory in conjunction with shared memory allocated using shmget/shmat?  I
want to allocate some shared memory and then later dynamically create some
buffers also in shared memory.  It seems that I will have to have an ID and
a shmget/shmat for each time I want to create a buffer.  Is there some
library which allocates a big shared memory buffer and then handles dynamic
allocations from that buffer so these smaller buffers can also be shared
between processes?  One more thing, the processes are seperate processes
and not forked child/parent processes.

Also, what is the deal with shm_open and mmap?  I think these are the posix
equivalent (Or, is that BSD?) to SVR4 shmget and shmat.  On my box, I have
a man page for mmap which refers to shm_open, but I don't have the man page
for shm_open.  I have the include files for shm_open and mmap.

JD


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



Re: route goes on reboot ?

2002-05-02 Thread John F

Patrick Hsieh wrote:


Hello David Smead [EMAIL PROTECTED],

BTW, if I have multiple routing table, where can I define so that it
will work upon reboot?



To set 'special' routing instructions use the 'up', 'down', 'pre-uo' and 
'post-down' options in /etc/networks/interfaces.


I've found them very useful to set up strange routing between two 
firewalls each with 3 nics, so as to allow privilged access to a server 
farm, and to make a simulation of a IP tunnel across a WAN link.


see
man 5 interfaces

Hope this helps

John P Foster
http://www.golden-orb.com




On Wed, 1 May 2002 21:59:25 -0700 (PDT)
David Smead [EMAIL PROTECTED] wrote:


Put the info in /etc/network/interfaces.  Mine looks like:

auto eth0
iface eth0 inet static
   address 192.168.8.30
   netmask 255.255.255.0
   network 192.168.8.0
   broadcast 192.168.8.255
   gateway 192.168.8.254

Technically you don't need all the fields but I put them all in as a
reminder.

--
Sincerely,

David Smead
http://www.amplepower.com.

On Thu, 2 May 2002, Kapil Khosla wrote:


Hi,
In my current configuration , I have to do an
ifconfig eth0 IP addr and route commands everytime I reboot.
The problem is on reboot, all these settings vanish and I have to give these 
commands again.

I sort of know that these have to be put in some /etc/rc**
but am not sure which file do I have to put these files and if they should be 
put early in the booting procedure or in the last will do.

Thanks
Kapil






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









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




Re: vchkpw debian help request

2002-04-23 Thread John F

Justin,

For what it's worth we use qmail as per apt-get install qmail-source and 
vpopmail 4.10.9 from inter7 with no problems. I cant recall what I did, 
but there is an option to build a debian-compatible version of vpopmail 
either at inter7's site or in the .configure script.


John P Foster

justin cunningham wrote:


Hi, here is a long thread [sorry] between me and ken at inter7.com.  I'm
trying to get the debian qmail working but I don't think I have vchkpw
working properly with vpopmail.  I can send mail ok but on receiving I
believe the trouble is vchkpw is not working with vpopmail to
authenticate passwords for test users.  Ken suggests I compile the new
version from source but that's just not the debian way so... if anyone
can give advice on this I'm eager to listen.  Best, Justin 


-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 23, 2002 11:11 AM

To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vchkpw help request

Wow. Too much for me to read through and debug for ya!

Sorry.

I would go with a source code installation.

Sounds like the debian maintainer made changes to the
base code so it will take a code review for him to make
those same changes in the latest stable/development releases.

Ken

On Tuesday 23 April 2002 12:48 pm, you wrote:


Hi ken, thanks for the reply.  I believe the trouble is with vchkpw
authenticating passwords.  I can send from an account but can't


receive


mail-- I get [EMAIL PROTECTED]:
Sorry, no mailbox here by that name. vpopmail (#5.1.1).  I'll go over
the vchkpw config again at inter7.com/vpopmail/install and will
hopefully have it figured out.

ps aux shows this line.

'qmaild2198  0.0  0.0  1376  576 ?SApr21   0:00
/usr/bin/tcpserver -l hostname -u 64011 -g 65534 -x /etc/tcp.smtp.cdb'

while I tried tcpserver -l 'myhostname' but tcpserver gave me back the
help menu.  what is the syntax for changing the tcpserver hostname to
myhostname?  I already edited qmail and vpopmail in /etc/init.d

I chown vpopmail.vchkpw /var/lib/vpopmail/domains


Lastly:  I see three of these in /etc 'inetd.conf.qmail-preinst.24432'

I assume I can safely remove the two older ones and perhaps any old
subsequent ones after qmail restarts?

Thanks much!  Justin

Ps:  if you think I've gone off track anywhere-- which doc do you
recommend I re-read.

I emailed the deb package maintainer about the new vpopmail and he


said


the packaging was completely different and wouldn't get to building it
for a while.  Debian has equivs to make dummy deb packages though I've
yet to fool around with it.

In one of the docs you mention a debian specific .so linking error.


In


my experience this was only present on an install with the almost


stable


woody or debian 3.0 version-- might be worth mentioning?

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 9:43 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vchkpw help request

Those debian packages are very old.
You might want to install from source code instead and get
the latest versions.

Ken Jones

On Monday 22 April 2002 12:40 pm, justin cunningham wrote:


Hello, I'm having trouble with a vpopmail  qmail functionality and


am


hoping someone here can help me out.

This is a debian packaged install built by a co-worker who compiled


the


debs for the server from which I'm emailing you so it's not a


compile


config error. The server is debian stable.

Currently I can vadd domain and test users, establish connection


from


mua to mail.domain.com but can't access nor authenticate pop3.

All debs installed properly.

autorespond_1.0.0-1_i386.deb
courier-imap_0.31-vauth.1_i386.deb
ezmlm-idx_0.53-4_i386.deb
libmysqlclient6_3.22.30-4.deb
libvpopmail-dev_4.9.9-1_i386.deb
libvpopmail-freecdb_4.9.9-1_i386.deb
libvpopmail-lmysql_4.9.9-1_i386.deb
libvpopmail-mysql_4.9.9-1_i386.deb
libvpopmail1_4.9.9-1_i386.deb
qmail_1.03-17_i386.deb
qmailadmin_0.45-1_i386.deb
ucspi-tcp_0.84-1_i386.deb
vpopmail-bin_4.9.9-1_i386.deb
vpopmail-doc_4.9.9-1_all.deb


Created the me file manually; made it mail.mydomain.com, edited
/etc/hosts to show
127.x localhost hostname
208.x mail.mydomain.com mail

added -l 'hostname' to /etc/init.d/vpopmail  qmail -- identical to


my


mailserver

added '#pop3   stream  tcp nowait  root
/var/qmail/bin/qmail-popup qmail-popup hostname.mydomain.com
/var/lib/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir' to
/etc/init.d.conf.'

this shouldn't matter since it's commented out but added anyway.

There are three of these in /etc 'inetd.conf.qmail-preinst.24432' I
thought that was a pid but didn't see it in ps aux.  -must be from
restarting qmail and vpopmail a few times.

Tried telling tcpserver -l not to resolve dns and replace 'hostname'
with 'hostname' but it didn't accept syntax shown in man tcpserver.


I


looked online and this option is really for servers that are also
running named so it shouldn't 

Re: xemacs on debian = horked

2002-04-09 Thread John F Davis
Hello

Does the new emacs support tabbed windows?  I really like that about
xemacs.  I got used to it
on ultraedit in windows.

If you don't know about tabbed windows, its where the windows have their
file name displayed on a little
tab at the top of the window.  You can easily switch files by clicking the
tab.

JD

Rob Weir [EMAIL PROTECTED]@softhome.net on 04/06/2002 09:23:53 PM

To:debian-user@lists.debian.org
cc:
Subject:Re: xemacs on debian = horked



On Fri, Apr 05, 2002 at 12:01:52PM -0800, David Wright wrote:

 Xemacs (xemacs21-21.4.6-7) on Debian appears to be completely horked.
 There are tons of bug reports going back over 2-1/2 years, many without
so
 much as an initial reply from the maintainer. Many appear to cover very
 simple but very annoying issues. What's going on? Is this package
 orphaned? A Linux distrubtion without a working xemacs is not a serious
 Linux distribution.

 I'd offer to help but there is no way I'm learing lisp. I just need a
 decent multimode text editor that has both a nice GUI AND a text console
 interface. Are there any alternatives out there?

If you really want to get away from XEmacs, give GNU Emacs21 a try.
It has most of the features that XEmacs does, including font-lock on
consoles, and graphics in buffers.  Plus a toolbar if you really want
it.

-rob

--
I did not vote for the Australian government.


C.DTF
Description: Binary data


Use of dpkg --get-selections and --set-selections

2002-04-03 Thread John F

Hi all,

We have a situaution where we want to ensure that a server has a certain 
list of packages installed. It can have extra packages, but it _must_ 
have the list we specify on it.


Can I use dpkg -get-selections  a.file and then edit it to only include 
the install and deinstall lines for the critical packages on machine 
number 1, then on the other machine run dpkg --set-selections  a.file ? 
Or does the input to --set-selections have to be a complete list of all 
packages that should be on the machine?


I can't try this out in case I blow away the machine we need to 
duplicate off - the other machine we have to duplicate to is a long way 
away and hasnt been built yet...


Thanks,

John P Foster
http://www.golden-orb.com/

--
I do not support the Australian Government's Policies on Refugees and 
Mandatory Detention.
The Mandatory Detention of Refugees is an Obscenity and is profoundly 
un-Australian .
This is MY opinion and not that of my company. I wish more Australians 
would stand up about this.



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




Openssh protocol 2 for potato - rather urgent help needed

2002-03-27 Thread John F

Hi all!

Has anyone any idea where I can find debs for potato for Recent versions 
of OpenSSH? I need non-broken protocol 2 but still be able to support 
protocol 1.


Building OpenSSH3.1p1  from source requires an upgrade of OpenSSL. If I 
replace the OpenSSL in Potato with version 0.9.6c (from openssl.org)v 
will it break stuff using the version in Potato?


This is rather urgent, I've ppl screaming at me.

John P Foster



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




Re: OT: Is .RTF an Open Standard?

2002-03-26 Thread John F

Dave Sherohman wrote:


On Tue, Mar 26, 2002 at 10:23:34AM -0600, Kent West wrote:

I'm trying to educate some users on the dangers of proprietary file 
formats. But to make sure I've got my facts right, I need to ask: Is the 
Rich Text Format (.rtf) an open standard? (In other words, can I say 
something like Use an open standard format, like .RTF? Or do I need to 
say Use a less proprietary format like .RTF? I would prefer to say the 
first one.) I understand it was developed by Microsoft, but is it owned 
by Microsoft? Do I understand that there are actually two different .RTF 
formats?




My understanding is that there is an official RTF spec which is owned
by Microsoft, but available to everyone, and a real RTF spec which
essentially boils down to however the current version of Word feels
like doing things.  I would definitely consider RTF to be less
proprietary rather than open.

OTOH, RTF is substantially better than doc simply be virtue of not
being able to host viruses/worms/trojans.

I though RTF was actually an IBM invention, and was a response to 
Adobe's PostScript.


I could well be wrong though. I seem to recall that RTF existed in IBM 
in 1992 anyway.







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




Re: vim help file Error detected while processing BufRead Auto Commands for*.gz solved

2002-03-25 Thread John F Davis
Hello

Yes that helped.  Thanks.  I deleted all au comands for gzip's in my
/etc/vim/vimrc file.

JD

Seneca Cunningham [EMAIL PROTECTED] on 03/22/2002 03:34:14 PM

To:debian-user@lists.debian.org
cc:
Subject:Re: vim help file Error detected while processing BufRead Auto
   Commands for*.gz



John F Davis [EMAIL PROTECTED] wrote:
 I have the latest vim.  When I try to issue the :help command I get
the
 following
 error:

 Error detected while processing BufRead Auto commands for *.gz:
 E21: Cannot make changes, 'modifiable' is off
 E434: Can't find tag pattern
 Hit ENTER or type command to continue

 What gives?

This issue came up on monday night (EST). vim has changed.
http://lists.debian.org/debian-user/2002/debian-user-200203/msg03259.htm
l

Seneca
[EMAIL PROTECTED]


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




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



vim help file Error detected while processing BufRead Auto Commands for *.gz

2002-03-22 Thread John F Davis
Hello

Debian Unstable
intel

I have the latest vim.  When I try to issue the :help command I get the
following
error:

Error detected while processing BufRead Auto commands for *.gz:
E21: Cannot make changes, 'modifiable' is off
E434: Can't find tag pattern
Hit ENTER or type command to continue

What gives?

JD



Introduction to Debian Packaging Paper

2002-03-18 Thread John F Davis
Hello

I wrote a Introduction to Debian Packaging Paper (html) for my local
linux users group.  Nothing fancy, but its a quick intro to the packaging
on debian.  How to use apt, dpkg, dselect, and even how to build
a package - quick summary of new maintainers guide.

I would like comments on correctness and general readability.  If
at all possible, I would also like to release the document to
the debian document database and IBM's developer works
web page.  Any help would be appreciated.

See attached document.

John F. Davis
(See attached file: debian-package-talk.html)Title: Debian Concepts




Debian Concepts
 last mod: 3/14/02
 Author: John F. Davis


 Forward 

This document is written for a talk at TriLug's
March 2002 meeting.  It is intended to introduce
Debian Packaging to Linux users.
 Assumptions 

This document assumes the reader understands how to install  
computer programs on a Windows computer and/or a RedHat Linux 
system.
 Introduction 

Debian Linux is popular because of its sophisticated packaging system.  This 
system allows users to add and remove software applications from the 
Linux file-system with ease. Users of RedHat are most probably familiar 
with its packaging method which uses RPM's. Debian's RPM equivalent is a DEB.


This document explains the Debian packaging system in four steps.  
The first step is to introduce Debian's concept of a software package.
Second, I explain which files and directories are used by the Debian
packaging system.  Third, I explain  how to install and maintain
packages.  Fourth, I give a quick method intro to building a package.  

 Debian Package Files 

This section introduces the Debian package concept.  After
reading this section, you will know the answers to the following 
questions:

	 Does Debian use RPM's
 What is a Debian package called
	 How does a DEB compare to a RPM

 Does Debian use RPM's? 

The quick answer is no.  Debian does not use RPM's.  RPM's are clumsy
and not as powerful nor safe as a Debian Package file.  The longer
answer is that Debian can use RPM's but it is not its preferred
packaging method.  Debian uses files similar to RPM's called DEB's.
 What is a deb file? 

Deb files (or packages) are single files which end in ".deb".  They
contain a collection of files, directories and scripts which 
are performed during installation and removal.  Different scripts can be 
set to execute at various points in the installation of a deb. 
Deb files contain a wealth of information besides files, directories, and 
scripts.  For instance, every deb file contains the following information:

	 name,
	 version,
	 description,
	 contents,
	 pre-requisites and,
	 Scripts.

 How does a deb file compare to a RPM? 

Users of RedHat should see a close similarity between a deb file and a RedHat
RPM.  Both ".deb"s and ".RPM"s are single files which contain multiple files 
and scripts.  They also contain version information, prerequisite packages,


 Debian Packaging Files and Directories 

This section covers the files and directories
used by the Debian packaging system.  While
reading this section, you will learn  
answers to the following questions?

	  Where do you get DEB's?
	  Which file determines where DEB's are obtained?
	 How do you install via net, cd-rom, or floppy?
 	 Where is the packaging database stored? 	

 /etc/apt/apt.conf 

The /etc/apt/apt.conf doesn't exist any more.  In its place is
a Debian conf tool.
 /var/cache/apt/archives 

storage area for retrieved package files.
 /etc/apt/sources.list 

servers to use for apt.  Note, you use this file to determine if you
are using stable, testing or unstable.  Apt will install the latest version
it finds.  So, its not uncommon to have stable and unstable entries in this
file.  By default, apt will install the latest version, but you can 
specifically install a different version.   ie. install wine from stable
even though the rest of your system in unstable.
 Sources for packages 

Debian can install packages from the file-system (ie. a file on your
Linux file-system), mounted cdroms, or via the net.


 Debian Packaging Tools 

This section tells how to use the packaging
tools to manipulate debs.  Some of the questions it attempts to
answer are:

	 How to install and remove packages.
	 How to get new packages.
	 How to determine which package owns a particular file.

 Common Tools 

Debian has many tools for packaging and I don't know them all.  I've
tried to document the tools which are more commonly used in this section.
In other words, these are the tools which I use on a daily basis.
 apt-get 

APT package handling utility -- command-line interface"
The basic command line tool to get and install packages. Also used to upgrade 
and update a system. Also allows complete system upgrades to new releases.
Its considered 

quake3, i810 sound, and debian unstable

2001-09-10 Thread John F. Davis

Hello

I am trying to get quake3 working with my sound card.  As it is now, my
soundcard kinda works.  I can play mp3's if they are recorded at 44KHz
and I can also play some games with sound (eg. heroes3).  When I play
games or mp3's which are not recorded at 44KHz, the sound will play
real fast and sound like Alvin and the Chipmunks.  

The quake readme says that it requires a /dev/dsp device and a OSS 
compatible sound card.  I have some OSS sound options in my kernel, 
and I do have a /dev/dsp device.  If its not possible to get quake3 to 
work with sound card, I would at least like to configure the sound so 
that it can play mp3's which are not recorded at 44 KHz.

If I have the sound modules loaded (shown below) when i start
quake, quake will display a message about sound being muted
and then crash when I start and a single player match.  If I 
don't load the sound modules below, quake will not display
any sound info when starting and I can play single player matches -
but without sound.

Is this the expected behavior or have I misconfigured something?  Below
is my environmet and settings.


Environment:
Pentium III
Linux 2.4.7 kernel
Debian Unstable - latest update
MSI motherboard with i810 built-in sound chipset
lsmod shows:
Module  Size  Used by
i810_audio 13520   0
mpu401 18832   0  (unused)
sound  56096   0  [mpu401]
soundcore   4080   4  [i810_audio sound]
ac97_codec  8608   0  [i810_audio]
lspci -v shows (snipped to show only multimedia entry)
00:1f.5 Multimedia audio controller: Intel Corporation: Unknown 
device 2445 (rev 02)
Subsystem: Micro-star International Co Ltd: Unknown device 3370
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bc00 [size=256]
I/O ports at c000 [size=64]
cat /proc/pci shows (snipped to show only multimedia entry)
  Bus  0, device  31, function  5:
  Multimedia audio controller: Intel Corporation 82801BA(M) AC'97 
Audio (rev 2).
IRQ 11.
I/O at 0xbc00 [0xbcff].
I/O at 0xc000 [0xc03f].

When I built my kernel, I included as modules these options:
M   Ensoniq AudioPCI (ES1370)
M   Creative Ensoniq AudioPCI 97 (ES1371)
M   OSS sound modules
M Ensoniq SoundScape support  
M 100% Sound Blaster compatibles (SB16/32/64, ESS, 
Jazz16) support 
It doesn't appear that the Ensoniq or soundblaster modules are loading. 
 I don't 
know if I should use them or not.  Also, lspci and cat /proc/pci gives 
different
titles for the sound chipset (the irq and ioport settings are the same 
though).  I
don't know if I have the correct modules for this device.  I read that 
I am supposed
to use the ES1371 driver.

John



Voodoo5, unstable, X11 v.4, etc with more info

2001-09-04 Thread John F. Davis
Hello

I am trying to run Quake3 on my debian Sid x86 computer.
When I try to run quake, it starts then says :

...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.1
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
gd error (glide): Can't find or access Banshee/V3 board
gd error (glide): grSstSelect:  non-existent SSTReceived signal 11,
exiting...

I have a Voodoo5.  

John



Voodoo5, unstable, X11 v.4, and gl apps

2001-09-03 Thread John F. Davis
Hello

I am trying to get quake3 arena working with debian.  So far, I have 
all the GL related stuff installed but I can't get quake3 to work
and all my rendering seems to be in software.

In my XF86Config-4 file, 
I have the glx and dri modules loaded.
I have the tdfx and glide drivers installed.

Section Module
Loaddbe   # Double buffer extension
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
#  Optionomit xfree86-dga   # don't initialise the DGA
#  extension
EndSubSection
# This loads the Type1 and FreeType font modules
Loadtype1
Loadfreetype
Loadglx
Loaddri
EndSection

Section Device
Identifier My_Voodoo_5
Driver tdfx
EndSection

Section Device
Identifier My Voodoo 5
glide
Driver glide
Option dpms on
Option GlideDevice 0
EndSection

Section DRI
Mode 0666
EndSection
Section Screen
Identifier  Screen 1
Device  My_Voodoo_5
Monitor My Monitor
DefaultDepth 16

Subsection Display
Depth   16
Modes 1280x1024 1024x768 800x600 640x480
ViewPort 0 0
EndSubsection
EndSection


However when I run glxinfo, I get :

[EMAIL PROTECTED]:/usr/local/games/quake3$ glxinfo
name of display: :0.0
WARNING: This Mesa Library includes the Glide driver but
you have not defined the MESA_GLX_FX env. var.
(check the README.3DFX file for more information).

you can disable this message with a 'export
MESA_GLX_FX=disable'.
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: Brian Paul
server glx version string: 1.3 Mesa 3.4.2

When I run glxgears, I get :

[EMAIL PROTECTED]:/usr/local/games/quake3$ glxgears
WARNING: This Mesa Library includes the Glide driver but
you have not defined the MESA_GLX_FX env. var.
(check the README.3DFX file for more information).

you can disable this message with a 'export
MESA_GLX_FX=disable'.

If I try to fix that by defining MESA_GLX_FX I get an error:
[EMAIL PROTECTED]:/usr/local/games/quake3$ export MESA_GLX_FX=fullscreen
[EMAIL PROTECTED]:/usr/local/games/quake3$ glxgears
gd error (glide): Can't find or access Banshee/V3 board
gd error (glide): grSstSelect:  non-existent SSTSegmentation fault

Lastly, if I run quake3, It flashes the screen, stops and then gives a 
similar error:

- Client Initialization -
- Initializing Renderer 
---
- Client Initialization Complete -
- R_Init -
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.1
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
gd error (glide): Can't find or access Banshee/V3 board
gd error (glide): grSstSelect:  non-existent SSTReceived signal 11,
exiting...


For what its worth, I tried to apt-get install as much as possible.
So, I installed mesa3-glide2 but I don't think that works for voodoo5 so
I installed the glide3 source and installed it.  At least I think I
installed it.  But it didn't seem to help things.

Any help is appreciated.

John




X window app config questions

2001-08-14 Thread John F. Davis
Hello


I have recently upgraded to Debian unstable/2.4.7/XFree 4.1. 

As a result, I have some simple questions.

1.  In Xemacs my alt-key doesn't work as the Meta-key (M).
I only have a 101 key keyboard and I don't have a windows key on it.

2.  In xterms, and konsole, my home and end keys do not work.  They
only print a ~ key when pressed.  I notice this with either kde or
blackbox.  I don't have the problem when I use a eterm.

3.  Sometimes xemacs will lock up.  I think it is when I am using
freeamp to play audio.  I have disabled the sound server in KDE,
but xemacs still tries to make beep sound.  I'll get a message saying
it can't open the /dev/dsp.  I think when both apps are trying to play
a sound, it causes xemacs to lock up.  Besides not listening to music
while I code, is there something I can do to prevent  xemacs from
locking up?

Clueless in NC

John



how to configure a socks client?

2001-01-25 Thread John F. Davis
Hello

I am behind a socks firewall and I need to be able to get past it.
I put the following line in my /etc/socks.conf file:
sockd @socks.domain.com 0.0.0.0 0.0.0.0
direct 0.0.0.0 0.0.0.0

Where domain.com is changed to protect the innocent.

I tested the configuration by trying to do a ssh and a rtelnet
to a host outside the firewall.  Neither worked.

I'm not sure the ssh client will work anyway, but the rtelent should
have worked.

For what it matters, I can apt-get using proxy.domain.com and I can use
socks.domain.com with windows clients ok.

John
-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



Re: can't ssh into box anymore

2001-01-19 Thread John F. Davis
On Thu, Jan 18, 2001 at 08:21:56PM +0100, Norman Schmidt wrote:
 Hi!
 
 Did you try to login as root?

Nope.

 
 This is forbidden by default. You should not change this, but make sure
 you can su to root after logging in as known user.

Correct.  I was logged in as a normal user.
 
 Check your /etc/hosts.allow and /etc/hosts.deny files if there is any
 restriction for the client you want to log in from.

I looked there.  Nothing was there.

John
 
 John F. Davis schrieb:
  
  Hello
  
  I tried to connect to the box from a machine which I have never
  used as a client before.  It failed also.
  
  John
  
  On Thu, Jan 18, 2001 at 12:05:59PM -0800, Robert L. Yelvington wrote:
   what is the specific message you are getting when you ssh in?Hi
  
   when you restarted sshd it probably generated a new host key, right?
  
   my guess is that you need to delete the old host key in your
   ~/.ssh/known_hosts file...perhaps...just a guess.
  
   robt
  
  
   John F. Davis wrote:
   
Hello
   
I did a apt-get upgrade which restarted ssh and now I can't ssh into
my box anymore.  I keep getting a invalid password response.
   
I can however login to the box via the console with the same
password.
   
What gives?
--
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL
 PROTECTED]
   
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  
  
   --
   To UNSUBSCRIBE, email to [EMAIL PROTECTED]
   with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  
  --
  We host web sites: http://www.skink.net
  buy my stuff:
  http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
  PROTECTED]
  
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 -- 
 
 --
 Norman Schmidt   Universitaet Erlangen-Nuernberg
 cand.chem.
 mailto:[EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



Re: can't ssh into box anymore

2001-01-19 Thread John F. Davis
On Thu, Jan 18, 2001 at 03:34:27PM -0500, David B. Harris wrote:
 To quote John F. Davis [EMAIL PROTECTED],
 # Hello
 # 
 # I tried to connect to the box from a machine which I have never
 # used as a client before.  It failed also.
 
 Please be more specific with your problem. What versions of SSH are on
 each machine? What operating systems are on each machine? Include any
 relevant configuration files as attachments(so long as they're not
 huge).

Ok.  I'll try that.

 
 P.S.: I'm betting you're trying to log in as root. If this is the
 case, then you must un-comment the PermitRootLogin yes line in
 /etc/ssh/sshd_config .

Nope.  I was trying to login as a normal user.

 
 David Barclay Harris, Clan Barclay
 Aut agere, aut mori. (Either action, or death.)

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



can't ssh into box anymore

2001-01-18 Thread John F. Davis
Hello

I did a apt-get upgrade which restarted ssh and now I can't ssh into
my box anymore.  I keep getting a invalid password response.

I can however login to the box via the console with the same
password.

What gives?
-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



Re: can't ssh into box anymore

2001-01-18 Thread John F. Davis
Hello

I tried to connect to the box from a machine which I have never
used as a client before.  It failed also.

John

On Thu, Jan 18, 2001 at 12:05:59PM -0800, Robert L. Yelvington wrote:
 what is the specific message you are getting when you ssh in?
 
 when you restarted sshd it probably generated a new host key, right?
 
 my guess is that you need to delete the old host key in your
 ~/.ssh/known_hosts file...perhaps...just a guess.
 
 robt
 
 
 John F. Davis wrote:
  
  Hello
  
  I did a apt-get upgrade which restarted ssh and now I can't ssh into
  my box anymore.  I keep getting a invalid password response.
  
  I can however login to the box via the console with the same
  password.
  
  What gives?
  --
  We host web sites: http://www.skink.net
  buy my stuff:
  http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
  PROTECTED]
  
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



Re: SCSI

2000-12-04 Thread John F. Davis
What is the minimum connector distance for scsi II?

Here is why I ask.  I have a internal scsi ribbon cable
for connecting two units.  I really want to connect
three scsi units to it.  Instead of buying a expensive scsi
cable, I bought a cheap plastic ribbon cable connector which
I would like to use as a third connection for this cable.
I also have access to a cable connector tool.  i.e. a tool which
connects connectors to ribbon cables.  I just want to make sure
that don't connect the connectors to close together.

John



Re: Java JSP Tomcat

2000-10-19 Thread John F. Davis
Hello

For what its worth, I got Tomcat to run with Debian Sparc using blackdown
1.2.2.  If you are interested, I can give you some more info.  I did it
awhile back (with lots of help from the debian-sparc mailing list), 
so, it can be done.

John

On Tue, Oct 17, 2000 at 11:19:41PM -0500, Gregory Guthrie wrote:
 Why does Debian provide (only) GnuJsp, Tomcat is the standard reference 
 implementation now.
 
 Is it easy to change to use Tomcat? Should I just do it, or wait, is 
 anything coming?
 I want the standard JSP directory structures, and a guaranteed standard 
 implementation.
 
 Thanks,
 Gregory Guthrie
 
 Dr. Gregory Guthrie
 [EMAIL PROTECTED] (641)472-1125Fax: -1103
 Computer Science Department
 School of Computing and Information Science
 Maharishi University of Management
(Maharishi International University 1971-1995)
  http://www.mum.edu/cs_dept
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



Re: Installing kernel sources

2000-10-19 Thread John F. Davis
On Thu, Oct 19, 2000 at 06:15:24PM -0600, Ray Percival wrote:
 Does anyone out there have a step by step to install kernel sources on 2.2. 
 Thanks very much
 

o  uname -a, to determine which kernel version you are currently running.

o  apt-get install kernel-source-2.x.x, where x.x is determined by uname
-a.  Or, you could just install the latest if you wish.

o  do like the other message replies said about creating the link to
/usr/src/linux

I'm not sure you need a deb-src line in your /etc/apt/sources file or not.
(Is the kernel source package really considered a source deb?)

If the apt-get fails, then you need to add the following line 
as a minimum to /etc/apt/sources:

deb-src http://http.us.debian.org/debian/ potato main

John

 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons[EMAIL 
PROTECTED]



applets and apache

2000-06-21 Thread John F. Davis
System Info:

Debian Potato
Apache 1.3.9

Hello 

I am having trouble with applets and html.  I want to put all my
java applet class files in a directory.  

Here is some html which is supposed to display an applet:

OBJECT
CLASSID=java:Foo.class
CODEBASE=ClassDir/
CODETYPE=application/java
WIDTH=400
HEIGHT=80
/OBJECT

However, I can not get the applet to display if I put the class file
in the /var/www/ClassDir.  I can get the applet to display if I 
put the class file in the /var/www/ directory.

What gives?

John



Re: applets and apache

2000-06-21 Thread John F. Davis
Hello Thomas,

I can su www-data and then change direcotry to 
/var/www/ClassDir.  Then I can do a cat Foo.class and
see the contents.


Is this what you mean?

John

On Wed, Jun 21, 2000 at 04:40:59PM +0200, Thomas Guettler wrote:
 try su www-data and check if this user can access the java-classes
 
 On Wed, Jun 21, 2000 at 09:37:16AM -0500, John F. Davis wrote:
  System Info:
  
  Debian Potato
  Apache 1.3.9
  
  Hello 
  
  I am having trouble with applets and html.  I want to put all my
  java applet class files in a directory.  
  
  Here is some html which is supposed to display an applet:
  
  OBJECT
  CLASSID=java:Foo.class
  CODEBASE=ClassDir/
  CODETYPE=application/java
  WIDTH=400
  HEIGHT=80
  /OBJECT
  
  However, I can not get the applet to display if I put the class file
  in the /var/www/ClassDir.  I can get the applet to display if I 
  put the class file in the /var/www/ directory.
  
  What gives?
  
  John
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 -- 
 Thomas Guettler [EMAIL PROTECTED]
 http://www.interface-business.de
 



what is apxs in jserv documentation?

2000-06-20 Thread John F. Davis
Hello

The installation instructions for Jserv mention something called
apxs.  What is apxs?

John



is the potato apache built using dso?

2000-06-19 Thread John F. Davis
Hello

I am interested in testing jserv.  The installation instructions say
you do not need to rebuild apache if it was built with DSO support.
Is the potato apache deb built using DSO?  How can I tell if it supports
DSO?

John



jserv package

2000-06-15 Thread John F. Davis
Hello

Is there a debian package for jserv?  I have apache installed and
I want to install jserv without downloading the tar file as
described on servletcentral.com.

John



/var/log/wmtmp

2000-05-31 Thread John F. Davis
Hello

I have a huge /var/log/wmtmp file and I need to delete it in order
to get some free disk space.

Can I just delete the file?  Is there a way to clear it correctly?

John



scsi disk question: u2w vs. uw

2000-05-22 Thread John F. Davis
Hello

This is not a Debian linux question per se, but I
know someone on this list will know for sure.

Can you mix scsi disks on a Adaptec 2930u2 adapter
and not have the slower disk slow down the faster one?

I.e, I have a computer which currently has a u2w disk
with a u2w card and I want to know if I will get
a performance hit if I add a regular uw disk to the
same scsi channel.  The card does not have two channels,
so if I add the second disk it has to be on the same
channel as the original disk.

JOhn



how to remove portma and rpc statd?

2000-05-08 Thread John F. Davis
Hello


When I do top, two programs show up which I want to remove.
These programs are: portmap and rpc_statd.
I don't run NIS or NFS, so I think it would be in my best 
interest to remove these Items.  How do I do so?

I think I have my kernel configured so they aren't being used.

John



majordomo

2000-04-12 Thread John F. Davis
Hello

Which debian list is the best group for talking about majordomo?

John


Re: placing /etc under RCS control

2000-04-12 Thread John F. Davis
On Wed, Apr 12, 2000 at 01:42:59PM -0400, Noah L. Meyerhans wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Hey all.
 In order to better manage configuration changes, I have decided to place
 /etc/ under control of RCS.  Naturally, doing this means that write access
 is removed from most files and 'co -l' is needed in order to edit them.  I
 have placed the /etc directory on my local workstation under RCS control
 and noticed no problems, but before I do that on my remote server I would
 like some input from the community.  Have I overlooked anything?  Does
 anything in /etc really need write permissions?  I have seen the Id fields
 in most files in /etc/.  Can RCS be made to read these fields?  If so,
 how?  What about recursively placing all subdirs of /etc under RCS
 control?
 
 Input is appreciated.  Thanks in advance!
 
 noah


Noah, 

This is not quite what you want, but it may serve the same purpose.  Its a
shell script/perl script which backs up files.

use it like this:

backitup /etc/passwd

and it will create a file called /etc/passwd.241201.  The numbers stand
for the year, month, day and rev number.  ie. if you backitup again today, it
will create a /etc/passwd.241202 file.  Perodically, you can scrub all
files which have this form of extension.

You can also condense the two scripts into one.

Enjoy

John
perl /usr/bin/backitup.pl $1


backitup.pl
Description: Perl program


Re: slrn+NNTP help

2000-04-11 Thread John F. Davis
 I'm having the darn hardest time to get the 'slrn' to use NNTP to access a
 news server: it always insists for some reason on reading news from a
 non-existent local spool!  It does this despite me giving --nntp flag, -h
 SERVER, setting NNTPSERVER in the environment, etc.  I've done pretty much all


I don't know if this will help, but I had to set the read active flag to true.
Otherwise, I never got any groups from my isp.

The set active flag is in the .slrnrc file.

John


pseudo-image

2000-04-10 Thread John F. Davis
Hello

I want to use pseudo image to make a cd image of debian i386.  I tried using
the binary-i386-1.lst file from one url, but it didn't seem to be correct and
pseudo-image didn't get pulled correctly.  There were way to many missing
files.

Now, I'm trying again.  However, I'm looking at:
ftp://ftp.debian.org/debian/dists/potato/main/disks-i386/2.2.9-2000-03-30/
and I don't see a file list.  Where do I get the latest file list?



Re: Limiting user access in ftp, ssh, samba, etc... 'passwords'

2000-03-27 Thread John F. Davis
On Mon, Mar 27, 2000 at 12:42:24PM -0600, Matthew W. Roberts wrote:
   as far as i have been able to find,
   there is no suitable, secure, replacement for ftp (why!?!?!)

Are you familiar with scp?  I use putty's pscp for scp transfers between
windows and linux.  You ought to try it.  It rocks.


empty .ssh directory

2000-03-17 Thread John F. Davis
Hello

Is it normal to have your .ssh direcotry in your home directory to be empty?
I have been using ssh for some time now and all of a sudden all my .ssh
directories are empty.  I'm wondering if I have been hacked.  

To continue my tale of woe, My /var/syslog file was emptied of all old 
entries and this was entered at the top of the  file.

Mar 17 06:27:23 suit syslogd 1.3-3#31: restart.


Lastly, I have this process in my ps auwx output.  If I kill it, it comes
back.  I have no idea what it is.  Could it be normal?  For what it matters
, I run xdm.


root   216  0.0  1.9  2240  1256  ?  S   Mar 10   0:00 -:0


John


i'm trying to install and build the apache source using apt-get

2000-02-27 Thread John F. Davis
Hello

I can not install the apache source using the command:

apt-get -b source apache

I get the following error:

In file included from mod_rewrite.c:92:
mod_rewrite.h:129: ndbm.h: No such file or directory
make[5]: *** [mod_rewrite.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/root/apache-1.3.3/apache-1.3.3/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/root/apache-1.3.3/apache-1.3.3'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/apache-1.3.3/apache-1.3.3'
make: *** [build] Error 2
Build command 'cd apache-1.3.3  dpkg-buildpackage -b -uc' failed.

Other Facts:
slink distro
apt-get upgrade/dist-upgrade/update have all been done.
sparc processor
apt-get install debhelper has been done.
ndbm.h is on my computer.  Its in the /usr/include/db1 directory.
I added: export INCLUDE=/usr/include/db1 to my environment.  eg.:
mrfan:~/apache-1.3.3# set | grep INCLUDE
INCLUDE=/usr/include/db1

John Davis


Re: disabling user mail

1997-08-08 Thread John F
On Fri, 8 Aug 1997, Martin Schulze wrote:

  
  I want all users in the 'mail' group to be able to send/recieve mail. 
  So, for example, if someone sends a message to someone not in the group,
  it will be returned as unknown.
 
 Write your own local transport or try to work with procmail as
 local delivery agent.
 
   Joey

Exim handles this sort of thing rather nicely.

John Foster


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


Re: Debian-Lite : The Project

1997-08-04 Thread John F
On Mon, 4 Aug 1997, David M wrote:
 
 Also users can backup a certain working state of their sytems into a 
 packaging configuration file wich could then be used to reinstall (add, 
 delete, etc) to that particular configuration.

This is a great idea! Mind you, the only times I've had to do a
complete re-install with Debian were after a security scare where I
couldn't tell what may/maynot have been modified, or after a massive
hardware upgrade. But for the purposes of say, building a new server
that replicates an existing one I think this could be very handy.

Couldn't dpkg generate a list of existing installed packages? Then a
simple script could take that list and run dpkg -i on them.

John


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


Re: ICQ

1997-07-31 Thread John F
On Wed, 30 Jul 1997, Travis Cole wrote:

 -BEGIN PGP SIGNED MESSAGE-
 
 
 On 31-Jul-97 Christopher Jason Morrone wrote:
 I'd like an app that will announce to a central server that I'm online (or
 maybe distributed servers that communicate with each other for better
 stability), and that my client can check to see if my friends are logged
 in, where they're logged in, etc.
 
cut
 
 In any event, there should be an RFC, and the source should be free.  And
 if it isn't written soon ICQ will take over the world. :)
 
 
 
 This is also exactly what I would like.  Just a way to find out when and where
 my freinds are logged in so I can send them a message they will see imediatly,
 and the ability to chat and possibly send files to them.  This would also have
 to be a multiplatform system.
 
 I would love to have this as in a free and open form but now the only option I
 can see is ICQ or AOL's AIM and right now AIM is the only one working for more
 than Windows.
 
 If I were a programer (which I am trying to learn, but not even close yet) I
 would try to get something like this started.  But alas I do not yet poses the
 technical skills necessary.  Possibly there is someone who does and is
 interested.
 
 I really think something like this would happen and I have a lot of ideas 
 about
 it.  Please let me know if you wan't to talk more.

Could such a thing be based on how RIP works? ie participating
providers broadcast every 5 minutes idents of participating clients,
and this propagates to other participating servers.

I'm sure there would be a way of coding the information so that it 

1) has some sort of security
2) is conservative of bandwidth usage
3) protects the privacy of those who don't want to be involved

Such a scheme could also solve a major problem many face when it comes
to trying to track down the source of a security scare. This would
obviously have to be very tightly controlled.

Consider a set of servers that keep track of master databases of
participating users. Each email address would map to a code like

byte.byte.byte.255.byte.byte.byte.255

The first set of bytes would identify a network or a host, so it would
be from 1-4 bytes long. The second set would uniquely identify the
user (and would be of varying length according to the size of the
provider).

Now suppose [EMAIL PROTECTED] wants to know if [EMAIL PROTECTED] is logged
on. jim makes a request of his provider, which asks one of the masters
for the code relating to bob. the masters flag that when bob is online
it will tell the server at some.domain. When bob loggs in, the server
at there.com tells the masters that 123.234.23.255.123.234.12.6.255 is
online. When bob loggs off there.com tells the masters that
123.234.23.255.123.234.12.6.255 is offline. 

The server at some.domain knows that if the masters report that
123.234.23.255.123.234.12.6.255 it will tell jim. If jim loggs off the
masters will be told by the server at there.com that jim
(234.123.45.67.255.1.2.3.4.5.255) is offline, and it will cancel any
pending notification to jim that bob is online.

Multiple notifications could be pooled into a single IP packet, so 1
packet could contain say 70-80 messages.

The4 masters could update to each other the maps from user names to
codes every 30 minutes. Each providers server would be responsible for
their clients codes (shades of DNS). the providers could run message
packets every 5 minutes.

There would be all sorts of issues relating to who pays for what, but
if the end users are paying $1/month for the service, then it should
cover the data costs at the very least.

Your thoughts?

John Foster


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


Re: adduser and quota

1997-07-18 Thread John F
adduser will execute adduser.local if it finds it on the path. Put
local stuff in there. See the adduser man page.


On Fri, 18 Jul 1997, Paul Miller wrote:

 I was right!  In order for quota to work, the new user *MUST* have
 existing file(s) on the file system.  I'm using Debian 1.3.1 and I'm
 soon going to upgrade to the unstable version of Debian, containing
 adduser 3.4.  I know adduser 3.2 does not touch the mail file, does
 adduser 3.4?  If not.. can someone help me with the perl script?  Here
 is what I want to add:
 
 touch /var/spool/mail/$new_name
 chmod 0600 /var/spool/mail/$new_name
 
 If this isn't in adduser 3.4, can someone else add it please?
 
 Thanks
 -Paul
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 


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


Re: NSLOOKUP don't work

1997-07-15 Thread John F
On Mon, 14 Jul 1997, Tony Koehn wrote:

 Thomas,
 
 My /etc/hosts file does have 127.0.0.1 localhost in it.
 My /etc/host.conf has order hosts,bind in it.
 
 Tony
snip 
  Tony Koehn wrote:
  :After getting debian installed I tried to do a nslookup and I get this
  :message:
  :
  :*** Can't find server name for address 127.0.0.1: Non-existent
 host.domain
  :*** Default servers are not available.
  :
  :What did I do wrong?
  
  See wether there's a line 127.0.0.1 localhost in /etc/hosts.
  See wether /etc/host.conf has order hosts,bind or order bind,hosts
  in it. The first one will query /etc/hosts before going to the nameserver
  configured in /etc/resolv.conf, while the other will do it in the reverse
  order.

Check that you are primary-ing the localhost in /var/named/named.local
and named.boot.

see the DNS HOWTO.

John Foster


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