Re: ¿Qué es el grupo linux.debian.spanish?

1999-09-18 Thread RESET
: El día Tue, 14 Sep 1999 12:28:53 +0200, José Carlos García
Sogo [EMAIL PROTECTED] contaba:

José:: Pues eso. ¿Es esta lista gestionada como un USENET?  Me
José:: interesaría mucho, pues a partir de poco no voy a poder
José:: bajarme el correo todos los días, y no mola llegar y
José:: encontarse con 500 mensajes sin leer.

José:: ¿En qué servidores se puede encontar ese grupo?
   

[...]

En cuanto a los servidores, vaya por delante que no tengo ni idea.
Prueba con news.mad.ttd.net / news.bcn.ttd.net o news-3.rediris.es.
Hasta donde yo sé (y siempre que no me corrijan :-) todos los mensajes 
que se mandan a las listas de debian se reenvían a través de una
pasarela del tipo mail = news a los grupos debian.*

En esos grupos puedes seguir las discusiones, pero no postear.  Para
eso tienes que enviar correo a la lista normalmente (aunque como no
necesitas estar suscrito para eso --de ahí los spammers--, no tendrás
ningún problema).



Un saludo.

-- 

RESET


Re: No puedo hacer telnet a mi propia maquina

1999-09-18 Thread RESET

Hola

Probablemente es un problema de /etc/hosts.  Éste funciona:
como:

127.0.0.1   localhost   localhost.localdomain
127.0.0.2   nombre_de_máquina   localhost




Un saludo.

-- 

RESET


Re: monitorización de mail

1999-09-18 Thread Felipe Sanchez
M. Angel Esteban wrote:

 Hola!!

 ¿Sabéis alguna manera de monitorizar mediante slink como van entrando los
 mails a mi máquina (mediante cónsola, nada de X) basada en dhis?.

 Si pudiera ser mediante un doc o referencia muxo mejo,ke kiero aprendé :-D


Hola,

Lo que yo hago es correr tail -f /var/log/smail/logfile en una consola virtual 
(o en un shell
abierto por screen). Eso te va mostrando las llegadas y partidas de email, y 
tambien los
errores... si usas smail obviamente. No se cual sera el log de otros MTA's.

Alguna vez me acuerdo que hice algo para redireccionar logs a una consola 
automaticamente,
sin dejar la consola ocupada (como en el caso de tail -f), pero ya no me 
acuerdo como.
Funcionara tail -f ?

Felipe.




Dudas de XEmacs

1999-09-18 Thread Javier Viñuales Gutiérrez
Hola a todos.

Cuando intento acceder a web desde xemacs, este lo intenta pero al momento
suena un beep de error y aparece en la barra de mensajes: 
   Invalid regexp: Invalid preceding regular expression
y no sigue.

¿Alguien sabe donde tengo que tocar en el setup de xemacs para solucionar
esto?.

Ya que estamos, otra cosa. Tengo instalado 'gnus' pero al lanzarlo para ver
las news (yo uso inn) me dice: 
nntp (news) open error: .Continue?
No se donde tocar en el setup para arreglar esto ¿puede alguien ayudarme?.

Muchas gracias y saludos.
-- 
Javier Viñuales Gutiérrez [EMAIL PROTECTED]
Webs:   http://www.ctv.es/USERS/viguPersonal
http://www.ctv.es/USERS/vigu/linux/ ViguLinux
PGP public key:  http://www.ctv.es/USERS/vigu/vigu.pubkey


Diald

1999-09-18 Thread Angel Vicente Perez
Hola a todos...

Tenia yo en el trabajo, una maquina funcionando con diald, y al cambia al
kernel 2.2.10 ha dejado de funcionar (aunque sospecho que el netbase tambien
tiene algo que ver, porque en 2.2.9 funcionaba, y tampoco en este funciona),
se queja de que hay un parametro incorrecto en inet, en el momento de
establecer el interface SLIP, he cambiado el diald a la version 0.98...,
pero igual.

No se que hacer con esto. ¿Existe alguna alternativa para diald, teniendo
en cuenta que los que va a demandar la llamada son PCs con NT?,¿existe forma
de hacer funcionar diald con estos nucleos?

Gracias y saludos.


Re: Lprng y permisos en /dev/lp0

1999-09-18 Thread Ramiro Alba
Angel Vicente Perez wrote:
 
 Hola a todos...
 
 Tengo instalado el lprng-3.6.10-1, como sistema de impresión, desde que
 tengo esta versión instalada, no puedo imprimir nada, siempre obtengo un
 mensaje diciendo que no existe el dispositivo, y que permiso denegado. He
 visto que cuando se ejecuta checkpc, no se cargan los modulos de impresora.
 
 Creo que es una cuestion de propietarios y de permisos, pero en las
 versiones anteriores, lo arreglaba usando checkpc, con esta, es que no soy
 capaz.
 
 ¿Le ha pasado a alguien lo mismo?
 

Supongo, que tienes compilado el kernel con Paralell printer support
¿no?.
A mi me pasaba eso porque no lo tenia compilado.

Saludos

-- 
Ramiro Alba
Laboratori de Termotecnia i Energetica

Departament de Maquines i Motors Termics
ETS d'Enginyers Industrials de Terrassa

C/Colom 11

Tf: 34 - 93 739 82 43
Fax: 34 - 93 739 81 01

e-mail: [EMAIL PROTECTED]


Re: xemacs y del

1999-09-18 Thread Hue-Bond
El viernes 17 de septiembre de 1999 a la(s) 20:19:33 +0200, RESET contaba:

¿Qué es XEmacs?

Los mantenedores de XEmacs siguen activamente los cambios de Emacs y
además trabajan para añadir nuevas características.

 ¿Por qué hay dos entonces, si son (casi) iguales?


-- 
 Just do it.

David Serrano [EMAIL PROTECTED]   Linux Registered User no. 87069
 http://come.to/Hue-Bond.worldIn love with TuX - Linux 2.2.12
PGP Public key at http://www.ctv.es/USERS/fserrano/pgp_pubkey.asc


Impresión

1999-09-18 Thread Pedro
Hola:

Tengo la Debian 2.1 con el Kernel 2.0.36, el problema es que puedo imprimir 
sólo ficheros de Gv, por ejemplo páginas de html del Netscape he incluso de 
texto con el mutt etc, etc... no puedo, sabeis que debo hacer.

Y otra cosa quiero actualizarme el Kernel a uno de los últimos, cuando compilé 
este ya me ví negro para compilar la tarjeta de sonido y la impresión, por eso 
me gustaría que me comentarais algo, mi tarjeta de sonido es una SoundBlaster 
16 Isa PnP y mi impresora es una Espson Stylus Color 440.

Gracias de antemano...


Re: No puedo hacer telnet a mi propia maquina

1999-09-18 Thread Jon Noble
Hola,

On vie, 17 sep 1999 03:19:27 RESET wrote:
 Probablemente es un problema de /etc/hosts.  Éste funciona:
 como:
 
 127.0.0.1   localhost   localhost.localdomain
 127.0.0.2   nombre_de_máquina   localhost
 
¿ Para qué sirve la dirección 127.0.0.2 ?

Un saludo,

JonN


Problemas con Samba y redes

1999-09-18 Thread Avid El Fasih Santalla
Saludos a los listeros.

Acabo de instalar Samba en un servidor con Debian 2.0, pero no
consigo hacerlo funcionar bien. El caso es que el servidor linux es
visible desde clientes windows 95, pero cuando pincho en el explorador
de red para ver los recursos compartidos me pide una contraseña para el
recurso IPC$ y no me deja nada más. No se si puede ser porque hay algún
demonio de samba que no ha sido lanzado (en la instalación de samba
seleccione inetd) creo que con NT me paso alguna vez algo parecido y era
porque el servicio de servidor no había sido iniciado, pero ya no me
acuerdo. ¿Es posible ver al equipo con el explorador de windows si falta
algún demonio de samba? ¿Me podría explicar alguien cuales son las
funciones de cada demonio de samba? También indicar que en la
configuración de Samba el unico recurso compartido que he puesto de
momento es la sección [home], ya que unicamente quiero compartir el
directorio home del usuario que se conecte.

Otra duda que tengo es que he instalado una tarjeta de red
compatible NE2000, le paso todos los parametros y al iniciar Linux me la
detecta correctamente como eth0. La duda es que he intentado buscar el
dispositivo eth* en /dev y no he encontrado ninguno, ¿como es posible
esto? Estoy utilizando modulos para la tarjeta. La verdad es que la
tarjeta la he conseguido hacer funcionar pero no se muy bien lo que he
hecho, quite un comentario de una linea del fichero conf.modules (
exactamente una linea que decia #alias eth0 tu controlador de red ) y
puse alias eth0 ne2000 y me funcionó. Antes intente crear el
dispositivo con MAKEDEV (versión 1.5) y no supe como hacerlo. No se si
hay que crearlo o si como ya me funciona dejarlo así, de todas formas me
gustaría saber que ha pasado.

Siento haberme extendido tanto, pero es que tengo tantas dudas que no se
yo. Ya iré preguntando más cosas poco a poco, porque cada día que pasa
tengo más vicio con Linux (espero que sea sano y no tener que ir a
urgencias)
:-))

Gracias a todos.




Re: No puedo hacer telnet a mi propia maquina

1999-09-18 Thread Paco Brufal
On Fri, 17 Sep 1999, Cosme Perea Cuevas wrote:

 Eps! lo he solucionado modificando `/etc/networks'. Lo tenía:
 localnet 127.0.0.0
 y he añadido la línea:
 localhost 127.0.0.1
 ¿Es una solución ortodoxa?

13:23:phucksys:root# cat /etc/networks
loopnet 127.0.0.0
localnet192.168.1.0

Si quieres saber cómo pertenecer a
Paco Brufal [EMAIL PROTECTED] Fidonet, la red de correo con más
Fidonet 2:346/3.68  CALIDAD del Mundo y SIN SPAM,
preguntame como.

...At War. Leathernecks. 1993
--- Pine 4.10 + Sendmail 8.9.3
 * Origin: FAQ de R34.LINUX: http://www.linuxfreak.com/~r34_linux (2:346/3.68)
 


icewm de Slink

1999-09-18 Thread Hue-Bond
 Buenas.

 Cambiando cositas  del ~/.icewm/preferences veo que  algunas no
 funcionan. Por ejemplo le  pongo a ColorActiveTitleBarText el valor
 rgb:00/00/00 y tras reiniciar icewm, el texto sigue tan blanco como
 por defecto. ¿Alguien  lo ha cambiado y le ha  funcionado? No es la
 única opción que no rula, y me tiene bastante mosqueadillo...


-- 
 Just do it.

David Serrano [EMAIL PROTECTED]   Linux Registered User no. 87069
 http://come.to/Hue-Bond.worldIn love with TuX - Linux 2.2.12
PGP Public key at http://www.ctv.es/USERS/fserrano/pgp_pubkey.asc


Netscape Communicator 4.51: trampa barriobajera.

1999-09-18 Thread Cosme Perea Cuevas
Hola,

Pues o no lo he entendido bien, o la versión de Notescapes que
he instalado  me (nos) la está  jugando miserablemente. Porque
he  desabilitado  java,  javascritp,   etc.,  y  cuando  entro
(off-line con  Wwwoffle) en  una página  con algún  código que
llama a otro documento  (=publicidad), pues el Wwwoffle recibe
la petición (que he de cancelar cada vez) o, si tengo ese host
en  la lista  de  no cacheables,  me dice  que  no se  puede
saltándose la página que quería ver (y que tengo en mi HD).

Con el Navigator 4.5 NO PASABA!

No veas  que fastidio si  tengo que desinstalar y  volver as
otra versión...

Es el(los) paquete(s) que vienen con Slink.

Saludos.

-- 
Cosmehttp://www.geocities.com/CollegePark/Lounge/8698/
==
  -=-=-  A través de Debian GNU/Linux  -=-=-
  -=-=- Software Libre -=-=-
 
http://www.linux.org/  S.O. Multi-[plataforma, tarea, usuario]
http://www.gnu.org/   Free Software Foundation
http://lucas.hispalinux.es/Documentación en Castellano
http://www.openresources.com/es/Revista Open Resources
LuCAS/LinuxFocus/pub/mirror/LinuxFocus/Castellano/  LinuxFocus
==


pgpkmwv9E6Hc6.pgp
Description: PGP signature


Re: picture as background in xterm or other?

1999-09-18 Thread RESET



rxvt and wterm, too


-- 

RESET


Re: Awe64 Gold

1999-09-18 Thread Mark Brown
On Fri, Sep 17, 1999 at 11:44:08PM +0200, Steeve Lennmark wrote:
 On Fri, Sep 17, 1999 at 09:51:30PM +0100, Mark Brown wrote:

  I'm using an AWE64 quite happily.  What's not working?  Are you using
  isapnpconf or something to set it up correctly?  What have you tried?

 I've tried compiling it into the kernel, and as module, but it just dont seem 
 to work..

More detail on what you are trying and how precisely it fails to work
would be appreciated.

 Could you explain that step's i should go throu?

What I did (IIRC - it was a while ago): 

1. configured my kernel with SB16 support as a module.
2. configured isapnp to set up my sound card
   a. install isaponptools
   b. use pnpdump to generate template /etc/iaapnp.conf
   c. edit /etc/isapnp.conf to avoid conflicts with other devices (the
  file is very well commmented)
3. reboot
4. run modprobe sb irq=nnn io=0xnnn dma=0xnnn mpi_io=0xnnn where the 
   settings match those chosen in step 2.  Also modprobe opl3 io=0xnnn
   for completeness.
5. if everything works, adjust /etc/modutils so that the modprobe
   options are permenant.  

HTH.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpGQ2Z6Z7tvg.pgp
Description: PGP signature


Re: Leafnode question...

1999-09-18 Thread NatePuri
On Fri, Sep 17, 1999 at 06:38:41PM -0400, Jonathan Lupa wrote:
 Unfortunately, I get the same results. =(

I forgot to inform you about something.  Leafnode only knows to fetch
news that you request with a news read (i.e., tin or trn).  When the nntp
server (leafnode) gets a request it will mark the group for the next time
you run fetch -vvv.  So use a reader to request a group, then go and 
run fetch -vvv.  If that doesn't work, then I'm at a loss.

-- 
NatePuri (natedawg) 
Certified Law Student
McGeorge School of Law
Sacramento, CA  
[EMAIL PROTECTED] 
[EMAIL PROTECTED]
http://www.ompages.com
http://office.ompages.com/~natedawg
PGP: http://www.ompages.com/PGP.html
UIN: 43504034 
IRC: office.ompages.com #ompages


pgpp63w7HxsZ5.pgp
Description: PGP signature


Re: Backup -- what directories are important?

1999-09-18 Thread Scott Henry
 B == Brian Boonstra [EMAIL PROTECTED] writes:

B Hi
B  I've got a CD-RW drive, and a hankering to back up.  I'm using a few  
B GB of space with my potato distribution, but most of that is packages that I 
 
B could easliy fetch again from the web if my HD crashed.  Are there any  
B comments on the following list of directories to backup?


B /home/
B /etc/
B wherever the dpkg data is stored
B /usr/local/


B  One thing I'm wondering:  if I do this, how do I restore my list of  
B packages in such a way that dpkg will go out and refetch/install them all?

I'm doing something like this, but it is still by hand at the moment
(there's nothing critical on the machine).

dpkg --get-selections
dpkg --set-selections

(though I haven't tried the latter yet, just read it in the man page...)

-- 
 Scott Henry [EMAIL PROTECTED] /  Help! My disclaimer is missing!
 IRIX MTS,   /  GIGO *really* means: Garbage in, Gospel Out
 Silicon Graphics, Inc  /  http://reality.sgi.com/scotth/


Re: [Mailer-Daemon@pingoo.linhax.org: Mail delivery failed: returning message to sender]

1999-09-18 Thread Mark Brown
On Tue, Sep 14, 1999 at 06:47:26PM +0200, Sami Dalouche wrote:

 How can I avoid this type of behaviour ?
 When I tell exim to use the smtp.free.fr - I have rights to use it as a
 smarthost -, I receive a message like this. How can I repair this ?

 SMTP error from remote mailer after MAIL FROM:
 [EMAIL PROTECTED] SIZE=1754:
 host smtp.free.fr [212.27.32.5]:
 501 [EMAIL PROTECTED]... Sender domain must exist

You need to have your Sender: and the SMTP MAIL FROM be valid e-mail
addresses.  If you own a domain of any kind, set exim up to use that as
the local domain (qualify_domain = domain.name).  Otherwise, try
something like rewriting (such as that in the rewrite configuration and 
the end of /etc/exim.conf) or a mail client which communicates with the 
MTA using SMTP.

There's quite a bit of discussion of this in the debian-user archives.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpQ2E5znFX7g.pgp
Description: PGP signature


ethernet configuration

1999-09-18 Thread Stephen Monroe

Hello,
I'm having trouble getting my ethernet to work properly.  I'm in a dorm room 
at a university that supplies ethernet and I KNOW it worked last year.  I'm 
dual booted and I used my winmodem in Win98 over the summer (and 
unsuccessfully tried to configure it for Linux).  This is all I can think 
that would have disturbed the ethernet configuration.


The driver is tulip and it's a Netgear card.
Here's what I've done so far (at the advice of others):
I did modprobe tulip and then dhcpcd eth0, but that still didn't solve 
the problem.  Neither commands returned anything.


my /etc/init.d/network file contians:
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0

The lights on my card are actually lit up and blinking,(supposedly showing 
data transmission, I think) but I can't ping any servers or anything.


__
Get Your Private, Free Email at http://www.hotmail.com


RE: Leafnode question...

1999-09-18 Thread Jonathan Lupa
On Friday, September 17, 1999 1:33 PM, Mark Brown
[SMTP:[EMAIL PROTECTED] wrote:
 On Fri, Sep 17, 1999 at 11:31:45AM -0400, Jonathan Lupa wrote:
 
  Sith:/usr/doc/leafnode/examples# fetch -fvv
  1.6.2: verbosity level is 2
 
 I strongly recommend upgrading to a more up to date version of Leafnode
 - older versions have some serious bugs in fetch which make it totally
 unusable in some configurations.


Thank you both for your help!!!

After upgrading, everything worked fine. Yay!
=)

Sith:/var/spool/news/leaf.node# fetchnews -fvvv
1.9.4: verbosity level is 3

-Jonathan
--
[EMAIL PROTECTED]


Re: Regex and memory gone.. was Re: spreadsheet (excel, WingzPro)

1999-09-18 Thread rich
 I remember reading today / yesterday that someone had problems with
  Wingz on a 48MB system... I just downloaded both Wingz and WingzPro,
  installed them in under 5 minutes and both run very smoothly and quickly
  on my 32MB 200Mhz Pentium I running Slink... The Excel and HTML import /
  export functions seem to work flawlessly... Gnumeric (at least the
 [...]
 
 Ah, that was me.  Perhaps I set it up wrong?  Wingz complined about not
 having libg++27 and libstdc++27.  Was I wrong to soft-link and ldconfig the
 libg++2.7.2 and libstdc++2.7.2 libs to these?  
 
 The complaints then vanished and I then got the memory exhausted error from 
 Regex.

I don't know if this will help, but here is the output from ldd
/usr/local/Wingz3/bin/LINUX/Wingz on my system:

libm.so.5 = /lib/libm.so.5 (0x4000c000)
libXpm.so.4 = /usr/lib/libc5-compat/libXpm.so.4 (0x40015000)
libXmu.so.6 = /usr/lib/libc5-compat/libXmu.so.6 (0x40023000)
libXext.so.6 = /usr/lib/libc5-compat/libXext.so.6 (0x40035000)
libXt.so.6 = /usr/lib/libc5-compat/libXt.so.6 (0x4004)
libX11.so.6 = /usr/lib/libc5-compat/libX11.so.6 (0x40082000)
libdl.so.1 = /lib/libdl.so.1 (0x4012)
libg++.so.27 = /usr/lib/libc5-compat/libg++.so.27 (0x40123000)
libstdc++.so.27 = /usr/lib/libc5-compat/libstdc++.so.27
(0x4015b000)
libc.so.5 = /lib/libc.so.5 (0x4018c000)
libSM.so.6 = /usr/lib/libc5-compat/libSM.so.6 (0x4024a000)
libICE.so.6 = /usr/lib/libc5-compat/libICE.so.6 (0x40253000)


Re: Backup -- what directories are important?

1999-09-18 Thread Brian Servis
*- On 17 Sep, Brian Boonstra wrote about Backup -- what directories are 
important?
 Hi
 
   I've got a CD-RW drive, and a hankering to back up.  I'm using a few  
 GB of space with my potato distribution, but most of that is packages that I  
 could easliy fetch again from the web if my HD crashed.  Are there any  
 comments on the following list of directories to backup?
 
 
 /home/
 /etc/
 wherever the dpkg data is stored

/var/lib/dpkg  but don't back this up if you are going to restore 
all the packages.  

 /usr/local/
 
 
   One thing I'm wondering:  if I do this, how do I restore my list of  
 packages in such a way that dpkg will go out and refetch/install them all?
 
 

dpkg --get-selections  install.list

My backup script runs this at the start of every backup and puts the
file in a directory that will be backed up.

Then after you have installed the base system:

dpkg --set-selections  install.list

Then fire up dselect and make sure you access method is set up. Then
update the available list and jump straight to the install.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Oliver Elphick
In order to help remove unnecessary prompts from the Debian PostgreSQLl
installation script, I want it to guess the local date style, to be chosen
from the following list:

   Style  DateDatetime
   ---
   ISO1999-07-17  1999-07-17 07:09:18+01
   SQL17/07/1999  17/07/1999 07:09:19.00 BST
   POSTGRES   17-07-1999  Sat 17 Jul 07:09:19 1999 BST
   GERMAN 17.07.1999  17.07.1999 07:09:19.00 BST
   NONEURO07-17-1999  Sat Jul 17 07:09:19 1999 BST
   US 07-17-1999  Sat Jul 17 07:09:19 1999 BST
   EURO   17-07-1999  Sat 17 Jul 07:09:19 1999 BST

I propose to include the attached script. If the zone belongs to USA or
Canada, I use American format; if it belongs to another country I use
European format; if the country is unidentified I try to guess from
the zone abbreviation and its offset from UTC.  For zones which aren't based
on regional names I use ISO.

Are there any other countries besides USA and Canada which use American
datestyle?  Am I right in thinking that Canada does? 

If you have a recent potato system, with timezone files in
/usr/share/zoneinfo, could you please run the script and let me know if
it gives WRONG results for you.  If it does, please tell me your timezone
and offset (date '+%Z %z') and what the date style ought to be. If you
can suggest a change to the script that will get it right without breaking 
results for other countries, that will be even better!

Please do NOT tell me if it is RIGHT or I will be overwhelmed with mail!

If anyone wants to see the result for all timezones, this Bourne shell
fragment will do it:

 (cd /usr/share/zoneinfo;
 for TZ in `find * -type f ! -name '*.tab' ! -name localtime`
do echo -en `date '+%Z %z'`  \\t $TZ \\t
/tmp/guess.datestyle
 done |
awk '{printf %7s %5s %40s %2s %s %s\n,$1, $2, $3, $4, $5, $6}' | 
less)

#! /bin/sh
# Guess the postgresql datestyle to use for a given timezone (from glibc)

# make sure we can find the timezone database
ZONEDIR=/usr/share/zoneinfo
if [ ! -d $ZONEDIR ]
then
echo Sorry, I don't know where to find the timezone files; this
script expected to find them in $ZONEDIR
exit 1
fi

# make sure TZ is set and exported
if [ -z $TZ ]
then
TZ=`date '+%Z'`
fi
export TZ

# find the timezone offset from UTC
tzno=`date '+%z'`

# Find the name of the zone - strip off unwanted header directories
x=`echo $TZ | cut -d/ -f1`
case $x in ( SystemV | posix | right )
x=`echo $TZ | cut -d/ -f2-4`
;;
* )
x=$TZ
;;
esac

# What country does this zone belong to (if undefined, set it to __)
tzcountry=`grep $x $ZONEDIR/zone.tab | head -1 | cut -c1-2` 
if [ -z $tzcountry ]
then
tzcountry=__
fi

# Guess the timezone
case $tzcountry in ( US | CA )
# US date format
# (I assume Canada uses US format)
GuessDateStyle=US
;;
DE )
# Germany has a style to itself
GuessDateStyle=GERMAN
;;
__ )
# No country, so see if the zone is a region or country name
x=$TZ
while echo $x | grep -q /
do
y=`dirname $x`
case $y in ( SystemV | posix | right )
y=`basename $x`
;;
esac
x=$y
done

case $x in ( Africa | Canada | Indian | Mexico | America | 
Chile | GB | Iran | Mideast | Antarctica | Cuba | Israel | NZ | Singapore | 
Arctic | Jamaica | Asia | Japan | Navajo | Turkey | Atlantic | Kwajalein | 
Australia | Egypt | Libya | US | Brazil | Eire | Pacific | Hongkong | Poland | 
Europe | Iceland | Portugal)
# try to guess the zone from the UTC offset and the
# zone abbreviation
if [ -z $GuessDateStyle ]
then
GuessDateStyle=EURO
# if the user has German locale, I assume
# he will want GERMAN style
if [ $LANG = de_DE ]
then
GuessDateStyle=GERMAN
elif [ $tzno -le -200 -a $tzno -gt -1200 ]
then
tzn=`date '+%Z'`
case $tzn in ( ADT | AST | AKDT | AKST 
| CDT | CST | EDT | EST | HADT | HAST | HST | MDT | MST | NDT | PDT | PST)
GuessDateStyle=US
;;
esac
fi
fi
   

Re: multihost exim setup (general MTA question I guess)

1999-09-18 Thread Mark M
Hi,

On Wed, Sep 15, 1999 at 10:53:54PM -0400, Jonathan Lupa wrote:
 OK, this is pretty complicated to me, so the chance of me misspeaking is
 large. 

I'm no expert, so the same goes for me.
 
 What I want is the server to do the fetchmail durring ip-up and ip-down.
 That mail getting delivered to the servers MTA, and then the servers MTA
 to be smart enough to deliver appropriate mail to the workstation. Also,

Try using this in the servers exim.conf:

local_domains = *.mynetwork

 I need outbound mail on the workstation to keep going (maybe send it off
 to the server where it is spooled until ip-up, when it gets send out.

host_accept_relay = *.mynetwork   (again, in server's exim.comf)

As far as I understand what your after, you then want to run exim.conf
on your workstation and set it up as a `sattelite' system, so that
outgoing messages are sent to your server (this will also rewrite the
headers to say they are from server.mynetwork).

Also, you may want to read

http://www.linuxgazette.com/issue42/stumpel.html

I have rewritten the `outfilt' script that this URL talks about so that
the From: field is obtained from an email-alias file (clobbering the mail
reader's aliasmyaddr to guard against accidental changes). Also, the 
CC:'s and To: headers processing is a little more sophisticated to
ensure it will work under a variety of conditions. I will stick it on the 
web in a few days if anyone is interested.

HTH,

Mark.


Opening dynamic text file

1999-09-18 Thread Mark M
Hi,

Apols for the non debian specific Q, but I was hoping someone would
know how I could read in and process a file (a log file in this case),
and then when further lines are written read these without reloading
the whole file (performance considerations).

I thought that (using perl) continually open()ing the file without
close()ing would do the trick as the line number is not reset, but this
didn't work.

Any ideas? (or shouldn't log files be abused in this manner?)

Thanks,

Mark.

PS. Any language: python, perl, C ... - it doesn't matter.
(Well possibly with the exception of Miranda:)


Re: multihost exim setup (general MTA question I guess)

1999-09-18 Thread Mark M
Whoops, should have said

local_domains = localhost:*.mynetwork 

in server's exim.conf

Cheers,

Mark.


Re: ethernet configuration

1999-09-18 Thread Phil Brutsche
On Fri, 17 Sep 1999, Stephen Monroe wrote:

 Hello,
 I'm having trouble getting my ethernet to work properly.  I'm in a dorm room 
 at a university that supplies ethernet and I KNOW it worked last year.  I'm 
 dual booted and I used my winmodem in Win98 over the summer (and 
 unsuccessfully tried to configure it for Linux).  This is all I can think 
 that would have disturbed the ethernet configuration.
 
 The driver is tulip and it's a Netgear card.
 Here's what I've done so far (at the advice of others):
 I did modprobe tulip and then dhcpcd eth0, but that still didn't solve 
 the problem.  Neither commands returned anything.
 
 my /etc/init.d/network file contians:
 #! /bin/sh
 ifconfig lo 127.0.0.1
 route add -net 127.0.0.0
 
 The lights on my card are actually lit up and blinking,(supposedly showing 
 data transmission, I think) but I can't ping any servers or anything.
This is how I've been able to sucessfully use DHCP with Debian slink.  I
use version 2.0 of ISC's DHCP client
(http://www.isc.org/view.cgi?/products/DHCP/index.phtml).  Unfortunately,
there aren't any .debs available for this version, and I wouldn't trust
what's the version of dhclient included in Debian, so you'll have to
compile it from source.  Here's the /etc/dhclient.conf that I use:

send host-name the host name you want to use, in quotes;
request subnet-mask, broadcast-address, routers, domain-name, 
domain-name-servers;
script /etc/dhclient-script;

--
--
Phil Brutsche   [EMAIL PROTECTED]

There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe. - Albert Einstien


How does it...

1999-09-18 Thread Fredrick Schmitt
Is the setup text based or graphial? What are the extra features this
opperating system has over my RH6 box? What system would be the
cheeziest I could run it on?


Re: How does it...

1999-09-18 Thread Seth R Arnold
Text-based.

The extra features are multiple -- the package management is by far the best
I have ever seen in any product. (I haven't tried FreeBSD yet, though.. I
hear it is nice too. :)

The updates are far more often. (Security patches are released within hours
of finding the problems..)

There are far more debian developers than redhat developers -- meaning each
package gets more attention that their red-hat counterpart, as well as
updated more often.

Debian is not without its downsides though. I have yet to find them,
however. (teehee! ;)

As for the cheeziest, I hear doritos are the cheeziest. (Actually, what did
you mean? :)

On Fri, Sep 17, 1999 at 08:47:19PM -0500, Fredrick Schmitt wrote:
 Is the setup text based or graphial? What are the extra features this
 opperating system has over my RH6 box? What system would be the
 cheeziest I could run it on?
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: [OT] How to make a critical section in user program?

1999-09-18 Thread John Hasler
Wojciech writes:
 I agree, but what about the root's processes?

Root's special status extends only to file access.

 Well, but in the kernel I can't use the write(ComFd,c,1).  Am I wrong?
 (I hope I've missed something)

Write a device driver and put your critical section in it.  Run the rest of
the program in user space and call the driver when you need to do the
critical stuff.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: How does it...

1999-09-18 Thread NatePuri
On Fri, Sep 17, 1999 at 08:47:19PM -0500, Fredrick Schmitt wrote:
 Is the setup text based or graphial? What are the extra features this
 opperating system has over my RH6 box? What system would be the
 cheeziest I could run it on?

Oh boy, you have hit a nerve.  You will get quite a lot of responses here.

First of all, you can run debian 2.1 (slink) and potato on something as
small as a 386 if you wanted a minimal install.

What debian offers over redhat is the following (from my point of view)

1.  More secure.  Debian has a lot more security bug fixes, and is arguable
the most secure linux.
2.  Internet upgrades work.  Apt-get utility makes upgrading over the internet
a dream come true.  Simply type 'apt-get update' and 'apt-get dist-upgrade' 
   and all updated packages will be downloaded and installed.
3.  Dependencies resolved.  You will not get error messages that rpm gives
you when a dependency is not met.  Instead the apt-get utility will
resolve all dependencies and download an install in the order of 
dependencies.  For example, 'apt-get install navigator-smotif-451'
will download libc5, xlib4g, and all the other debian packages that
netscape requires.  It doesn't get any better than that.  If there
is a missing dependency; which does happen, usually 'apt-get -f install'
and 'dpkg --configure -a' will download missing dependencies and
configure the unconfigured software.
4.  Menu integration.  When ever you install an X app dpkg will update
your menus in all you window managers. Whether you use KDE, GNOME,
icewm or fvwm your menus will always reflect the packages you have
installed. No hand editing of menu scripts needed.
5.  Fully scriptable.  Just like slack or BSD or RH, Debian does not take
the config files away from you.  If you want to manually edit
config files, there is no problem.
6.  Real install scripts.  Debian packages are the highest quality, when you
install, say, squid, the install script will prompt you to enter
basic settings so that it will work right after the install.  
7.  No distribution mangling.  When you want to get rid of something
'apt-get remove package' will remove the package and the dependencies
that are no longer in use by another prog.  It's much harder to 
break your system.

-- 
NatePuri (natedawg) 
Certified Law Student
McGeorge School of Law
Sacramento, CA  
[EMAIL PROTECTED] 
[EMAIL PROTECTED]
http://www.ompages.com
http://office.ompages.com/~natedawg
PGP: http://www.ompages.com/PGP.html
UIN: 43504034 
IRC: office.ompages.com #ompages


pgpIzKOfKvBGF.pgp
Description: PGP signature


IPX woes-want old module and new kernel-possible?

1999-09-18 Thread kaynjay
Thanks to earlier suggestions about pinpointing the source of my kernel slowing
down... it is the ipx service causing problems.  While others have noted in
earlier posts ipx issues with the 2.2.x kernels, I found none which involved
a slowdown/lockup of the machine itself.  Don't know if this is a first...?

I would like to move up from 2.0.36.  Does anyone know if one of the higher 
versions has the ipx bug resolved?  

Also, I have a dilemma.  My token-ring card (Olicom) will compile into the
2.2.9 kernel, but the patch fails on higher versions.  Their suggestion to
patch 2.2.9 for olicom, then use the kernel patches to raise 2.2.9 up higher 
also failed.  So I thought about this:

How about compiling the driver as a module, then recompiling the
kernel at the 2.2.12(13?) level with solely token ring support built in.
Then use it with the module.  Or is this totally brainless?  (Mind you that
I plead ignorance based on being a chemist, not a comp. scientist. ;)

Kenward


login failed -- critical error - immediate abort

1999-09-18 Thread John Bagdanoff
Hello

I'm running the latest potato.  I rebooted my box this morning and I got
the error after logging in (as root  as user):

critical error - immediate abort

I noticed a bug report filed about this, and so I downgraded login from
stable, and now I'm able to login.  Before I run another apt-get
upgrade, I wanted to see if anyone else had this problem and what the
solution is besides using login from stable.

John Bagdanoff  
-- 


* Window users:  Move up to Linux  * 
* Linux users:   Move up to Debian *



Free version of maildir2mbox?

1999-09-18 Thread Brian May
Hello,

Is there any DFSG free versions of maildir2mbox, included with qmail?

This program converts $HOME/Maildir/ into $HOME/Mailbox, to allow use
of Maildir, even if individual programs (eg pine, nmh) do not support
Maildir format.

(...or please correct me if pine and/or nmh do support Maildir!)

Thanks in advance,
-- 
Brian May [EMAIL PROTECTED]


pgpxQhP9GMCTu.pgp
Description: PGP signature


Re: login failed -- critical error - immediate abort

1999-09-18 Thread Seth R Arnold
I am too proud of my uptime to reboot, but switching to a different VC and
logging in worked for me, and I think I saw login upgraded when I upgraded
earlier today.

Out of curiousity though, how on earth did you downgrade login when you
couldn't log in??

:)

On Fri, Sep 17, 1999 at 07:45:50PM -0700, John Bagdanoff wrote:
 Hello
 
 I'm running the latest potato.  I rebooted my box this morning and I got
 the error after logging in (as root  as user):
 
 critical error - immediate abort
 
 I noticed a bug report filed about this, and so I downgraded login from
 stable, and now I'm able to login.  Before I run another apt-get
 upgrade, I wanted to see if anyone else had this problem and what the
 solution is besides using login from stable.
 
 John Bagdanoff  
 -- 
 
 
 * Window users:  Move up to Linux  * 
 * Linux users:   Move up to Debian *
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: correct way to move /usr to a new partition..

1999-09-18 Thread rich
  I have decided that I need more room for my Slink system... my 1GB linux
  partition that stores my entire system is now over 80% full... I was
  thinking of using another empty 1GB partition (/dev/hdb1 - currently
  mounted as /linux2a) for /usr. My thinking is:
  
  1. as root, cp -r -p /usr /linux2a
  2. change fstab to mount /dev/hdb1 as /usr (with options set to
  defaults, errors=remount -ro ???)
  3. rm /usr
 
 I am more cautious -- I would rename /usr to /old_usr rather than delete it.
 No need to paint yourself into a corner you can avoid.. delete it after a
 few days of it running perfectly. :)


That's a good suggestion - my question is: is there a linux utility to
compare directories / files to see if they are the same? Seems like I've
heard of one, but can't remember...


Re: To the Debian Project, IMHO

1999-09-18 Thread Nitebirz


On Wed, 15 Sep 1999, Simon Martin wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ok, so this is my 2 cents worth.
 
 GUI utilities are ok, command line utilities are ok, simple dialogs
 are ok, this is not the issue. The real issue is not to fall into the
 Microsoft or RedHat paradigm. 

Please, do not compare the two.  I run Red Hat, Debian, SuSE and FreeBSD,
and I truly believe the Red Hat guys do not deserve these criticism.  If
you run Red Hat you can use both the GUI interface or the command line
utilities, just like in any other flavor of Unix (and I am including
Solaris here too).  


 This is a flavour of Unix, Unix is not
 trivial, Unix is a fairly mature fully featured operating system and
 you have to know at least a little about what you are doing and be
 prepared to read the manual before you do something useful.
 

That's fine.  However, many other users may just want to run a stable,
efficient OS that they have not had a chance to run so far.  I do not see
why we should limit ourselves to the techies or geeks of the world,
especially since many corporations as well as small and midsize businesses
could also benefit from running Linux as long as we also make it easy
enough for them to get the basic configuration up and running.

 IMHO one of the reasons that there is a contest between NT and Linux
 is that Microsoft said that NT was so simple to install and use,
 unfortunately tuning and other administrative tasks can be a real
 pain. Linux never made any bones about the fact that you have to
 learn to be able to use it. It's not out of the box and run. I think
 that the efforts to dumb down the operating system and say that
 anyone can use it would hurt the Linux image, maybe irreparably.
 

I disagree here.  The main reason why there is a contest between WinNT and
Linux is not due to customer disappointment at how difficult WinNT is to
set up or run.  Rather, the main cause is the lack of stability and
scalability of that other OS.  Add to that the strings attached to a
commercial OS manufactured by a semi-monopolistic company, and you have
all the ingredients you need for people to dislike WinNT.

 Apart from that all real computer enthusiasts are masochists any way.
 Tell someone that this is a system that only real men can use (sorry
 about the sexist remark but real people does not convey the same
 meaning) and you'll have them fighting to get at it (how do you think
 I started) and have a real sense of achievement when they manage to
 get the system to boot, and now PPP, and now bind, and now sendmail,
 and now ...

Again I disagree here.  I do not think we are able to decide who is and
who is not a real computer enthusiast.  This is starting to sound like
those inquisitors back in the 1950's trying to decide who was a good
American.  

In any case, I also doubt that the best route for Linux is to convert it
into an exclusive property of computer hobbysts.  No matter how much wemay
dislike it, that is not our decision to make.  In our societies, it is the
market the one that usually makes those decisions.

 
 Let Microsoft take the bashing from users who do not WANT to know.
 Stay just that little bit above the rest. Have all the tools in any
 and every form. Drag'n Drop is good, but so is rcp.
 
 And now it's back to work.
 
 __ _   Debian GNU User
/ /(_)_ __  _   ___  __   Simon Martin
   / / | | '_ \| | | \ \/ /   Project Manager
  / /__| | | | | |_| |  Isys
  \/_|_| |_|\__,_/_/\_\   mailto: [EMAIL PROTECTED]
 
 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.1 for non-commercial use http://www.pgp.com
 
 iQA/AwUBN99PNSTe2wIotMrcEQLUpQCg0g4Y22gkoXHf51aeQt3upQ8qK6UAoOTS
 qWoAPRGuyBGgw6H5LnWQK1BQ
 =0P97
 -END PGP SIGNATURE-
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Unidentified subject!

1999-09-18 Thread Michael Phillips
unsubscribe


::ahem:: sorry, newbie mistake

1999-09-18 Thread Michael Phillips
(see subject line :o)

- 
From: Michael Phillips [EMAIL PROTECTED]
To: Debian-User debian-user@lists.debian.org

 unsubscribe



Re: login failed -- critical error - immediate abort

1999-09-18 Thread John Bagdanoff
Hi Seth,
Sorry, didn't mean to send to you directly, twice no less :{

Seth R Arnold wrote:
 
 I am too proud of my uptime to reboot, but switching to a different VC and
 logging in worked for me, and I think I saw login upgraded when I upgraded
 earlier today.

I did try the other VCs but still got the same error.  I, too saw the
login upgraded before my ill-fated bootup, and I thought that was the
problem.

 
 Out of curiousity though, how on earth did you downgrade login when you
 couldn't log in??

I was able to login in single user mode (guess I shoulda mentioned
that).

John

 
 :)
 
 On Fri, Sep 17, 1999 at 07:45:50PM -0700, John Bagdanoff wrote:
  Hello
 
  I'm running the latest potato.  I rebooted my box this morning and I got
  the error after logging in (as root  as user):
 
  critical error - immediate abort
 
  I noticed a bug report filed about this, and so I downgraded login from
  stable, and now I'm able to login.  Before I run another apt-get
  upgrade, I wanted to see if anyone else had this problem and what the
  solution is besides using login from stable.
 
  John Bagdanoff
  --
 
  
  * Window users:  Move up to Linux  *
  * Linux users:   Move up to Debian *
  
 
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 --
 Seth Arnold | http://www.willamette.edu/~sarnold/
 Hate spam? See http://maps.vix.com/rbl/ for help
 Hi! I'm a .signature virus! Copy me into
 your ~/.signature to help me spread!
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Opening dynamic text file

1999-09-18 Thread Eric G . Miller
On Sat, Sep 18, 1999 at 11:01:20AM +1000, Mark M wrote:
 Apols for the non debian specific Q, but I was hoping someone would
 know how I could read in and process a file (a log file in this case),
 and then when further lines are written read these without reloading
 the whole file (performance considerations).

  Maybe you want to open the file as a pipe from tail -f. Something
  like:

  open LOG, tail -f /var/log/syslog | or
die Couldn't open log file;
  
  Then maybe you work up a couple loops that check the input stream.

  for (;;) {
while (LOG) {
$quit = myprocess $_; # process the line...
}
last if $quit;
sleep 5; # or some length of time
  }

  You might check the tail man page for other options that could be
  useful. 
-- 
+---++-+---++-+---++-+
|   YOUR AD HERE1.900.FOO.BARZ   |
+-+---++-+---++-+---++


Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Nicolás Lichtmaier
Style  DateDatetime
---
ISO1999-07-17  1999-07-17 07:09:18+01
SQL17/07/1999  17/07/1999 07:09:19.00 BST
POSTGRES   17-07-1999  Sat 17 Jul 07:09:19 1999 BST
GERMAN 17.07.1999  17.07.1999 07:09:19.00 BST
NONEURO07-17-1999  Sat Jul 17 07:09:19 1999 BST
US 07-17-1999  Sat Jul 17 07:09:19 1999 BST
EURO   17-07-1999  Sat 17 Jul 07:09:19 1999 BST
 
 I propose to include the attached script. If the zone belongs to USA or
 Canada, I use American format; if it belongs to another country I use
 European format; if the country is unidentified I try to guess from
 the zone abbreviation and its offset from UTC.  For zones which aren't based
 on regional names I use ISO.
 
 Are there any other countries besides USA and Canada which use American
 datestyle?  Am I right in thinking that Canada does? 

 Argentina uses dd/mm/yy, not dd-mm-yy.


berolist mail-list server

1999-09-18 Thread Ben Messinger
I am trying to get the mailing-list server berolist working. Setting
it up includes adding aliases such as:

listname : |/usr/sbin/list listname

So you see that mail sent to listname gets piped to the program
/usr/sbin/list , or at least that is what is suppose to happen. When I
do send mail to listname it doesn't get delivered. When I try to flush
the mail que with runq I see messages such as:

V 1999-09-17 22:06:25 11S7dL-00039J-00 Neither the system_aliases
director nor the address_pipe transport set a uid for local delivery of
|/usr/sbin/list news

So, it says no uid was set. Is this a problem with my exim
configuration? How do I get a uid set? I am assuming this is the
problem. I have read the bug reports for berolist, one of which says
that permissions are wrong and to change /usr/sbin/list to SUID
lists.lists to make it work. Did I do this correctly by issuing the
commands:

# chown list.list /usr/sbin/list
# chmod u+s /usr/sbin/list

ls -l now shows:

-rwsr-xr-x   1 list list20620 Oct 14  1998 /usr/sbin/list

But I still get the same problem including the same message from runq.
Any thoughts? I would really like to get berolist working since it seems
just right for what I need. Majordomo or another full-feature list-serve
would be overkill for what I am doing, so I hope I don't have to resort
setting up one of them instead.

-Ben

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ben Messinger  [EMAIL PROTECTED]
This email contains no tyops.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Oliver Elphick
Carey Evans wrote:
  Oliver Elphick olly@lfix.co.uk writes:
  
   If you have a recent potato system, with timezone files in
   /usr/share/zoneinfo, could you please run the script and let me know if
   it gives WRONG results for you.  If it does, please tell me your timezone
   and offset (date '+%Z %z') and what the date style ought to be. If you
   can suggest a change to the script that will get it right without breaking
   
   results for other countries, that will be even better!
  
  Given my normal environment, the script doesn't work out which country 
  I'm in:
  
 
Here's a revised version of the script taking into account all comments
so far.

Raul Miller wrote:
  On Fri, Sep 17, 1999 at 11:20:13PM -0400, Joe Drew wrote:
   It's my personal preference that ISO standard be used unless otherwise
   told - but that's me.
  
  I tend to agree.  It would just be so simple to have the default be ISO.
  
  As ISO is very unambiguous, I don't think it would cause problems, either.
  Then again, maybe someone else knows of problems it would create...

I agree that it would make things simpler, but I doubt that most people
would actually prefer it, because it isn't the way we naturally think of
dates.

Joe Drew wrote:
  Canada is a very multicultural country, and it really is every
  person for him- or herself.

That being so, it definitely makes sense to use ISO for Canada.

Of course, the installer can override the guess, but I like to guess as
close as possible.


#! /bin/sh
# Guess the postgresql datestyle to use for a given timezone (from glibc)

# make sure we can find the timezone database
ZONEDIR=`ls -l /etc/localtime | awk '{print $NF}' | cut -d/ -f1-4`
if [ ! -d $ZONEDIR ]
then
echo Sorry, I don't know where to find the timezone files; this
script expected to find them in $ZONEDIR
exit 1
fi

# make sure TZ is set and exported
if [ -z $TZ ]
then
TZ=`ls -l /etc/localtime | awk '{print $NF}' | cut -d/ -f5-10`
fi
export TZ

# find the timezone offset from UTC
tzno=`date '+%z'`

# Find the name of the zone - strip off unwanted header directories
x=`echo $TZ | cut -d/ -f1`
case $x in ( SystemV | posix | right )
x=`echo $TZ | cut -d/ -f2-4`
;;
* )
x=$TZ
;;
esac

# What country does this zone belong to (if undefined, set it to __)
tzcountry=`grep $x $ZONEDIR/zone.tab | head -1 | cut -c1-2` 
if [ -z $tzcountry ]
then
tzcountry=__
fi

# Guess the timezone
case $tzcountry in ( US )
# US date format
GuessDateStyle=US
;;
AR )
# Argentina
GuessDateStyle=SQL
;;
CA )
# Canada has no standard
GuessDateStyle=ISO
;;
DE )
# Germany has a style to itself
GuessDateStyle=GERMAN
;;
__ )
# No country, so see if the zone is a region or country name
x=$TZ
while echo $x | grep -q /
do
y=`dirname $x`
case $y in ( SystemV | posix | right )
y=`basename $x`
;;
esac
x=$y
done

case $x in ( Africa | Canada | Indian | Mexico | America | 
Chile | GB | Iran | Mideast | Antarctica | Cuba | Israel | NZ | Singapore | 
Arctic | Jamaica | Asia | Japan | Navajo | Turkey | Atlantic | Kwajalein | 
Australia | Egypt | Libya | US | Brazil | Eire | Pacific | Hongkong | Poland | 
Europe | Iceland | Portugal)
# try to guess the zone from the UTC offset and the
# zone abbreviation
if [ -z $GuessDateStyle ]
then
GuessDateStyle=EURO
if [ $LANG = de_DE ]
then
GuessDateStyle=GERMAN
elif [ $tzno -le -200 -a $tzno -gt -1200 ]
then
tzn=`date '+%Z'`
case $tzn in ( ADT | AST | AKDT | AKST 
| CDT | CST | EDT | EST | HADT | HAST | HST | MDT | MST | NDT | PDT | PST)
GuessDateStyle=US
;;
esac
fi
fi
;;
* )
# Not a country or region so use ISO
GuessDateStyle=ISO
;;
esac
;;
* )
# The rest of the world uses normal European format
GuessDateStyle=EURO
 

Re: How does it...

1999-09-18 Thread Rob Mahurin
On Fri, Sep 17, 1999 at 08:47:19PM -0500, Fredrick Schmitt wrote:
 What system would be the cheeziest I could run it on?

Unfortunately, you cannot run Debian on a block of cheese.  Work on a
cheese port is in progress, but is not even ready yet for the alpha
release.  Until then, you must run Debian on a computer.  That is,
however, about the only limitation.

Rob

-- 
Buy land.  They've stopped making it.
-- Mark Twain


Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Nicolás Lichtmaier
 Here's a revised version of the script taking into account all comments
 so far.

 I guess Argentina isn't the only country that uses the SQL format. There
must be some others too. It would be great to find a source for this
information


ppp failure under debian (slakware with pppd 2.2 patch level 0 works)

1999-09-18 Thread Robert . King
Hi,
   I'm typing this from my old slackware install.  I connect on this
installation using cu -l /dev/cua1 then negotiating my way through my
ISP's login manually, then start pppd in another window, then quitting
from cu.  This worked fine whne this machine was a 486 and now works with
a new motherboard  cpu.  

I tried installing potato on the machine, and most things are going fine,
except that sound isn't working on the new setup, and ppp won't work on
it.  

I'm fairly sure that the serial conifg is OK, as I can get out with 
cu -l /dev/ttyS1, but when I try to start pppd, it complains about cu
having the serial line and won't let it at it.

As far as using pon, I get the following :


Aug  4 19:16:00 castle kernel: PPP: version 2.2.0 (dynamic channel allocation) 
Aug  4 19:16:00 castle kernel: PPP Dynamic channel allocation code copyright 199
5 Caldera, Inc. 
Aug  4 19:16:00 castle kernel: PPP line discipline registered. 
Aug  4 19:16:00 castle kernel: registered device ppp0 
Aug  4 19:16:00 castle pppd[620]: pppd 2.3.8 started by robert, uid 1000
Aug  4 19:16:01 castle chat[621]: abort on (BUSY)
Aug  4 19:16:01 castle chat[621]: abort on (NO CARRIER)
Aug  4 19:16:01 castle chat[621]: abort on (VOICE)
Aug  4 19:16:01 castle chat[621]: abort on (NO DIALTONE)
Aug  4 19:16:01 castle chat[621]: abort on (NO DIAL TONE)
Aug  4 19:16:01 castle chat[621]: abort on (NO ANSWER)
Aug  4 19:16:01 castle chat[621]: send (ATZ^M)
Aug  4 19:16:01 castle chat[621]: expect (OK)
Aug  4 19:16:46 castle chat[621]: alarm
Aug  4 19:16:46 castle chat[621]: send (AT^M)
Aug  4 19:16:46 castle chat[621]: expect (OK)
Aug  4 19:17:31 castle chat[621]: alarm
Aug  4 19:17:31 castle chat[621]: Failed
Aug  4 19:17:32 castle pppd[620]: Exit.
Aug  4 19:18:00 castle kernel: PPP: ppp line discipline successfully unregistere

One thing that concerned me was that the kernel messages from dmesg don't
mention the ppp0 device as happens on a working debian ppp machine I've seen.
The relevant part of dmesg looks like this 

PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.

and that's it.

What is happening?

ppp is a kernel module and the same problem happens with kernels 
2.0.36 and 2.2.10 (from the debian packages)

Help!

Robert King, Australian Environmental Studies, Griffith University, Australia
3875 6677   [EMAIL PROTECTED]   http://www.ens.gu.edu.au/robertk/

statistician (n.) someone who can draw a mathematically precise line
from an unwarranted assumption to a foregone conclusion.  [anon.]



Re: Free version of maildir2mbox?

1999-09-18 Thread Jakob 'sparky' Kaivo
On Sat, 18 Sep 1999, Brian May wrote:

 Hello,
 
 Is there any DFSG free versions of maildir2mbox, included with qmail?
 
 This program converts $HOME/Maildir/ into $HOME/Mailbox, to allow use
 of Maildir, even if individual programs (eg pine, nmh) do not support
 Maildir format.
 
 (...or please correct me if pine and/or nmh do support Maildir!)

I don't know of any currently, but I am working (with a group of others)
on a library (libmailbox) for GNU mailutils that will support multiple
mailbox formats, including mbox and Maildir. When ready, such a change
should be almost trivial to do. Keep an eye out for it (Freshmeat is a
good place to watch).

-- 
Jakob 'sparky' Kaivo - [EMAIL PROTECTED] - http://www.ndn.net/
As time goes on, my signature gets shorter and shorter... - me


Re: su without password using libpam

1999-09-18 Thread Andreas Kurth
Ben Collins wrote:
 Ok correction on this. In the /etc/security/su.allow just put root (who 
 they are
 allowed to su to). and the add this line:
 
 ###
 auth   sufficient pam_listfile.so onerr=fail sense=allow \
   file=/etc/security/su.allow item=user apply=you
 ###
 
 This applies the rul for you to be able to su to root without a password.

apply=you only makes sense in conjunction with the tty, rhost and
shell items, as stated in the docs. The above way, any user gets
passwordless root access, not only user you.

The only way to manage this, is to set up a group wheel, use the
auth   required   pam_wheel.so line, add user you to group
wheel and do it the above way leaving out the apply=you option.


-- 
Andreas KurthMannheim, Germany


Re: correct way to move /usr to a new partition..

1999-09-18 Thread Seth R Arnold
On Fri, Sep 17, 1999 at 11:40:09PM -0500, rich wrote:
 
 That's a good suggestion - my question is: is there a linux utility to
 compare directories / files to see if they are the same? Seems like I've
 heard of one, but can't remember...

$ apropos checksum
cksum (1)- checksum and count the bytes in a file
sum (1)  - checksum and count the blocks in a file
$ apropos md5
md5sum (1)   - generates or checks MD5 message digests
debsums (1)  - Check the md5sums of a package

(those are just a few of the md5 ones... :)

md5 is much nicer than the sum or cksum programs..

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: berolist mail-list server

1999-09-18 Thread Steve Lamb
On Fri, Sep 17, 1999 at 10:45:31PM -0700, Ben Messinger wrote:
 V 1999-09-17 22:06:25 11S7dL-00039J-00 Neither the system_aliases
 director nor the address_pipe transport set a uid for local delivery of
 |/usr/sbin/list news

Is list a trusted user in /etc/exim.conf?

trusted_users = mail:listar

Does the director specifically set the uid?

listar_aliases:
  driver = aliasfile
#  Option added by convert4r3
  file_transport = address_file
#  Option added by convert4r3
  pipe_transport = address_pipe
  file = /usr/lib/listar/aliases
  search_type = lsearch
  user = listar
  group = listar


-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-


Dying services due to low memory?

1999-09-18 Thread Ralf G. R. Bergs
Hi there,

can anyone point me to a solution for the following problem?

I have several machines running as Internet servers, mainly FTP and HTTP. 
They're relatively low-end machines (P100 and 486-133 with 48 resp. 64 MB 
RAM.) Every couple of days I have to restart inetd or other stand-alone 
services (like syslogd, klogd, snmpd, apache.)

I'm pretty sure the reason why the processes fail is that memory usage is 
too high (it's *definitely* not due to memory problems, like failing RAM 
modules or overclocked CPUs.) Memory usage is permanently about 99%, swap 
usage only a few percent. But obviously processes are dying because they 
can't allocate real memory?!

Of course a work-around would be to reduce the no. of concurrent FTP users 
that I allow, but I cannot easily do that. I simply cannot accept that 
services die as easily as they do. Isn't there a way to prevent this? I need 
a high availability of my machines, and having to constantly check and 
possibly restart services is not acceptable. :-(

Thanks,

Ralf


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^



Re: Dying services due to low memory?

1999-09-18 Thread Seth R Arnold
Ralf, ugly as it is, you could have a cron job restart inetd every five
minutes. I have heard that there is a debian package to ensure that daemons
are always running, I have forgotten the name of course.

Perhaps you could check ebay, ubid, etc for used memory?


On Sat, Sep 18, 1999 at 11:17:13AM +0200, Ralf G. R. Bergs wrote:
 Hi there,
 
 can anyone point me to a solution for the following problem?
 
 I have several machines running as Internet servers, mainly FTP and HTTP. 
 They're relatively low-end machines (P100 and 486-133 with 48 resp. 64 MB 
 RAM.) Every couple of days I have to restart inetd or other stand-alone 
 services (like syslogd, klogd, snmpd, apache.)
 
 I'm pretty sure the reason why the processes fail is that memory usage is 
 too high (it's *definitely* not due to memory problems, like failing RAM 
 modules or overclocked CPUs.) Memory usage is permanently about 99%, swap 
 usage only a few percent. But obviously processes are dying because they 
 can't allocate real memory?!
 
 Of course a work-around would be to reduce the no. of concurrent FTP users 
 that I allow, but I cannot easily do that. I simply cannot accept that 
 services die as easily as they do. Isn't there a way to prevent this? I need 
 a high availability of my machines, and having to constantly check and 
 possibly restart services is not acceptable. :-(
 
 Thanks,
 
 Ralf
 
 
 -- 
 Sign the EU petition against SPAM:  L I N U X   .~.
 http://www.politik-digital.de/spam/The  Choice  /V\
 of a  GNU  /( )\
Generation  ^^-^^
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: telnetd-ssl

1999-09-18 Thread peter karlsson
J.H.M. Dassen (Ray):

 Looks like the permissions on your ttyp devices are wrong; they should
 look like this:
 crw-rw-rw-   1 root tty3,   2 Mar 13  1999 /dev/ttyp2

Okay, I fixed that (it must've somehow forgot to reset them, because some
were owned by my own user accound, and had 620 permissions). But now all I
get is:


$ telnet dat95pkn
Trying 10.10.247.110...
Connected to dat95pkn.campus.mdh.se.
Escape character is '^]'.
Debian Linux/BSD/GNU/XFree86/etc potato (2.2) dat95pkn.campus.mdh.se
Connection closed by foreign host.


Ben Collins:
 Also could you check the version of the login package you have installed,
 I have another person who is having problems after upgrading to the latest
 potato version (19990827-#).

dpkg -s says:

Version: 980403-0.3.2

-- 
\\//
peter - http://www.softwolves.pp.se/
  - and God said: nohup make World  World.log 




latex

1999-09-18 Thread Juli-Manel Merino Vidal
Hi all,

where can I found a latex tutorial ?

Thanks.

-- 
---
  - Powered by Debian/GNU Linux -
  -- Linux User 140860   Machine 61143 --

Juli-Manel Merino Vidal [EMAIL PROTECTED]-  --   -- --   -- -   -
http://jmmv.cjb.net/  My homepage  |  | | | | | | | |  | |
http://www.debian.org  /  Best linux dist.  |  |  |  |  | |  |  |  | |
http://www.gnu.org /  GNU Project   ---|  | | | |   |


xemacs del

1999-09-18 Thread Juli-Manel Merino Vidal
Hi all,

I've a problem with the del key in xemacs. If I press del it does
the same as backspace, so deleting the character before the cursor
position. It happens in the console and under X (but not with emacs,
that works fine). What I have to do to make work both keys ?
So, del deleting the current character and backspace to delete the 
character before the cursor position (this one works not).

Please, HELP. This is really annoying.

Thanks.

-- 
---
  - Powered by Debian/GNU Linux -
  -- Linux User 140860   Machine 61143 --

Juli-Manel Merino Vidal [EMAIL PROTECTED]-  --   -- --   -- -   -
http://jmmv.cjb.net/  My homepage  |  | | | | | | | |  | |
http://www.debian.org  /  Best linux dist.  |  |  |  |  | |  |  |  | |
http://www.gnu.org /  GNU Project   ---|  | | | |   |


Re: latex

1999-09-18 Thread Seth R Arnold
The canonical reference is a silly-looking book with a wierd cat on the
cover and such. It is written by a Leslie Lamport. (A quick google finds
this webpage:

http://www.research.digital.com/SRC/personal/Leslie_Lamport/home.html

Nice book. :)

On Sat, Sep 18, 1999 at 11:59:06AM +0200, Juli-Manel Merino Vidal wrote:
 Hi all,
 
 where can I found a latex tutorial ?
 
 Thanks.
 
 -- 
 ---
   - Powered by Debian/GNU Linux -
   -- Linux User 140860   Machine 61143 --
 
 Juli-Manel Merino Vidal [EMAIL PROTECTED]-  --   -- --   -- -   -
 http://jmmv.cjb.net/  My homepage  |  | | | | | | | |  | |
 http://www.debian.org  /  Best linux dist.  |  |  |  |  | |  |  |  | |
 http://www.gnu.org /  GNU Project   ---|  | | | |   |
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: Job in queue on hold, but not job in queue. Huh?!

1999-09-18 Thread Laurent Martelli
 Kent == Kent West [EMAIL PROTECTED] writes:

  Kent I'm trying to set up printing on a Debian box to a remote
  Kent printer. My printcap looks like: lp|hplj4l|HP Laserjet 4L:\

  Kent 
:lp=/dev/null:sd=/var/spool/lpd/hplj4l:rm=the_printer's_ip_address:rp=hplj4l:\
  Kent :sh:pw#80:pl#66:px#1440:mx#0:\
  Kent :if=/etc/magicfilter/ljet4l-filter:\
  Kent :af=/var/log/lp-acct:lf=/var/log/lp-errs:

  Kent If I try to print something (say, lpr /etc/printcap), and
  Kent then do a lpq, I get: Printer: lp@localmachine_name 'HP
  Kent Laserjet 4L' Queue: no printable jobs in queue

What version of lprng are you using ? There was a bug in potato for a
couple of days, but it has been fixed. If you're on potato, try
upgrade to the latest version of lprng.

-- 
Laurent Martelli
[EMAIL PROTECTED]


dselect error

1999-09-18 Thread Andrew Hately
Kenneth Litko [EMAIL PROTECTED] wrote:

 Ok, I keep getting this error from dselect
 and it is driving me nuts.  Here's
 the error:
 
  internal error - no filename at -e line 12, P chunk 13
 
  installation script returned error status 1.
  Press RETURN to continue.


Me too, except I get it at chunk 28.

I've got a heterogenious network at home with a sparc station 2 and some
x86 machines. (40 bogomips on the sparc, but it feels like a lot fewer.)
I bought a couple of slink distributions from tree.uk.com and merged
them on my file server and am attempting to install from there. The
200MB disk X-server-only sparc installed OK, and my 200MB disk 486
router-only installed OK. When I try to install on my 'main' machine I
get the above failure message. Installing from the CDs seems to work
better though the failure occurs in an as yet unpredictable way. On my
fourth attempt to get it going I reinstalled everything, selected a
minimal initial configuration, and then began selecting packages one by
one and installing them. All went well till I selected apache which
depends on a slew of other stuff - I suspect one of the .deb's is
corrupt - but as soon as the install method tries to install the twenty
or so files, it falls over with the above.
I've looked at the dselect and dpkg documentation and am curious to look
inside /var/lib/dpkg/methods to see if I can turn on some kind of
debugging flag to get some slightly more useful output from the mounted
install method. However I don't know any perl (yet) so I might not be
able to achieve much.
Anyone else seen this?
Anoyone got a clue whats going wrong?
Anyone recommend a learning perl book for a busy software engineer
with a strong regard for Ada and a very low opinion of c, c++, java, apl
and other languages which accept bursts of line noise as syntactically
valid.
thanks in advance
Andrew


silly sendmail question

1999-09-18 Thread add|ct|on
Greetings...

I know I'm going to get a lot of responses to the tone of read the how-to or 
check the archives but I have to post my question anyway, as I have done both 
and I'm still clueless.

My question is this: I do not have a domain of my own, and connect to the net 
via PPP. I use sendmail when I'm in text mode (which honestly I prefer over 
X-Windows), and for months I've been trying to figure out how (or if) I can 
make my sender address stop looking like this:

From:  my real name here as I set it when adding a user account my user 
[EMAIL PROTECTED] (Morpheus is, of course, my hostname, or what I named my 
computer.)

It would be nice if sendmail would report me as either my actual email address 
through my isp, or as the one I use to mail to this list (an iname account). 
The problem is of course I can't figure out how to change how sendmail reports 
me as sender, and hell I don't even know if it's possible. If it is, someone 
please tell me how? I'd appreciate it a great deal.

TIA,
addiction

--
addiction: [EMAIL PROTECTED]
http://thunder.prohosting.com/~delusion/

Powered by Debian GNU/Linux (potato) 2.3.6

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GAT d--- s-:+ a- C+++ UL+++ P+ L++ E--- W+++ N++ o+ K- w--
O- M- V-- PS+ PE Y+ PGP++ t 5 X R+ tv b+++ DI+ D+
G e h! r% x**
--END GEEK CODE BLOCK--
--


netscape: booksmarks have changed

1999-09-18 Thread Remco van 't Veer
Hi,

Some weirdness..  Today I upgraded to navigator-46 (from netgod).
Netscape reports, every 2 minutes or so, that the bookmarks are
changed and are being reloaded.  I've seen this before (after my
previous upgrade?), ignored it and it went away..  but curiosity
remains..  Does anybody know what is causing this?

Regards,
Remco


-- 
Lebed XTC Qaddafi convict BATF South Africa kazerne AK-47
Slobodan Milosevic van Balen aanslag Kropotkin General Javier Solana MI5


Re: Dying services due to low memory?

1999-09-18 Thread Ralf G. R. Bergs
On Sat, 18 Sep 1999 02:31:44 -0700, Seth R Arnold wrote:

[...]
 RAM.) Every couple of days I have to restart inetd or other stand-alone 
 services (like syslogd, klogd, snmpd, apache.)
[...]
Ralf, ugly as it is, you could have a cron job restart inetd every five
minutes. I have heard that there is a debian package to ensure that daemons
are always running, I have forgotten the name of course.

Well, this *is* ugly indeed. I'd rather fix the reason, not the symptom. :-)

I mean I can't believe that there isn't an elegant way to stop *already 
running* processes from dying(sp?) because of memory shortage.

Perhaps you could check ebay, ubid, etc for used memory?

Sorry, it took me a minute to understand what you are suggesting. My first 
thought was I've never heard about these programs. :-)))

I don't think that's an option. I have a very limited budget and already 
spent much more than I originally wanted to spend.

Also, it's a matter of principle: We're talking about Linux, not Windoze, 
ok? So why can't the machine just run, even under memory shortages? There's 
lots of free swap space available, I don't understand why that doesn't 
suffice to keep the processes running?

Before I had that many FTP users on one of the machines, I had the machine 
running for half a year without a single reboot or me having to restart 
services. Now sometimes I have to restart inetd twice a day. If I hadn't 
sshd running which fortunately doesn't die I even had to drive a mile or two 
to fix the machine. :-(

Any other idea? Pointers to watchdog programs that restart services?


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^



Re: ppp failure under debian (slakware with pppd 2.2 patch level 0 works)

1999-09-18 Thread John Hasler
 I'm fairly sure that the serial conifg is OK, as I can get out with cu -l
 /dev/ttyS1, but when I try to start pppd, it complains about cu having
 the serial line and won't let it at it.

Odd.  I just tried cu on this system and it complains that the line is in
use.  Pon works fine.  Is there anything in /var/lock?  This might be a bug
in cu.

 Aug  4 19:16:01 castle chat[621]: send (ATZ^M)
 Aug  4 19:16:01 castle chat[621]: expect (OK)
 Aug  4 19:16:46 castle chat[621]: alarm
 Aug  4 19:16:46 castle chat[621]: send (AT^M)
 Aug  4 19:16:46 castle chat[621]: expect (OK)
 Aug  4 19:17:31 castle chat[621]: alarm
 Aug  4 19:17:31 castle chat[621]: Failed

Your modem is failing to respond.  What happens when you send it 'ATZ' from
cu?  

Please post your /etc/chatscripts/provider and /etc/ppp/peers/provider files.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Configurare la schda video

1999-09-18 Thread r.mattei
Ho una scheda video s3virge agp con chipset non supportato e non riesco
a configurare xwindow. C'è un upgrade, o qualcosa che possa fare??

Grazie


Re: su without password using libpam

1999-09-18 Thread Ben Collins
On Sat, Sep 18, 1999 at 09:44:58AM +0200, Andreas Kurth wrote:
 Ben Collins wrote:
  Ok correction on this. In the /etc/security/su.allow just put root (who 
  they are
  allowed to su to). and the add this line:
  
  ###
  auth   sufficient pam_listfile.so onerr=fail sense=allow \
  file=/etc/security/su.allow item=user apply=you
  ###
  
  This applies the rul for you to be able to su to root without a 
  password.
 
 apply=you only makes sense in conjunction with the tty, rhost and
 shell items, as stated in the docs. The above way, any user gets
 passwordless root access, not only user you.
 
 The only way to manage this, is to set up a group wheel, use the
 auth   required   pam_wheel.so line, add user you to group
 wheel and do it the above way leaving out the apply=you option.

It shouldn't according to the docs (yes I read that particular caveat, but
the logic is still there for it to work). For passwordless access, you could
make the pam_wheel.so module sufficient which means that belonging to the
group root gives them access to su without a password.

Ben


labels

1999-09-18 Thread eric k. wolven
Greetings:

I am running potato with an hpdeskjet 540c installed as my printer.

I would like  to find out how to print labels under Debian linux.

I am a hobbyist bee-keeper and give labeled honey  jars to friends.
Last year I printed my labels under a windows program but want to use
debian to print this year.  (I also don't have windows installed
anymore. :)


Thanks for any help you can give me.


Eric Wolven


Re: telnetd-ssl

1999-09-18 Thread Ben Collins
On Sat, Sep 18, 1999 at 11:50:06AM +0200, peter karlsson wrote:
 J.H.M. Dassen (Ray):
 
  Looks like the permissions on your ttyp devices are wrong; they should
  look like this:
  crw-rw-rw-   1 root tty3,   2 Mar 13  1999 /dev/ttyp2
 
 Okay, I fixed that (it must've somehow forgot to reset them, because some
 were owned by my own user accound, and had 620 permissions). But now all I
 get is:
 
 
 $ telnet dat95pkn
 Trying 10.10.247.110...
 Connected to dat95pkn.campus.mdh.se.
 Escape character is '^]'.
 Debian Linux/BSD/GNU/XFree86/etc potato (2.2) dat95pkn.campus.mdh.se
 Connection closed by foreign host.
 
 
 Ben Collins:
  Also could you check the version of the login package you have installed,
  I have another person who is having problems after upgrading to the latest
  potato version (19990827-#).
 
 dpkg -s says:
 
 Version: 980403-0.3.2

Ok, just wanted to make sure it wasn't a problem with the new login package. I'm
not sure what the situation is with telnet-ssl now.

Ben


Re: silly sendmail question

1999-09-18 Thread Allan K. Neal
On Sat, Sep 18, 1999 at 07:32:38AM -0400, add|ct|on wrote:
 Greetings...
 
 I know I'm going to get a lot of responses to the tone of read the how-to 
 or check the archives but I have to post my question anyway, as I have done 
 both and I'm still clueless.
 
 My question is this: I do not have a domain of my own, and connect to the net 
 via PPP. I use sendmail when I'm in text mode (which honestly I prefer over 
 X-Windows), and for months I've been trying to figure out how (or if) I can 
 make my sender address stop looking like this:
 
 From:  my real name here as I set it when adding a user account my user 
 [EMAIL PROTECTED] (Morpheus is, of course, my hostname, or what I named my 
 computer.)
 
 It would be nice if sendmail would report me as either my actual email 
 address through my isp, or as the one I use to mail to this list (an iname 
 account). The problem is of course I can't figure out how to change how 
 sendmail reports me as sender, and hell I don't even know if it's possible. 
 If it is, someone please tell me how? I'd appreciate it a great deal.
 
 TIA,
 addiction
I have run across this problem too.  In the /etc/mail/sendmail.mc file you
need to include a couple of features.  

Here is a copy of my sendmail.mc file.

divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#may be used to endorse or promote products derived from this software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
# This file is used to configure sendmail for use with Debian systems.
#

divert(0)
VERSIONID(`@(#)sendmail.mc  8.9.1a (Linux) 19981026')
OSTYPE(debian)dnl
LOCAL_CONFIG
define(`SMART_HOST', smtp:my.isp.net)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(nouucp)dnl
define(`confTO_QUEUEWARN', `12h')dnl
MAILER_DEFINITIONS
MAILER(procmail)dnl
MAILER(smtp)dnl

FEATURE(accept_unresolvable_domains)


LOCAL_CONFIG
MASQUERADE_AS(usu.edu)dnl

## Custom configurations below (will be preserved)
define(`RELAY_HOST', smtp:my.isp.net)dnl
define(`RELAY_MAILER', TCP)dnl
MASQUERADE_DOMAIN(`MyHostname.something')dnl
FEATURE(nocanonify)dnl
FEATURE(local_procmail)dnl

The Masquerade options tells sendmail what to pretend to be to the outside
world.  My machine is then masqueraded as my.isp.net and MyHostname.something
is never seen by the outside world.  I have also found that your hostname
needs to be hostname.something otherwise sendmail will say cannot cononify
own domain name, and take forever to actually send mail.

Hope this helps.

Allan
-- 
Smile, it makes people wonder what you're up to.


Re: labels

1999-09-18 Thread Anthony Campbell
On 18 Sep 1999, eric k. wolven wrote:
 Greetings:
 
 I am running potato with an hpdeskjet 540c installed as my printer.
 
 I would like  to find out how to print labels under Debian linux.
 
 I am a hobbyist bee-keeper and give labeled honey  jars to friends.
 Last year I printed my labels under a windows program but want to use
 debian to print this year.  (I also don't have windows installed
 anymore. :)
 
 

I've done this using latex. It takes quite a time to get the template
set up correctly but once you've done that you can print labels
indefinitely.

Anthony


-- 
Anthony Campbell - running Linux Debian 2.1 (Windows-free zone)
Book Reviews: http://www.achc.demon.co.uk/bookreviews/

The Moving Finger writes; and, having writ,
Moves on...   - Edward Fitzgerald (Rubaiat of Omar Khayyam)


Re: How does it...

1999-09-18 Thread J.H.M. Dassen \(Ray\)
On Fri, Sep 17, 1999 at 20:26:35 -0700, NatePuri wrote:
 4.  Menu integration.  When ever you install an X app dpkg will update
 your menus in all you window managers. Whether you use KDE, GNOME,
 icewm or fvwm your menus will always reflect the packages you have
 installed. No hand editing of menu scripts needed.

I'd add a 4b here: MIME integration. Packages keep your /etc/mailcap current
so your mailer, webbrowser etc. always know what MIME types your system can
handle.

Ray
-- 
J.H.M. Dassen | RUMOUR  Believe all you hear. Your world may  
[EMAIL PROTECTED]  | not be a better one than the one the blocks   
  | live in but it'll be a sight more vivid.  
  | - The Hipcrime Vocab by Chad C. Mulligan  


Re: ppp failure under debian (slakware with pppd 2.2 patch level 0 works)

1999-09-18 Thread Jesse Jacobsen
On 09/18/99 at 17:06:18, [EMAIL PROTECTED] wrote concerning ppp failure under 
debian (slakware with pppd 2.2 patch level 0 works):
 Hi,
I'm typing this from my old slackware install.  I connect on this
 installation using cu -l /dev/cua1 then negotiating my way through my
 ISP's login manually, then start pppd in another window, then quitting
 from cu.  This worked fine whne this machine was a 486 and now works with
 a new motherboard  cpu.  

I wonder if you've set up Debian to use /dev/cua1.  It should use
/dev/ttyS1 instead, since the cua- callout devices are being phased
out.

-- 
Jesse Jacobsen, Pastor  [EMAIL PROTECTED]
Grace Lutheran Church (ELS) http://www.jvlnet.com/~jjacobsen/
Madison, Wisconsin  GnuPG public key ID: 2E3EBF13



pgpBvhkq2Q3G1.pgp
Description: PGP signature


KDEDIR and KDE 1.1.2

1999-09-18 Thread Pollywog
I have KDEDIR set to /usr/bin/X11

I installed KDE 1.1.2 in this order (source, not Debian packages):

kdesupport
kdelibs
kdebase
all the other packages

The problems is that my menus do not work; only my desktop icons bring up
the apps they should bring up.  Should I have KDEDIR set to /usr/bin/X11 or
is that a mistake?

I am running Potato

--
Andrew

-
GnuPG Public KeyID: 0x48109681


Re: hi i got a question

1999-09-18 Thread Craig B
Scott Henry wrote:

snip

 Medium answer:
 
 WinModem (and other Win* hardware) is a really stupid idea:
 cripple the hardware to save a few manufacturing bucks.
 
snip

And unless you have a pretty fast system, you take a big performance hit
too.  What a rip-off.


Re: How does it...

1999-09-18 Thread Fredrick Schmitt
You knew what I meant. What is the most gutless system I could run it on
(weakest processor)?

Rob Mahurin wrote:
 
 On Fri, Sep 17, 1999 at 08:47:19PM -0500, Fredrick Schmitt wrote:
  What system would be the cheeziest I could run it on?
 
 Unfortunately, you cannot run Debian on a block of cheese.  Work on a
 cheese port is in progress, but is not even ready yet for the alpha
 release.  Until then, you must run Debian on a computer.  That is,
 however, about the only limitation.
 
 Rob
 
 --
 Buy land.  They've stopped making it.
 -- Mark Twain


Re: undelete for partition tables?

1999-09-18 Thread Jaldhar H. Vyas
On Sun, 12 Sep 1999, Tom Pfeifer wrote:

 Instead of me trying to cover every possible detail now (which is
 impossible anyway), I suggest you try following my procedure and try to
 account for the differences in your situation as you do it. If you have
 specific questions or problems, feel free to ask. If you really want to
 do this, you are going to have to get into this up to your eyeballs
 anyway  - I can only try to get you started.
 

Owing to work, we were unable to work on this until Friday evening but I'm
happy to report at least partial success.  My colleague bought Norton
System Works 2000, the latest version.  The version of DiskEdit in there
does support 8GB drives.  It also has a menu command for linking in a
partition that safely adds it into the partition table for you.  Any way
the root partition was toasted.  But apart from the files in /etc it
didn't have anything much that  couldn't be replaced.  The all-important
/home partition came through fine. /var seemed to be fine when mounted
read-only but when I tried to mount it read-write, the kernel complained
that the ext2 file system had unsupported options.  In the end what I did
was to tar it up, erase and remake the filesystem and recopy the files
again.  Now the only remaining problem is the /usr partition.  On trying
to mount it I get:

mount: wrong fs type, bad option, bad superblock on /dev/hda6,
   or too many mounted file systems

e2fsck has a -b option that will restore the superblock from backups that
are kept throughout the file system but you have to give it the number of
a sector which contains one.  Do you know what the signature of a
superblock should be?

If worst comes to worst we will just blow it away and reinstall.  There is
nothing in /usr that can't be replaced.

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]




Re: silly sendmail question

1999-09-18 Thread Rob Mahurin
On Sat, Sep 18, 1999 at 07:32:38AM -0400, add|ct|on wrote:
 Greetings...

 I know I'm going to get a lot of responses to the tone of read the
 how-to or check the archives but I have to post my question
 anyway, as I have done both and I'm still clueless.

  My question is this: I do not have a domain of my own, and connect
 to the net via PPP. I use sendmail when I'm in text mode (which
 honestly I prefer over X-Windows), and for months I've been trying
 to figure out how (or if) I can make my sender address stop looking
 like this:

  From: my real name here as I set it when adding a user account
 my user [EMAIL PROTECTED] (Morpheus is, of course, my hostname, or
 what I named my computer.)


I tried to do exactly this for a long time and never could get it to
work right.  About the time I figured it out how to do it, I
discovered mutt, and never looked back.  Since then, I've reinstalled
sendmail, and I'm not sure if my solution works any more.

The solution that I used (and that I'm about to try again, now that
you've reminded me) is in the sendmail FAQ at
http://www.sendmail.org/faq/ .  I think it's question 3.2.

The solution that I use now is mutt.  It took me about a day to learn
to appreciate mutt, and now I use it even when (if) I'm in X.

HTH

Rob

-- 
I tried the clone syscall on me, but it didn't work.
-- Mike Neuffer trying to fix a serious time problem


Re: hi i got a question

1999-09-18 Thread Pollywog

 snip
 
 Medium answer:
 
 WinModem (and other Win* hardware) is a really stupid idea:
 cripple the hardware to save a few manufacturing bucks.
 
 snip

Maybe stupid today, but when modems were expensive, it made it possible for
people to have a high-speed modem at low cost.

--
Andrew


Re: undelete for partition tables?

1999-09-18 Thread Jaldhar H. Vyas
On Sun, 12 Sep 1999, Laurent PICOULEAU wrote:

 Lo?c Prylli posted a C programm on the newsgroup fr.comp.os.linux some 2
 years ago to detect an ext2 partition that can help to solve Jaldhar's 
 problem.
 This programm can be found on http://www.linux-france.org but I don't know
 the exact URL. If you can't find it, I have a copy of it
 

I was unable to find this program.  Doing a web search, I did find one
called gpart but I would like to look at the program you mention too.
Then I will package whichever one is better for Debian.

So please send me the location or a copy if you can.  

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]




Re: PCMCIA (?) Ethernet problem

1999-09-18 Thread Craig B
Ingles, Raymond wrote:
 
  I'm installing Debian 2.1 onto a Zenith Z*Star EX, a 486/50MHz
 laptop w/8MB RAM and a 300MB HD. 

snip

Sorry I don't have any technical help to offer you on this. But I would
like to tell you this; 

The very first time I installed Linux, in '95, was on one of those
machines your are using.  I had such problems with the installation that
I gave up and didn't install again until a few months later on a
home-built machine where I had no problems.  The shop where I worked, at
the time, was using Z stations and inevitably replaced all of them with
Gatway computers because these systems were so problematic just running
Windows.  

What Fiat was to the automotive industry Zenith is to the computer
industry.  Hopefully, for the sake of consumers, they are not making
computers anymore.


Re: To the Debian Project, IMHO

1999-09-18 Thread Simon Martin
Ok, ok, I sit corrected in several respects, but I am still adamant that any 
attempt to paint Linux as an out of the box solution
with no prior knowledge is a real danger to the on-going comercial success of 
Linux. I worked in tech-support for Xerox for about 7
years (Xerox used to sell Apple Mac, IBM PS/2 and Dell in Latin America), and I 
would say that at least 70% of the problems we had
we with users who not only did not know what they were doing (no problems with 
that) but who did not WANT to know what they were
doing. Microsoft has fixed the image of it's OS as just use and ignore it. 
Let's not fall into that trap.

Fixing the customers expectations is paramount for a successful install. If you 
fix the expectations as zero cost, zero learning
then you are NOT going to have a successful install. I am fairly competent with 
Debian, but the last time I looked at RedHat, I did
not want to do any real config changes until I had read the corresponding man 
pages and other documents, and these are both Linux
based

In short. If you use a tool you have to know it. If you want to use a tool well 
you have to learn how it works. You don't get
something for nothing and you definitely don't want to tell your customers to 
expect the world for nothing.

__ _   Debian GNU User
   / /(_)_ __  _   ___  __   Simon Martin
  / / | | '_ \| | | \ \/ /   Project Manager
 / /__| | | | | |_| |  Isys
 \/_|_| |_|\__,_/_/\_\   mailto: [EMAIL PROTECTED]

'I used to be schizophrenic, but now both of us are all right'


xfree 3.3.4 debianized, where can I found it pls?

1999-09-18 Thread Jean-Yves BARBIER
Any URL?

Thanx in advance.

JY


Re: Question of Firewall Mail Servers

1999-09-18 Thread Pann McCuaig
On Fri, Sep 17, 1999 at 14:11, Doug Thistlethwaite wrote:

 I am working on adding a debian slink linux system as a fire wall to my
 existing company network.  When finished, we will have an ISDN router
 connected to the linux firewall machine and a separate network card
 connecting the internal network to the linux system.
 
 The mail server will be inside of the firewall and needs to receive SMTP
 connections through the firewall.

 My question is how is this done?

There are (at least) two ways to do this. Another user has responded to
tell you how to punch a hole in your firewall for port 25. You can also
use a store and forward system to prevent anyone from outside your
network from talking directly to port 25 on your mail server.

One such system is smap, and another is smtpd. I've had good experience
with the latter, no experience with the former. If memory serves, I
selected smtpd because it was pretty much a drop-in on a debian slink
system that was the firewall.

I used rinetd on that system for punching holes in the firewall (port
22, ssh, for example).

http://www.obtuse.com/smtpd.html
http://www.boutell.com/rinetd/

Luck,
Pann
-- 
What's All the Buzz About Linux?L I N U X   .~.
The Choice  /V\
http://www.ourmanpann.com/linux/ of a GNU  /( )\
Generation ^^-^^


Re: xfree 3.3.4 debianized, where can I found it pls?

1999-09-18 Thread dyer
Jean-Yves BARBIER wrote:

 Any URL?

 Thanx in advance.

 JY


I assume you are talking about slink packages.
http://samosa.debian.org/~branden/

you can apt-get with
deb http://samosa.debian.org/%7Ebranden/ xfree86-334-slink/

hth

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
dyer[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Re: xfree 3.3.4 debianized, where can I found it pls?

1999-09-18 Thread Erik Hovland
On Sat, Sep 18, 1999 at 06:13:45PM +0200, Jean-Yves BARBIER wrote:
 Any URL?
http://samosa.debian.org/~branden/xfree86-334-slink/

Found from:
http://www.debian.org/~branden/


Re: RAMDISK: Compressed image found at block 0

1999-09-18 Thread Craig B
Gary Young wrote:

snip
 
 Some change between the kernel in Debian 2.0
 and in Debian 2.1 fails on something in my
 hardware.  I'll look at what hardware is
 in the box next.
 
Hamm uses 2.0.34 while Slink uses 2.0.36  The only obvious difference I
have noticed is that 2.0.36 is able to proble INT 13 to size the
memory.  Compare standard output from the Hamm kernel to the Slink
kernel.  Compare version numbers to figure out which kernel components
have been updated.  That may help you zero in on the problem.  Could
there be a problem with the SCSI intialization?  You did say you were
using SCSI drives?  The driver compiled into the stock kernel has most
likely undergone some updates.  There may be some parameters you can
enter from the boot: prompt to get you past the delema.  There is
always the possibility that you have some hardware failure that was not
being detected by the older kernel.  Just a few things to consider.


guest accounts with wu-ftp

1999-09-18 Thread Werner Reisberger
I am trying to enable the guestgroup feature with wu-ftp (2.5.0). The login
and the chrooted environment is flawlessly but the ls command doesn't work.

The ls used within the anonymous account works. I used the same binary and
the libs within the guestgroup account without success. The ls command is
executed, wu-ftp is announcing that the command was succesfully executed
but the content of the directory isn't displayed.

I read the howto for the setup of guest accounts from the wu-ftp mailing
list archive and all variations I tried weren't sucessfull.

If I issue

  strace -f chroot ~guestuser ls

the output shows no problems with the ls, i. e. the directory contents are
displayed.

I tried to use a ls binary with statically linked libs but wasn't able
to build one. Even the gnu fileutils are compiled with shared libs.

Any hints are appreciated.

Werner


Re: xfree 3.3.4 debianized, where can I found it pls?

1999-09-18 Thread Jean-Yves BARBIER
Thanks to all of you!

JY


Re: Dying services due to low memory?

1999-09-18 Thread Carl Johnson
Ralf G. R. Bergs [EMAIL PROTECTED] writes:

 I have several machines running as Internet servers, mainly FTP and HTTP. 
 They're relatively low-end machines (P100 and 486-133 with 48 resp. 64 MB 
 RAM.) Every couple of days I have to restart inetd or other stand-alone 
 services (like syslogd, klogd, snmpd, apache.)
 
 I'm pretty sure the reason why the processes fail is that memory usage is 
 too high (it's *definitely* not due to memory problems, like failing RAM 
 modules or overclocked CPUs.) Memory usage is permanently about 99%, swap 
 usage only a few percent. But obviously processes are dying because they 
 can't allocate real memory?!

Why do you say that it is obviously the reason?  The only program
that I have ever seen that needs real memory and won't use swap is
javac.  In general, if you aren't using swap space then you aren't
running short of memory.  The kernel always tries to use all memory
for buffers and cache if it isn't being otherwise used.  I don't know
what your problem is, so I can't help any further, but I would look
for other problems before suspecting memory in your case.

-- 
Carl Johnson[EMAIL PROTECTED]


Re: latex

1999-09-18 Thread Carl Johnson
Juli-Manel Merino Vidal [EMAIL PROTECTED] writes:

 Hi all,
 
 where can I found a latex tutorial ?

There are books available as has already been mentioned, but if you
have tetex installed, look in the
/usr/doc/tetex-doc/texmf/latex/general/ directory.  The file lshort2e
will give you some quick information, and the others have more
detailed information.

-- 
Carl Johnson[EMAIL PROTECTED]


Re: xemacs del

1999-09-18 Thread Matthew Guenther
On Sat, Sep 18, 1999 at 12:01:17PM +0200, Juli-Manel Merino Vidal wrote:
 Hi all,
 
 I've a problem with the del key in xemacs. If I press del it does
 the same as backspace, so deleting the character before the cursor
 position. It happens in the console and under X (but not with emacs,
 that works fine). What I have to do to make work both keys ?
 So, del deleting the current character and backspace to delete the 
 character before the cursor position (this one works not).
 
 Please, HELP. This is really annoying.
 
 Thanks.
 

I found this in the XEmacs help menu, under sample configurations I think.
Just add it to your .emacs file:

;; If you prefer delete to actually delete forward then you want to
;; uncomment the next line (or use `Customize' to customize this).
(setq delete-key-deletes-forward t)

And it should work.

HTH,

MBG

-- 
Infinite: Bigger than the biggest thing ever and then some.  Much bigger than
that in fact, really amazingly immense, a totally stunning size, real wow,
that's big, time.  Infinity is just so big that, by comparison, bigness
itself looks really titchy.  Gigantic multiplied by colossal multiplied by
staggeringly huge is the sort of concept we're trying to get across here.
-Douglas Adams 'The Restaurant at the End of the Universe'


pgpmiovpN0vmT.pgp
Description: PGP signature


Re: netscape: booksmarks have changed

1999-09-18 Thread Brian Servis
*- On 18 Sep, Remco van 't Veer wrote about netscape: booksmarks have changed
 Hi,
 
 Some weirdness..  Today I upgraded to navigator-46 (from netgod).
 Netscape reports, every 2 minutes or so, that the bookmarks are
 changed and are being reloaded.  I've seen this before (after my
 previous upgrade?), ignored it and it went away..  but curiosity
 remains..  Does anybody know what is causing this?
 

I have seen this when netscape crashes and I start a new one.  What
happens is that the gui has died but there still remains a netscape
engine running in the background.  Check 'ps axf' for a running
netscape/communicator that is not associated with your currently
running one and kill it.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


removal of essential packages

1999-09-18 Thread Werner Reisberger
Once again I spent a lot of time with the debian package system. It seems
to be impossible to remove an essential package although dpkg offers
an option. When I am issuing the command

dpkg --force-remove-essential perl-base

only a help message is displayed. This is frustrating since 

dpkg --force-help

displays the command as valid. I am not able to install a lot of important
packages since I have to replace perl-base v. 5.004 with v. 5.005 and the
5.004 perl with the newest one. I am stuck again with a debian package
problem. These problems are consuming most of the time for administering
the system (my next system will be slackware).

Werner


Re: removal of essential packages

1999-09-18 Thread Ashley Clark
On Sat, 18 Sep 1999, Werner Reisberger wrote:
 Once again I spent a lot of time with the debian package system. It seems
 to be impossible to remove an essential package although dpkg offers
 an option. When I am issuing the command
 
 dpkg --force-remove-essential perl-base
 
 only a help message is displayed. This is frustrating since 
 
 dpkg --force-help
 
 displays the command as valid. I am not able to install a lot of important
 packages since I have to replace perl-base v. 5.004 with v. 5.005 and the
 5.004 perl with the newest one. I am stuck again with a debian package
 problem. These problems are consuming most of the time for administering
 the system (my next system will be slackware).

If anything is depending on perl-base you have to issue a 

dpkg --force-remove-essential --ignore-depends=perl-base perl-base

-- 
Ashley Clark


.xsession problem with WDM amd/or WindowMaker

1999-09-18 Thread Salman Ahmed

I am running Debian 2.1 with all updates (nothing as yet
from the unstable area) and am having this bizarre problem
with my .xsession file.

I am using Wdm 1.0-7 and WindowMaker 0.20.3-5. WindowMaker
has been specified as the default window manager by moving
its entry to the top of the /etc/X11/window-managers file.

When I try and add commands to the .xsession file for either
the root user or the non-privileged user ssahmed, the x
session for either of those users doesn't start and I am
dumped back into the WDM login screen.

For example, I added the following lines to ssahmed's
.xsession file :

xterm
xterm

Login failed and I was dumped back into the WDM screen. Here
is what the ~ssahmed/.xsession-errors file had to say :

Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: :0
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: :0

The only modification I have made to WDM's config is
the following line from /etc/X11/wdm/wdm-config :

DisplayManager._0.authorize:false


Can someone please explain to me how to start up X clients
from my .xsession file ?

Do I have to start up WindowMaker from my .xsession file (as
I do for RedHat) or is it enough to rely on
/etc/X11/window-managers ?

Thanks.

-- 
Salman Ahmed
ssahmed AT interlog DOT com


Re: removal of essential packages

1999-09-18 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Sat, 18 Sep 1999, Werner Reisberger wrote:

 Once again I spent a lot of time with the debian package system. It seems
 to be impossible to remove an essential package although dpkg offers
 an option. When I am issuing the command
 
 dpkg --force-remove-essential perl-base
 
 only a help message is displayed.

Did you read that message? Note this line:
  dpkg: need an action option

dpkg is complaining that you didn't tell it to do anything! Try this
command:
  dpkg --force-remove-essential --remove perl-base

- --force-* are just flags that tell dpkg not to abort when it sees you
trying to do something potentially damaging. You still need the action
- --remove in order to remove packages.

 I am not able to install a lot of important packages since I have to
 replace perl-base v. 5.004 with v. 5.005 and the 5.004 perl with the
 newest one.

No slink packages should require  5.004, and the current perl in potato
is 5.005 (potato perl-base just depends on perl5-base, it provides no
files). So i'm not clear on why you need to remove it in the first
place...


- -- 
  finger for PGP public key.


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN+PK+L7M/9WKZLW5AQE8lgP/aO5LQIpssEyytQmsN2IfefqshIZ8lt7V
MM/h6+RwbcNvBHyfD/qbzWOSsnYS5p5mIKX29nlrh+OYSaS5oX42tSZjkdvtUMks
2HUj4KLyJ6IKNT5aeMYG0KtUZEcgK6kFjyIzeffcIDXjAOWXz0GqB4Qz2fil67Dq
i4SSVgaxPxE=
=g0PY
-END PGP SIGNATURE-


Re: How does it...

1999-09-18 Thread Mark Brown
On Sat, Sep 18, 1999 at 08:32:52AM -0500, Fredrick Schmitt wrote:

 You knew what I meant. What is the most gutless system I could run it on
 (weakest processor)?

I'd guess either a 386SX/16 or an old m68k box.  Probably the 386 is the
better option - many old m68k machines are too underspeced to boot.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


PPP for non-root users

1999-09-18 Thread Salman Ahmed

How do I enable non-root users to use PPP (via pon/poff) ?

Thanks.

-- 
Salman Ahmed
ssahmed AT interlog DOT com


Re: .xsession problem with WDM amd/or WindowMaker

1999-09-18 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Sat, 18 Sep 1999, Salman Ahmed wrote:

 Do I have to start up WindowMaker from my .xsession file (as
 I do for RedHat) or is it enough to rely on
 /etc/X11/window-managers ?

Yes, you do have to run the window manager explicitly if you use an
.xsession file.

You can have your .xsession use /etc/X11/window-managers, though. Just
place this at the bottom of your .xsession (code shamelessly ripped from
/etc/X11/Xsession)

 Start code 

  if [ -e /etc/X11/window-managers ]; then
for i in `sed 's/#.*//' /etc/X11/window-managers`; do
  if [ -x $i ]; then
realstartup=$i
break
  fi
done
  elif [ -x /usr/bin/x-window-manager ]; then
realstartup=x-window-manager
  fi

  if [ -z $realstartup ]; then
if [ -x /usr/bin/x-terminal-emulator ]; then
  realstartup=x-terminal-emulator
else
  # fatal error
  exec  /dev/tty
  echo -n .xsession: unable to start X session: 
  echo no window managers, and no terminal emulators found.
  exit 1
fi
  fi

  exec $realstartup

# End code #


- -- 
  finger for PGP public key.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN+PMp77M/9WKZLW5AQGR8gQAgDGkGA7kIA9WmQMeoGIUhYQd+PL5wSlV
MtkOxMXOJ9PqN9G3rzSmgC0ZqdlwcR/pyL18+lyq9J5DMbWg0bz7l4Pm0UMV6wrc
Q95ZJikSqFwyokjLduGb2r+y0Xv8KmJ7rbpJ/tdIeKk3hV3L0lWWy4WGO60UaAvg
4XVYFq8SPzc=
=WVyF
-END PGP SIGNATURE-


Re: PPP for non-root users

1999-09-18 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Sat, 18 Sep 1999, Salman Ahmed wrote:

 How do I enable non-root users to use PPP (via pon/poff) ?

With the normal Debian setup, you only have to add those non-root users to
group dip. As root, this command should do it:
  adduser username dip


- -- 
  finger for PGP public key.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN+PP9L7M/9WKZLW5AQH1xAP+IpJJOjMY5hSNbwZBKJpaz7V7/Ro6/xsi
kJW37+pxIELQl7UZIxpN/EUaD0Qnq5xvy9aTlJS/Y1L3SgOInmbEh5inXAM0DMbE
rmJuHLp3jw7Fw5tIan1A3RWlV/R7pDEOCIU0DAm2dz0Z31SlmjAJdlGU37NrgFNb
HL24NSZkAWo=
=8kaz
-END PGP SIGNATURE-


Re: PPP for non-root users

1999-09-18 Thread Mark Brown
On Sat, Sep 18, 1999 at 01:26:17PM -0400, Salman Ahmed wrote:

 How do I enable non-root users to use PPP (via pon/poff) ?

Add them to the dip group (eg, put their name in the list at the end of the
dip entry in /etc/group).

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpoq0gzl36JS.pgp
Description: PGP signature


  1   2   >