Re: Un while() de perl

2000-08-03 Thread Fernando
Hue-Bond wrote:
 
 $ cat decimals.pl
 #!/usr/bin/perl
 $num = 0.8;
 while ($num  1.1) {
 print (\$num vale $num\n);
 $num = $num + 0.1;
 print (y después $num\n\n);
 }
 
  Trivial, ¿verdad?
 
 $ ./decimals.pl
 $num vale 0.8
 y después 0.9
 
 $num vale 0.9
 y después 1
 
 $num vale 1
 y después 1.1
 
  Todo OK.
 
 $ cat decimals2.pl
 #!/usr/bin/perl
 $num = 0.7; # Esta línea cambia
 while ($num  1.1) {
 print (\$num vale $num\n);
 $num = $num + 0.1;
 print (y después $num\n\n);
 }
 
 $ ./decimals2.pl
 $num vale 0.7
 y después 0.8
 
 $num vale 0.8
 y después 0.9
 
 $num vale 0.9
 y después 1
 
 $num vale 1
 y después 1.1
 
 $num vale 1.1
 y después 1.2
 
  Oh vaya! Si inicializamos $num a 0.7 resulta que cuando llega a
  1.1, la condición del while sigue siendo cierta!. perl_5.005.03-6.
 


Hola:


Prueba a poner 11.1 :-?





-- 
Fernando.
{:-{D

   Hackers do it with fewer instructions.



Re: Un while() de perl

2000-08-03 Thread Javier Fdz-Sanguino Pen~a

Muy curioso... se trata de un problema de precisión
#!/usr/bin/perl
my $num = shift(@ARGV);
while ( (1.1-$num)  0 ) {
print (\$num vale $num\n);
$num = $num + 0.1;
print (y después $num);
print (;
print 1.1-$num;
print )\n;
}

$ numtest.pl 0.8
$num vale 0.8
y después 0.9(0.2)
$num vale 0.9
y después 1(0.1)
$num vale 1
y después 1.1(0)
[EMAIL PROTECTED]:/tmp$ numtest.pl 0.7
$num vale 0.7
y después 0.8(0.3)
$num vale 0.8
y después 0.9(0.2)
$num vale 0.9
y después 1(0.1)
$num vale 1
y después 1.1(2.22044604925031e-16)  en lugar de 0
$num vale 1.1
y después 1.2(-0.0999)

¿Alguien está en alguna lista de PERL? Si es así, que por favor
envie ésto y a ver si nos aclara la duda.

Javi

On Wed, Aug 02, 2000 at 04:23:55PM +0200, Hue-Bond wrote:
  Oh vaya! Si inicializamos $num a 0.7 resulta que cuando llega a
  1.1, la condición del while sigue siendo cierta!. perl_5.005.03-6.



Re: Un while() de perl

2000-08-03 Thread Jaime E. Villate
Primero una pequeña modificación a tu programa para poder jugar con
otros números:

$ cat decimals3.pl
#!/usr/bin/perl
$num = $ARGV[0];
while ($num  1.1) {
print \$num vale $num\n;
$num += 0.1;
print y después $num\n\n;
}
~/debian$ ./decimals3.pl 0.7
$num vale 0.7
y después 0.8

$num vale 0.8
y después 0.9

$num vale 0.9
y después 1

$num vale 1
y después 1.1

$num vale 1.1
y después 1.2

-
Ahora fíjate en lo siguiente:

$ cat decimals4.pl
#!/usr/bin/perl
$num = $ARGV[0];
while ($num ne '1.1') {
print \$num vale $num\n;
$num += 0.1;
print y después $num\n\n;
}
~/debian$ ./decimals4.pl 0.7
$num vale 0.7
y después 0.8

$num vale 0.8
y después 0.9

$num vale 0.9
y después 1

$num vale 1
y después 1.1


Cuando crees que $num alcanzó un valor de 1.1, realmente en la memoria
está almazenado un número con muchas cifras decimales, ligeramente menor
que 1.1; pero al convertirlo a constante alfanumérica (que es lo que
hace print $num) se convierte en 1.1. El problema debe estar en la
forma como perl estará representando 0.1 en binário; no sé que método
usará para aritmética de punto flotante, pero por lo visto no debe ser
nada espectacular (el fuerte de perl no es el cálculo numérico).
Hace algunos años me pasó algo muy semejante con ghostscript y
finalmente llegué a la conclusión que la culpa ni siquiera era de
ghostscript sino de una librería libc antigua; con versiones mas nuevas
ya no ocurría.
Sería interesante que le hicieramos el mismo test a varios lenguajes de
scripting como python, tcl, scheme, etc.

Jaime Villate



Re: Fallo al arrancar las x

2000-08-03 Thread Hue-Bond
El miércoles 02 de agosto de 2000 a la(s) 01:14:19 +0200, JFA contaba:

Buenas, acabo de upgradear a woody, y me aparece el siguiente error al
intentar arrancar las x con startx:
X: server socket directory has suspicious ownership, aborting.
¿ Alguna idea ?

 Lo pone  ahí :^). El  directorio donde  voy a crear  un socket
 tiene un dueño, digamos,  sospechoso. Supongo que dicho directorio
 es /tmp, cuyos permisos normales son root.root 1777.


-- 
 Just do it.

David Serrano [EMAIL PROTECTED]Linux 2.2.15 - Reg. User #87069
Hi! I'm a .signature virus!  Copy me into your ~/.signature to help me spread!


pgpwXkzHoUlK7.pgp
Description: PGP signature


Re: Un while() de perl

2000-08-03 Thread Hue-Bond
El jueves 03 de agosto de 2000 a la(s) 10:07:34 +0100, Jaime E. Villate contaba:

Primero una pequeña modificación a tu programa para poder jugar con
otros números:

$num = $ARGV[0];

 Sí, bueno, toi aprendiendo O:^).


Cuando crees que $num alcanzó un valor de 1.1, realmente en la memoria
está almazenado un número con muchas cifras decimales, ligeramente menor
que 1.1

 Lo suponía, pero  como en el print() salía bien,  no estaba muy
 seguro de que fuera esta la causa.

 Usando while  ($num =  1.0) funciona  bien, por  lo que  se me
 ocurre que  esta puede  ser una solución  barata para  el problema,
 usar siempre = e = en lugar de  y .


-- 
 Just do it.

David Serrano [EMAIL PROTECTED]Linux 2.2.15 - Reg. User #87069
Hi! I'm a .signature virus!  Copy me into your ~/.signature to help me spread!


pgpsCpYxl4zTq.pgp
Description: PGP signature


Ayuda con particion

2000-08-03 Thread romeomp
Estoy tratando de instalar un windows NT a una máquina y me dicen que tengo
que formatar con FAT16 o NTSC (o lago así) para que pueda ser bien
instalado.
También me comentaron que hay un software que se llama Partion Mgic y
desearía saber ¿donde lo puedo bajar? y cual es la mejor manera de
particionar un disco y formataerlo para instalar Windows NT y anteriormente
tenía Windows 98.
Espero me  puedas ayudar.



Re: Problemas haciendo telnet

2000-08-03 Thread Grzegorz Adam Hankiewicz
On Wed, 2 Aug 2000, JFA wrote:

 Me parece que en vez de utilizar el paquete telnet, estás usando el
 telnet-ssl, aunque no debería darte problemas...

Efectivamente desinstalando ssltelnet se solucionó la cosa.

 Grzegorz Adam Hankiewicz   [EMAIL PROTECTED] - http://gradha.infierno.org
 Other web pages:  http://glub.ehu.es/  -  http://welcome.to/gogosoftware/



lerr correo de un exchange server

2000-08-03 Thread alejandrob




Hola, Tendrias que probar configurando tu fetchmail o 
fetchpop
no es nada del otro mundo

suerte!


Re: Las empresas se dejan debianizar?

2000-08-03 Thread Juanmi Mora
On Mon, Jul 31, 2000 at 11:59:52PM +0200, [EMAIL PROTECTED] wrote:
 Guenas
 
 El Mon, Jul 31, 2000 at 12:08:42PM +0200, Andres Seco Hernandez disidio 
 iscribir:
  Cuando en la empresa te consideran adecuadamente y hay cierta libertad,
  podrias insistir lo que consideres adecuado si piensas que es la mejor
  solución. Evidentemente, depende de las circunstancias.
 
 Totalmente de acuerdo. Ahi lo mas importante es saber hasta donde se puede
 llegar, y cuando callarse y dejar pasar unos meses antes de volver al ataque.
 
 Y tambien fundamental aprovechar el menor resquicio, la menos debilidad del
 enemigo :-))) para colar un linux (evidentemente, un Debian seria lo mejor) y
 darle un tiempo para demostrar lo que vale.
 
 El puesto de router/proxy es el tipico para empezar, y casi como quien no
 quiere la cosa se le configura el servidor de correo y se automatiza la
 recogida y reparto con fetchmail/procmail. Segun las circunstancias, un
 servidor de news le cambia la cara a los usuarios cuando ven que en un pis pas
 tienen los articulos del dia. Luego llega el momento de ponerle una impresora,
 y si existe la posibilidad se le pone un Apache con cualquier excusa de tener
 un tablon de anuncios interno, por ejemplo.
 
 Pasa el tiempo y llega el momento de migrar esa vieja aplicacion Guin que no
 se aguanta ya, y dice uno: leches, yo lo puedo montar via web con un lenguaje
 que se llama PHP y equivale al ASP tan famoso, y a partir de ahi ya solo queda
 atacar los clientes :-)
 
 Peasso pelicula que me he montao.
 
   Puff.. Ya se dice que Debian no es para todo el mundo y alg?n d?a quizas
   escucharemos que Debian ya no es una distribuci?n apropiada para su uso 
   en empresas y que solo sirve para Gur?s y para algunas cosas concretas.
   De momento no es el caso pero ser?a terrible que se llegara a ese extremo.
  
  ¿Quien lo dice? ¿El que no la ha probado? Casi nadie que dice que Debian
  es dificil la ha probado. La mayoría lo dicen dirigidos por lo cretinos
  que casi sin problarla ni introducirse en ella escriben un artículo
  diciendo que RedHat es más segura, más grande, más facil y más fiable.
  Alucina.
 
 Debian tiene su leyenda negra, bastante infundada. Creo que se basa sobre todo
 en dos cosas: Ni Hamm ni Slink tenian esos colorines tan monos que RedHat o
 Suse ponian en la instalacion en los tiempos de, digamos, RH 5.1 o 5.2; por
 otro lado, Debian no basaba su configuracion en un linuconf o un yast. Desde
 ahi viene buena parte de esa leyenda (al menos la parte mas moderna de la
 historia).
 
 Lo curioso es que, haya la leyenda que haya, la mayoria de los servicios y
 programas se configuran mas facilmente en Debian que en cualquier otra
 distribucion, y la instalacion sigo sin ver donde esta su dificultad.
 
  Suena fuerte pero las consideraciones t?cnicas no lo son todo. Seguramente
  si Debian tuviera puntos de estabilizazci?n m?s frecuentes con 
  distribuciones
  oficiales cada seis meses resultar?a menos complicado Debianizar una 
  empresa 
  y mantener actualizado el software con unas ciertas garant?as sin tenener 
  que
  estar siempre actualizando por partes desde la versi?n inestable.
  
  En esta misma lista se ha visto hace unos dias un esquema de los dias que
  han pasado entre cada versión de Red Hat y entre cada estabilización de
  Slink. Sin hablar de la actualización via apt por internet. Sin palabras.
Hola!!!

 El cambio de Slink a Potato ha sido muy largo, pero la importancia de la
 frecuencia de las actualizaciones depende de en que tipo de uso se este
 pensando: en un uso de servidor, las actualizaciones de distribucion carecen
 problema). Si pensamos en el usuario domestico, puede que entonces si tenga
 cierta importancia el estar al dia, pero para eso estan las versiones
 unstable, que la mayoria del tiempo son mas estables que muchas distribuciones
 a la venta. El problema en este ultimo caso es que esos CDs no se suelen
 encontrar a la venta, y seria interesante remediarlo.

Ese es el mayor problema de Debian, es dificil de adquirir, incluso en
su versión estable.

Seguro que una mejora de este punto haría que Debian se viese de otra
manera.

Saludos!!!

-- 
 Juanmi Mora 
  Barcelona - España
  [EMAIL PROTECTED]

 - Powered by Linux -
   Debian 2.1 Slink 



Re: xmovie (el progama, no es porno :)

2000-08-03 Thread jrfern
On Tue, Aug 01, 2000 at 10:16:04AM -0500, Camilo Alejandro Arboleda [EMAIL 
PROTECTED] wrote:

Resultado de ldd sobre el xmovie precompilado:
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x0012c000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x0014c000)
libz.so.1 = /usr/lib/libz.so.1 (0x00173000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x00182000)
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x00224000)
libpthread.so.0 = /lib/libpthread.so.0 (0x0023)
libm.so.6 = /lib/libm.so.6 (0x00243000)
libc.so.6 = /lib/libc.so.6 (0x0026)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x0011)

En woody funciona (supongo que en potato también).
--
jr [EMAIL PROTECTED]
PGP 2.6.3ia  GnuPG keys available



Re: Ayuda con particion

2000-08-03 Thread Luis Cabrera Sauco

  Quien:[EMAIL PROTECTED] 
  Cuando:   jueves, 03 de agosto del 2000, a las 11:49, 
  Qué:  Ayuda con particion 


 Estoy tratando de instalar un windows NT a una máquina y me dicen que tengo
 que formatar con FAT16 o NTSC (o lago así) para que pueda ser bien
 instalado.

[...]

¿Estoy leyendo mal ...?
¿?

En fin, por si sirve de ayuda ;)

Desde Debian, llama al cfdisk, pasandole como parámetro el disco
duro que quieras particionar, por ejemplo ```cfdisk /dev/hdc'''

Particiona el disco a placer y decide en que partición quieres poner
el NT. Entonces, te situas sobre esa particón y te vas a la opción
que hay para especificar los ```Type''' de particiones. Elije la
numero ```86''', que se corresponde con ```NTFS volume set'''.

Con eso, ya tienes una partición preparada para tu NT...

En cuanto a lo de formatearlo con NTFS o FAT, yo que tu me lo haría
con EXT2 }:-)




Post: Primero pensé en hechar una bronca por mandar semejante mensaje a esta
lista, pero, como todo tiene su explicación, tras reflexionar entendí que lo
que pretendía era hacercelo desde Debian. Era así, ¿no? ...
-- 
=8=
___   _
  / ___|_   _| (_) ___  Grupo de Usuarios de LInux de Canarias
 | |  _| | | | | |/ __| Pasate por nuestro web
 | |_| | |_| | | | (__  http://www.gulic.org/
  \|\__,_|_|_|\___| Clave GPG en las paginas de Gulic
Clave GPG en search.keyserver.net
  Key fingerprint = F734 17F5 3AB6 E1F6 11C4  B498 5B3E  FEDF 90DF
=8=


pgp2FB6las6Rn.pgp
Description: PGP signature


Slink en el portatil:descomprime el núcleo pero se bloquea

2000-08-03 Thread Fermín Manzanedo
Hola,
tras bucear en los CDs de la distro descubrí un archivo llamado ltecra. Lo
copié a disquete y le cambié el nombre, pasándose a llamar linux.
Introduzco el disquete en la disquetera y enciendo el sistema. Parece que
marcha, ya no se bloquea al descomprimir el núcleo :), verifica todo, limpia
/tmp, etc... pero llega un momento en el que pone:

Updating locate database...done
INIT: Entering runlevel:2
Starting system log daemon:syslogd klogd.
Starting PCMCIA services: modules

Y se queda tieso :( Mi gozo en un pozo. Tarjetas PC no tengo, solo está el
puerto, ¿Qué puede ocurrir?

Saludos, (y perdonad por la avalancha de preguntas)
  _
Fermín Manzanedo
correo-e:[EMAIL PROTECTED]




Re: Slink en el portatil:descomprime el núcleo pero se bloquea

2000-08-03 Thread Jaume Sabater
Prueba de arrancar sin el runlevel e ir arrancando servicio a servicio
mnualmente... Nunca he instalado un portátil, pero tal y como te sale,
parece que se te cuelgue después del PCMCIA services...

At 20:09 03/08/00 +0200, you wrote:
Hola,
tras bucear en los CDs de la distro descubrí un archivo llamado ltecra. Lo
copié a disquete y le cambié el nombre, pasándose a llamar linux.
Introduzco el disquete en la disquetera y enciendo el sistema. Parece que
marcha, ya no se bloquea al descomprimir el núcleo :), verifica todo, limpia
/tmp, etc... pero llega un momento en el que pone:

Updating locate database...done
INIT: Entering runlevel:2
Starting system log daemon:syslogd klogd.
Starting PCMCIA services: modules

Y se queda tieso :( Mi gozo en un pozo. Tarjetas PC no tengo, solo está el
puerto, ¿Qué puede ocurrir?

Saludos, (y perdonad por la avalancha de preguntas)
  _
Fermín Manzanedo
correo-e:[EMAIL PROTECTED]



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





--
 Jaume Sabater i Lleal
 Administrador de sistemes
 mailto:[EMAIL PROTECTED]
--
 ARGUS Serveis Telemàtics
 http://www.argus.es
 mailto:[EMAIL PROTECTED]
 Tel: 93 292 41 00
 Fax: 93 292 42 25
 Avgda. Marquès de Comillas s/n 08038 
 Recinte Poble Espanyol
 Barcelona - Catalunya
---



RE: Slink en el portatil:descomprime el núcleo pero se bloquea

2000-08-03 Thread Fermín Manzanedo
Hola, soy novato novato :) y creo que me vas a tener que decir como arrancar
sin el runlevel para ir cargando manualmente.

Saludos,

Fermín correo-e:[EMAIL PROTECTED]
- Original Message -
From: Jaume Sabater [EMAIL PROTECTED]
To: debian-user-spanish@lists.debian.org
Sent: Thursday, August 03, 2000 8:47 PM
Subject: Re: Slink en el portatil:descomprime el núcleo pero se bloquea


Prueba de arrancar sin el runlevel e ir arrancando servicio a servicio
mnualmente... Nunca he instalado un portátil, pero tal y como te sale,
parece que se te cuelgue después del PCMCIA services...

At 20:09 03/08/00 +0200, you wrote:
Hola,
tras bucear en los CDs de la distro descubrí un archivo llamado ltecra.
Lo
copié a disquete y le cambié el nombre, pasándose a llamar linux.
Introduzco el disquete en la disquetera y enciendo el sistema. Parece que
marcha, ya no se bloquea al descomprimir el núcleo :), verifica todo,
limpia
/tmp, etc... pero llega un momento en el que pone:

Updating locate database...done
INIT: Entering runlevel:2
Starting system log daemon:syslogd klogd.
Starting PCMCIA services: modules

Y se queda tieso :( Mi gozo en un pozo. Tarjetas PC no tengo, solo está el
puerto, ¿Qué puede ocurrir?

Saludos, (y perdonad por la avalancha de preguntas)
  _
Fermín Manzanedo
correo-e:[EMAIL PROTECTED]



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





--
 Jaume Sabater i Lleal
 Administrador de sistemes
 mailto:[EMAIL PROTECTED]
--
 ARGUS Serveis Telemàtics
 http://www.argus.es
 mailto:[EMAIL PROTECTED]
 Tel: 93 292 41 00
 Fax: 93 292 42 25
 Avgda. Marquès de Comillas s/n 08038
 Recinte Poble Espanyol
 Barcelona - Catalunya
---


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




samba problems

2000-08-03 Thread Joseph de los Santos
Hi,

 hoping that someone really nice can lend a helping hand...with configuring 
samba...

  1.  I always do an ifconfig eth0 192.168.0.1 netmask  255.255.255.0  
everytime I boot to configure my network interface. I want to configure the 
interface permanently so I do not have to manually specify it everytime.

2. do I need to do a 'route add -net 192.168.0 dev eth0' aside from 
specifying the ip add and netmask? how about the broadcast address? do i need 
to configure that too?

  3.when trying to test the connection with $smbclient debian\\user1 , it 
prompts me for the password, then gives the error..
Password: 
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in 
a Tree Connect or Session Setup are invalid.)
ah.say what?

btw,
 I run samba from inetd. nmblookup works..(i think, doesn't complain anyway)   
testparm also doesn't complains...but checking  var/log/smb shows this 
errors...when I first installed samba it asked me if i wanted to make a new 
samba passwords file...i said no, (taking the default choice) perhaps that is 
where my problem lies?

[2000/08/02 20:16:56, 1] smbd/server.c:main(641)
  smbd version 2.0.7 started.
  Copyright Andrew Tridgell 1992-1998
[2000/08/02 20:16:56, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 1 open files, 1014 are available.
[2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error 
was No such file or directory
[2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
  unable to open smb password database.
[2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
  Couldn't find user 'root' in smb_passwd file.
[2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error 
was No such file or directory
[2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
  unable to open smb password database.
[2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
  Couldn't find user 'root' in smb_passwd file.
[2000/08/02 20:17:11, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'root': authentication failed



Hoping for any kind of help. 





autofs question

2000-08-03 Thread Brian Stults
Hello,

I'm using the kernel-based auto mounter, autofs.  I have all my mount
points in the default /var/autofs/misc, and I have symbolic links to
them in /mnt.  However, whenever I do a listing of /mnt (either from an
xterm, or from within an application such as StarOffice), all of the
devices controlled by autofs are mounted.  Is there a way to prevent
this?  If I want to access my CD-RW from within StarOffice, I would like
to be able to go into the directory called /mnt and then go into the
directory called /mnt/cdrw.  But I would like to be able to do this
without inadvertantly automatically mounting all the devices controlled
by autofs.  Any suggestions?

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452



Getting debian CD to recognize SCSI disk(s)

2000-08-03 Thread Ed Burke
   I found quite by accident that I can boot from CD  but the
procedure does NOT recognize
my scsi drive(s).  According to the logon message I have two drives but
1 doesn't seem to have been recognized under MS95.
   That's another issue the primary drive was partitioned using
Partition Magic, just before
I started to load Linux.  I / we had trouble in that the boot loader
wasn't found on the CD
where the text said it would.  In fact the last two levels of directory
were missing in the path.
So, Ethan Pierce - one of you - assisted me for a couple days till we
ran into the scsi problem.

 If  one or more of you want to take a shot at this I can supply you
more definitive data
on the approach used and the warning message I got when doing an
install, using the files
Ethan provided. Waiting
with open arms, Ed



Re: java

2000-08-03 Thread Thomas Kirsch
Jens B. Jorgensen wrote:

 Goeman Stefan wrote:

  Hello,
 
  I know, this is not really a question about Debian.

 You got that right.

  The question is actually very simple. I want to convert a
  string to a double.
 
  There is a method in the java.lang.Double named
   parseDouble
 
  When I insert a line like
  double d = Double.parseDouble(x);
  in my program, I get the error:
  Method parseDouble(java.lang.String) not found in class java.lang.Double

 This method is only in java.lang.Double since JDK 1.2. You must have an 
 earlier
 version.

  There is also another method in the java.lang.Double class that should do
  the same,
  i.e. method valueOf
 
  Now, when I insert a line like
  double d = Double.valueOf(x);
  in the program, i get the error:
  Incompatible type for declaration. Can't convert java.lang.Double to double.

 Yup, because Double.valueOf() returns type java.lang.Double, not simply 
 double. What
 you want is:

 double d = Double.valueOf(x).doubleValue();

  in the program,
  (Casting does not solve this problem)

 Nope. There's no such thing as

 Double::operator double()

 such as there _might_ be if this were C++, which it isn't.

  Does anybody know what is going wrong??
 
  Greetings,
 
  Stefan.

 --
 Jens B. Jorgensen
 [EMAIL PROTECTED]

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

You also can use the following which in my opinion is simpler:
String num = 3.4235;
double num1 = Double.parseDouble(num);

This is supported only in Java 2.





Re: samba problems

2000-08-03 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

 Hi,
 
  hoping that someone really nice can lend a helping hand...with
 configuring samba...

Samba's not that hard.

   1.  I always do an ifconfig eth0 192.168.0.1 netmask 
 255.255.255.0 everytime I boot to configure my network interface.  I
 want to configure the interface permanently so I do not have to
 manually specify it everytime.

One of two ways:
 * /etc/init.d/network
 * /etc/network/interfaces

 2. do I need to do a 'route add -net 192.168.0 dev eth0' aside
 from specifying the ip add and netmask?

Depends; what kernel revision are you using?

 how about the broadcast address? do i need to configure that too?

Yep.  Same place as the ip number.

   3.when trying to test the connection with $smbclient
 debian\\user1, it prompts me for the password, then gives the
 error..
 Password: 
 session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in 
 a Tree Connect or Session Setup are invalid.)

You entered the wrong password, obviously.  What are the contents the
[global] section in smb.conf?  According to the log below, you're missing
the smbpasswd file (the list of encrypted NT LanMan passwords).  You
really can't use samba without it...

 ah.say what?
 
 btw,
  I run samba from inetd. nmblookup works..(i think, doesn't complain
 anyway) testparm also doesn't complains...but checking var/log/smb
 shows this errors...when I first installed samba it asked me if i
 wanted to make a new samba passwords file...i said no, (taking the
 default choice) perhaps that is where my problem lies?

Yes that's the problem.

 
 [2000/08/02 20:16:56, 1] smbd/server.c:main(641)
   smbd version 2.0.7 started.
   Copyright Andrew Tridgell 1992-1998
 [2000/08/02 20:16:56, 1] smbd/files.c:file_init(216)
   file_init: Information only: requested 1 open files, 1014 are available.
 [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
   startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error 
 was No such file or directory
 [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
   unable to open smb password database.
 [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
   Couldn't find user 'root' in smb_passwd file.
 [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
   startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error 
 was No such file or directory
 [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
   unable to open smb password database.
 [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
   Couldn't find user 'root' in smb_passwd file.
 [2000/08/02 20:17:11, 1] smbd/reply.c:reply_sesssetup_and_X(925)
   Rejecting user 'root': authentication failed

-- 
--
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



more on syslogd remote logging

2000-08-03 Thread [EMAIL PROTECTED]
ok, i got syslogd working it is recieving log entries from my router, now
im curious how i would redirect those to a dedicated file? i tried various
things in /etc/syslog.conf and the log file is empty still. I'd like to
redirect everything from 10.10.10.1 to /var/log/dsl.log

sample log entries:

Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up, 640
Kbps Down, 544 Kbps Up, 340 Baud^M 
Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up*,
+11.3 dB TX Power, +18.7 dB Rem TX Power, 42 dB RX Gain, No Change
Margin^M 
Aug  2 15:26:25 10.10.10.1 000:23:31:30 PPPInfo   PPP Up Event
on wan0-0^M 
Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up*, 23
dB Line Quality^M 
Aug  2 15:26:40 10.10.10.1 000:23:31:45 SERIAL Info   Serial
Connection Timeout^M 
Aug  2 15:28:05 10.10.10.1 000:23:33:10 PPPInfo   PPP Down
Event on wan0-0^M 

any ideas ??

thanks!

nate


:::
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]
10:38pm up 16 days, 6:05, 1 user, load average: 0.00, 0.00, 0.00



[fox@xs4all.nl: Re: gnapster won't download: fopen: No such file or directory]

2000-08-03 Thread Rev GRC Sperry
ermm, no it ain't. Please read the second half of what you quote below:
   Today the court of appeals stayed the judge's order to shut down
   Napster until they consider our appeal, probably in September.

Not that I think napster does it's job particularly well but I thought
people should know that it is up. Of course, there's always gnutella for
file sharing-- of open source software, of course. Heh.

-Grant

oio`
 See them clamber, these nimble apes!  They clamber over one another, and
  thus scuffle into the mud and the abyss.--Nietzsche
ioi`

- Forwarded message from Jos Lemmerling [EMAIL PROTECTED] -

Date: Thu, 3 Aug 2000 01:09:59 +0200 (CEST)
From: Jos Lemmerling [EMAIL PROTECTED]
Subject: Re: gnapster won't download: fopen: No such file or directory
To: debian-user@lists.debian.org
X-Mailing-List: debian-user@lists.debian.org archive/latest/101410

On 2 Aug 2000, Krzys Majewski wrote:

 Anybody else have this problem with gnapster? Everything works except,
 gah, the downloading part. If I try to d/l something I get 
 
 fopen: No such file or directory
 
 on stderr, several times, and  nothing happens. This is Gnome gnapster
 1.3.10
 
 -chris
 

ermm

check out their site... Napster is down 

QUOTE
   Thanks for being a member of the Napster community and for the support
   you have shown. As you have probably heard, the RIAA won a court
   battle this week that may keep you from using Napster to share music.
   Today the court of appeals stayed the judge's order to shut down
   Napster until they consider our appeal, probably in September. 
/QUOTE


Greetz 
Jos Lemmerling



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


- End forwarded message -

-- 
-Grant

oio`
 See them clamber, these nimble apes!  They clamber over one another, and
  thus scuffle into the mud and the abyss.--Nietzsche
ioi`



Re: gzipped readmes in /usr/doc/*

2000-08-03 Thread GOTO Masanori
At Wed, 02 Aug 2000 13:29:28 +0900,
Kenshi Muto [EMAIL PROTECTED] wrote:
  what is the command to read these README documents, without having to first 
  use
  a command to un-gzip the same?
 
 Many pager software supports gzip-ed file.
 less, jless, lv, ...
 (But 'more' command doesn't support it)
 
 If you want to view bzip2-ed files also, I recommend to use lv.
 lv handles many character encoding also (include UTF-8/UTF-16).

That's right!
In addition, lv also have nice feature like:
'ANSI escape sequence through', 'bzip2 ready', 
'Multilingual grep', and so on!

Regards,
-- GOTO Masanori



Re: gzipped readmes in /usr/doc/*

2000-08-03 Thread Russ Pitman

Try using mc midnight commander . Just select the file and hit 'F3'.

On Tue, Aug 01, 2000 at 09:25:25PM -0700, S. Champ wrote:
 hi.
 
 i'm seeing a lot of README.*.gz in /usr/doc/*
 
 i'm guessing it's been done that way for the sake of space-conservation.
 
 i'm admittedly frustrated at the fact that, from all i know about it right 
 now,
 i'll have to un-gzip any of these packages before i'm actualy able to read
 them.  there's more to this life than computers, and there's already too mucy
 time needing to be spent on this thing, when it's not even out of the docks 
 yet.
 
 
 
 
 
 the question:
 
 what is the command to read these README documents, without having to first 
 use
 a command to un-gzip the same?
 
 
 if there is no such command:
 
   1) how to read a gzipped text-document, without un-gzipping it?
   2) these readme files are so small, why bother gzipping them and 
 throwing
 another step into it?
 
 
 either way:
 
   if keeping the document-*zip-up..document-un*zip steps in the process: 
 
   can we try bzip instead, please?
 
   it's got a -keep-original-archive-file argument, under 
 a different syntax
 than that. bzip might also have a more efficient compression-algorithm than
 gzip, though i haven't done any benchmarking on it myself.
 
 
 
 
 
 
 
 -- sean
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 



Re: more on syslogd remote logging

2000-08-03 Thread Robert Waldner
On Wed, 02 Aug 2000 22:45:59 PDT, [EMAIL PROTECTED] writes:
ok, i got syslogd working it is recieving log entries from my router, now
im curious how i would redirect those to a dedicated file? i tried various
things in /etc/syslog.conf and the log file is empty still. I'd like to
redirect everything from 10.10.10.1 to /var/log/dsl.log

I *think* you´ll need another syslogd to be able to judge about the 
*source* of an entry, IIRC the normal one is only able to distinguish 
by type.

Try the syslog-ng - package, might be just what you want.

hth,
rw



PPP patched for SSL?

2000-08-03 Thread Simon Law
Has ppp in potato been patched for SSL?  I'm planning a network and am
hoping that my Debian router will be able to doing ppp and poptop so that
some Windows clients can connect securely to my LAN.

Thanks for the info.



Re: more on syslogd remote logging

2000-08-03 Thread John Pearson
On Wed, Aug 02, 2000 at 10:45:59PM -0700, [EMAIL PROTECTED] wrote
 ok, i got syslogd working it is recieving log entries from my router, now
 im curious how i would redirect those to a dedicated file? i tried various
 things in /etc/syslog.conf and the log file is empty still. I'd like to
 redirect everything from 10.10.10.1 to /var/log/dsl.log
 
 sample log entries:
 
 Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up, 640
 Kbps Down, 544 Kbps Up, 340 Baud^M 
 Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up*,
 +11.3 dB TX Power, +18.7 dB Rem TX Power, 42 dB RX Gain, No Change
 Margin^M 
 Aug  2 15:26:25 10.10.10.1 000:23:31:30 PPPInfo   PPP Up Event
 on wan0-0^M 
 Aug  2 15:26:25 10.10.10.1 000:23:31:30 ATMInfo   Wan0 Up*, 23
 dB Line Quality^M 
 Aug  2 15:26:40 10.10.10.1 000:23:31:45 SERIAL Info   Serial
 Connection Timeout^M 
 Aug  2 15:28:05 10.10.10.1 000:23:33:10 PPPInfo   PPP Down
 Event on wan0-0^M 
 
 any ideas ??
 

Use /etc/syslog.conf to control where logging goes.
This allows you to specify things by facility and priority.

Your router should allow you specify the syslog facility used
for messages, probably with a config statement like
logging facility local3

if it's a Cisco (it's on the documentation CD which you should have).

Edit /etc/syslog.conf to add a line like this:

local3.*  -/var/log/dsl.log

If you want quick console access to the messages and aren't 
too fussed about other peopel seeing them, you can also 
use a line like
local3.*  /dev/tty12

to direct them to an unused vt as well.

You may also want to add local3.none to some of the other lines, if
they use a wildcard for the facility and you don't want those lines
to catch messages from your router.

Then run
# /etc/init.d/sysklogd reload

and tell your router to use syslog facility local3 (or whatever you
chose).


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin  support:technical services



RE: samba problems

2000-08-03 Thread CHEONG, Shu Yang \[Patrick\]
OK here goes

cd to /etc/network and ls to see whether you already have a file there
named interfaces. If not, use you favourite editor (mine's ae, BTW as it
is so ealy to use for simple editing) and create this file with the
following contents:-

# The loopback device
iface lo inet loopback

# The eth0 device (replace the ip with the appropriate address)
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.255
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.10# If this box is not the gateway, otherwise,
this can be commented out

Note that if you specified a gateway, ips meant for other networks will be
routed via the gateway.
(Someone correct me if I am wrong!)

As for Samba, have your included your username and password to the
smbpasswd...ooopsss you did mention that you skipped that pasrt when
askedwell, to create the said file, I suggest you use Samba Web
Administration Tool or SWAT for short...

From thereon, you should be able to smbclient //debian/user1 ...and make
sure you key in the correct password

Hope that helped


Patrick Cheong
Information Systems Assurance
Measat Broadcast Network Systems
E-mail: [EMAIL PROTECTED]
Visit us at: http://www.astro.com.my

 -Original Message-
 From: Joseph de los Santos [SMTP:[EMAIL PROTECTED]
 Sent: Thursday, August 03, 2000 5:19 AM
 To:   debian-user@lists.debian.org
 Subject:  samba problems
 
 Hi,
 
  hoping that someone really nice can lend a helping hand...with
 configuring 
 samba...
 
   1.  I always do an ifconfig eth0 192.168.0.1 netmask 
 255.255.255.0  
 everytime I boot to configure my network interface. I want to configure
 the 
 interface permanently so I do not have to manually specify it everytime.
 
 2. do I need to do a 'route add -net 192.168.0 dev eth0' aside from 
 specifying the ip add and netmask? how about the broadcast address? do i
 need 
 to configure that too?
 
   3.when trying to test the connection with $smbclient debian\\user1 ,
 it 
 prompts me for the password, then gives the error..
 Password: 
 session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
 in 
 a Tree Connect or Session Setup are invalid.)
 ah.say what?
 
 btw,
  I run samba from inetd. nmblookup works..(i think, doesn't complain
 anyway)   
 testparm also doesn't complains...but checking  var/log/smb shows this 
 errors...when I first installed samba it asked me if i wanted to make a
 new 
 samba passwords file...i said no, (taking the default choice) perhaps that
 is 
 where my problem lies?
 
 [2000/08/02 20:16:56, 1] smbd/server.c:main(641)
   smbd version 2.0.7 started.
   Copyright Andrew Tridgell 1992-1998
 [2000/08/02 20:16:56, 1] smbd/files.c:file_init(216)
   file_init: Information only: requested 1 open files, 1014 are
 available.
 [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
   startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd.
 Error 
 was No such file or directory
 [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
   unable to open smb password database.
 [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
   Couldn't find user 'root' in smb_passwd file.
 [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
   startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd.
 Error 
 was No such file or directory
 [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
   unable to open smb password database.
 [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500)
   Couldn't find user 'root' in smb_passwd file.
 [2000/08/02 20:17:11, 1] smbd/reply.c:reply_sesssetup_and_X(925)
   Rejecting user 'root': authentication failed
 
 
 
 Hoping for any kind of help. 
 
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
 /dev/null



Re: cos() in math.h ?

2000-08-03 Thread William T Wilson
On Thu, 3 Aug 2000, Christophe TROESTLER wrote:

 Thanks to all for answering my very simple question.  Now, how was I
 supposed to know I had to link against `m'?  I mean, given a header
 file, is the file I have to link against specified in the doc?  Is
 there any info on that subject you can refer me to?

Unfortunately there's no one-to-one correspondence between header files
and library files.  Although every library intended for development will
have a header (otherwise you could not compile programs designed to use
it), not every header has its own library - a given library can have
multiple header files, and some header files aren't associated with any
particular library.

Anyway, the short answer is that the definitions of functions don't
necessarily say what library you have to link to actually get them.  You
pretty much just have to know, pick it up from looking at other
examples... or go rooting around through the libraries looking for it...

You can get a list of functions in a library by using nm -C file.  Those
of class 'T' are function calls you can use.  (The -C makes it work with
C++ functions as well as C functions).
nm -o -C *.a | grep funcname is a good way of finding out which
library a given function is in, provided you know which directory the
library is in (/usr/lib is a good starting place :} ).  Don't forget that
when linking you don't specify the 'lib' or the '.a' - for example to link
with libm.a you just do -lm, not -llibm.a.

Symbols of class 'U' are not defined in this library, but rather are used
by this library but located somewhere else.  So don't be distracted by
those.

A library is really a collection of .o object files (see ar for more
details).  So nm (and other tools) will often tell you what object file
within the library is being referred to.  Normally, this only matters if
you are making your own libraries.



Re: cos() in math.h ?

2000-08-03 Thread William T Wilson
On Thu, 3 Aug 2000, Christophe TROESTLER wrote:

 simply need to include `math.h'.  However, when I compile, I got the
 error:
 
   /tmp/cc9WOsLC.o(.text+0x16): undefined reference to `cos'
   collect2: ld returned 1 exit status

This is actually a linker error - undefined references happen when the
linker (which might be called by the compiler) tries to assemble the
object files into an executable, but can't find all the function calls
that the program wants to make.  cos() is in the math library, libm.a.  So
you need to add -lm to the command line.

Including math.h will allow the compiler to compile the object code
(otherwise you would get warnings or errors about the function declaration
for cos()) but the actual code that does the computation is in libm.



holly crap!

2000-08-03 Thread Jaye Inabnit ke6sls

 Help,  PLEASE HELP


I've done somethig very bad.. I did:

rm * /var/spool/fax/outgoing 

I was user not root (little sigh), but I lost a lot of data.. Is there
ANYWAY to recover all the lost files in /home/me ???

thanks . . .



Re: more on syslogd remote logging

2000-08-03 Thread Mark Brown
On Wed, Aug 02, 2000 at 10:45:59PM -0700, [EMAIL PROTECTED] wrote:

 things in /etc/syslog.conf and the log file is empty still. I'd like to
 redirect everything from 10.10.10.1 to /var/log/dsl.log

The standard syslog doesn't support that, although I don't know about
others.  If you need the separate logs you'll have to either find a
syslogd replacement that does what you want or post-process based on the
host field in the logfile(s).  If you're processing the logs you may
find it easier to create a catchall log that gets everything written to
it and start from there.

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


pgpHPSCg4ya92.pgp
Description: PGP signature


Re: your mail

2000-08-03 Thread Simon Law
Hi,

You want to:
bash$ export http_proxy=http://msproxy.on.windows.box:portnumber;

You probably also want to set ftp_proxy to the same thing.

On Tue, 1 Aug 2000, CHEONG, Shu Yang [Patrick] wrote:

 Hi guys!
 
 I have been searching high and low for the answer but no such luck.I am
 attempting to connect by Debian GNU/Linux box to the Net through a Microsoft
 Proxy Server 2.0. I can ping outside the local network but whenever I use
 dselect, I get an error message. I understand that if the socks is enabled
 on the M$ Proxy Server, I can use the socks4/5 client to sockify the
 programs which need to connect to the Net, but I think the proxy server
 socks is not enabled. Also, I have seen numerous postings regarding the use
 of some M$ proprietary protocol which allows M$ Internet Explorer (and not
 other Web Browsers such as Netscape and Opera) to connect to the Net. I
 tried using Lynx in Debian and this is the error messages I get:
 
 HTTP Error 401
 
 401.2 Unauthorised Logon failed due to server configuration.
 
 This error indicates that the credentials passed to the server do not match
 the credentials required to logon to the server. This is usually caused by
 not sendoing the proper WWW - Authenticate header field. Please contact the
 Web server's admin to verify that you have permission to access the
 requested resource.
 
 In M$ Windows 95b(on the same box using XOSL), I can connect using only M$
 Internet Explorer! Can anyone enlightenment me? Is there a space on the Net
 where I can find the answers to this question? Thx.
 
 P/S I am certain my settings on the Debian box is correct!
 
 
 Patrick Cheong
 Information Systems Assurance
 Measat Broadcast Network Systems
 E-mail: [EMAIL PROTECTED]
 Visit us at: http://www.astro.com.my
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 



Re: holly crap!

2000-08-03 Thread Andrei Ivanov
 I've done somethig very bad.. I did:
 
 rm * /var/spool/fax/outgoing 
 
 I was user not root (little sigh), but I lost a lot of data.. Is there
 ANYWAY to recover all the lost files in /home/me ???

I guess you were in home when you did that.
Well, nope. Unless you made backups, whatever you deleted is now gone.
I dont think there's a way to recover it. I'd love to know a way, though,
if there is one. (Perhaps a little modification could be done to rm
commandmake a recovery bin of a sort, copy files into there up to
certain size, not delete them. But thats up to individual sysadmins to
implement)
Andrei


First there was Explorer.
Then came Expedition.
This summer
coming to a street near you..
Ford Exterminator.
-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 http://arshes.dyndns.org  
 UIN 12402354

 For GPG key, go to above URL/GnuPG
-



Re: OT: less v. more CCing

2000-08-03 Thread Gerfried Fuchs
On 02 Aug 2000, Bolan Meek [EMAIL PROTECTED] wrote:
 On topics arisen from this discussion,
 Gerfried Fuchs wrote:
  ...BTW, please refrain from sending to _both_ the list and me, 
  I read the list. ...
 
 One may assume that those whose names one sees often
 are subuscribed, but how to be sure, generally?  I propose

 One can't know. But one should read the list s/he's posting to. If s/he
doesn't it's not your fault. In general, on open lists you should assume
one is reading the list s/he is posting to. For this one her
(debian-user, to which this thread was crossmailed) this isn't right for
my person. But the original discussion was on debian-devel and I also
sent this to this special list.

 a habit of including in the .sig a notice:
   I'm on this list

 A signature is a signature is a signature. And has in general nothing
to do with the article. I say in general, some people tend to add
special signature according to the topic (like Sven Guckes, if you know
him).

 As you can see from the headers, the list of Cc: is getting longer
every time, then. And how should I know what e.g. Ben had in his
signature about being on the list or not? How should one know what your
intention was to Cc: him?  This might work for the first time, but not
for the next replies (which, on a discussion-list are very likely).

 And removing it when not needed.  I think that will help
 newcomers, as well as those who have the habit of
 leaving the poster on the To/Cc: list.

 I go another way: I included now a header that should be respected by
most MUAs:
Mail-CopiesTo: never

 I think newcomers should rather be guided to _not_ Cc: one posting to a
list than to rely on some obscure sentence in one's signature. The
header I noticed is a proposed draft that is included in some MUAs, and
will quite possibly be in by more in the future.

 In other news, in accordance with the OT in the Subject:, I'm
 sending my reply to -user...

 Which I don't read, so if you want to reply to this you might want to
Cc: me, but I hope this is not neccesary. I'm not likely to subscribe
-user, I'm on far too many lists.

 Have fun!
Alfie
-- 
Today is the tomorrow you worried about yesterday



Re: holly crap!

2000-08-03 Thread William T Wilson
On Thu, 3 Aug 2000, Andrei Ivanov wrote:

  I was user not root (little sigh), but I lost a lot of data.. Is there
  ANYWAY to recover all the lost files in /home/me ???
 
 I guess you were in home when you did that.
 Well, nope. Unless you made backups, whatever you deleted is now gone.

It is possible to recover the data with ext2ed... provided that you have a
pretty good idea of what it is, have enough spare space lying around to
make a complete copy of the partition, nothing has written over it, and
you know how the filesystem works.  If it's text data, you might be able
to fish it out by grepping the device file for parts of it.

The 'gitview' program is invaluable doing this sort of thing since you can
see text and binary data together.



Re: more on syslogd remote logging

2000-08-03 Thread [EMAIL PROTECTED]
ok, i did see some stuff on it when using syslog-ng, i'll play around more
with that tomorrow night -- thanks!!

nate

On Thu, 3 Aug 2000, Mark Brown wrote:

brooni On Wed, Aug 02, 2000 at 10:45:59PM -0700, [EMAIL PROTECTED] wrote:
brooni 
brooni  things in /etc/syslog.conf and the log file is empty still. I'd like 
to
brooni  redirect everything from 10.10.10.1 to /var/log/dsl.log
brooni 
brooni The standard syslog doesn't support that, although I don't know about
brooni others.  If you need the separate logs you'll have to either find a
brooni syslogd replacement that does what you want or post-process based on the
brooni host field in the logfile(s).  If you're processing the logs you may
brooni find it easier to create a catchall log that gets everything written to
brooni it and start from there.
brooni 
brooni -- 
brooni Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
brooni http://www.tardis.ed.ac.uk/~broonie/
brooni EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/
brooni 

:::
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]
10:38pm up 16 days, 6:05, 1 user, load average: 0.00, 0.00, 0.00



Re: Getting debian CD to recognize SCSI disk(s)

2000-08-03 Thread kmself
On Sat, Aug 02, 1980 at 08:46:24AM -0700, Ed Burke wrote:

Fix your system date.

I found quite by accident that I can boot from CD  but the
 procedure does NOT recognize my scsi drive(s).  According to the logon
 message I have two drives but 1 doesn't seem to have been recognized
 under MS95.

What is your SCSI card?  This information should be known to you,
available from the SCSI BIOS screen, in hardware documentation, or
indicated on the card itself.  The corresponding driver should be
identifiable from the Hardware-HOWTO (http://www.linuxdoc.org/).

Use insmod to load the appropriate driver, eg:

$ insmod aic7xxx# typical for Adapted 2490 series cards

...or possibly a full path specification:

$ insmod /lib/modules/2.2.16/scsi/aic7xxx.o

That's another issue the primary drive was partitioned using
 Partition Magic, just before I started to load Linux.  I / we had
 trouble in that the boot loader wasn't found on the CD where the text
 said it would.  In fact the last two levels of directory
 were missing in the path.  So, Ethan Pierce - one of you - assisted me
 for a couple days till we ran into the scsi problem.

Show the output of fdisk -l on this disk.

  If  one or more of you want to take a shot at this I can supply you
 more definitive data on the approach used and the warning message I
 got when doing an install, using the files Ethan provided.
 Waiting with open arms, Ed

Who is Ethan?

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpbT4uXUgWw3.pgp
Description: PGP signature


Re: holly crap!

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 11:13:04PM -0700, Jaye Inabnit ke6sls wrote:
 
  Help,  PLEASE HELP
 
 
 I've done somethig very bad.. I did:
 
 rm * /var/spool/fax/outgoing 
 
 I was user not root (little sigh), but I lost a lot of data.. Is there
 ANYWAY to recover all the lost files in /home/me ???

Remount the affected partition read-only (yet another reason to create
multiple system partitions, BTW).  This will prevent any further changes
to the system.

Gnu Midnight Commander (mc or gmc) is alleged to have some data recovery
potential.  You might want to investigate this.

Generally speaking, file deletion is a pretty definitive act under
Linux.

There are data recovery firms which specialize in retrieving lost data.
If the data are sufficiently important to you, you may want to get a
quote.

Backups are good.  Early and often.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpRY94eGIIKF.pgp
Description: PGP signature


Re: OT: less v. more CCing

2000-08-03 Thread Brian May
 Gerfried == Gerfried Fuchs [EMAIL PROTECTED] writes:

Gerfried  I go another way: I included now a header that should
Gerfried be respected by most MUAs: Mail-CopiesTo: never

The mail-copies-to header does sound good, but I have mixed feelings
as to if it really solves the problems.

Oh, BTW, Mail-CopiesTo: never is obsolete, use nobody instead. See
http://www.newsreaders.com/misc/mail-copies-to.html

Mostly coming from this:

Gerfried  I think newcomers should rather be guided to _not_ Cc:
Gerfried one posting to a list than to rely on some obscure
Gerfried sentence in one's signature. The header I noticed is a
Gerfried proposed draft that is included in some MUAs, and will
Gerfried quite possibly be in by more in the future.

In Gnus, you followup an article with 'f'. There are two modes:

1. default: f replies to everybody, unless there is a mail-copies-to:
nobody header.

2. after config: f replies to predefined mailing list only, unless
mail-copies-to says otherwise.


Both of these, in my mind, have serious problems:

Mode 1: Should be obvious. Not everybody sets the mail-copies-to
header.

Mode 2: When replying to some mailing lists, replying to the mailing
list is not always appropriate. Some examples of when the default
mailing list address is wrong:

- Mail sent to [EMAIL PROTECTED], appears on debian-private. Replies
should go to [EMAIL PROTECTED], not debian-private.

- often bug reports are cross posted to debian-devel, and replies
often should be copied to the BTS.

- policy requests are done via the BTS, but appear on debian-policy.

- cross posts between multiple mailing lists. Sometimes this can be
important, for instance, if a discussion with an upstream mailing is
relevant to debian-devel.


Another limitation, IMHO, is that the header mail-copies-to: nobody,
doesn't provide the MUA enough information where the reply should go.
Ok, it shouldn't go to the sender. But what about the list of
addresses under the To: header? What about the list of addresses
under the Cc: header? Which address/addresses should be used? How
can you guess in such a way as to avoid the above problems?


I do not see how these limitations could be avoided, as the MUA has no
way of knowing where the reply should go. The MUA can find out where
the message was sent, but how does it know which addresses are mailing
lists, which ones are private individuals, and which private
individuals want CCs?


I would prefer another header (does the followup-to header do
this??), that is like reply-to:, except it works for group
followups, rather then private replies. Even better, if it supported
mailing lists *and* newsgroups... If the poster hasn't submitted one,
the mailing list software could add a default one. If there is already
a header, it shouldn't be replaced.

Another-words, I think it should be up to the sender to specify
exactly where the group reply should go. If the sender doesn't say,
then the mailing list should be able to specify. This should happen
without affecting private replies (so reply-to can't be used).


As a side affect, this would eliminate the need for the debates of the
form: but I really do have an email address called nobody!
-- 
Brian May [EMAIL PROTECTED]



Re: holly crap!

2000-08-03 Thread Nicole Zimmerman


  I've done somethig very bad.. I did:
  
  rm * /var/spool/fax/outgoing 
  
  I was user not root (little sigh), but I lost a lot of data.. Is there
  ANYWAY to recover all the lost files in /home/me ???

There is a package in unstable called 'recover'.

Description:
Undelete files on ext2 partitions

   Recover automates some steps as described in the ext2-undeletion
   howto. This means it seeks all the deleted inodes on your hard drive
   with debugfs. When all the inodes are indexed, recover asks you some
   questions about the deleted file. These questions are:
  * Hard disk device name
  * Year of deletion
  * Month of deletion
  * Weekday of deletion
  * First/Last possible day of month
  * Min/Max possible file size
  * Min/Max possible deletion hour
  * Min/Max possible deletion minute
  * User ID of the deleted file
  * A text string the file included (can be ignored)

   If recover found any fitting inodes, he asks to give a directory name
   and dumps the inodes into the directory. Finally he asks you if you
   want to filter the inodes again (in case you typed some wrong
   answers).

http://www.debian.org/Packages/unstable/admin/recover.html

I have not used said package, but came across it during another install.

-nicole



Re: t-dsl

2000-08-03 Thread Christian Brandt
Arthur H. Edwards wrote:

 I'm a bit confused. On a normal dial-up I have been using PPP and do
 have a static IP address. If ADSL is using PPP what about DSL prevents
 PPP from doing the same thing?

 actually its up to the radius or router of the isp to supply an ip.
They can use a fixed ip for each useraccount (which is very nice) or
they can use a fixed ip per peering point, in other words, one fixed
ip per telefonline. As you can not predict at which line your call will
be accepted, you get a random/dynamic ip-number from your point of
view as a dial-up-customer).

 And the third solution: The router requests an ip-number at a
radius-server. Most radius-Servers I know simply suggest the first free
number in the list. You can NACK that and thats fine :-)

Christian Brandt



Re: Backing up a Linux system

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 05:28:14PM +0100, [EMAIL PROTECTED] wrote:
 Debian Potato (Frozen) with Slink  KDE.
 
 I want to be able to backup my linux system to scsi tape (nst0)
 such that, if my hard drive falls into little pieces one bright
 sunny day, I can boot from a rescue floppy and restore the lot
 onto a new drive without having to re-install anything.
 
 I plan to use afio for the backup in conjunction with the
 Tomsrtbt rescue floppy (an amazing piece of work).

afio is a good choice.  I use tar.  It's prevelant, though slightly less
robust.

 Most parts of the system are straightforward and I could include
 mount point directories, such as /cdrom, as long as there is
 nothing actually mounted then they would, at least, be
 automatically re-created.  


However, if you do have something mounted beneath a mount point it
generally *will* be backed up.  You'll end up with a rather redundant
copy of that CDROM you left in the drive last night.

 I wouldn't need to backup /tmp.

 What about /dev?  Could the device files be backed up without
 backing up the contents of the said devices?  I did see once that
 Midnight Commander could copy a complete linux system onto
 another partition so I assume that backing up the /dev directory
 could be done.

GNU tar handles /dev files properly, though strictly you don't need to
back this up.  See below.

 I'm assuming that the contents of /proc, including any
 sub-directories, are generated each time at startup and all that
 would need to be done would be to re-create the actual directory.

In general, you don't *need* to back up anything that's a standard part
of the system.  This would include:

System directories: /bin /sbin /dev /lib /usr /initrd

Each of these contains *only* files added by the distribution, and
for which your backups can't necessarily be trusted to restore to
proper state.  An OS reinstall is appropriate (and buys you an
upgrade, if desired).  The information will be correctly created.
Generally, you don't need to back up these trees.


Temporary fils: /tmp 

This is flushed by the system on each reboot anyway (watch your
boot messages).  Backups unnecessary.


Secondary mount points: /mnt /net

YMMV, but you generally won't want to back up arbitrary remote
filesystems, and frequently don't need to back up removable devices
(floppy, cdrom, zip, jaz, mo) mounted under /mnt or another mount
point.  Backups probably irrellevant.


Virtual FS and recovery:  /proc /lost+found 

/proc is a virtual filesystem.  It doesn't actually exist in a
sense of storage, it's an interface to kernel-space data and state.
It isn't created at boot, it's probably more accurate to say that
information under /proc is made available on demand.  /lost+found is
where lost clusters are placed by e2fsck.  Generally you're not
interested in these (though YMMV).  Backup unnecessary and possibly
impossible.


Stray links:  /opt

If you've implemented /opt as a link to /usr/local, you don't need
to back it up seperately.  If you've created a seperate filesystem,
ask yourself why, move everything in it to /usr/local, create an
appropriate link, and remove /opt from your backup schedule.  Backup
a sign of poor FS layout (IMVAO).


Persistant system state: /var

There are parts of /var you'll want to keep, much of it you can
discard.  See the example below for more guidance.  Note that you
*will* want to save anything relating to your packaging system
(there are apt and dpkg trees under /var), duplicates of system
files under /var/backups, system logs, and possibly web space.
There are arguments on both sides of archiving spools (print, mail,
news, squid, fax, etc.).  I choose not to.  Backups on a selected
basis.


Stuff you *REALLY* want to save:  /etc /root /usr/local /home

This is the non-distribution, non-remote, non-volatile, valuable
part of your system.  Hard-won configurations, local apps and
data, and user space.  Backups mandetory.  Early and often.
Validate your backups.


My own system backup script follows.  This is for an aging single-user
Linux box, and is run typically every few days.  Fits well on a single
2.0 GB SCSI DAT-90 DDS tape, with 1 2.4 GB and 2x 2.1 GB disks.

 begin system-backup 
#!/bin/bash

# Create backups of /etc, /home, /usr/local, and...

mt rewind
tar cvf /dev/nst0 /etc
tar cvf /dev/nst0 /root
tar cvf /dev/nst0 /home
tar cvf /dev/nst0 /usr/local

# and selected /var directories
tar cvf /dev/nst0 /var/backups
tar cvf /dev/nst0 /var/cache/apt
tar cvf /dev/nst0 /var/lib
tar cvf /dev/nst0 /var/log
tar cvf /dev/nst0 /var/www
 end system-backup 

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 

Re: cdrom

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 02:23:54PM -0400, Andy The King wrote:
 Hello!
 
 I just recently purchased a copy of Debian GNU/Linux 2.1.  Although my
 friend told me that I can just down loaded for free from the web.  So I
 installed it on my machine and everything runs well except for that my
 cdrom didn't recognized any of the CD-Rewritable copies that  burned.
 However, the operating system able to allows me to read other CD-W
 copies that are not rewritable.  I did all this with mounting the cdrom.

CD-R disks can be finicky under various configurations.  Can you read
from the same CD booting the system under a different OS (say DOS or
Windows)?

 What is this mean?  I have most of the softwares that needed to be run
 in Linux are in those CD-Rewritable.  What can I do?

Either re-burn the disks or mount them on another system and use network
access.  I found I could read a CD on a laptop but not my desktop, could
ssh or Samba mount the CD to pull files from it to the desktop.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgplqx9MZahLx.pgp
Description: PGP signature


Re: some questions

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 09:46:41PM +0300, Tzafrir Cohen wrote:
 On Wed, 2 Aug 2000, David Karlin wrote:
 
  On Wed, Aug 02, 2000 at 11:28:52AM +0300, Tzafrir Cohen wrote:
   1. When using a network adapter whose driver is compiled as a module -
   where does this module get loaded?
   I currently added a simple modprobe line to /etc/init.d/networking , but
   there has to be a better way. On RedHat loading this module is done by the
   ifup script.
  
  Edit /etc/modules to include the name of the modules, and options;
  i.e. parport_pc io=0x378 irq=7(make sure you add them in the order
  they should to be loaded).Then run update-modules and a new
  /etc/modules.conf will be created.
 
 This gives the options to modprobe. But when is modprobe being run?

During the boot process.  Generally, grep 'modprobe' /etc/init.d and
look under /etc/rc?.d to see where this script is linked:

/etc/init.d/alsa
/etc/init.d/kerneld
/etc/init.d/modutils

...IIRC (without checking) modutils is the primary init script involved,
and...

/etc/rcS.d/S20modutils

...it's called early in the boot (rcS.d) process.

   5. Single-user mode loads a whole bunch of stuff thatare not really
   needed.
   What is the recomended way to load failsafe defaults? Using a floppy?
  
  What is the stuff that you don't need?(I'm not an expert on this).
 
 For instance: networking. Many things can go wrong: A faulty module for
 the adapter, dhcpcd hangs a bit because it can't find a server, etc.
 
 I can alway load with init=/bin/sh, or from a floppy, but those are not
 aptimal choices.

You can set an init level to exclude initiating networking services if
you wish.  RedHat (IIRC) specifies runlevel 2 as non-networked
workstation, rulevel 3 as networked workstation, and RL 5 as a networked
workstation with an X display manager.  RL 4, IIRC, was skipped.
Generally RL 3 or 5 are default under RH.  See /etc/inittab for default
runlevel.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpXREs5xepkP.pgp
Description: PGP signature


Re: new PC disk problem?

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 10:27:59AM -0400, Peter S Galbraith wrote:
 I received a new Dell computer last week, and after a backup of
 my system tar reported problems with one file.  While trying to
 read that file, I get I/O errors:
 
  hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
  hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=10360592, 
 sector=4464737
  end_request: I/O error, dev 03:02 (hda), sector 4464737
 
 Bad disk?
 Should I contact Dell or test-torture it some more?

...did you run badblocks on it?

Can you replicate the problem on another file in the same sector?

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpOC2U9arRGd.pgp
Description: PGP signature


Re: Installing packages without manpages and docs

2000-08-03 Thread Marc Haber
On Thu, 3 Aug 2000 10:34:12 +1000 , Kenrick, Chris
[EMAIL PROTECTED] wrote:
IIRC Slink minimum install is circa 30 MB

Would it be worth a try installing minimal Slink first,
then apt-get upgrade;apt-get dist-upgrade ?

No. The man pages are in the packages themselves. Your approach
wouldn't give any gain.

Greetings
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber  |Questions are the | Mailadresse im Header
Karlsruhe, Germany  | Beginning of Wisdom  | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29



ppp connection speed

2000-08-03 Thread Philippe MICHEL
Hello,

I am using Debian slink, and a standard modem/pppd connection to my
provider. 

Everything works well since years (I used the same config with Slakware)

But how/where can I see with which speed the modem has been connected ??

thanks,

-- 
- Philippe MICHEL
- [EMAIL PROTECTED]
- [EMAIL PROTECTED]

Penser ne suffit pas : il faut penser à quelque chose. Jules Renard

= Dispensé de Politesse envers la PUB Sauvage !!!

-Pour répondre, supprimer eventuellement no_spam_ de mon adresse.
-Wenn Sie antworten, bitte no_spam_ von der Adresse löschen.
-If you respond to my mail, please remove the eventual no_spam_.



re: cdrom ... and alsa

2000-08-03 Thread R K
cd-rw discs require different laser frequencies in order to be read (that's 
why you cant use them in most audio cd players and dvd players)  most new 
computer cd drives implement multi-read functionality. i think it was 
multi-read.. i dunno.. i always get the terms mixed up.. =) if you look at 
the recordable side of an rw, you'll see that it's less reflective than an r 
or a normal silver - hence the varying frequencies required.


also, on a side note.. has anyone had problems with alsa under potato?  
there's basically no documentation (man pages and such), and it seems to be 
missing files.  the source dist for alsa apparently requires that i have a 
copy of the kernel source (configure references 
/usr/src/linux/include/version.h or something similar)... which i frankly 
dont want to download.. i dont have a copy of version.h to fake it out with 
either. anyway, i have an intel al440lx mb with a builtin opl3-sa3, and alsa 
just doesnt want to work with it.  isapnp detects it fine, and the configs 
that i pass to alsa through alsaconfig (or whatever it was called) are 
correct, but alsa just doesnt like it.  the whole thing just seems wierd.. 
the sound detect module is totally missing (as are the rest of the drivers 
apparently) and alsa_modules is reported as referenced, but never uploaded 
by apt-get!  i'm kinda stuck either way i turn on this one.


any help is greatly appreciated =)


Hello!
=20
I just recently purchased a copy of Debian GNU/Linux 2.1.  Although my
friend told me that I can just down loaded for free from the web.  So I
installed it on my machine and everything runs well except for that my
cdrom didn't recognized any of the CD-Rewritable copies that  burned.
However, the operating system able to allows me to read other CD-W
copies that are not rewritable.  I did all this with mounting the cdrom.


CD-R disks can be finicky under various configurations.  Can you read
from the same CD booting the system under a different OS (say DOS or
Windows)?


What is this mean?  I have most of the softwares that needed to be run
in Linux are in those CD-Rewritable.  What can I do?


Either re-burn the disks or mount them on another system and use network
access.  I found I could read a CD on a laptop but not my desktop, could
ssh or Samba mount the CD to pull files from it to the desktop.



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



disk partition using fips

2000-08-03 Thread SDI \\
I would dearly like to repartition a drive on my systemto give me
MORE spacefor linux.

So I duely ran noton and defragged, which put all the stuff in the first
10% of the disk.
But, looking on the map , the last sector had hidden files on it.
So I turned on visualization in Win 98ofhidden file types.and system
files- a total of 7 megs !

I realize that I can change all the file attributes somehow (I've yet to
find the command under dos ), and then re-defrag , then re-attribute the
files asa before.

But it strikes me the more intelligent way to do things would be to
discover from the fat or somehow else the ids of the files in the last
sector.

Is there no way of doing this ??
How can you read the fat ?

I figure with a bit of math I can work out how to read the darned thing.
begin:vcard 
n:Howe;Stephen
tel;pager:none
tel;cell:Italy(39) 335 710 7756
tel;fax:Italy(39) 081 575 5835
tel;home:Italy(39) 081 598 3133
tel;work:Italy(39) 081 598 3133
x-mozilla-html:FALSE
org:SDI (Tel: Italy (39) 081 598 3133 Fax:Italy(39)081 575 5835)
adr:;;Via F. Russo,19;NAPOLI;;80123;ITALY
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal
x-mozilla-cpt:;32480
fn:Stephen Howe
end:vcard


Sound speed problems

2000-08-03 Thread Stefan Bellon
Hi everybody!

I have installed a happily running woody on my notebook.

Now I've installed potato on my girlfriend's computer (a Compaq
Presario 9500 with Pentium 120 MHz processor and 40 MB RAM).

In general things are fine except two points: too small resolution
(other topic) and sound.

The other operating system installed previously told that the sound
card is an ISA PnP ESS ES1788 card. Now, I've read in the kernel docs
that the sb module supports those cards and compiled module support for
them into the kernel.

After modprobing sb, looking at /proc/sound gives:


OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux geeko 2.2.15 #1 Tue Aug 1 21:28:26 CEST 2000 i586
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: ESS ES1888 AudioDrive (rev 11) (3.01)

Synth devices:

Midi devices:
0: ESS ES1688

Timers:
0: System clock

Mixers:
0: Sound Blaster


Ok, now the problem: The sound is playing but way too slow (I'd say
factor 2 too slow).

How can double the speed sound is played back?

On my notebook the maestro driver works straight out of the box, so I
don't have any experience with sound card settings.

TIA.

Greetings,

Stefan.

-- 
 Stefan Bellon * mailto:[EMAIL PROTECTED] * http://www.sbellon.de/

 We have commited to quickly disseminate high-quality leadership skills
 and collaboratively restore low-risk high-yield meta-services to meet
 our customers needs.



X with a S3 Trio64V+ card

2000-08-03 Thread Stefan Bellon
Hi everybody!

Does anybody have a XF86Config file for the S3 Trio64V+ card? I've
managed to get a 800x600 running, but I'd like to increase to 1024x768.
Whenever I modify the XF86Config (with XF86Setup) to contain a 1024x768
ModeLine, the server dies when trying to start it.

Isn't such a resolution possible with this card?

TIA.

Greetings,

Stefan.

-- 
 Stefan Bellon * mailto:[EMAIL PROTECTED] * http://www.sbellon.de/

 Better to understand a little than to misunderstand a lot.



Re: Man -K

2000-08-03 Thread Piotr Krukowiecki
On 2 Aug 2000, John Hasler wrote:

 Andrew Sullivan writes:
  I thought the original poster was talking about a _full body_ search of the
  man pages.  Do RH and SuSE really do that?  Certainly, apropos doesn't --
  it searches the description (at least on my system).
 
 Which would be fine if people would write proper descriptions.

But they don't. And you can't describe man which has 100 pages or more in
one line.

I checked rpm from TurboLinux (man-1.5g-5.i386.rpm).
From it's man page:

-K Search for the specified string in *all* man pages.
  Warning:  this  is  probably very slow! It helps to
  specify a section.  (Just to give a rough idea,  on
  my  machine  this  takes about a minute per 500 man
  pages.)

I want to know why debian don't use that version of man.


-- 
Peter
irc: #Debian.pl



Re: Man -K

2000-08-03 Thread Fabrizio Polacco
On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote:
 On Wed, 2 Aug 2000, Piotr Krukowiecki wrote:
 
  I wonder why debian have man without -K option (searching
  through body of manpage, not only title), unlike RH or Suse
  

RedHat uses a different program.
But Suse uses the same man as Debian.
Are you sure that Suse has the -L option? (I don't know how to get the
hands on a suse machine).

fab
-- 
| [EMAIL PROTECTED] [EMAIL PROTECTED]
| pgp: 6F7267F5   57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
| [EMAIL PROTECTED] gsm: +358 (0)40 707 2468



Re: ppp connection speed

2000-08-03 Thread kmself
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
 Hello,
 
 I am using Debian slink, and a standard modem/pppd connection to my
 provider. 
 
 Everything works well since years (I used the same config with Slakware)
 
 But how/where can I see with which speed the modem has been connected ??

Several graphical ppp monitors have speed indicators.  wmppp is one
such.  Not sure of the KDE or Gnome desktops.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpNM0k0VcHhU.pgp
Description: PGP signature


Re: Man -K

2000-08-03 Thread Piotr Krukowiecki
On Thu, 3 Aug 2000, Fabrizio Polacco wrote:

 On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote:
  On Wed, 2 Aug 2000, Piotr Krukowiecki wrote:
  
   I wonder why debian have man without -K option (searching
   through body of manpage, not only title), unlike RH or Suse
   
 
 RedHat uses a different program.

Yes, I know. TurboLinux uses it too (debian uses man provided by man-db)

 But Suse uses the same man as Debian.
 Are you sure that Suse has the -L option? (I don't know how to get the
 hands on a suse machine).

No, I'm not. I had Suse and RedHat and I remember that at least one of
them had that option. 

But the question is why debian have chosen that version of man ?


-- 
Peter
irc: #Debian.pl




e-mail errors

2000-08-03 Thread Paulo Henrique Baptista de Oliveira
Hi all,
I have a domain (domain.com) and want redirect all e-mail errors from
inexistentes e-mail ([EMAIL PROTECTED]) to my mail ([EMAIL PROTECTED]).
I'm using exim and potato.
Thanks, Paulo Henrique



Re: ppp connection speed

2000-08-03 Thread Philippe MICHEL


kmself@ix.netcom.com wrote:
 
 On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
  Hello,
 
  I am using Debian slink, and a standard modem/pppd connection to my
  provider.
 
  Everything works well since years (I used the same config with Slakware)
 
  But how/where can I see with which speed the modem has been connected ??
 
 Several graphical ppp monitors have speed indicators.  wmppp is one
 such.  Not sure of the KDE or Gnome desktops.

Yes but is there no log file to register this ? Independantly from X ?
ppp.log register the ip number got dynamicaly, but nothing about the
baudrate... Another idee ?

-- 
- Philippe MICHEL
- [EMAIL PROTECTED]
- [EMAIL PROTECTED]

Penser ne suffit pas : il faut penser à quelque chose. Jules Renard

= Dispensé de Politesse envers la PUB Sauvage !!!

-Pour répondre, supprimer eventuellement no_spam_ de mon adresse.
-Wenn Sie antworten, bitte no_spam_ von der Adresse löschen.
-If you respond to my mail, please remove the eventual no_spam_.



Console Problem

2000-08-03 Thread Jack Morgan
I'm having with my console nd running aplications (e.g. mutt,lynx) I'm using a 
laptop with 800x600 resolution, but i'm getting 640x480. How can I increase the 
resolution. Running potato.

TIA
Jack Morgan
[EMAIL PROTECTED]



Re: Man -K

2000-08-03 Thread John Hasler
Piotr Krukowiecki writes:
 But they don't. And you can't describe man which has 100 pages or more in
 one line.

Of course you.  More importantly, you can put the keywords that people are
most likely to search for in that one line.  The man foramt really ought to
include a 'keywords' line, though.

 I want to know why debian don't use that version of man.

Perhaps because you have not filed a wishlist bug against man-db suggesting
that Fabrizio do so.

Why don't you just write a little wrapper script for man to do this?
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Re: Console Problem

2000-08-03 Thread Moritz Schulte
On Thu, Aug 03, 2000 at 04:37:17PM +0900, Jack Morgan wrote:

 I'm having with my console nd running aplications (e.g. mutt,lynx)
 I'm using a laptop with 800x600 resolution, but i'm getting
 640x480. How can I increase the resolution. Running potato.

with framebuffer?

 moritz
-- 
/* Moritz Schulte [EMAIL PROTECTED]
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Re: cos() in math.h ?

2000-08-03 Thread David Teague
Hi 

I was bit by this bug in my first real C program.  1986? I looked
HARD. I had to figure it out from the manuals. 

With C not including some header files results in a default
prototype being used, int name(...);  which may get you linked ok,
but does no checking.

ANSI C is almost C++ The authors compiled all the programs in KR II
on an early C++ compiler. If you are willing to put up with some
very small differences between the C subset of C++ and gcc's C, you
can avoid this and get considerably more static error checking at
little cost by writing in C and compiling it as C++, with or without
the error checking options below:

#include stdio.h
#include math.h
int main()
{
  printf(%f\n, cos(3.14159263/4));
  return 0;
}

Compile:
g++ -W -Wall --pedantic stuff.c
// no compile/link errors
output:
0.707107

As someone points out, including the headers does not get you linked
to the libraries. g++ automatically links to most libraries, as well
as doing a bit more error checking.

--David
David Teague, [EMAIL PROTECTED]
Debian GNU/Linux Because software support is free, timely,
 useful, technically accurate, and friendly.

On Thu, 3 Aug 2000, William T Wilson wrote:

 On Thu, 3 Aug 2000, Christophe TROESTLER wrote:
 
  simply need to include `math.h'.  However, when I compile, I got the
  error:
  
  /tmp/cc9WOsLC.o(.text+0x16): undefined reference to `cos'
  collect2: ld returned 1 exit status
 
 This is actually a linker error - undefined references happen when the
 linker (which might be called by the compiler) tries to assemble the
 object files into an executable, but can't find all the function calls
 that the program wants to make.  cos() is in the math library, libm.a.  So
 you need to add -lm to the command line.
 
 Including math.h will allow the compiler to compile the object code
 (otherwise you would get warnings or errors about the function declaration
 for cos()) but the actual code that does the computation is in libm.



Re: new PC disk problem?

2000-08-03 Thread Peter S Galbraith

kmself@ix.netcom.com wrote:

 On Wed, Aug 02, 2000 at 10:27:59AM -0400, Peter S Galbraith wrote:
  I received a new Dell computer last week, and after a backup of
  my system tar reported problems with one file.  While trying to
  read that file, I get I/O errors:
  
   hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
   hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=10360592,
sector=4464737
   end_request: I/O error, dev 03:02 (hda), sector 4464737
  
  Bad disk?
  Should I contact Dell or test-torture it some more?
 
 ...did you run badblocks on it?

Just did, thanks.  I got the number of blocks on the partition
from fdisk like so:

# fdisk -l /dev/hda | grep hda2
/dev/hda2   368   877   4096575   83  Linux
# badblocks /dev/hda2 4096575
2232368
2232369
2232370
2232371
2232372
2232373
4096572
4096573
4096574

If I understand correctly, I should reboot using a rescue boot
disk (since this is on my root partition) and run:

# e2fsck -c /dev/hda2

   -c This option causes e2fsck to run  the  badblocks(8)
  program  to  find  any  blocks which are bad on the
  filesystem, and then marks them as  bad  by  adding
  them to the bad block inode.
Right?

It's bad that a brand new disk has bad blocks on it, isn't it?

Thanks again for the help, I appreciate it a lot.

Peter



Re: apt-get byte compile problem

2000-08-03 Thread Peter Mickle
Peter S Galbraith [EMAIL PROTECTED] writes:

 
 I really doubt that any files are being deleted.  Usually, .el
 files stay put in someplace like 
 
  /usr/share/emacs/site-lisp/
 
 and byte-compiled versions go in:
  
  /usr/share/emacs/19.34/site-lisp/
  /usr/share/emacs/20.6/site-lisp/
  /usr/share/xemacs20/site-lisp/
  /usr/share/xemacs21/site-lisp/
 
 Peter
 
Thanks for the reply, just to let you know, system-wide searches for .el and
.elc files show totally different files
   find / -name *.el 
   find / -name *.elc

The .el versions of the byte compiled files are not on the system. 

Peter
-- 
Peter Mickle
[EMAIL PROTECTED]



Network Printing, from an Apple, to Debian, one small? problem

2000-08-03 Thread Adam Scriven
Ok, thanks to all the great suggestions, I can now see the Canon on the 
Mac+, and it tries to print.

The problem is, there's no PPD file that I can find for it.

Does this mean that I'm screwed?
I've searched the canon site, I downloaded the canon set from Adobe, but 
there's nothing that even looks remotely similar to my printer in those files.


(On the up side, it works like a charm with Samba on the PC, and all the 
Appletalk mounting is working just fine.  All that's bust is this printer 
for the Mac)


My printer is setup like this (from /etc/printcap):
lp|bjc1000|Canon BJC-1000:\
:lp=/dev/lp0:sd=/var/spool/lpd/bjc1000:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/bj600-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

and my papd.conf file looks like this:
BJC1000:\
  :pr=|lpr:

AFAIK, this should spool the print jobs as the user who's printing them, 
but I'm worried about the lack of ppd line.  The LaserWriter driver is 
installed on the Mac+, sees the network printer, and attempts to print to 
it, but it never gets to the print queue (as seen from lpq).


Thanks again!
Adam
Toronto, Ontario, Canada



the finer points of pump configuration (dhcp cable modem)

2000-08-03 Thread Tester
Pump seems to be working fine from root's command line
without any config customization at all; now I'd like to
know the debianly correct  polished way to run it.  Some of
the questions I haven't found answered in the documentation
are:

Where do I specify that it should run when the system is
booted?

I would also like to be able to start/stop it using a
left/right click on my eth0 monitoring app.  However,
although it is world executable, it simply quits if an
unprivileged user runs it, saying pump: must be run as
root.

What is the purpose of the /etc/default/pump?

And what's the equivalent of /etc/ppp/ip-up when using a
cable modem (I'm wondering where a firewall script should be
called from.).

thanx.
(cc not req'd, I read the ng)



Re: disk partition using fips

2000-08-03 Thread David Wright
Quoting SDI  Semiconductor Instruments\ ([EMAIL PROTECTED]):

 So I duely ran noton and defragged, which put all the stuff in the first
 10% of the disk.
 But, looking on the map , the last sector had hidden files on it.
 So I turned on visualization in Win 98ofhidden file types.and system
 files- a total of 7 megs !
 
 I realize that I can change all the file attributes somehow (I've yet to
 find the command under dos ), and then re-defrag , then re-attribute the
 files asa before.
 
 But it strikes me the more intelligent way to do things would be to
 discover from the fat or somehow else the ids of the files in the last
 sector.
 
 Is there no way of doing this ??
 How can you read the fat ?

When I did this for my first Debian system on a W95 computer,
I just used the ATTRIB *.* command to find the names of the files
that were RSH. Then I did ATTRIB -r -s -h FILENAME and copied
them, deleted the original, renamed the copy and put +r +s +h back.
(The copies landed just after the freshly defragged files.)

I think I checked that I hit the right files by just trying FIPS until
it didn't complain. There were very few of them.

BTW I had probably turned off any swapfile before I started. I would
imagine that moving an active swapfile would be very dangerous as this
is one case where absolute disk addresses are likely to be used.
(LILO's /boot is another.)

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Eterm upgrade

2000-08-03 Thread Dave Sherohman
I just updated from eterm_0.8.10-10 to eterm_0.9.0-7 last night.  Although
the new version plays much more nicely with WindowMaker, the process has been
somewhat less than pleasant, what with changes to configuration options and
even the name of the theme files changeing, but I've got it mostly working
now.

A few problems persist, however:

- Most importantly, my Home and End keys no longer work.  I tried installing
the Eterm.ti from /usr/share/doc/eterm, but it came back with a number of
errors.  I've also tried changing $TERM from xterm (the new default) to
xterm-debian (the old default), but that had no effect - either way, home/
end just beep and display a ~.

- Menus do not appear to be functional.  theme.cfg includes menus.cfg, which
I assume to be valid, but no menu appears.

- When pasting text into an Eterm, the cursor changes into a hollow block,
which typically indicates a nonfocused window, even though the Eterm retains
focus.  Moving the mouse over another window and back (I use sloppy focus
mode) restores it, but it can be a tad confusing...

Any tips on fixing these problems (other than go back to 0.8.10)?

-- 
Two words: Windows survives. - Craig Mundie, Microsoft senior strategist
So does syphillis. Good thing we have penicillin. - Matthew Alton
Geek Code 3.1:  GCS 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++ y+



Adapted AHA1542 Problems.

2000-08-03 Thread Adam Scriven

Hey again.

I've got an old ISA AHA-1542CF SCSI card in my new fileserver.  The bios 
for the card boots up OK, and I can see all devices on it (just a zip drive 
right now, ID 6), but the card isn't being seen in Debian.
I compiled the driver as a module (I've recompiled a much nicer kernel 
already, cut the size in half), and the module's available in Modconf, but 
I get a Device or resource busy, and the installation fails.


One of the message states that this may be caused by an invalid IO, IRQ, or 
DMA.  The IO is non-standard, I have it on 0x130.


So, I tried to fix that with a boot parameter, aha1542=0x130, but that 
doesn't seem to have done anything either.


Would someone please point me in the right direction?
Thanks very much!
Adam
Toronto, Ontario, Canada



Cc: to poster (was Re: OT: less v. more...)

2000-08-03 Thread Bolan Meek
Gerfried Fuchs wrote:
 
 On 02 Aug 2000, Bolan Meek [EMAIL PROTECTED] wrote:
  On topics arisen from this discussion,
  Gerfried Fuchs wrote:
   ...BTW, please refrain from sending to _both_ the list and me,
   I read the list. ...

  One may assume that those whose names one sees often
  are subuscribed, but how to be sure, generally?  I propose

  ...In general, on open lists you should assume
 one is reading the list s/he is posting to

Ah, good, so, with this assumption, one ought to remove the
personal To:'s and Cc:'s, unless requested? (Like you did..)

  a habit of including in the .sig a notice:
I'm on this list

  ...And how should I know what e.g. Ben had in his
 signature about being on the list or not? How should one know what your
 intention was to Cc: him?  This might work for the first time, but not
 for the next replies (which, on a discussion-list are very likely).

Well, if his .sig was respected, he should no longer be in the
Cc: list, in the first place.  But the point is taken about the
.sig not being worth much for this, as a convention.  It also
occurs to me that some might not want to yield their .sig space
for this, in favor of whatever political/religious/humor message.

 ...
Brian May wrote:
 
  Gerfried == Gerfried Fuchs [EMAIL PROTECTED] writes:
 
 Gerfried  I go another way: I included now a header that should
 Gerfried be respected by most MUAs: Mail-CopiesTo: never
 
 The mail-copies-to header does sound good, but I have mixed feelings
 as to if it really solves the problems.
 
 Oh, BTW, Mail-CopiesTo: never is obsolete, use nobody instead. See
 http://www.newsreaders.com/misc/mail-copies-to.html
 
 Mostly coming from this:
 
 Gerfried  I think newcomers should rather be guided to _not_ Cc:
 Gerfried one posting to a list than to rely on some obscure
 Gerfried sentence in one's signature. The header I noticed is a
 Gerfried proposed draft that is included in some MUAs, and will
 Gerfried quite possibly be in by more in the future.

OK.  So henceforth, my practice will be to remove personal Cc:s
Thank you.

 ...
 I would prefer another header (does the followup-to header do
 this??), that is like reply-to:, except it works for group
 followups, rather then private replies. Even better, if it supported
 mailing lists *and* newsgroups... If the poster hasn't submitted one,
 the mailing list software could add a default one. If there is already
 a header, it shouldn't be replaced.
 
 Another-words, I think it should be up to the sender to specify
 exactly where the group reply should go. If the sender doesn't say,
 then the mailing list should be able to specify. This should happen
 without affecting private replies (so reply-to can't be used).

One problem I have, is that posts come to me From: the poster,
and my MUA doesn't respect the Resent-from: header, so if
I `Reply`, it goes only to the poster, but when I `Reply-all`, the
list is Cc:ed.  I haven't noticed a Followup-to: header (but I
haven't sought them, either), so I don't know what my MUA
shall do with those.


-- 
I'm on the -user list.

[EMAIL PROTECTED] 972-729-5387
[EMAIL PROTECTED] (home ph. on Q) http://www.koyote.com/users/bolan
RE: xmailtool http://www.koyote.com/users/bolan/xmailtool/index.html
RMS of Borg: Resistance is futile; you shall be freed.



Re: Cc: to poster (was Re: OT: less v. more...)

2000-08-03 Thread Ben Pfaff
Frankly, I'd appreciate it if you guys would stop CC:'ing *me* in
this discussion, which is *way* sidetracked from what I wrote.



System locking

2000-08-03 Thread Jeronimo Pellegrini

Hello,

 some weeks ago, my system began to lock. Everything locks --
 including the keyboard (so the SysRq key doesn't help).

 I've bought a new CPU fan, becuase I thought it could be the
 problem... But that didn't help.

 I also thought it could be memory, but I have been compiling kernels
 (sort of 5 times a week) and other big things (like Berlin), and
 I never got any errors during these compilations...

 I also thought it could be xmms, but it locekd without it running...

 And this happened with both 2.4.0-test5 and 2.2.16 kernels!

 Can this be an X problem?

 It did not happen when I ws using X 4.0.1, but it did happen when I
 went back to 3.3.6...

 Did anyone hve that sort of problem?

 Any ideas of what may be happening?

 Any help will be greatly appreciated.

Thanks,
J.

-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]



Re: holly crap!

2000-08-03 Thread Nitebirdz
On Thu, 3 Aug 2000, Andrei Ivanov wrote:

  I've done somethig very bad.. I did:
  
  rm * /var/spool/fax/outgoing 
  
  I was user not root (little sigh), but I lost a lot of data.. Is there
  ANYWAY to recover all the lost files in /home/me ???
 
 I guess you were in home when you did that.
 Well, nope. Unless you made backups, whatever you deleted is now gone.
 I dont think there's a way to recover it. I'd love to know a way, though,
 if there is one. (Perhaps a little modification could be done to rm
 commandmake a recovery bin of a sort, copy files into there up to
 certain size, not delete them. But thats up to individual sysadmins to
 implement)
 Andrei

Not much luck.  A quick search came up with some interesting links though:

http://www.linuxdoc.org/HOWTO/mini/Ext2fs-Undeletion.html
http://www.faxandbackup.com/linux.htm



--
Nitebirdz
http://www.linuxnovice.org
Tips, articles, news, links...



Re: holly crap!

2000-08-03 Thread Tom Pfeifer
Jaye Inabnit ke6sls wrote:
 
  Help,  PLEASE HELP
 
 I've done somethig very bad.. I did:
 
 rm * /var/spool/fax/outgoing
 
 I was user not root (little sigh), but I lost a lot of data.. Is there
 ANYWAY to recover all the lost files in /home/me ???
 
 thanks . . .

The Ext2fs Undeletion mini-HOWTO may be of some help. I've never tried
file recovery on ext2fs myself.

http://www.linuxdoc.org/HOWTO/mini/Ext2fs-Undeletion.html

Tom



Re: disk partition using fips

2000-08-03 Thread Tom Pfeifer
Since you have Norton Utilities, be aware that the Image program that
comes with it will typically keep a couple files at the end of a
partition. These files will be in the root directory and have names like
image.bak, image.idx, image.dat. If you have those they can be safely
deleted - Image will regenerate them when you run it again. Also be
aware that Image can be configured to run automatically at boot, so if
you have that feature enabled, it will recreate those files the next
time you boot.

Another way that has worked for me is to run the Win98 Defrag program
form Start - Run like this:

defrag c: /p   (assuming this is the c: drive)

The /p should put all files at the beginning of the partition, leaving
all free space in a conitguous block at the end.

Tom


\SDI \\\Semiconductor Instruments wrote:
 
 I would dearly like to repartition a drive on my systemto give me
 MORE spacefor linux.
 
 So I duely ran noton and defragged, which put all the stuff in the first
 10% of the disk.
 But, looking on the map , the last sector had hidden files on it.
 So I turned on visualization in Win 98ofhidden file types.and system
 files- a total of 7 megs !
 
 I realize that I can change all the file attributes somehow (I've yet to
 find the command under dos ), and then re-defrag , then re-attribute the
 files asa before.
 
 But it strikes me the more intelligent way to do things would be to
 discover from the fat or somehow else the ids of the files in the last
 sector.
 
 Is there no way of doing this ??
 How can you read the fat ?
 
 I figure with a bit of math I can work out how to read the darned thing.



Re: System locking

2000-08-03 Thread Thomas Guettler
On Thu, Aug 03, 2000 at 12:42:10PM -0300, Jeronimo Pellegrini wrote:
 
 Hello,
 
  some weeks ago, my system began to lock. Everything locks --
  including the keyboard (so the SysRq key doesn't help).
 
  I've bought a new CPU fan, becuase I thought it could be the
  problem... But that didn't help.
 
  I also thought it could be memory, but I have been compiling kernels
  (sort of 5 times a week) and other big things (like Berlin), and
  I never got any errors during these compilations...
 
  I also thought it could be xmms, but it locekd without it running...
 
  And this happened with both 2.4.0-test5 and 2.2.16 kernels!
 
  Can this be an X problem?
 
  It did not happen when I ws using X 4.0.1, but it did happen when I
  went back to 3.3.6...
 
  Did anyone hve that sort of problem?

If the NFS-Server hangs where I get my $HOME from,
I got this problem, too. But I can still telnet
to this machine. 

Using X3.3.6, enlightment 0.16.3)

-- 
   Thomas Guettler
Office: 
  [EMAIL PROTECTED]  http://www.interface-business.de
Private:
  [EMAIL PROTECTED]  http://yi.org/guettli




Re: Network Printing, from an Apple, to Debian, one small? problem

2000-08-03 Thread keke abe
Adam Scriven wrote:

 The problem is, there's no PPD file that I can find for it.

You need a ppd file for Apple Laser Writers, not for Canon's.

LaserWriter Personal NTR(APLWNTR1.PPD) should work. If you don't
have it already, you can download it from:

ftp://ftp.adobe.com/pub/adobe/printerdrivers/mac/all/ppdfiles/apple.sit.hqx


hope this helps,
abe



Re: new PC disk problem?

2000-08-03 Thread kmself
On Thu, Aug 03, 2000 at 09:35:03AM -0400, Peter S Galbraith wrote:
 
 kmself@ix.netcom.com wrote:
 
  On Wed, Aug 02, 2000 at 10:27:59AM -0400, Peter S Galbraith wrote:
   I received a new Dell computer last week, and after a backup of
   my system tar reported problems with one file.  While trying to
   read that file, I get I/O errors:
   
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=10360592,
 sector=4464737
end_request: I/O error, dev 03:02 (hda), sector 4464737
   
   Bad disk?
   Should I contact Dell or test-torture it some more?
  
  ...did you run badblocks on it?
 
 Just did, thanks.  I got the number of blocks on the partition
 from fdisk like so:
 
 # fdisk -l /dev/hda | grep hda2
 /dev/hda2   368   877   4096575   83  Linux
 # badblocks /dev/hda2 4096575
 2232368
 2232369

...

 If I understand correctly, I should reboot using a rescue boot
 disk (since this is on my root partition) and run:
 
 # e2fsck -c /dev/hda2
 
-c This option causes e2fsck to run  the  badblocks(8)
   program  to  find  any  blocks which are bad on the
   filesystem, and then marks them as  bad  by  adding
   them to the bad block inode.
 Right?

Not sure as I've never had to deal with a disk with bad blocks on it.

 It's bad that a brand new disk has bad blocks on it, isn't it?

Yes.  I'd return it for an exchange to the vendor.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpnTOWbRm7u1.pgp
Description: PGP signature


Re: ppp connection speed

2000-08-03 Thread kmself
On Thu, Aug 03, 2000 at 01:55:51PM +0200, Philippe MICHEL wrote:
 
 
 kmself@ix.netcom.com wrote:
  
  On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
   Hello,
  
   I am using Debian slink, and a standard modem/pppd connection to my
   provider.
  
   Everything works well since years (I used the same config with Slakware)
  
   But how/where can I see with which speed the modem has been connected ??
  
  Several graphical ppp monitors have speed indicators.  wmppp is one
  such.  Not sure of the KDE or Gnome desktops.
 
 Yes but is there no log file to register this ? Independantly from X ?
 ppp.log register the ip number got dynamicaly, but nothing about the
 baudrate... Another idee ?

The raw information is available under /proc/net, and possibly
elsewhere.  You might be able to pull something together from that.  You
could also check sites such as Freshmeat for a tool that logs ppp0 buad
rates or transfer speed.  I'm not aware of one, this doesn't mean it
doesn't exist.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpUwN5T0WL3Z.pgp
Description: PGP signature


Re: new PC disk problem?

2000-08-03 Thread Peter S Galbraith

On Wed, Aug 02, 2000 at 10:27:59AM -0400, Peter S Galbraith wrote:

 I received a new Dell computer last week, and after a backup of
 my system tar reported problems with one file.  While trying to
 read that file, I get I/O errors:
 
  hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest
   Error }
  hda: read_intr: error=0x40 { UncorrectableError },LBAsect=10360592,
   sector=4464737
  end_request: I/O error, dev 03:02 (hda), sector 4464737
 
 Bad disk?
 Should I contact Dell or test-torture it some more?

kmself@ix.netcom.com wrote:
 ...did you run badblocks on it?

Peter S Galbraith wrote:
 Just did, thanks.  I got the number of blocks on the partition
 from fdisk like so:
 
 # fdisk -l /dev/hda | grep hda2
 /dev/hda2   368   877   4096575   83  Linux
 # badblocks /dev/hda2 4096575
 2232368
 2232369
 [cut]
 
 If I understand correctly, I should reboot using a rescue boot
 disk (since this is on my root partition) and run:
 
 # e2fsck -c /dev/hda2
 
-c This option causes e2fsck to run  the  badblocks(8)
   program  to  find  any  blocks which are bad on the
   filesystem, and then marks them as  bad  by  adding
   them to the bad block inode.
 Right?
 
kmself@ix.netcom.com wrote:
 Not sure as I've never had to deal with a disk with bad blocks on it.

I did that, and it seems to have worked (that is, I made a tar
backup afterwards without errors).  I'll run badblocks on all
other partitions on that disk to check (Will take a _long_ time,
it's a 45GB disk).
 
  It's bad that a brand new disk has bad blocks on it, isn't it?
 
 Yes.  I'd return it for an exchange to the vendor.

Thanks.  (That'll cost me some time!)

Peter



Re: Cc: to poster (was Re: OT: less v. more...)

2000-08-03 Thread kmself
On Thu, Aug 03, 2000 at 10:34:35AM -0500, Bolan Meek wrote:
 Gerfried Fuchs wrote:
  
  On 02 Aug 2000, Bolan Meek [EMAIL PROTECTED] wrote:
   On topics arisen from this discussion,
   Gerfried Fuchs wrote:
...BTW, please refrain from sending to _both_ the list and me,
I read the list. ...
 
   One may assume that those whose names one sees often
   are subuscribed, but how to be sure, generally?  I propose
 
   ...In general, on open lists you should assume
  one is reading the list s/he is posting to
 
 Ah, good, so, with this assumption, one ought to remove the
 personal To:'s and Cc:'s, unless requested? (Like you did..)

$0.02:

Posts to list are responded to on list.  Mutt supports this through the
L (rely to list) keybinding.  This also gets around (and moots) mailing
list software that defaults to reply to sender rather than reply to
list.  My procmail filters tend to dump list mail cc's to my list folder
-- cc's to me just result in duplicate items within the list folder.

I'll cc a person who requests an off-list response.  I generally don't
cotton personal requests I recieve as followups to a response I've made
on list (with or without a cc), though a status update is sometimes
interesting.

I'll forward a direct support request made to me rather than a list to
the list unless it comes from a personal friend.  I find this behavior
unspeakably rude.  I've had this policy for years on a number of mailing
lists.

...and I generally try to scan headers to see that I don't propogate cc:
lists, though I'll sometimes slip.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpB69ntKI42o.pgp
Description: PGP signature


Re: Fw: Free Linux Journal T-Shirt!

2000-08-03 Thread kmself
On Wed, Aug 02, 2000 at 08:58:46PM +0200, Jürgen A. Erhard wrote:
  kmself == kmself  kmself@ix.netcom.com writes:
 
 [...]
 
 kmself It's also worth noting that Slackware wasn't listed, nor
 kmself were any of the *BSDs.
 
 BSD?  Uhm, Karsten, last I checked, it was still the Linux journal.   ;-)

Not to pick nits, but I see it more as Journal of Things Related to
Linux and other Free Unices, and Free Software That Runs On Them, as
Well As All Those Legacy Proprietary Companies Which Are Trying To Join
Get On the Bandwagon, but that doesn't leave enough cover space for
the picture of Linus and the obligatory Ewing Tux image.  LJ has run
articles on software other than Linux, licensed under terms other than
free, and has included the occasional *BSD item to boot.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpKBDXOSm7Iv.pgp
Description: PGP signature


Alpha install

2000-08-03 Thread Chad Dale
I just went through the install for potato on an AlphaServer 400 4/166
system, and everything went fine, but when I reboot it does not take me into
the OS, I just get the SRM prompt again.

I try booting from the floppy again with

 boot dva0 -file linux -flag root=/dev/sda2

and it loads the kernel, gets just past mouting the root filesystem, then
kernel panics with..

Warning: unable to open an initial console
Kernal PanicL No init found. Try passing init= option to the kernel

but I have no idea what to do for this, can anyone help?

Also, when I try to run

 boot dka100

it complains about there not being a boot loader present..



Chad Dale
Software Developer
Versus Technologies Inc
(416) 214-7949
[EMAIL PROTECTED]



Re: Adapted AHA1542 Problems.

2000-08-03 Thread Alberto Brealey
On Thu, Aug 03, 2000 at 10:53:41AM -0400, Adam Scriven wrote:

 already, cut the size in half), and the module's available in Modconf, but 
 I get a Device or resource busy, and the installation fails.

i used to have the same problem.

 So, I tried to fix that with a boot parameter, aha1542=0x130, but that 
 doesn't seem to have done anything either.

each time i re-install windows on the box (every 6 months, tops), it fscks
the pnp info on every card, so i sometimes have to set my card on pnp or
manual config. when this happens, changing the io address fixes the device
or resource busy problem. if you can, you may want to try changing the card
io address and passing the new value to the module. not the nicest solution,
but has worked for me before.

hope that helps,

alberto.



Re: Adapted AHA1542 Problems.

2000-08-03 Thread Adam Scriven

At 11:11 2000/08/03 -0600, you wrote:

On Thu, Aug 03, 2000 at 10:53:41AM -0400, Adam Scriven wrote:
 So, I tried to fix that with a boot parameter, aha1542=0x130, but that
 doesn't seem to have done anything either.

each time i re-install windows on the box (every 6 months, tops), it fscks 
the pnp info on every card, so i sometimes have to set my card on pnp or 
manual config. when this happens, changing the io address fixes the 
device or resource busy problem. if you can, you may want to try 
changing the card io address and passing the new value to the module. not 
the nicest solution, but has worked for me before.


Hrm...the only thing is, I haven't used the card in quite a long time, not 
in a windows box or anything...for like 6 months.


I'll give it a try, tho (Of course, I just pushed the server back into it's 
spot, so I've gotta pull the [EMAIL PROTECTED] thing out again. 8-)


Thanks!
Adam
Toronto, Ontario, Canada



Re: gzipped readmes in /usr/doc/*

2000-08-03 Thread Sven Burgener
On Wed, Aug 02, 2000 at 06:20:29PM -0500, Kent West wrote:
[Only HTML]

Cut it out, would you please...

Sven
-- 
Windows does *not* have bugs. It just develops random features.



Re: System locking

2000-08-03 Thread kmself
On Thu, Aug 03, 2000 at 12:42:10PM -0300, Jeronimo Pellegrini wrote:
 
 Hello,
 
  some weeks ago, my system began to lock. Everything locks --
  including the keyboard (so the SysRq key doesn't help).
 
  I've bought a new CPU fan, becuase I thought it could be the
  problem... But that didn't help.
 
  I also thought it could be memory, but I have been compiling kernels
  (sort of 5 times a week) and other big things (like Berlin), and
  I never got any errors during these compilations...
 
  I also thought it could be xmms, but it locekd without it running...
 
  And this happened with both 2.4.0-test5 and 2.2.16 kernels!
 
  Can this be an X problem?
 
  It did not happen when I ws using X 4.0.1, but it did happen when I
  went back to 3.3.6...
 
  Did anyone hve that sort of problem?
 
  Any ideas of what may be happening?

I've had similar problems which turned out to be an interaction between
smbfs and the 2.2.14 kernel.  Drove me nuts for months.  Try going back
to a known stable configuration, then figuring out what specific change
breaks things.  I don't know what specifically is wrong in your case,
but I've experienced (and heard of) occasional conflicts between
components causing hard locks.

In my case, I ruled out hardware by doing a full system migration.
Swapped literally everything, and the symptoms persisted.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpTixCPdVMzf.pgp
Description: PGP signature


find question

2000-08-03 Thread Shao Zhang
Hi,
can somebody help me with this one?

% find `pwd` \( -name *.log -o -name *.aux \)  
/home/shao/report/main.log
/home/shao/report/main.aux
/home/shao/report/title.aux
/home/shao/report/abstract.aux

% find `pwd` \( -name *.log -o -name *.aux \) -exec 'rm {}' ';'
find: rm /home/shao/report/main.log: No such file or directory
find: rm /home/shao/report/main.aux: No such file or directory
find: rm /home/shao/report/title.aux: No such file or directory
find: rm /home/shao/report/abstract.aux: No such file or directory

Thanks for any help in advance.

Regards,

Shao.

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: X with a S3 Trio64V+ card

2000-08-03 Thread Bolan Meek
Stefan Bellon wrote:
 
 Hi everybody!
 
 Does anybody have a XF86Config file for the S3 Trio64V+ card? I've
 managed to get a 800x600 running, but I'd like to increase to 1024x768.
 Whenever I modify the XF86Config (with XF86Setup) to contain a 1024x768
 ModeLine, the server dies when trying to start it.
 
 Isn't such a resolution possible with this card?

I have S3 Trio64V+ in a EonTronics Renoir card, originally with 1MB,
lately upgraded to 2MB.  I have 1152x7??x16bpp.  I had to use 1152x7??
at 8bpp until my upgrade.

What color depth are you trying to use?

Please be sure to Cc: both my addresses, since I'm dropping off the
list until after the weekend.
-- 
[EMAIL PROTECTED] 972-729-5387
[EMAIL PROTECTED] (home ph. on Q) http://www.koyote.com/users/bolan
RE: xmailtool http://www.koyote.com/users/bolan/xmailtool/index.html
RMS of Borg: Resistance is futile; you shall be freed.



Re: ppp connection speed

2000-08-03 Thread John Hasler
Karsten M. Self writes:
 The raw information is available under /proc/net,...

That is just the speed of the connection from the computer to the modem.
It is generally much higher then the modem bit rate (not baud rate.

There is an AT command to tell your modem to report the bit rate and a chat
option to tell it to log the modem report.  Read your modem manual and man
chat.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Re: noise from monitor, HELP!

2000-08-03 Thread Stephan Hachinger
Oh, I forgot to post this... only sent it to John.


- Original Message -
From: Stephan Hachinger [EMAIL PROTECTED]
To: John Pearson [EMAIL PROTECTED]
Sent: Wednesday, August 02, 2000 12:49 PM
Subject: Re: noise from monitor, HELP!


 Hello!


   Now all of a
   sudden I get a VERY high pitched noise from it when in X. It does not
do
   this on the console! It has become more and more frequent and is
   starting to drive me nuts (well more then usual :) I know it's the
   monitor because I can turn it off while it's doing it and the noise
   stops. Does anyone know what the problem might be?
  
 
  If it is a regular CRT-style monitor, there are wire coils
  wrapped around the CRT to deflect the electron beam to provide
  horizontal  vertical deflection; these are probably glued in
  place (or at least, in bundles) using epoxy resin or something
  similar.
 
  Probably, the epoxy has cracked or come loose from whatever it's
  anchored to at some point and what you can hear is some or all
  of the windings on the horizontal deflection coil rattling back
  and forth in time to the horizontal scan, in accordance with
  Newton's laws (For every action there is an equal and opposite
  reaction).  Just maybe, it's some other part of your monitor's
  yoke doing the same thing.  It's irritating as hell if you can
  hear it, but it shouldn't affect the monitor's performance or
  reliability.

 John is right! It's probably one of the wire coils, as I just read on a
 German homepage.

 Andrew wrote:
  I usually just hit mine :)
 He's wrong, I think. Hitting electronic components indeed stops many
 problems, but in this case, the deflection coils get even more loose and
so
 it's just a temporary solution.


  Possible solutions:
- Pay someone to fix it.  If you take it in for a service, be
  *very*clear* about the problem or it probably won't get fixed
  (chances are, most of their techs won't be able to hear it).
 This is the only one I suggest!

 Or perhaps, at a lower or higher vertical frequency, the noise does not
 appear any more.

 You can also try to fix the coils yourself. But be aware of HIGH VOLTAGES
 appearing in monitors even if they are plugged off. There are capacitors
 installed. So, if you wanna fix them, put on rubber gloves. And start the
 repair after you have plugged it off for some hours. Don't touch any metal
 parts if possible, because there are maybe still parts carrying high
 voltage.

 To repair it, simply open the case, locate the coils and fix them using
 epoxy 2-component glue.

 If the problem does not disappear after this action, maybe it wasn't
caused
 by the deflection coils but by the line transformer (this is how Germans
 call it, I don't know if this is good English). I've read that this
 transformer can be located by backtracing the thick anode cable starting
at
 the picure tube. The site said you can fix the parts of this transformer
 using plastic spray. Does anyone know if epoxy also works? I think so.

 *IMPROTANT* If you open the monitor case, the granted guarantee period is
 definitely aborted and over. And I have once opened a monitor using thick
 rubber gloves, but never done the above to any. So I do not know what the
 result will be. If you don't know about electronics, you should better
have
 it fixed by anyone else instead of lying kind of ESD-demaged besides
your
 monitor and not moving any more. But it is very likely that fixing the
 deflection coils will fix the problem for the next years. About the
plastic
 spray: I do not know what it is and if it works and what happens if you
 don't spray it only on your trafo but also on the rest of the electrics by
 accident. I've only read about it.


 Regards,

 Stephan Hachinger




Re: ppp connection speed

2000-08-03 Thread Ron Farrer
kmself@ix.netcom.com (kmself@ix.netcom.com) wrote:

 On Thu, Aug 03, 2000 at 01:55:51PM +0200, Philippe MICHEL wrote:
  
  
  kmself@ix.netcom.com wrote:
   
   On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
Hello,
   
I am using Debian slink, and a standard modem/pppd connection to my
provider.
   
Everything works well since years (I used the same config with Slakware)
   
But how/where can I see with which speed the modem has been connected ??
   
   Several graphical ppp monitors have speed indicators.  wmppp is one
   such.  Not sure of the KDE or Gnome desktops.
  
  Yes but is there no log file to register this ? Independantly from X ?
  ppp.log register the ip number got dynamicaly, but nothing about the
  baudrate... Another idee ?
 
 The raw information is available under /proc/net, and possibly
 elsewhere.  You might be able to pull something together from that.  You
 could also check sites such as Freshmeat for a tool that logs ppp0 buad
 rates or transfer speed.  I'm not aware of one, this doesn't mean it
 doesn't exist.

Excuse the interuption here (I missed the first message) but on every
potato install I've done (not sure about slink... been too long!) pppd
reports all interesting information to '/var/log/messages' and all ppp
data to '/var/log/ppp.log' Here is a quick listing of mine:

# grep Aug  3 /var/log/ppp.log | grep chat | grep /
Aug  3 08:48:53 mustang chat[9861]:  26400/ARQ/V34/LAPM/V42BIS^M


Looking more closely I see this is text my provider sends during
connection (along with other info) and not something from pppd or it's
friends. This may not be useful to you (probably not) but you may want
to try adding ECHO ON to your '/etc/chatscripts/provider' so that any
such messages get logged. 


HTH,

Ron
-- 
Email: mailto:[EMAIL PROTECTED] 
Home:  http://www.farrer.net/~rbf/
ICQ: pulsar 26276320


pgpMruSzSObTE.pgp
Description: PGP signature


Palm packages

2000-08-03 Thread Frodo Baggins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi debians,
   Looking into the local package database with dpkg -l *palm* I
found two packages concerning palm, namel gcc-mk68-palmos anf
binutils-m68k-palmos. If I understand weel, they allows to install a
cross-compiler for palmos. Now, doing dselect I'm unable ti find these
packages... Here is my /etc/apt/source.list

deb http://www.mirror.ac.uk/sites/ftp.debian.org/debian potato main contrib 
non-free
deb http://spidermonkey.helixcode.com/distributions/debian unstable main
deb http://www.mirror.ac.uk/sites/non-us.debian.org/debian-non-US potato/non-US 
 main contrib non-free
deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian potato main contrib 
non-free
deb-src http://spidermonkey.helixcode.com/distributions/debian unstable main
deb-src http://www.mirror.ac.uk/sites/non-us.debian.org/debian-non-US 
potato/non-US  main contrib non-free

Could someone explain me how to find these packages? And, by the way,
how happens that there are packages that I can find with dpkg -l but
not with dselect?

- -- 
Leo TheHobbit 
IRCnet #leiene
ICQ 56656060

- -BEGIN GEEK CODE BLOCK-
Version: 3.1
GED/CS d? s-:+-: a C+++ U+++ L++(+++) P E+(++) 
W++ N+ K? o? !w O? M V--- PS+++ PE-- Y+ GPG+ t++ 5? X- R+ tv+ 
b D? DI? G e()* h(+) r--(---) y(+)--+++*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard 
http://www.gnupg.org/

iD8DBQE5ibN1v9iOG/S6owkRAonjAKCZiu7EPLmRd9U/z2QeEBNAv4IFzACgh+4P
//jXlOmDFvdIQtCeCUlRk7E=
=NnBX
-END PGP SIGNATURE-



What do I have to do to get my server running?

2000-08-03 Thread Cameron Matheson
Hey,

I'm turning my Linux into a server for my family's to Windoze machines,
but I'm not sure what exactly to do.  I've installed the Samba packages,
and compiled SMB support into the kernel.  I've got my NE2000 working,
so now I just need to know how to connect to the network.  Any help
would be appreciated.

(My server will be somewhat useless, as their are only two computers
it's serving, but I'm doing it for the learning experience)

Thanks,
Cameron Matheson



Re: ppp connection speed

2000-08-03 Thread Christopher Mosley


On 3 Aug 2000, John Hasler wrote:

 Karsten M. Self writes:
  The raw information is available under /proc/net,...
 
 That is just the speed of the connection from the computer to the modem.
 It is generally much higher then the modem bit rate (not baud rate.

higher rate useful for on the fly modem compression/decompression
of compressible data.  

Yes, just play with the AT commands manually using just a serial connection
to get bit rate - modem protocol. Automate it later.

Rule of thumb (thumbs may vary) an ftp transfer of ~4000 chars per
second for a well compressed file (zip etc.) for a 28k  connection. 


 
 There is an AT command to tell your modem to report the bit rate and a chat
 option to tell it to log the modem report.  Read your modem manual and man
 chat.
 -- 
 John Hasler
 [EMAIL PROTECTED]
 Dancing Horse Hill
 Elmwood, Wisconsin
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 








Re: Alpha install

2000-08-03 Thread Ron Farrer
Chad Dale ([EMAIL PROTECTED]) wrote:

 I just went through the install for potato on an AlphaServer 400 4/166
 system, and everything went fine, but when I reboot it does not take me into
 the OS, I just get the SRM prompt again.
 
 I try booting from the floppy again with
 
  boot dva0 -file linux -flag root=/dev/sda2
 
 and it loads the kernel, gets just past mouting the root filesystem, then
 kernel panics with..
 
 Warning: unable to open an initial console
 Kernal PanicL No init found. Try passing init= option to the kernel
 
 but I have no idea what to do for this, can anyone help?
 
 Also, when I try to run
 
  boot dka100
 
 it complains about there not being a boot loader present..

I'm CC'ing debian-alpha since that's where most of us hang out... 


Ok the first thing I'm curious about is whether your kernel image is
really 'linux' usually it is something along the lines of 
'boot/vmlinuz-2.2.14'. Second are you sure 'sda2' is your root partion?
While very possible that it is, usually (at least in my experince) it
starts somewhere around 'sda5' or 'sda6' (but I could be wrong!) 

Also did you setup aboot? You should have left some space at the
begining of the drive for aboot since SRM doesn't know anything about
partitions. 


HTH,

Ron
-- 
Email: mailto:[EMAIL PROTECTED] 
Home:  http://www.farrer.net/~rbf/
ICQ: pulsar 26276320


pgpfBC1RvRV7u.pgp
Description: PGP signature


Re: X with a S3 Trio64V+ card

2000-08-03 Thread Stefan Bellon
In article [EMAIL PROTECTED],
   Bolan Meek [EMAIL PROTECTED] wrote:
 Stefan Bellon wrote:

[1024x768 on S3 Trio64V+]

  Isn't such a resolution possible with this card?

 I have S3 Trio64V+ in a EonTronics Renoir card, originally with 1MB,
 lately upgraded to 2MB.  I have 1152x7??x16bpp.  I had to use 1152x7??
 at 8bpp until my upgrade.

I think an upgrade is not possible.

 What color depth are you trying to use?

Well, I'd like to use the highest color depth possible at 1024x768.
800x600 simply is too small to work with.

Do you have your old XF86Config around somewhere? Or do you remember
what color depth was possible at 1024x768 before the upgrade?

Thank you very much for your response! You're giving me hope back
again. :-)

Greetings,

Stefan.

-- 
 Stefan Bellon * mailto:[EMAIL PROTECTED] * http://www.sbellon.de/

 Saying your OS is better because more people use it is like
 saying McDonald's make the best food in the world.



Re: find question

2000-08-03 Thread Alexey Vyskubov
 % find `pwd` \( -name *.log -o -name *.aux \) -exec 'rm {}' ';'
 find: rm /home/shao/report/main.log: No such file or directory

It tries to execute command rm[space]/home/shao/report/main.log. Of course
there is no such command. You should execute 'rm' with filename as a parameter;
so write

rm '{}' ';'

instead of

'rm {}' ';'


-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


pgpIvqpFsCyDX.pgp
Description: PGP signature


Re: holly crap!

2000-08-03 Thread Jaye Inabnit ke6sls

Hello,

I wanted to drop this back to the list and thank EVERYONE who took
a moment to reply to my major oopsie I have never done something
to was so destructive and so very fast - yup, linux is truly a power OS..

I did loose it all. I was going to copy the whole hd, so I installed a new 20
gig wd... On boot, linux decided it had to clean hda.. Nuff said.. But I 
can deal with it. Yes, Lost a lot of neat stuff that should have been put
away in a much cleaner manor. Yes, backups ARE required, often.
Yes, the CD-R/RW has now been installed!

Still, thank you all. You will probably never understand how much help
you have been to me in my blind linux pursuits.

Regards

On Wed, 02 Aug 2000, Jaye Inabnit ke6sls wrote:
 Help,  PLEASE HELP
 
 
 I've done somethig very bad.. I did:
 
 rm * /var/spool/fax/outgoing 
 
 I was user not root (little sigh), but I lost a lot of data.. Is there
 ANYWAY to recover all the lost files in /home/me ???
 
 thanks . . .
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
707-442-6579 h/m 707-441-7096 p
http://www.qsl.net/ke6slsICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.



Broken X

2000-08-03 Thread Philip Downer

If anyone could help me with this I'd appreciate it. I've just installed debian 
potato test-cycle-1 (some cds I bought at UK Linux Expo 2000). However whenever 
I run X I get the following message:

Fatal Server Error: cannot open mouse (No such file or directory)

I decided to create the directory /dev/mouse and /dev/tty00 and I've tried 
pointing xf86config at them and I now get the following error

Fatal Server Error: cannot open mouse (is a directory)

I have an Microsoft Optical Intellimouse Explorer (I don't like their software, 
but this is a VERY nice mouse) on the PS/2 port.

Phil.



Re: disk partition using fips

2000-08-03 Thread SDI \\
In the meantime, I actually worked out a crummy, lowtech solution to the
problem.
I happened to have an old version of a Windows disk tool called
NUTS AND BOLTS by McAffee.
If you go into the disk defragmenting section of this toolset, it shows a
detailed display of what is in all of the blocks on the disk when you move the
mouse over the graphical display which is REALLY NEAT ( unlike the rest of the
package .).

I discovered that the last block of the disk was filled with files from my
Notron Utilities Version 3.07.
The offending files were all from the LIVEUPDATE directory. Eurrggh !
(I removed them by deleting the whole directory- who needs updates !!!???).
Then FIPS worked fine.

Of course, for the price of the Nuts and Bolts software, I'm sure you could
buy a newbie-friendly disk partitioning package like partition magic.

I'd still love to know how to read FATs from DOS

David Wright wrote:

 Quoting SDI  Semiconductor Instruments\ ([EMAIL PROTECTED]):

  So I duely ran noton and defragged, which put all the stuff in the first
  10% of the disk.
  But, looking on the map , the last sector had hidden files on it.
  So I turned on visualization in Win 98ofhidden file types.and system
  files- a total of 7 megs !
 
  I realize that I can change all the file attributes somehow (I've yet to
  find the command under dos ), and then re-defrag , then re-attribute the
  files asa before.
 
  But it strikes me the more intelligent way to do things would be to
  discover from the fat or somehow else the ids of the files in the last
  sector.
 
  Is there no way of doing this ??
  How can you read the fat ?

 When I did this for my first Debian system on a W95 computer,
 I just used the ATTRIB *.* command to find the names of the files
 that were RSH. Then I did ATTRIB -r -s -h FILENAME and copied
 them, deleted the original, renamed the copy and put +r +s +h back.
 (The copies landed just after the freshly defragged files.)

 I think I checked that I hit the right files by just trying FIPS until
 it didn't complain. There were very few of them.

 BTW I had probably turned off any swapfile before I started. I would
 imagine that moving an active swapfile would be very dangerous as this
 is one case where absolute disk addresses are likely to be used.
 (LILO's /boot is another.)

 Cheers,

 --
 Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
 Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
 Disclaimer:   These addresses are only for reaching me, and do not signify
 official stationery. Views expressed here are either my own or plagiarised.
begin:vcard 
n:Howe;Stephen
tel;pager:none
tel;cell:Italy(39) 335 710 7756
tel;fax:Italy(39) 081 575 5835
tel;home:Italy(39) 081 598 3133
tel;work:Italy(39) 081 598 3133
x-mozilla-html:FALSE
org:SDI (Tel: Italy (39) 081 598 3133 Fax:Italy(39)081 575 5835)
adr:;;Via F. Russo,19;NAPOLI;;80123;ITALY
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal
x-mozilla-cpt:;32480
fn:Stephen Howe
end:vcard


  1   2   >