Re: Configuration materiel

2017-12-28 Thread Miquel Demur
 

Trinity Desktop Environment (TDE) – Retrouvez l’expérience utilisateur
de KDE 3.5.x sur votre machine ou votre desktop 

https://la-vache-libre.org/trinity-desktop-environment-tde-retrouvez-lexperience-utilisateur-de-kde-3-5-x-sur-votre-machine-ou-votre-desktop/

mini-debconf 2017 à Tolosa de lengadoc a Occitania al " Capitole du Llbre "

2017-09-13 Thread Miquel Demur
 

soc enfadat perqué ha escrit  " Merci beacoup pour votre avis. " 

M'agrada Moltes gracies per l'informacio. 

Moltes gracies per la traduccio; si algu vol venir, pot llegir sense
traduccio; pero molts son anglofones. 

Per venir per la Cerdanya el tren la Tor de Querol a Tolosa de lengadoc
19h21 era 27,50 euros; no era TER; ara l'han canviant; es TER nomes
divendres, disabte i diumenge; entresetmanes para a Ax les Termes; una
debilitat francesa; també la persona de l'oficina de l'estacio de la Tor
de Querol ( taquilla ) estafa i enganya; millor hi ha una maquina pel
bitllet i triar TIKEMOUV. 

el mes barat, tren TIKEMOUV, es a 17h21 la Tor de Querol arribant a
Tolosa de lengadoc 20h15 i costa 7,50 euros; i per tornar 10h48 Tolosa
de lengadoc > la Tor de Querol 13h47. 

amb TER el viatge de la bici es gratuit; amb alta velocitat 10 euros. 

https://www.ter.sncf.com/occitanie > horaires & trafic > Fiches Horaires
> Toulouse-Foix-LaTour-de-Carol > clicar Rechercher > clicar sobre el pdf per 
> llegir a la pantalla o imprimir en pdf papel o disc dur. 

Podré guiar, caminant o bici, per una visita occitana de Tolosa de
lengadoc a Occitania.

<debian-user-catalan@lists.debian.org> mini-debconf 2017 à Tolosa de lengadoc a Occitania al " Capitole du Llbre "

2017-09-13 Thread Miquel Demur
 

L'association Debian France [1 [1]] organise une mini-debconf à
Toulouse.
Cet évènement accueillera toutes les personnes intéressées par le projet
Debian avec une série de conférences et d'ateliers autour de ce thème.
Cette mini-debconf aura lieu en même temps et au même endroit que le
Capitole du Libre [2 [2]] les 18 et 19 novembre 2017 à ENSEEIHT : 26 rue
Pierre-Paul Riquet à Toulouse.

Nous aimerions avoir la moitié des conférences en anglais, ... i en
catalan pel occitans i catalans exiliats a Occitania, els catalans i les
anglophones sont donc les bienvenus a Occitania !

Les conférences et ateliers seront programmés sur la même grille que les
conférences du Capitole du Libre. Il sera, ainsi, aisé de basculer de la
mini-debconf au capitole du libre et inversement bien sur ;)

Les propositions de conférences sont ouvertes, vous pouvez vous inscrire
par mail à  minidebconf[at]france[dot]debian[dot]net et sur la page wiki
[3 [3]].
Date limite pour soumettre une conférence : le 30 septembre 2017

Denis Briand

[1] https://france.debian.net/
[2] https://2017.capitoledulibre.org/
[3] https://wiki.debian.org/DebianEvents/fr/2017/Toulouse

  

Links:
--
[1] https://france.debian.net/
[2] https://2017.capitoledulibre.org/
[3] https://wiki.debian.org/DebianEvents/fr/2017/Toulouse

Mon microphone interne est sourd

2017-05-01 Thread Miquel Demur
 

Le microphone interne est si intregré qu'il sera difficile de localiser
le dysfonctionnement, comme avec un modele externe EW 3751 pour
connecter le microphone ou haut-parleur. 

  

Redimensionnement de partition

2017-04-24 Thread Miquel Demur
 

si le disque dur initial est insuffisant, il serait preférable
d'utiliser un disque externe pour sauvegarder. 

  

Re: [HS] PC récalcitrant au démarrage

2017-04-01 Thread Miquel Demur
 

Les condensateurs vieillissent mal; et l'alimentation pourrait être en
cause; la mettre sous tension, si c'est possible, avant le démarrage;
mais il peut y avoir une sur-tension qui peut dégrader les circuits; ou
bien le mieux ne changer que l'alimentation. 

  

Re: wifi mystere Resolu

2017-02-27 Thread Miquel Demur
 

NetworkManager a mauvaise presse. 

https://www.google.fr/search?q=wicd=utf-8=utf-8=firefox-b_rd=cr=YHS0WKoIroaABvm1hsAP
[1] 

  

Links:
--
[1]
https://www.google.fr/search?q=wicdie=utf-8oe=utf-8client=firefox-bgfe_rd=crei=YHS0WKoIroaABvm1hsAP

Re: make-kpkg doesn't work properly when compiling i386 kernel on amd64 host

2013-04-17 Thread Miquel van Smoorenburg
In article 
xs4all.CAHurxuitAusyBJ9aqo0-Ncegvp4wHXb_dxdSjJQue-FF=_k...@mail.gmail.com you 
write:
Hello, I am trying to build a kernel for my i386 PC on a amd64 server.

I follow a old instrusion at
http://lists.debian.org/debian-user/2008/07/msg00926.html . It can build
the kernel itself correctly, but the problem is script tools such as
genksyms are build as amd64 format.
I notice that Linux Makefile mentions an environment variable named HOSTCC.
I tried to set the variable, but it still failed because of linker issue.

Can make-kpkg do this job correctly? What extra parameter I should add?

Yes, you can do this.

1. add ARCH=i386 to make config and similar commands, for example:

   cd linux-version
   cp .../where/ever/your/dotconfig/file/is/dotconfig .config
   make oldconfig ARCH=i386

2. Run make-kpkg with an i386 specific environment and flags, like:

   CONCURRENCY_LEVEL=3 DEB_HOST_ARCH=i386 make-kpkg \
--cross-compile - --arch i386 --rootcmd fakeroot \
--revision REVISION_YOU_USE --append-to-version APPEND_YOU_USE \
--initrd kernel_image

   The important thing is to set DEB_HOST_ARCH=i386 in the environment
   of make-kpkg and add the flags --cross-compile - --arch i386

Mike.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304172256.r3hmuwnn019...@xs8.xs4all.nl



Re: Selección de paquetes individuales en el instalador

2009-12-16 Thread Miquel A. Noguera
El Miércoles, 16 de Diciembre de 2009 14:10:08 deb...@mstaaravin.com.ar 
escribió:

  Lo del preseed lo dejo como tarea pendiente :-)
 
 Sos asi de pelotudo o te haces...?

Porfa, define pelotudo, porque o bien yo me equivoco (al fin y al cabo soy 
humano y estoy al otro lado del charco) o bien pelotudo aquí sólo hay uno.

Sería bueno que _SI NO SABES_ lo que te preguntan, te mantengas al margen y 
dejes que otros contesten a la pregunta o incluso que la pregunta se quede sin 
respuesta (recuerda que a ambos lados del charco es mejor callar y parecer 
boludo que hablar y demostrarlo).

Si por el contrario _SI SABES_ de que va la pregunta, responde en el mismo 
tono de la misma (=amable en este caso) o calla, que también es digno.

Lo que si que _ES CIERTO_ es que tratar de pelotudo a todo el que pregunta, 
es una colaboración que ni le viene bien a ESTA lista, ni tampoco a NINGUNA 
otra.

Y que quede claro que, al menos, estamos de acuerdo en una cosa: antes que 
nada hay que leerse los manuales (incluso los que hablan de normas de 
comportamiento en una lista).

Saludos cordiales.
Miquel

PD: quizás nos hemos perdido en las traducciones y quizás las mismas 
palabras deban interpretarse de distinto modo a uno y otro lado del charco. Si 
es así, te ruego me ayudes a entender la situación, a ver si en la próxima 
ocasión podemos centarnos en lo que realmente interesa. Gracias.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Desactivar tarea del cron.weekly

2009-12-15 Thread Miquel A. Noguera
El Martes, 15 de Diciembre de 2009 18:47:43 Camaleón escribió:

 Me interesa desactivar una tarea en concreto, no todas las que están bajo
 /etc/cron.weekly/* :-)

No se si me habré perdido o no, pero yo lo veo fácil:

En /etc/cron.weekly/ tienes varios scripts, y sólo quieres que uno de ellos no 
haga nada, sin afectar a los demás ¿cierto?

Yo lo que haría es ir a script que quieres anular y añadirle al principio un 
exit, pudiendo recuperar el funcionamiento del script solo con comentar esta 
órden.

¿es eso lo que buscas o es otra cosa?

Saludos.
Miquel


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Desactivar tarea del cron.weekly

2009-12-15 Thread Miquel A. Noguera
El Martes, 15 de Diciembre de 2009 20:06:10 Camaleón escribió:

 Hola compadre :-)

Hola :-D

 Lo que me preocupa es que, en el caso de que el paquete se actualizara
 (se trata del HylaFAX y de sus rutinas), entiendo que también se
 actualizaría el script y cualquiera de los cambios que haya realizado
 sobre ese archivo del /etc/cron.weekly (bien cambiar los permisos del
 archivo o modificarlo directamente) se perderán y sé que no me voy a
 acordar de volver a configurarlo como estaba para que no se ejecute esa
 tarea.
 
 Por eso buscaba una especie de interruptor externo (espero que se
 entienda la analogía :-P) que permitiera definir (en algún archivo de
 configuración del sistema) qué tareas ejecutar o cuáles no.
 
 ¿Qué pensáis? ¿Creéis que en caso de actualización del paquete se
 perderían los cambios efectuados o no me debería preocupar eso? :-?

Mmm... posiblemente se perderían.

Entonces se me ocurre otra idea:

cd /etc/cron.weekly
mkdir off
mv script-a-desactivar off

así, no debería ejecutarse ni machacarse tras una actualización, y encima no 
hace falta modificarlo.

Saludos.
Miquel.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cfdisk

2009-04-09 Thread Miquel Oliete
  Hola
Hola Joan
  Em trobo en una situació bastant absurda i frustrant. Estic intentant
  donar format a una targeta SD mitjançant cfdisk, i a la que intento
  escriure els canvis, em demana confirmació:
  
  Escriu sí o no
Es que el si porta accent (a mi m'ha passat).
  
  No accepta ni yes, ni si ni cap altra cosa que no sigui sí amb
  accent. Però la consola de cfdisk no escriu accents, o sigui que a la
  pràctica no puc fer res. Ni tant sols un talla i enganxa aconsegueix
  res. Alguna idea?
  
Com ja t'han dit, la millor opció es el copy  paste, però si no ho
tens, escriu 'sí' (amb accent com t'he dit abans).

Salut

--

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.23.1)

Welcome to the jungle, we got fun and games
Guns n' Roses


--
To UNSUBSCRIBE, email to debian-user-catalan-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny, debian 5.0

2009-02-22 Thread Miquel Oliete
On Thu, 19 Feb 2009 23:04:09 +0100
Leopold Palomo Avellaneda wrote:

 Bones,
Bones

 Els debianites no tenim tantes festes com els ubuntaires (no les 
 necessitem ;-) , però crec que una cada 18~20 mesos ens tocaria, com a mínim 
 un sopar.
 
 Com ho veieu?
+++1
 
 Leo
Miquel


--

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.23.1)

Welcome to the jungle, we got fun and games
Guns n' Roses


--
To UNSUBSCRIBE, email to debian-user-catalan-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: alguns programes em peten (violació de segment)

2007-10-07 Thread Miquel Oliete
On Sat, 6 Oct 2007 19:26:34 +0200
Miquel Oliete wrote:

Hola

  Cap problema amb Amarok a una Sid.  Uso el motor Xine, per això.
 No, el problema està amb el IceWeasel que peta cada dos per tres (ara em
 diràs 'cap problema, jo uso Konqueror' ;-D)
Aquest problema es pot evitar amb 'export XLIB_SKIP_ARGB_VISUALS=1'
abans d'executar l'iceweasel (trobat a
https://bugs.launchpad.net/firefox/+bug/62988)

Salut


--

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.22.5)

Welcome to the jungle, we got fun and games
Guns n' Roses



Re: alguns programes em peten (violació de segment)

2007-10-06 Thread Miquel Oliete
On Sat, 6 Oct 2007 17:33:38 +0200
Benjamí Villoslada wrote:

 El Dijous 04 Octubre 2007, serni va escriure:
  És lo que te sid ... com anar anar al barber i fer-s'ho a navalla, la
  sensació és molt satisfactòria però els resultats depenen de si l'operari
  te el dia tonto.
 
 Cap problema amb Amarok a una Sid.  Uso el motor Xine, per això.
No, el problema està amb el IceWeasel que peta cada dos per tres (ara em
diràs 'cap problema, jo uso Konqueror' ;-D)

Salut


--

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.22.5)

Welcome to the jungle, we got fun and games
Guns n' Roses



Re: oops! he borrat el /var/log

2007-09-12 Thread Miquel
EL Wed, 12 Sep 2007 00:45:57 +0200
surgen [EMAIL PROTECTED] escrigué:

 Hola,
 
 pos això, que en una encebada mental m'he carregat el /var/log i ara 
 nose que fer... ja que hi ha serveis que no s'inicien (si serà
 normal), en aquest cas em refereixo a MYSQL, però segur que en surten
 més, i veig que no n'hi ha prou amb reinstal.lar el paquet, cosa que
 temia, perquè torni a generar el fitxers de log.
 
 Algú sap que puc fer a part de començar de zero un altre cop!
Suposo que al no trobar el directori no s'inicien. 

Pots provar de crear una altra vegada el directori (jo el tinc així)

drwxr-xr-x 10 root root  4096 2007-09-12 07:39 log

Salut


Miquel


 
 :_(
 
 Gràcies i Dew!
 
 



Re: oops! he borrat el /var/log

2007-09-12 Thread Miquel
EL Wed, 12 Sep 2007 15:27:39 +0200
Pere Nubiola Radigales [EMAIL PROTECTED] escrigué:

 2007/9/12, surgen [EMAIL PROTECTED]:
 
 
  [EMAIL PROTECTED]:/var/log# rm *
 
 Em pensava que el rm * no es carrega els directoris si no estan buits.
 Que cal fer un rm -R *?
I es així, però fixa't que ell estava dins del /var/log

Salutacions


Miquel



Re: E17 per Lenny

2007-08-29 Thread Miquel Oliete
On Wed, 29 Aug 2007 19:17:43 +0200
hubble wrote:

 Si per això mateix t'ho preguntava, com que no em refio massa de qualsevol 
 link
Home, no es un link qualsevol, es de casa elive (si no no te l'hagues
posat ja que a mi tampoc m'agrada massa posar links desconeguts).

Salut

--

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.22.5)

Welcome to the jungle, we got fun and games
Guns n' Roses



E17 per Lenny

2007-08-23 Thread Miquel Oliete
Hola a tots/totes

Algú sap d'algun servidor per poder posar al sources.list i instal·lar
els Enlightenment E17 a Lenny (testing)?

Gracies per avançat.


Miquel



Re: amarok

2007-06-08 Thread Miquel
EL Fri, 8 Jun 2007 13:22:50 +0200
Guillem [EMAIL PROTECTED] escrigué:

 Bones:
 
 no sé si li passa a algú més. Ahir vaig actualitzar l'amarok i quan
 ho poso en marxa me dona una errada dient:
 
 xine-engine afirma que no pot reproduir fitxers MP3.
 Podeu provar de triar un motor de sortida diferent al menú
 d'Arranjaments, o examineu l'entorn multimèdia que usa l'actual motor
 d'àudio. Podeu trobar informació útil a la secció PMF del manual
 d'Amarok.
 
 He provat de torna enrera però no me n'he sortit, fallen depèndencies.
 
 Algú sap si s'ha reportat algun bug al respecte?
 
 Gràcies.
 
Hola Guillem

A mi també me va passar (ni mp3 ni mpeg) i ho vaig solucionar amb:

apt-get remove xine-ui
apt-get install xine-ui

tot i que suposo que també aniria bé

apt-get install --reinstall xine-ui

El problema son les dependencies (suposo que noves) amb una llibreria
mpeg.

Salutacions


Miquel (a.k.a. Ktalà a.k.a. Ton)



Re: phpMyAdmin estrany

2007-06-04 Thread Miquel Escarra
El dia Wed, 30 May 2007 20:00:17 +0200, en/na Miquel Escarra va escriure:

 Hola
 
 En un servidor vaig fer actualitzacions del phpMyAdmin (ara el tinc a la
 versió 2.10.1deb2). Abans em treballava bé; ara, tot i que m'he
 assegurat que els usuaris de MySQL estiguin ben indicats amb les seves
 contrasenyes (accedeixo al mysql per comandes i em tira bé), quan
 intento una entrada al phpMyAdmin des de casa, no passo. I a vegades,
 faig un primer accés, però qualsevol intent d'obrir una de les bases de
 dades em torna a la identificació inicial.
 
 Algú em pot dir per on va la cosa?
 
 Gràcies
 
 Miquel

Em responc jo mateix després d'haver resolt el problema:
Amb una instal·lació en què entraven versions de l'Apache, una renovació 
del PHP, bases de dades MySQL, i el mateix phpmyadmin, cal revisar tota 
la instal·lació de paquets i mòduls per a l'Apache. En concret fallava 
l'entrada perquè hi havia problemes amb el PHP. Mort el gos, morta la 
ràbia.

Miquel


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



Re: intentant rescatar un pentium 2 portàtil

2007-05-28 Thread Miquel Oliete

En/na Orestes Mas ha escrit:

A Diumenge 27 Maig 2007, Xablab va escriure:
  

bon dia,

ahir vam intentar rescatar un pentium 2 amb 64 de RAM d'un toshiba que
s'arrosega amb un win_xp. la idea és migrar totalment.

DamSmallLinux, CATIX, kubuntu, bitdefenderlinux; i res triomfa com a
live. en uns es penjava la sortida gràfica, en altres es quedava
pensant massa estona muntant o apareixien errors detectant



Has provat amb un CD alternate de la kubuntu? Crec que és el que recomanen 
per equips amb poca RAM, perquè prescindeix de la instal·lació gràfica.


Clar que al final acabaries amb el KDE posat el qual, a l'igual que el Gnome, 
necessiten força RAM per anar folgadets. Potser podries provar amb Xubuntu, 
que porta XFCE i no necessita tants recursos. Clar que això és una mica fals, 
perquè llavors executes l'evolution, o el konqueror, i aleshores es carreguen 
les llibreries de gnome o kde i l'ús de memòria també és gran.


Si uses xfce procura cuidar les aplicacions que instal·les.


  
Pots provar el que comenta l'Orestes i si vols un client de correu 
lleuger prova Claws Mail.


Salutacions

--

Miquel Oliete (a.k.a. Ktalà a.k.a. Ton)
http://blog.mob1970.org

Powered by Debian GNU/Linux Sid


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



Re: Debianites caliuencs- proposta de sopar

2007-03-14 Thread Miquel
EL Wed, 14 Mar 2007 11:40:32 +0100
Jordi Funollet [EMAIL PROTECTED] escrigué:

 +1
 
 També vindré en Renfe des de Barcelona.
 Nyam, nyam.
Quan era el sopar?

Siau




__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto.
http://es.voice.yahoo.com



Re: Re: sempre acabem tornant a debian

2007-03-03 Thread Miquel Oliete
Hola katalanet. Que saps qui soc?



Re: Dosemu

2007-02-19 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ken Heard  [EMAIL PROTECTED] wrote:
Is there anyone on this list who uses dosemu?  I had it working on Sarge 
ever since Sarge came out, but I am having trouble getting it to work on 
Etch.

If your PC is fast enough, why not use dosbox instead.

It uses cpu-emulation instead of vm86 mode, so it's a bit slower,
but it's a lot easier to get going (dos is built in, and it can
access the linux file system).

Mike.


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



Re: Paquets

2007-02-08 Thread Miquel
EL Thu, 8 Feb 2007 17:20:13 +0100 
Josep Molero i Puig [EMAIL PROTECTED] escrigué:

 HOLA a tothom...
 
 Estic fent proves amb sistemes Debian.
 El gestor de paquets apt-get i la versió gràfica Synaptics van molt
 bé. De vegades, quan em cal alguna cosa i sé que està en un
 repositori concret, afegeixo el repositori al
 fitxer /etc/apt/cources.list i ... au, actualitzar i marcar per a
 instal·lar.
 
 Però tinc un dubte ...
 Si baixo un paquet via ftp o wget o el que sigui, i l'instal·lo
 directament des d'una finestra de terminal... què passa amb la
 informació del paquet ? Hi ha alguna manera que quedi dins de la
 llista de paquets amb els que apt-get o synaptics treballa ?
 No sé si m'he explicat bé.
 
Que jo sàpiga no, ja que la info que obtens quan fas apt-cache
search/show es dins els arxius que es generen/baixen quan fas
apt-get/aptitude update i que es baixa dels repositoris que hi ha al
sources.list.
 PEP

Salutacions
 
Siau
 

Miquel


__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto.
http://es.voice.yahoo.com



Re: xdm i twm

2007-01-16 Thread Miquel
On Tue, 16 Jan 2007 12:18:12 +0100
Josep Molero i Puig [EMAIL PROTECTED] wrote:

 La pregunta és : 
 Puc tenir xdm + twm + un entorn d'escriptori lleuger ?
 Quin recomaneu ?
Com a escriptori el més lleuger és el xfce (jo el tenia fa un parell
d'anys a un thinkpad P100 amb 48MB de RAM). 

Com a gestor de finestres icewm, fluxbox o enlightenment són
lleugerissims i va a gustos (icewm és més estil windows i els altres
van a la seva bola).
 O potser m'estic liant i amb el twm no hi pot haver cap escriptori a
 sota ?
No se si es pot canviar el gestor de finestres de xfce (diria que no).
I amb KDE i GNOME suposo que passará el matexi...o no
 
 Gràcies 
De res home
 
 
Siau
 

Miquel




__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com



Re: sempre acabem tornant a debian

2006-10-22 Thread Miquel Oliete
On Sat, 21 Oct 2006 11:28:35 +0200
hubble wrote:

 És curiós, cada vegada que em posiciono a sobre del misatge que has enviat 
 amb els fitxers adjunts em peta el client de correu (sylpheed), cosa que no 
 acostuma a pasar-me :?
Jo faig servir Sylpheed-Claws (veuràs la versió a la capçalera
X-Mailer ;-)) i no em peta
 
 A algú mes li pasa?
 
Salutacions
 8-)
 
 
 
 
 -- 
  _
 / gpg --keyserver pgp.mit.edu --recv-keys 2E402485 \
 \_ /
  \
   \  (__)  _   _ _ _ 
  (\/) | |__  _   _| |__ | |__ | | ___ 
   /---\/  | '_ \| | | | '_ \| '_ \| |/ _ \
  / | 666 ||   | | | | |_| | |_) | |_) | |  __/
 *  ||||   |_| |_|\__,_|_.__/|_.__/|_|\___| 
~~~~   
Registered user num. 368051 
and did not take anything above.
 --
 Ara sona:
 Albert Pla
 La nana de l'Antònio
 Ho sento molt
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


--

Miquel (a.k.a. Ton)
Linux User  #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux Wolverine 2.6.14)

Welcome to the jungle, we got fun and games
Guns n' Roses


__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com



Re: OT: Comparison of filesystems

2006-04-25 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ron Johnson  [EMAIL PROTECTED] wrote:
On Mon, 2006-04-24 at 20:54 -0500, Sumo Wrestler (or just ate too much)
wrote:
 Ron Johnson wrote:
  [...]
  Besides, you can't wipe files on a journaling fs.  So, you re-
  mount your ext3 partition as ext2, wipe the file(s) and then re-
  mount as ext3.
  [...]
 
 Huh?
 
 Are you suggesting that you can't permanently delete a file's data by 
 overwriting the file before deleting it?

Not in any journaling fs. 

Not in any fs that journals that _data_, but ext3 doesn't do that
by default. It only journals meta-data, and you can overwrite
files just fine.

If you do use ext3 in data-journalling mode (mount -o data=journal)
that yes, it will be a lot slower than ext2. That's why the default
is data=ordered. You can make it even faster, and still more safe than
ext2, by using data=writeback. See man mount.

Mike.


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



Re: No shell, Only FTP access

2006-04-07 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ron Johnson  [EMAIL PROTECTED] wrote:
On Thu, 2006-04-06 at 21:56 -0400, Roberto C. Sanchez wrote:
 Ron Johnson wrote:
  On Thu, 2006-04-06 at 23:30 +0200, Øyvind Lode wrote:
  [snip]
  
 And yes I considering switching to proftpd but havn't got the time yet 
 and I also need to setup my own DNS service using BIND...
  
  
  Isn't BIND kinda insecure?
  
 
 In what way?

Old, crufty, written before security was a concern.

That's why bind9 is a rewrite from scratch.

See http://www.linuxsecurity.com/content/view/117551/49/

On the other hand, even in bind8 there hasn't been a serious
(remote execution) security hole reported in the last 3 years.

Mike.


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



Re: amd64: why is sizeof(int) =4? why not =8?

2006-04-06 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ron Johnson  [EMAIL PROTECTED] wrote:
On Wed, 2006-04-05 at 06:48 -0500, Mitchell Laks wrote:
 Hi,
 
 I wanted to find out more about amd64, so I installed the debian distro 

Did you install the 64 bit version?

 (etch/sid) on my amd64 dual core system. 
   

Which one?  Etch or Sid?

 I wanted to see if it is really 64 bit. So naively i compiled the following 
 example program I found on the internet:
 
[snip]
 Size of double is 8
 
 So how do I see the 64 bittness of the operating system if  not this way 
 with 
 gcc? I would think tha size of int would be 8?
 uname -a
 Linux Rashi 2.6.16.1-meshulum-2006-4-5 #1 SMP Wed Apr 5 13:34:46 EDT 2006 
 x86_64 GNU/Linux

If you did actually install the 64 bit build, do a sizeof(int *) 
and you'll see that it is 64 bits.

AMD decided that, to help with compatibility with s/w written when
sloppy programmers assumed that sizeof(int) == sizeof(*), integers
will be 32 bits, even in 64 bit mode.

Hmm? That's a decision of the GCC guys. They decided to make int
32 bits. Remember it's just a C data type.

It makes sense because this way, you have a standard C data type
for every size of integer:

char8 bit
short   16 bit
int 32 bit
long64 bit

And this does not help compatibility with s/w written by sloppy
programmers who assime that sizeof(int) == sizeof(*), in fact it
breaks that compatibility, because sizeof(*) == 8. You can generally
assume that sizeof(long) == sizeof(*) on most Linux platforms nowadays
though. That will probably break on future 128-bit systems.

64 bit integers are of type long long and int64, which are just
different names for the same type.

On most current Linux platforms, yes, but on 128 bit platforms,
long long will likely be 128 bits.

And on amd64 with gcc, long is also 64 bits.

If you need exactly 64 bits, int64 is your best bet. If you need
at least 64 bits, long long will probably work fine.

Mike.


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



Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Mike McCarty  [EMAIL PROTECTED] wrote:
Josep Serrano wrote:
On Friday 17 February 2006 07:29, Josep Serrano wrote:

Do you guys clean regularly your /tmp ?

Yup.  The tmpreaper package is great for that.

 
 
 Yes, tmpreaper does the job. But here I was preteding to simply reuse the
 bootclean.sh by simply making a symlink. Why installing an addittional
package if
 you already have the stuff to the the job?
 
 Maybe I am wrong and it is a bad idea using bootclean.sh in crond ?

My understanding (I am not a Linux guru) is that it is risky
to remove things from /tmp while the system is up, as
some apps, for example X Window system, store stuff in there
which they don't need to survive a boot, but do need to keep
clickin'

So using a script may not be a Good Thing.

That's true. Bootclean.sh is just a step in the bootup sequence,
it wasn't designed to be called manually or by cron.

Tmpreaper probably does 'the right thing'

Mike.
-- 
Freedom is no longer a problem.


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



Re: GMail like offline email client

2006-01-21 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ð ÐžÑ Ð°Ð»ÐžÐ¹ Ð Ñ  еМкП  [EMAIL PROTECTED] wrote:
But it stores all threads like plain lists, not as treeview and that's
uncomfortable for me, or i'm mistaken an evo has the abiliti to handle
mailing-list and display them as trees?

View - Group by Threads (or Control-T)

Mike.
-- 
Freedom is no longer a problem.


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



Re: Most directories locked read-only: how to unlock them?

2006-01-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ken Heard  [EMAIL PROTECTED] wrote:
Daniel B. wrote:

 That looks like you mistyped defaults as drfaults in your
 /etc/fstab file.

   I was well aware that I mistyped defaults as my original post 
indicated.  I was also aware that this error caused the root directory 
to be mounted read-only.  Also as my original post indicated, my first 
query was how to change the mount to read-write without having to 
reinstall the whole operating system.

Simply specify both the directory _and_ the device on the command
line, in that case mount doesn't read fstab.

Eg something like:

mount -n -o remount,rw /dev/sda1 /

Mike.
-- 
Freedom is no longer a problem.


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



Re: Question: Maximum number of directories? OT question...

2005-12-08 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Paul E Condon  [EMAIL PROTECTED] wrote:
On Tue, Dec 06, 2005 at 11:46:14PM +, Miquel van Smoorenburg wrote:
 In article [EMAIL PROTECTED],
 Gerorge Reece-Howe [EMAIL PROTECTED] wrote:
  Jochen Schulz [EMAIL PROTECTED]
 
 You can see that / and /srv are ext3 and /var and /home are xfs. I
 chose xfs for these because they contain directories with a lot of
 files (the already mentioned Maildirs and a news spool). So far, I had
 no problems with xfs.
 
 I'll see how I go with ext3 for now, but I'll keep that in mind.
 
 Ext2 and ext3 get really slow when you have lots of files (or
 subdirectories) in one directory.
 
 However that was fixed some time ago. If you're running 2.6 you
 can enable the dir_index on an ext3 filesystem. See man mkfs.ext3:
 
-O feature[,...]
   Create  filesystem  with  given  features  (filesystem options)
 
dir_index
   Use  hashed  b-trees  to  speed  up lookups in 
 large
   directories.
 
 
 You can enable this on existing filesystems using tune2fs. See man
 tune2fs(8) for more information.
 

I've looked at the man page. I'm interested in trying this, but I have a
question: The -O feature... option allows one to set and clear file system
features, but how can I query the system to discover which features are
set on which volumes?

$ man tune2fs

   -l List the contents of the filesystem superblock.

# tune2fs -l /dev/sda1
tune2fs 1.37 (21-Mar-2005)
Filesystem volume name:   /
Last mounted on:  not available
Filesystem UUID:  71c1a321-ec0e-45c1-967a-59529cc8def0
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  has_journal filetype needs_recovery sparse_super

Mike.


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



Re: Question: Maximum number of directories?

2005-12-06 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Gerorge Reece-Howe [EMAIL PROTECTED] wrote:
 Jochen Schulz [EMAIL PROTECTED]

You can see that / and /srv are ext3 and /var and /home are xfs. I
chose xfs for these because they contain directories with a lot of
files (the already mentioned Maildirs and a news spool). So far, I had
no problems with xfs.

I'll see how I go with ext3 for now, but I'll keep that in mind.

Ext2 and ext3 get really slow when you have lots of files (or
subdirectories) in one directory.

However that was fixed some time ago. If you're running 2.6 you
can enable the dir_index on an ext3 filesystem. See man mkfs.ext3:

   -O feature[,...]
  Create  filesystem  with  given  features  (filesystem options)

   dir_index
  Use  hashed  b-trees  to  speed  up lookups in large
  directories.


You can enable this on existing filesystems using tune2fs. See man
tune2fs(8) for more information.

Mike.


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



Re: [OT] SATA vs. SCSI

2005-10-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Gene Heskett  [EMAIL PROTECTED] wrote:
On Thursday 27 October 2005 20:59, Allan Wind wrote:
On 2005-10-27T19:33:22-0400, Gene Heskett wrote:
 Our first foray into using a scsi based commercial server resulted in
 its getting converted to ata disks fairly rapidly as the scsi raid
 lost a drive at 2 week intervals.  A single big atapi/eide drive
 turned out to be faster, and a heck of a lot more reliable.

While I feel for you, it's not a good idea to make decisions based on a
single installation.  If you have disks dying every 2 weeks, something
else was up.  Heat would be my first guess.  Seagate, I think, had a
batch of bad SCSI drives recently.

This was back when scsi drives were 8GB max, so quite a bit of water has
passed by now.

If I've learned one thing about disks in the last few years, it's
that you should never ever buy the largest disks available.

I remember when 2 GB SCSI was common and 4 GB was brand-new, we
bought 4 GB disks. Lots of problems with heat, reliability ..
replaced them with 2 2 GB disks each, problem gone. Seagate, BTW.

I've seen the same pattern over the years with both SCSI and IDE
disks. Just buy disks half the size of the current maximum capacity.
Those models have the kinks worked out.

One other thing is that lots of people don't get SCSI termination
right. And that can cause lots of trouble that you don't have
with ATA/SATA, including things like (apparently, but not
really) failing disks.

Mike.


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



Re: minicom display problems

2005-09-17 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marty  [EMAIL PROTECTED] wrote:
I mercifully forgot everything I knew about terminals in the '80s,
But now I am puzzled by two purely theoretical questions:

1) why don't LINE and COLUMN get listed when I run printenv?

Because the resize command prints out the commands you need to
execute; it doesn't actually do anything else. This is because
a child process cannot set the environment variables of its
parent (or any other process).

If you run `resize` (note the backticks) the shell will take the
standard output of the command and execute it.

Oh. I see that resize actually sets the lines/columns
property of the tty using the TIOCSWINSZ (I used strace to see that)
ioctl. too Which means you don't have to set LINES and COLUMNS.
You can just run resize as resize /dev/null.

You see, in the old days, with fixed-size terminals, there was
no way to change the lines/columns of a tty. Then when windowing
systems were invented, and xterms, a way to tell the text-application
the number of lines and columns was needed. For that, the apps
looked at the LINES and COLUMNS enviroment variable which override
the lines and columns set in the termcap or terminfo file.

Later, a tty property was added for lines/columns. You can see it
when you do stty -a. The ioctls TIOCGWINSZ and TIOCSWINSZ were
added to get/set that property from the ttyfd.

Now if you resize a tty window, the window manager also sets the
lines/columns property of the terminal, and sends the app running
in the terminal the SIGWINCH character so that it can resize.

So modern apps first look at LINES/COLUMNS, then at lines/columns
from the tty properties (TIOCGWINSZ), then at termcap/terminfo.

2) How does resize retrieve the TTY properties via minicom, and why
can't the remote shell automatically do likewise?

The resize command uses VT100 escape sequences to query the
terminal size. Why shouldn't the remote shell do this ?
Why doesn't the shell have all of /bin and /usr/bin built-in ?

Mike.


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



Re: minicom display problems

2005-09-16 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marty  [EMAIL PROTECTED] wrote:
Is there any way to get minicom to properly display the color graphics
of an ncurses app like iptraf?  I am using the multi GNOME terminal as my
X terminal, but xterm seems to have the same problems.

So far I've tried:
-setting the minicom terminal type to ANSI
-setting the remote shell TERM type to xterm (it starts up as VT100)
-turning the minicom color on using the -c on option

minicom -c on should start minicom in color. If ctrla-z shows the
command summary in color, minicom supports color.

Then you need the right terminal type on the remote system to
tell its apps to use ansi-color. Try TERM=xterm-color or TERM=linux

Another, possibly unrelated issue, is that iptraf and other programs
like top or man which output to the entire terminal screen, only use
a small portion of the available X terminal screen area (about 23
lines of text) regardless of how large I make the X terminal window.
Man even puts pages of text on different areas of the X terminal and
is nearly useless.  My current workaround is to use a tiny X terminal
window with these programs, but ncurses graphics is still a problem.

That is because the remote system doesn't know about the terminal
size and there is no way for the windowing system to relay that information
through minicom to the remote system on the other side of the
serial connection.

So you have to change that manually. Use stty rows 40 columns 120
on the remote system, or run resize if that command is installed.
(See man stty, man resize).

[I notice that resize on my Linux box doesn't set the tty properties
 but prints out COLUMNS= / LINES= .. how 1980's ..]

Mike.


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



Re: Every fifth character blurred in text

2005-09-05 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Xeno Campanoli  [EMAIL PROTECTED] wrote:
I'm not that familiar with the kind of words I should use for this video 
problem with every sixth character blurred.  I wonder if there's another 
word I should use for google searches?  Can anyone make a suggestion?

Do you have an LCD screen? Is the resolution your card is running
under the same as the resolution of the screen ?

The effect you're describing can happen when e.g. you have a 1024x768
monitor and your graphics card is running in 800x600.

Mike.


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



Re: I messed up bootmisc.sh - now can't log in!

2005-08-31 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Bryan Donlan  [EMAIL PROTECTED] wrote:
On 8/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Can anyone suggest a tutorial on writing what I think are called init 
 scripts?

Take a look at the files in /etc/init.d, just use one of them as a
template, and symlink it in as /etc/rcrunlevel.d/S99yourservice

Well, one of them .. there's /etc/init.d/skeleton which is
exactly what you'd think it would be...

Mike.


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



Re: kPDF

2005-08-06 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Bill Day  [EMAIL PROTECTED] wrote:
Thanks for that source, put it in, ran apt-get update and then apt-get sintall 
acroread when it was done I sintaleld the suggested acroread-plugins as well.  
opened up each file continuously of TUX, with out it crashing.

It's somehow fairly unknown, but one of PDF viewers I like best
is evince and it's in sarge.

Mike.


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



Re: [off-topic] Re: operadora de ADSL

2005-08-04 Thread Miquel Olavarria Estrada

---BeginMessage---
Jo tinc desde fa temps Ya.com (n'estic força content), sempre amb
router, ho recomano, però no només per a Linux sinó per a qualsevol
sistema operatiu.

El fet de tenir IP fixe o no no te cap tipus de diferència en el
funcionament ni en la dificultat de configuració. És simplement el
servei de asegurar-te que la IP no canviarà i, per tant, podràs
accedir al teu router i als serveis que configuris dins la teva xarxa
desde internet sempre emprant la mateixa IP. Molt útil per tenir pàgines
web, servidor de correu, accedir al teu escriptori de casa remotament...

Actualment les operadores ofereixen la ip fixe a uns 12 euros/mes, per
lo que t'has de plantejar si val la pena pagar-ho. Hi ha gent que tenim
IP fixe perque varem tenir la sort de contractar l'ADSL quan encara
regalaven la IP fixe. Avui en dia segurament buscaria altres maneres
d'accedir als meus sistemes sense IP Fixe.

Fa unes setmanes em vaig canviar de domicili i Ya.com no em permetía
mantenir el contracte que tenia amb ells. M'obligaven (tot i que
mantenía exactament el mateix número a telefònica, la linia era la
mateixa i no habíen de canviar res) a donar-me de baixa i després
donar-me d'alta al nou domicili, perdent ip fixe, pagant l'alta com una
adsl nova i segurament perdent privilegis d'antiguitat.

Només dic, per si pico la curiositat a algú, que ara al domicili nou
tinc adsl amb ya.com amb ip fixe gratis.

--
Miquel Olavarria
[EMAIL PROTECTED]

El dj 04 de 08 del 2005 a les 09:43 +0200, en/na xavi va escriure:
 On Jue, 4 de Agosto de 2005, 1:45 am, Joan Alfonso dijo:
  Hola llisters: Vull posar-me l'ADSL i no se amb quina operadora ficar-me.
  Qué
  me'n podrieu aconsellar cap?. També si és més fácil d'instalar amb modem o
  router. (no tinc ni idea).
  Gràcies.
  Salut.
 
 
 
 a mi m'interessaria particularment saber si algú s'ha instal·lat
 últimament una adsl amb ip fixa, i com va el tema.
 
 -- 
 xavi{at}sindominio.net
 lorajoler{at}paranoici.org
 
 
---End Message---


Re: why do PPP connections die with heavy disk usage?

2005-07-24 Thread Miquel van Smoorenburg
On Thu, 2005-07-21 at 14:04 -0400, Daniel B. wrote:
 Miquel van Smoorenburg wrote:
 
  In article [EMAIL PROTECTED],
  Daniel B. [EMAIL PROTECTED] wrote:
  
 Does anyone know why Linux can't seem to maintain a diald-dialed serial
 PPP connection while performing lots of disk I/O, especially on a PIO-mode
 IDE disk?
  
  
  Because the IDE driver turns off interrupt processing completely
  when issuing commands to / reading data from the drive. With DMA,
  you don't really notice, in PIO mode, you do ..
 
 If it turns off interrupt processing completely, how would, say,
 keyboard and timer interrupts get processed?  Wouldn't I be seeing
 keystrokes getting dropped occasionally?

It blocks them, ofcourse. The hardware still sets the interrupt bit.

 
 Do you mean that interrupt handling is _suspended_ when writing
 to/reading from the drive (that is, other interrupts aren't ignored
 entirely; just deferred)?

Same difference :)

 
 
 Does the kernel not handle serial port interrupts with higher priority
 than disk interrupts to make sure that serial data doesn't overrun
 buffers?
  
  
  Because the IDE driver simply turns all interrupts *off* ...
 
 I would think that even if the kernel IDE code had to disable
 interrupts while performing a PIO-mode transfer, as soon as it
 re-enabled interrupts (at the end of the IDE operation), pending
 interrupts would be handled.
 
 Does one IDE operation (in PIO mode) take so long that the
 serial port buffer overflows before the disk operation is done?

Indeed.

 Or are pending interrupts not all processed before a subsequent
 IDE operation is started?
 
 
  To change this, see man hdparm, -u option.
 
 Well, given that the manual page says:
 
-u ... Use this feature with caution: some drive/controller
   combinations do not tolerate the increased I/O latencies
   possible when this feature is enabled, resulting in massive
   filesystem corruption.
 
 I'm not about to try that, since the reason I'm using PIO mode
 in the first place is because I get massive file system corruption
 when I use DMA mode with IDE controllers on my motherboard (Asus
 A7M266-D; AMD 762(?) chipset).

Have you reported this to the kernel IDE maintainers ?

 
 Would setting one of hdparm's sector-count options to a small value
 decrease the length of time interrupts are disabled and reduce the
 chances of problems with serial communication?

I don't know, I try to avoid broken hardware :)

Mike.


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



Re: why do PPP connections die with heavy disk usage?

2005-07-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Daniel B. [EMAIL PROTECTED] wrote:
Does anyone know why Linux can't seem to maintain a diald-dialed serial
PPP connection while performing lots of disk I/O, especially on a PIO-mode
IDE disk?

Because the IDE driver turns off interrupt processing completely
when issuing commands to / reading data from the drive. With DMA,
you don't really notice, in PIO mode, you do ..

Does the kernel not handle serial port interrupts with higher priority
than disk interrupts to make sure that serial data doesn't overrun
buffers?

Because the IDE driver simply turns all interrupts *off* ...

To change this, see man hdparm, -u option.

Mike.


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



Re: fsck on ext3 drives. Do we need to routinely? how to shut off or change 30 boot/180 day settings or why should I not?

2005-07-15 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Mitchell Laks  [EMAIL PROTECTED] wrote:
Maybe I am really not supposed to reboot my machine? 
But how can I stop 180 days from passing? 
:) 

1. How do I modify this to 100 boots or 500 days or never?

man tune2fs.

Mike.


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



Re: Quad-port Fast Ethernet on Debian

2005-06-06 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Michelle Konzack  [EMAIL PROTECTED] wrote:
But using VLAN is much more administaration and risking
mal configuration.

Depends. Once you're used to handling VLANs, it makes _so_ many
things _that_ much simpler that you cannot imagine ever having
lived without it.

Mike.


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



Re: Quad-port Fast Ethernet on Debian

2005-06-04 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Simon Phillips [EMAIL PROTECTED] wrote:
I am after some general advice or info on people's experiences with quad
port ethernet cards.  Any assistance would be much appreciated.

For this, I am specifically looking to use *quad* port ethernet cards, 
due to the number of ports and physical size of the hardware required for my 
configuration.  I will probably need two per box (+ onboard port = 9 ports 
total).

I don't think GigE quad port ethernet cards exist, so you're
talking about 9 100 mbit ports, right ? Why not use a single
GigE port ? If you need multiple interfaces, use VLANs.

Mike.


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



Re: MySQL Performance Woody Vs Sarge

2005-06-01 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marty  [EMAIL PROTECTED] wrote:
Jochen Schulz wrote:
 Simon:
 Jacob S wrote:
 
 # hdparm /dev/hde
 [...]
 # hdparm /dev/hdg
 
 Again, I think you are searching in the wrong direction. Your 'hdparm
 -tT' results clearly showed that the great difference between your
 servers doesn't lie in hard disk performance (48 to 43 MB/s), but in
 Memory/CPU performance (278 to 58 MB/s).

That would be a very gross misconfiguration.  To me it seems far more
likely that raid caching is simply disabled, possibly in the driver.

There is no such thing as raid caching. There is something
called write caching, but that doesn't have anything to
do with reads.

I also think that the hdparm -tT shows that there is something
wrong with the board/ram/cpu/bios.

Mike.


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



Re: Move from i386 to ia64?

2005-05-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Paolo Alexis Falcone  [EMAIL PROTECTED] wrote:
On 5/26/05, Chris Boot [EMAIL PROTECTED] wrote:
 Can I upgrade the kernel without upgrading the userspace apps?

If you'd run in 64 bit mode - No. 

In fact, you can. I built a 64 bits kernel on my amd64 workstation,
then installed that kernel (dpkg -i --force-architecture linux.deb)
on a 32 bits sarge installation. Ofcourse that box does have an
em64t capable processor.

It actually boots, and works fine.

You then have a 32 bits userland with a 64 bits kernel.

Advantages are that you can use 4 GB of memory per process
(no more 3/1 GB split), and you can better take advantage of
a lot of memory - no more low memory, high memory, PAE, etc.

Mike.


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



Re: How to enable a user access to fsck at boot up.

2005-05-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ivan Teliatnikov  [EMAIL PROTECTED] wrote:
Good day.

When machine reboots and there is problem with file system one has an
option to enter root password and user fsck utility to check and fix
file system errors. 

I think this is done via sulogin utility and /etc/init.d/fscheck.sh
script.

Actually, via /etc/init.d/checkroot.sh and /etc/init.d/checkfs.sh.
Those check the root filesystem and all other filesystems, and
start a shell through sulogin if something went wrong.

On some machines I have trusted users who can su via sudo, but I am
reluctant to give away root password. Is it possible to allow trusted
users to run fsck without knowing root password.

No, that is not possible.

Why not set FSCKFIX to y on those machines in /etc/default/rcS
(see man rcS). If you do that fsck will be able to repair a
disk without manual intervention in most cases.

By the way, what are you doing with those machines? Running ext2
filesystems and then turning off the power during heavy writes?
Consider upgrading to a journalling filesystem like ext3.

Mike.


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



Re: Use of dual CPU?

2005-05-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marco Calviani  [EMAIL PROTECTED] wrote:
Adam Mercer ha scritto:

On 23/05/05, Marco Calviani [EMAIL PROTECTED] wrote:
  

So, normally, even if i use an SMP kernel if i'm not telling the program
to use both CPU it will continue using only one CPU, right?



Yes, if the program isn't written to use both CPUs, it won't.

Cheers

Adam
  

Do you know if it is possible to instruct the g77 (fortran) compiler to 
use both CPU's, or maybe where to ask for?

You cannot run one program on two CPUs. It's simply not possible.
What you can do is split your program up into multiple programs
or threads, that you can run simultaneously - in that case, you
will use more than one CPU. But you need to redesign/rewrite
your programs, ofcourse.

Mike.


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



Re: sarge apt and init daemons

2005-05-04 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Phil Dyer  [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Miquel van Smoorenburg said:

 If you want to keep updates from starting the daemon, just chmod 644 it.

That sounds reasonable...and simple. :) thanks.
 
 Reasonable, simple, and wrong :)
 
 As long as one start or stop link is still present, update-rc.d will
 not change the configuration. So just remove all start/stop links
 except in, say, runlevel 5 or so. Since the default runlevel is
 2, the service will not be started ever.
 

OK, although both solutions work, (I guess - I haven't tried the second
solution) it still seems kludgy to me. If I use the debian supplied tool
to remove a service from startup _totally_, and I use a debian supplied
tool to update the system, shouldn't the latter honor my current config?

Nope. Because that is not how it works or has ever worked. Your
expectation is skewed from reality (sorry).

I don't think I should have to remeber to chmod this or fake out that. I
have no problems doing either, it just seems odd that the best system
update tool available can check to see if my conf files have been
modified and let me choose whether to overwrite, but it doesn't check to
see how I've configured services.

It does.

Mike.


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



Re: sarge apt and init daemons

2005-05-02 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Phil Dyer  [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Clymer wrote:
 
 The debian post install script probably doest go through the rc.*
 directories looking for runlevel entries since these are all just
 symlinks to a script in /etc/init.d/. All that it probably checks for is
 that the /etc/init.d/whatever script exists and is executable. Then,
 on the assumption that its generally a good idea to stop and start
 daemons when upgrading them, it does so. 

I just think it would be a good idea to not start something that's not
running anyway. Check to see if the proc is running and if it is, restart.

In a lot of cases, the service is stopped in the preinst script,
and (re-)started in the postinst script. So your suggestion doesn't
work.

 If you want to keep updates from starting the daemon, just chmod 644 it.

That sounds reasonable...and simple. :) thanks.

Reasonable, simple, and wrong :)

As long as one start or stop link is still present, update-rc.d will
not change the configuration. So just remove all start/stop links
except in, say, runlevel 5 or so. Since the default runlevel is
2, the service will not be started ever.

Mike.


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



Re: VNC

2005-04-04 Thread Miquel Olavarria Estrada
RealVNC Te una versi free que te les funcions bsiques.
Per normalment utilitzo i recomano [EMAIL PROTECTED] ( www.ultravnc.com ), 
molt
complerta, tamb la recomando si hi vols entrar desde dispositius amb
pantalles petites com palms o telfons mbils, ja que t la opci de
poder mostrar la pantalla a escala 1:2, 1:3, 1:4...

El dv 01 de 04 del 2005 a les 14:59 +0200, en/na Josep Roca va escriure:
 Hola:
 
 Vull executar un programa que est en un win 2000 des d'una mquina linux 
 (debian sarge) utilitzant vnc. Per al buscar al google vnc, hi ha un munt 
 de 
 versions i no se molt be quina utilitzar. Alg me podria orientar de quin 
 fer 
 servir que estigui en win i debian o s que tots sn compatibles entre si. 
 Incls dintre de debian ni han varis. Tot un embolic!!
 
 Grcies i salutacions. Pep Roca.
 -- 
 Pep Roca
 [EMAIL PROTECTED]
 
 


-- 
Miquel Olavarria Estrada [EMAIL PROTECTED]
Sistemas Informaticos Thule, S.L.




Re: Distribució per a PII

2005-03-03 Thread Miquel
Com es que li poses un entorn gràfic si el vols fer servir com a 
servidor de correu?

Salutacions
Miquel (a.k.a. Ktalà)
En/na Andreu N ha escrit:
En/na rpb ha escrit:
A Dimarts 01 Març 2005 22:08, Andreu N va escriure:
 

Hola, sóc un novell que pretén instal·lar Linux a un pentium2 a 233Mhz,
i preferiblement 32 Mb de RAM, encara que podrien ser 64. Bó, m'he estat
informant, i he arrivat a la conclussió que si vull tenir el servidor X,
l'haure d'administrar amb windowmaker, Ice?, etc... o amb Xfce, el qual
m'ha fet gràcia. La pregunta  és simple , quina distribució de linux
(basada en debian, a ser posible) em recomaneu? tenint en compte que sóc
molt novell, però que amb el sistema gràfic més o menys en defenc.
Moltes gràcies
  
La distro, Debian Sarge, és clar.
Per entorn gràfic, et passo unes dades que he vist a una revista sobre 
els recursos dels diferents sistemes gràfics:

Kde, gnome = 40 - 60 Mb de RAM, pel cap baix
xfce = 20 - 22 Mb
icewm-light = 16 Mb
la resta, entre 19 - 20 Mb
Per tant, si penses deixar-ho amb 32 de RAM, icewm-light és quasi la 
única opció. Cal tenir clar que  aquests entorns no són escriptoris, 
sino gestors de finestres (no tenen gestor d'arxius, per exemple, tot 
i que s'hi pot instalar ROX que és molt funcional) L'únic que es pot 
considerar escriptori és xfce. Jo el que faria és posar-hi 64 Mb de 
ram i xfce.
La mateixa filosofia en quant a les aplicacions a utilitzar, doncs si 
vols aplicacions de gnome o kde en aquests entorns, necessiten 
carregar les llibreries apropiades amb una sobrecàrrega d'uns 6 Mb 
extres de RAM. Hi ha però altres opcions, com sylpheed-claws pel 
correu, links-graphic com navegador...
Tampoc convenen imatges de fons, més aviat utilitzar un color sòlid o 
un gradient, com a molt. En fi, s'ha d'anar provant...

Ricard
 

Moltes gràcies a tots, al final el que he fet es posar 64 mb i sarge, 
amb xfce. I va prou bé. No és una maravella, però suficient. Ara he 
d'intentar configurar-lo per a la seva missió... ufff, vaig a patir 
d'allò més. L'he de convertir en un servidor de correu per a 4 comptes, 
un firewall, i pot ser un webmail per als comptes. Vaig a passar-me 
mitja vida amb açò



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


Re: Distribució per a PII

2005-03-02 Thread Miquel
Si executes startxfce, ell mateix et crea un .xsession al teu home (em
sembla que te'l creava).
Salutacions
Miquel (a.k.a. Ktalà)
P.S. Pots provar també el fluxbox, es molt lleuger. Jo tinc el fluxbox i
el xfce4 al meu portatil, que es un Pentium 133 amb 48 MB de RAM
En/na Andreu N ha escrit:
En/na pau ha escrit:
hola!
amb tant poca memòria, tria't una entorn gràfic lleuger. Icewm o xfce 
són bones opcions. Com ja s'ha dit, pots baixar-te la debian-installer 
i que t'ho faci ella soleta. si vols que t'instal·li el kernel 2.6, 
quan arrenqui li poses 'linux26' al prompt (sense les cometes) i 
avall. el procés d'instal·lació és força intuitiu.
En el moment d'instal·lar-te paquets, tria 'selecció manual de 
paquets', ja que si selecciones 'entorn escriptori' et posarà el gnome 
i el kde per defecte.
Al col·lectiu on estic, tenim un pentium a 200 MHz amb 48 MB de ram, 
funcionant amb xfce, firefox, abiword i poca cosa més i home, no és 
una passada, però fa la feina que li toca. ;)

a veure si et va bé...
salutacions,
pau.
el Tue, 01 Mar 2005 22:08:16 +0100 en/na
Andreu N [EMAIL PROTECTED] va dir:
 

Hola, sóc un novell que pretén instal·lar Linux a un pentium2 a 
233Mhz, i preferiblement 32 Mb de RAM, encara que podrien ser 64. Bó, 
m'he estat informant, i he arrivat a la conclussió que si vull tenir 
el servidor X, l'haure d'administrar amb windowmaker, Ice?, etc... o 
amb Xfce, el qual m'ha fet gràcia. La pregunta  és simple , quina 
distribució de linux (basada en debian, a ser posible) em recomaneu? 
tenint en compte que sóc molt novell, però que amb el sistema gràfic 
més o menys en defenc.
Moltes gràcies
  

 

Moltes gràcies a tots per la vostra col·laboració. A final he instal·lat 
sarge. I com no, ho he fet massa prematurament. A l'hora d'instal·lar 
m'ha dit que el meu ordinador era una merdeta, i jo he asentit amb el 
cap. Després m'ha preguntat si volia entorn gràfic, servidor de correu, 
dns, etc... i jo, molt innocent per la meva banda, he pensat que si li 
deia que instal·lara l'entorn gràfic, s'enrecordaria que el meu 
ordinador era una merdeta i m'instal·laria un gestor lleuger... pero, no 
s'ha enrecordat i m'ha intal·lat KDE (que sorprenentment s'executa més o 
menys). Acave de ferli un apt-get install xfce4 per tal d'istal·lar 
l'xfce, però m'esdevé una nova pregunta... Quin és l'argument per a 
startx per tal d'elegir xfce com a gestor de finestres?

Moltes gràcies una vegada més.



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


Re: kernel2.6 I cannot login

2005-01-05 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Massa Takeuti [EMAIL PROTECTED] wrote:
My keyboard is a PS/2 American style 104 keyboard.
My mouce is a PS/2 wheel mouce.
I can use them for 2.4 kernel without any trouble.

I show you my kernel configuration.

Hmm, looks like the keyboard/mouse driver is not compiled in.

Look:

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set

The i8042 is the keyboard/mouse UART. You need to enable that.
In fact it is enabled by default on a PC. Did you simply
disable _all_ serial drivers ? Not a good idea :)

Mike.


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



Re: Sarge box not rebooting..

2004-12-29 Thread Miquel van Smoorenburg
On 2004.12.29 16:20, Robert Waldner wrote:
On Tue, 28 Dec 2004 18:30:27 +0100, Robert Waldner writes:
No, kill(-1, SIGWHATEVER) is guaranteed to kill all processes
/except/ the caller. man 2 kill on any unix/linux box. What kernel
are you using, this might be a kernel bug. Is this an i386 or
another architecture ?
2.4.27, from kernel-image-2.4.27-1-386, i386 arch, straight Sarge
 from d-i RC2, `apt-get upgrade` up-to-date as of now.
I've put more info (`dpkg -l`, `ps auxwww`, cpuinfo, meminfo, lsmod) at
 http://www.waldner.priv.at/temp/machine.txt (it'd make for one long
 email otherwise).
I've now tested through a couple kernel-images, and found that the 
 problem does NOT manifest itself when it's an SMP-kernel, eg 
 2.4.26-1-686-smp and 2.4.27-1-686-smp are fine, but the default 
 2.4.26/7-1-386 and their respective -686 siblings aren't.

What remains is the question if I should file this as a (grave?) bug 
 against kernel-image-2.4.27-1-386.

And, for people googling this up later: DO NOT run the standard Sarge 
 kernel 2.4.27-1-386 on HP/Compaq DL380 machines, you won't be able to 
 reboot/shutdown them.
Well, it would be perfect if you could reproduce this. Try something like:
#include stdio.h
#include signal.h
void sigcld(int sig)
{
printf(Caught SIGCLD\n);
}
int main()
{
signal(SIGCLD, sigcld);
kill(-1, SIGCLD);
sleep(2);
return 0;
}
If this prints Caught SIGCLD then that is a severe kernel bug.
Try both cc foo.c and cc foo.c -lpthread please.
Oh and what is the output of ldd /sbin/killall5 ?
Mike.


Re: Sarge box not rebooting..

2004-12-28 Thread Miquel van Smoorenburg
On 2004.12.28 17:42, Robert Waldner wrote:
On Tue, 28 Dec 2004 08:40:48 +0100, Robert Waldner writes:
Hmm, can it be that killall5 doesn't actually manage to *not* kill
 itself?
Ofcourse it goes through great lengths to do exactly that - NOT
kill itself. It kills all processes _except_ itself and its
caller.
Any hints on what it _could_ be, or on what I can do to further narrow
 down the problem?
Well, I expanded killall5.c with a couple printf's:
...
int main(int argc, char **argv)
{
...
signal(SIGTERM, SIG_IGN);
signal(SIGSTOP, SIG_IGN);
signal(SIGKILL, SIG_IGN);
/* Now stop all processes. */
// changes rw
printf(now doing kill(-1, SIGSTOP);\n);
kill(-1, SIGSTOP);
sent_sigstop = 1;
printf(done with kill(-1, SIGSTOP);\n);
...
 and the last thing I see on the console is the first printf.
 Screenshot (thanks to iLO) at
 http://www.waldner.priv.at/temp/killall5.jpg
So to me it seems like signal(SIGSTOP, SIG_IGN); either isn't 
 honored, and killall5 itself killed, or else it kills something else
 essential, but what could that be?
No, kill(-1, SIGWHATEVER) is guaranteed to kill all processes
/except/ the caller. man 2 kill on any unix/linux box. What kernel
are you using, this might be a kernel bug. Is this an i386 or
another architecture ?
(You're not running bootlogd somehow at shutdown time are you ?)
Plus, I've discovered 3 other boxen, various DL360/380, with the same 
 problem. Isn't there anyone else with Compaq/HP gear and this problem?
I doubt it is compaq specific, but there must be something else
out of the ordinary here or everybody would have this problem.
Mike.


Re: Sarge box not rebooting..

2004-12-27 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Robert Waldner  [EMAIL PROTECTED] wrote:
On Mon, 27 Dec 2004 12:25:08 +0100, John Smith writes:
On Mon, 2004-12-27 at 10:48 +0100, Robert Waldner wrote:
 I have a HP DL380 here with Sarge (current as of now) on it. Problem 

rant It must be one of the most mentioned boxes on these lists, a
distinction I wouldn't crave, as it's manufacturer... (Hey, HP, are you
listening? You are using Debian inhouse, why don't you contribute a bit
more, we are convinced of the hardware quality!) /rant

Tell me about it :( - unfortunately I've no control whatsoever about 
 the choice of hardware.

As it's not even displaying Rebooting, did you check
the /etc/init.d/reboot permissions? How about calling it directly with
a sh -x?

It doesn't come as far. I've checked further, and what's holding it up 
 is /etc/rc6.d/S20sendsigs, the `killall5 -15`. I strace'd it, and the 
 last thing I get is rt_sigaction(-1, SIGSTOP (note the missing )). 

Ofcourse, by then the strace process is sigSTOPped too. Heisenbug.

 If I background both killall5's, it comes as far as Saving random 
 seed... done, eg S30urandom finishes.

Hmm, can it be that killall5 doesn't actually manage to *not* kill 
 itself?

Ofcourse it goes through great lengths to do exactly that - NOT
kill itself. It kills all processes _except_ itself and its
caller.

This would be a quite grave bug.

Ehm, no. Wrong conclusion. 

Mike.


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



Re: crontab every 5 minutes?

2004-12-24 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Joao Clemente  [EMAIL PROTECTED] wrote:
Now, I must wonder: Is there a way to shift this by a wanted value? 
(for instance, when x MOD y = 1, something like putting into cron the 
instance (*/5)+1  ? It would run at 1,6,11,16,21, ... Is it possible?

Perhaps 1-59/5 ? From the manpage I get the impression that
that would work.

Mike.


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



Re: howto know if raid is really working?

2004-12-16 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Harland Christofferson  [EMAIL PROTECTED] wrote:
At Thursday, 16 December 2004, you wrote:

Thanks for the reply, but I still haven't cleared my doubt.
I'll cut the relevant part of the reply (relevant for what I'm trying 
to 
understand) and comment at the end:

*snip*

you mention mirroring partions. i have the entire disk mirrored, 
not the individual partions. is it better to mirror individual partions? 

The current read-balancing code in RAID1 works better on
whole-disk raid, since different MD devices don't know
anything about eachother.

Mike.


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


Re: M$ Frontpage Replacement ?

2004-12-15 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Nayyar Ahmed  [EMAIL PROTECTED] wrote:
Hello All,

Is there any as good as M$ Frontpage and flexible 
website development tool, which could give all
those luxarires present in Frontpage.

Nvu, http://nvu.com/ ?

Mike.


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



Re: run levels 1 and S

2004-12-15 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
martin f krafft  [EMAIL PROTECTED] wrote:
Are there any differences between the run-levels 1 and S? I know
that S10single is not executed for S, but init spawns sulogin
directly. Any functional differences?

Runlevel S doesn't have start/stop scripts.

Runlevel 1 is used to shutdown all current running processes.

Runlevel 1's last start action is to switch to runlevel S.

So init S is _very different_ from init 1, since the first
will keep all current processes running and just spawn a shell on
the console, while the latter will terminate all running processes,
_then_ switch to runlevel S.

What about /etc/rcS.d/ you say? Well, the stuff in /etc/rcS.d
is run at sysinit time (which happens just _once_ after boot),
not in single user mode. The 'S' stand for sysinit, not
runlevel S.

See man init, man shutdown, and man inittab.

Mike.


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



Re: LC_LANG and Init

2004-12-13 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Christian Schaefer  [EMAIL PROTECTED] wrote:
Hi,

how can I set environment variables for processes listed in 
/etc/inittab? Especially LC_LANG which is needed for correct running 
(german umlauts) of a backup client.

aa:2:respawn:/bin/sh 'LC_LANG=de_whatever exec /bitte/bitte/ja'

Mike.


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



Re: OT? hypertread on or off for SMP kernel

2004-12-09 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
michael  [EMAIL PROTECTED] wrote:
However, for one simple test (v.low memory, v.low comms, high compute)
case which is Fortran90 compiled using mpich, I actually found turning
HT off helped -- when it was on then for -np 2 there was no speed up
(top implied they ran on same physical processor). I presume this was
because the CPU was fully busy anyhow so the 2nd thread had to wait (you
seem to imply the opposite but I don't follow why!).

Turning on the SMT scheduler support in the kernel is supposed
to prevent exactly this. If two jobs are runnable, they will be
run on 2 different CPUs (if you have them), not on 1 CPU with 2 threads.

Mike.


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



Re: login into a particular directory using ssh

2004-12-05 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Kamaraju Kusumanchi  [EMAIL PROTECTED] wrote:
On Sun, 05 Dec 2004 17:18:54 -0500, David Mandelberg
[EMAIL PROTECTED] wrote:
 ssh [EMAIL PROTECTED] sh -c 'cd dirname; exec somecommand'
 
 somecommand is the command you want to run after cd'ing. E.g. if you
 want to run bash in / as joe at shell.example.net:
 
 ssh [EMAIL PROTECTED] sh -c 'cd /; exec bash'
 

I tried this. It is not working. The machine seems to be hanging. Is
there any typo there?

Try this:

ssh -t [EMAIL PROTECTED] 'cd /  exec /bin/bash'

The '-t' forces allocation of a tty, which is probably what
confused you wrt it seems to be hanging - you didn't get a prompt.

The sh -c isn't neccesary as ssh already executes a shell,
and the '' makes sure that the final shell is only run if
the cd / (or cd /what/ever) succeeds.

Mike.


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



Re: .ini files in bash?

2004-11-29 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
David Baron  [EMAIL PROTECTED] wrote:
How might one save and restore setting of variables in a bash script to and 
from a file in one's home (or sub-) directory?

Okay so everybody's trying to outdo eachother trying to write
sed scripts that do proper quoting. I'd like to recommend reading
the bash or any other POSIX shell manual instead.

To save variables:

export -p  envfile

To read them back:

. envfile

See, for example, man ash:

 export -p
With no arguments the export command lists the names of all
exported variables.  With the -p option specified the output will
be formatted suitably for non-interactive use.

One minor nit though: the output of 'export -p' is not guaranteed to
be readable for every POSIX shell. Bash and zsh generate declare -x
statements that can't be read by a standard POSIX shell like ash.
Perhaps a bug report is in order ... in the mean time, make sure
you only import variables into the same shell you exported them
from or use this tiny code fragment I'm posting here trying to
outdo all the other sed l33t [EMAIL PROTECTED]:

export | sed -e 's/^\(export\|declare -x\|typeset -x\|\)/export /'  envfile

That would be reasonably portable.

Mike.


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



Re: Making my USB based webcam work

2004-11-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
stan  [EMAIL PROTECTED] wrote:
Just picked up a cheap USB based webcam, and I'm trying to figure out
how to use it with Debian.

lsusb reports 04fC;0561 Sunplus Technology Co, Ltd.

When I plug it in it's detectd but not claimed by any driver. 

How do I go about geting this to work?

15 seconds with Google turned up http://spca50x.sourceforge.net/

Mike.


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



Re: Debmirror us apt-cacher

2004-11-23 Thread Miquel

Hola Lluis :

Mira't millor apt-proxy, es el que busques

Salutacions


Miquel (a.k.a. Ktalà)


En/na Lluís Gras ha escrit:


Bones !!!

Algú amb experiència amb el debmirror ???

La idea és mirroritzar amb rsync i amb el cron durant la nit
l'arquitectura i386 per actualitzar localment uns quants pcs ( aprox 34 )
... val la pena ???

Recomanacions, experiències extrasensorials, receptes ...


Vinga ...àcies









Re: sysv-rc-conf breaks sysvinit

2004-11-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Miquel van Smoorenburg [EMAIL PROTECTED] wrote:
I've filed a bugreport against sysv-rc.

I meant sysv-rc-config, ofcourse.

Mike.


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



Re: sysv-rc-conf breaks sysvinit

2004-11-22 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Greg Trounson  [EMAIL PROTECTED] wrote:
I recently tried to apt-get install sysv-rc-conf, since rcconf seems to 
have dropped off the repos, and got this:

Unpacking sysv-rc (from .../sysv-rc_2.86-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/sysv-rc_2.86-5_all.deb 
(--unpack):
  trying to overwrite `/etc/init.d/rc', which is also in package sysvinit

Does sysv-rc replace sysvinit or something?

Yes it does, partially. This is a bug in the dependencies of
sysv-rc-conf, it should depend on both sysvinit and sysv-rc
so that sysvinit gets upgraded properly ..

Is it safe to overwrite 
this file with the version distributed by sysv-rc, or is this a 
temporary fix?

Probably not, you should install sysvinit first, that will
make sure sysvinit, sysv-rc and initscripts are installed
in the proper order.

I've filed a bugreport against sysv-rc.

Mike.


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



Re: where are debian boot-messages logged?

2004-11-21 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Bram Mertens  [EMAIL PROTECTED] wrote:
On my desktop (running SuSE 8.2) the messages printed to tty1 when the
machine is booting are stored in /var/log/boot.msg.  On my laptop I
can't find any file in /var/log/ that contains these messages.

Suse uses bootlogd for that. If you're running testing/unstable
you can edit /etc/default/bootlogd and enable bootlogd. The
output will be in /var/log/boot.

The reason that this is off by default is that it makes some
systems unbootable, esp non-i386 machines with serial consoles.

Mike.


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



Re: autofs or am-utils?

2004-11-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ron Johnson  [EMAIL PROTECTED] wrote:
If I just want my USB pen drive to be automounted  dismounted,
it sounds like autofs would be the one to use, then.

Or supermount. That's a seperate kernel patch, though.

http://supermount-ng.sourceforge.net/
http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck2/patches/supermount-ng207.diff

Mike.


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



Re: BIG filesystems, Big Files, Transparent Compression?

2004-11-16 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Ben Russo  [EMAIL PROTECTED] wrote:
(see below for long story background )

The last time I created a large HW RAID5 volume (1.6 TB) the kernel was 
unable to see all of it... If I create several smaller block devices 
(like 400GB each) can LVM bind them together into a larger single 
filesystem?  ( I am aiming for 4-6 TB )

You need to use a 2.6 kernel and compile the kernel with support for
large block devices.  In make menuconfig, device drivers -
block devices - Support for Large Block Devices.

Mike.


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



Re: debiancat.info: ser o no ser

2004-11-03 Thread Miquel

Hola :

Si voleu jo també puc anar fent modestes aportacions quan les meves 
obligacions (maritals, estudiantils, laborals, etc) m'ho permetin fer.


Salutacions


Miquel (a.k.a. Ktalà)

En/na Quim Gil ha escrit:

Fa un any proposava el projecte http://debiancat.info com a lloc on anar 
emmagatzemant preguntes freqüents sobre Debian per a usuaris novells.


Des de llavors uns quants hem destinat part del nostre temps (en el meu 
cas molt al principi, després menys, després gairebé res).  :(  El cas 
és que el projecte no ha acabat de quallar, acabo de rebre el missatge 
de notificació de caducitat del domini en 15 dies i... no sé què fer.


El problema no és la renovació del domini sinó el fet de mantenir o no 
obert aquest projecte. Si surt gent que el vulgui tirar endavant, 
perfecte. Si no, el tanquem sense problemes també.


interactors (qui posa el servidor, qui ha pagat el domini i qui em paga 
les garrofes) ofereix la renovació des serveis de forma gratuita i la 
possibilitat d'administrar tota la web mitjançant GForge: 
http://devel.interactors.coop/projects/debiancat/


La feina ha de sortir del propi projecte, però.

Quim
PS: he enviat això també a LaFarga.org a veure si per aquella banda surt 
algú: http://www.lafarga.org/node/view/152







Re: Where is the key for the password files stored?

2004-10-25 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Micha Feigin  [EMAIL PROTECTED] wrote:
Where is the key used to decrypt the passwords (shadow) files stored?
I want to reinstall an old redhat system with debian, but I wish to 
preserve old users and passwords to ease the transition process.

You can't decrypt passwords - because they are not crypted at all.
The algorithm is just a one-way hash.

When you login, the password you enter is simply encrypted (one-way-
hashed, really) again and compared with the one in the shadow file.
The password in the shadow file is never decrypted as such.

Why not simply copy the relevant parts of the password and shadow
files over, why do you want to decrypt first ?

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: Can't umount / at shutdown

2004-10-16 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
David Baron  [EMAIL PROTECTED] wrote:
On Friday 15 October 2004 15:03, [EMAIL PROTECTED] 
wrote:
init 1 root   10u  FIFO3,6176334 /dev/initctl

It is this init process, apparently. I have had the same problem with recent 
2.6.* kernels. Meanwhile, I have changed the umountfs script to use an -l 
lazy umount. This get's rid of the error messages. The offended filesystem 
was fine until the last two kernel upgrades. Now, it recovers the journal 
(ext3) on startup but all is then clean.

You have /dev on a seperate filesystem ?

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



script deb-downloader (SPAM descarado ;-D)

2004-10-15 Thread Miquel

Hola a todos :

Escribo este mail (spam descarado) para comunicaros
que acabo de hacer mi primera y modesta aportación al
mundo del software libre.

Hace un par de meses, como algunos sabreis, me quede
sin ADSL y tuve que bajar los .deb desde el trabajo
con Hasefroch. Para automatizarlo hice este script con
Perl que acabo de publicar (como es de suponer por lo
de los .deb, sólo para Debian y derivadas).

La url es -- http://deb-downloader.berlios.de/

Bajadlo, testeadlo y decidme que os parece, ok? Espero
que os sea útil a vosotros también

Gracias y tened piedad de mi Perl y de la web, que es
temporal

-- Miquel (a.k.a. Ktalà) Linux User #286784 Debian GNU/Linux (Linux 
Wolverine 2.6.7) Welcome to the jungle, we got fun and games Guns n' Roses




Re: Can't umount / at shutdown

2004-10-15 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Pau Capdevila  [EMAIL PROTECTED] wrote:
I've added a probe in the umount rc script to see what's opened just
before trying to umount filesystems. I can see the following

COMMANDPID USER   FD   TYPE DEVICESIZE  NODE NAME
lsof  2401 root1w   REG3,6  33130315 /var/log/reboot.log

What is preventing the umount?

The lsof itself is the only thing that has a file open
for writing.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: change /dev/console owner to user logged on console?

2004-10-13 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marc D Ronell  [EMAIL PROTECTED] wrote:
Under Debian, is there a  method which allows any user directly logged
onto  the host  and  using the  host's  keyboard and  monitor to  take
ownership of  some that  host's devices?

pam_console

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: change /dev/console owner to user logged on console?

2004-10-13 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Marc D Ronell  [EMAIL PROTECTED] wrote:
The following message is a courtesy copy of an article
that has been posted to gmane.linux.debian.user as well.

 Miquel == Miquel van Smoorenburg [EMAIL PROTECTED] writes:

   In article [EMAIL PROTECTED],
   Marc D Ronell  [EMAIL PROTECTED] wrote:
   Under Debian, is there a method which allows any user directly
   logged onto the host and using the host's keyboard and monitor to
   take ownership of some that host's devices?

   pam_console

So I am using Debian Sarge 3.1,  and I believe pam is installed, but I
do not see either a directory or file called pam_console when I search
using an up-to-date locate check:

Ah. I've never used it either, but thanks to Google I'be developed a
keyword-memory (using Google as external-storage memory) which
said pam_console. It appears that the current pam module that
does something similar is called pam_devperm:

Package: libpam-devperm
Version: 1.5-2
Depends: libc6 (= 2.3.1-1)
Description: PAM module to change device ownership on login
 This PAM module allows you to change device ownership and permissions
 when a user logs in.
 .
 This is functionally equivalent with SunOS logindevperm(4).
 
Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: NFS slow/lockups

2004-10-13 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Tim Kelley  [EMAIL PROTECTED] wrote:
On Wed, Oct 13, 2004 at 09:05:21PM +0100, Alan Chandler wrote:
 Just to show its not networking problems, I have resorted to copying
the files 
 via scp - even encrypted I am getting about 0.5Mb/sec

That's horrible! Is this a 10Mb network or dialup or what? Surely you
mean .5 MBytes/sec (which also isn't too hot for a 10Mbit ethernet).
 
 Any idea whats wrong and how to improve performance?

Some basic things:

1. If you have a switch, make sure it your interfaces are at full
duplex

But do not force the switch interface to full duplex. At least on
Cisco's, if you configure the switch at full duplex (as opposed
to auto), then it will not negotiate full/half duplex anymore.
And since almost all Linux ethernet device drivers default to
half-duplex, you get a guaranteed duplex/half-duplex mismatch.

And .5 Mbytes/sec on a 100 mbit network is what you end up with.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: More on umount problems on shutdown

2004-10-10 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
David Baron  [EMAIL PROTECTED] wrote:
Several posters, including myself, have cited problems umounting the file 
systems on shutdown with recent 2.6.8 kernels. This may be caused by timing 
problems leaving the file systems busy. I got rid of the error messages and 
got almost all clean file systems on restart by using umount -l (lazy 
umount) and a sleep to let things settle down.

One of the file systems is ALWAYS recovering its journal on restart (mounts 
to /usr/share). It is found clean and everything is OK, but ...

I tried a sync before umount. Did not help. In the umountfs script, it might 
be too late since all processes have been killed off. The journal service for 
each FS is a process, is it not?

No.

So I put the sync, followed by a sleep, in 
the script before the killall's. Did not help there either.

Any other ideas?

Yes, try to put a fuser -vm /usr/share; sleep 10 in the script,
after the killalls. That will perhaps tell you what is keeping
the mountpoint busy.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: sysvinit/gnome/display bug report

2004-10-09 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Arjen Dragt  [EMAIL PROTECTED] wrote:
I am trying to determine the best category under which
to file a Debian bug report.
The symptoms (completely repeatable) are that trying
to change to runlevel S (via telinit or init) does not
work, insteat causes my screen (console - Gnome
session) to go really wierd.command line starts
scrolling very fast (blank lines), any mouse clicks
initiate multiple windows (of whatever was clicked
on).  It looks a lot like a loop gone bad (endless
loop).

Well, that's probably because the system is doing what you're
TELLING it to do, not what you WANT it to do :)

You don't use 'init s' to go to single user mode. You need
to go through runlevel 1 so things get shut down properly.
So 'init 1' or 'telinit 1' will do what you want.

If fact you should probably simply use the standard way to
go to single user mode, which is simply 'shutdown now'.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: running fsck on root

2004-09-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Rob Benton  [EMAIL PROTECTED] wrote:
I've my drive setup like this:

/dev/hdb1 /boot dos
/dev/hdb2 / xfs
/dev/hdb3 /usr/local xfs
/dev/hdb5 /u01 xfs
/dev/hdb6 swap


I've tried shutting down to single-user mode and then remounting / as ro 
but all the xfs disk check utilities complain.  Are there any tricks to 
getting the xfs utilities to check mounted filesystems?  Or maybe 
there's a better way to approach this I just haven't thought of?

# man xfs_repair
   -d Repair dangerously. Allow xfs_repair to repair an XFS filesystem
  mounted read only. This is typically done on  a  root  fileystem
  from single user mode, immediately followed by a reboot.

# mount
/dev/hda3 on /mnt type xfs (ro)
# xfs_repair /dev/hda3
xfs_repair: /dev/hda3 contains a mounted filesystem

fatal error -- couldn't initialize XFS library
# xfs_repair -d /dev/hda3
Phase 1 - find and verify superblock...



Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: `who -d' Dead processes

2004-09-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Floris Bruynooghe  [EMAIL PROTECTED] wrote:
I had a computer (old PC) running at my student house over the holidays
and was using it (as I am now) to ssh into and do my normal work etc.
Just by accident I discovered the `who -d' command and saw I had a
couple of 100 processes listed that way.  Also they where using up my
pty's.  Coz I was scared of running out of pty's I rebooted the system
since then.  But I get again lots of dead processes.

Are you sure those dead processes actually exist ..

who -d doesn't list dead processes. who -d lists empty slots in
the /var/run/utmp file.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: root partition full and du and df do not agree

2004-09-05 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
John Harrold  [EMAIL PROTECTED] wrote:
I have a delima. My root partition is about 24Gb and it's full. The problem
is that I cannot figure out what is taking up the space. If I goto '/' and
run 'du -x' it says that about 500Mb are being used. This is about what I
would expect. Now If I run 'df' it says the partition is 100% full. Is
there any way to check for unlinked files which are taking up space or
something like that?

Sure. Try

ls -ld /proc/*/fd/* 21 | fgrep '(deleted)'

.. that will show you all deleted files still held open
by running processes.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: Orderly dismount at shutdown?

2004-08-25 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
David Baron  [EMAIL PROTECTED] wrote:
Now that I have my multi-partition file system up and running: One of the 
partitions (mounted /usr/share) does not dismount in an orderly manner on 
shutdown. I get messages like:
 Illegal seek 
...hdb6 not mounted ...

It's kind of hard to diagnose a problem like this without the
exact message..

File system is OK on restart. (The first time, I needed ext3 journal recovery 
but this has not recurred.)

You can't unmount a filesystem if it's busy (something still running
with files open on that filesystem), or if there's something
else mounted on it. Perhaps that's your problem.

Mike.
-- 
In times of universal deceit, telling the truth becomes
 a revolutionary act. -- George Orwell.


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



Re: /dev/pts/0: Operation not permitted

2004-08-24 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Johann Spies  [EMAIL PROTECTED] wrote:
When I do a su - sysadm on one server with Woody I get the error
message in the subject line. That happens only when su to sysadm is
being used.

Apart from the error message everything seems work normally:

14:40:38 [EMAIL PROTECTED]:/var/log/exim4$ sudo su - sysadm
/dev/pts/0: Operation not permitted
14:40:42 [EMAIL PROTECTED]:~$

What is causing this?

Probably a 'mesg n' in /etc/profile or somesuch. After a su,
/dev/pts/0 is still owned by the previous userid.

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: Exim4 return-path header

2004-08-24 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Eddy  [EMAIL PROTECTED] wrote:
Hi,

I use Exim4 with Sarge and have a little configuration problem regarding 
mail headers. 

What should I do in order to have Return-path and Sender headers added 
by Exim to be exactly the same as the From header created by my mail 
client ?

Make sure your mail client calls exim with the correct options
to set this header. I'm not sure if kmail can do that, the right
incantation for mutt is 'set envelope_from'.

Alternatively, let exim listen on port 25 on localhost, and tell
kmail to use SMTP server localhost:25 to deliver mail. Probably
kmail will use the same address for MAIL FROM: and From: and
that will solve your problem nicely.

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: domain name of debian

2004-08-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
John Summerfield  [EMAIL PROTECTED] wrote:
Rus Foster wrote:

 On Mon, 23 Aug 2004, Shu Hung (Koala) wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 where does the domain name of a debain stored?
 is there anyway to change it?


 Try edit /etc/domainname or /etc/hostname depending on what you want 
 to acheive

 Rus

dnsdomainname is in /etc/resolv.conf
[EMAIL PROTECTED]:~$ cat /etc/resolv.conf
search demo.room
nameserver 192.168.9.4
nameserver 192.168.8.1
[EMAIL PROTECTED]:~$ hostname -f
Dolphin.demo.room
[EMAIL PROTECTED]:~$

Well, only to the point that you need to register the full
hostname aka FQDN in either DNS or /etc/hosts as well.

NIS domain name may be in /etc/defaultdomain (to my surprise).  More 
usually, it's in /etc/yp.conf

It's _never_ in /etc/yp.conf - always in /etc/defaultdomain.
The name is an inheritance from Sun, they invented NIS and
on Solaris the NIS domainname is stored in /etc/defaultdomein.

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: Where's routed?

2004-08-23 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Jon  [EMAIL PROTECTED] wrote:
Check out the package zebra.  Replaces routed and ripd.
http://www.zebra.org/

Zebra has been superseded by quagga, http://www.quagga.net/

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: OT: Which tool, and how, to get partial string from file?

2004-08-22 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Kent West  [EMAIL PROTECTED] wrote:
 On Fri, Aug 20, 2004 at 09:46:52PM -0500, Kent West wrote:
 How can I test to see if the word tuber is in the /etc/passwd 
 file, reliably, and take an action if it is, and take a different 
 action if it's not, in a bash shell script?

How do I test to make sure the name is in two files? Like so?

At this point, I suggest you start studying shell script
programming. Get a book, or read one of the many online tutorials
such as http://www.tldp.org/LDP/abs/html/

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: OT: Which tool, and how, to get partial string from file?

2004-08-21 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Kent West  [EMAIL PROTECTED] wrote:
Miquel van Smoorenburg wrote:

In article [EMAIL PROTECTED],
Kent West  [EMAIL PROTECTED] wrote:
  

A programmer would know this . . , but not me  ;-)

I'm using a script to build a file by concatenating portions of two 
other files. Then end result needs to be checked to make sure a certain 
word shows up in a line.

I know that grep programm this email message would return the line:

A programmer would know this . . , but not me  ;-)

but what I want returned is just the word programmer.



sed -ne 's/^.*\(word_here\).*$/\1/p'  file
  

Here's my test script:

 #!/bin/bash

 if [ sed -ne 's/^.*\(icewm\).*$/\1/p'  /home.local/snert/.xinitrc ] ; 
 then
 echo Yep
 else
 echo Nope
 fi

That's the complete wrong way to use '[' !

You want something like:

WORD=`sed -ne 's/^.*\(icewm\).*$/\1/p'  /home.local/snert/.xinitrc`
if [ -n $WORD ]
then


For a primer on how to use '[', do man test.

BTW, why not simply

  if grep -q word file
  then
  # word was present in file
  bla
  bla
  fi

  

My test script:

 #!/bin/bash

 if [ `grep -q icewm /home.local/snert/.xinitrc` ] ; then
 echo Yep

I wrote

if grep -q word file

Why change it to

if [ `grep -q icewm /home.local/snert/.xinitrc` ]

? That means something completely different.

sh scripts are a programming language. They do what you say,
not what you mean ;)

After 'if' comes a command. The exit status of the command is used
as return value: 0 is true, 1 (or any non-zero value) is false.
The '[' thing is just a command. Look:

$ ls -l /usr/bin/[
-rwxr-xr-x  1 root root 23928 Jul 16 13:37 /usr/bin/[*

It's also known as 'test'. See man test.

But you can put other commands there, like grep. grep -q exits
with exit-status 0 (true) on a match. So that's why I said

if grep -q word file

and that's why it's completely different from if [ grep ...

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: OT: Which tool, and how, to get partial string from file?

2004-08-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Kent West  [EMAIL PROTECTED] wrote:
A programmer would know this . . , but not me  ;-)

I'm using a script to build a file by concatenating portions of two 
other files. Then end result needs to be checked to make sure a certain 
word shows up in a line.

I know that grep programm this email message would return the line:

 A programmer would know this . . , but not me  ;-)

but what I want returned is just the word programmer.

sed -ne 's/^.*\(word_here\).*$/\1/p'  file

BTW, why not simply

if grep -q word file
then
# word was present in file
bla
bla
fi

Or if ! grep -q word file if you want to do something if word
wasn't present in file.

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: Sarge RAID install

2004-08-16 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Paul Gear  [EMAIL PROTECTED] wrote:
WA9ALS - John wrote:
 Newbie installing latest Sarge would like to configure RAID 1.  Would
 someone please show me what the partition table should look like for the
 simple case of / and swap partitions, configured with RAID 1?  Thanks!  -

It's not supported on / or /boot - see the thread Rant about installer
features for more discussion and some links.

Oh but it is. Just do a normal install, then convert it to RAID1-
see http://www.miquels.cistron.nl/raid/

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: bad shutdown

2004-08-04 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Silvan  [EMAIL PROTECTED] wrote:
I think I have a CD-ROM going south.  I started the KDE CD ripper flummy, and 
then immediately stopped it.  I wound up with a kaudiocreator process hung up 
eating system CPU cycles and making my hard disk do unpleasant sounding 
things filling the log up with hdd lost interrupt messages.  The system was 
stable, but I didn't want to leave it doing that.

So I closed everything out, logged off, waited a bit, and then rebooted.  The 
last thing I saw before the reboot was a warning that /home was busy, and so 
was not umounted.

Makes sense. You probably hit a hardware or kernel bug. As a result some
processes (kaudiocreator) got stuck in kernel mode and kept all
filesystems they were using busy. At that point there is no way
to umount those filesystems.

I booted into unclean/check forced mode on home and / both.  Fortunately, 
there were no serious problems.

I never see serious problems even after a hard reboot. Ofcourse, I
use journalling filesystems everywhere (ext3 or xfs).

Sure, I was having weird kernel interrupt problems, but it seems poorly 
conceived to me for the init scripts to take one shot at something as 
important as umounting everything, and then just say OK, to hell with it, 
let's reboot anyway.

Well, there's really nothing else to be done. What can be done?
Repair the hardware by magic and somehow re-initialize the kernel?
Rebooting is the safest way out. Note that the standard shutdown
sequence _does_ call sync() just before halt/reboot.

I'm not sure what could have been done at that stage of the game, but I'm 
miffed I didn't even get the chance to try.

Because there's nothing to be done at that stage. Be glad that the
system did reboot (imagine if it's in some remote location).

Anyone have any suggestions what I should do about this to increase the odds 
that this won't happen again.  (Other than getting rid of the CD ripper 
flummy and trying to remember not to try to use the damn CD-ROM until I get 
it replaced, I mean.)

If you're using ext2, switch to ext3 (make sure your kernel supports
ext3, then tune2fs -j /dev/hdaX for all your filesystems, change ext2
to ext3 in /etc/fstab, shutdown -rF now).

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



Re: kill process by name

2004-08-03 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Magnus Therning  [EMAIL PROTECTED] wrote:
On Tue, Aug 03, 2004 at 07:58:02PM +0100, Oliver Elphick wrote:
On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote:
 Hello Rick, I am looking for the same, did you find something about
 kill process by name?
  

You want killall, from the psmisc package.

Or 'pkill'. I've recently fallen in love with it, and it's cousin
'pgrep'. Both are in the package procps.

Very true. pkill will work as expected on other OSes if it is
available. On the other hand, the killall command does something
*very* different on non-Linux OSes.

If you do killall something on Solaris as root, the system
goes down. *Hard*. Better not to get used to something dangerous
like that (killall should never have been called that under
Linux, but it's way too late to fix that).

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


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



  1   2   3   4   5   6   7   8   9   10   >