Re: systemd et debian

2012-10-10 Thread JB1
Le Tue, 09 Oct 2012 18:28:50 +0200,
maderios mader...@gmail.com a écrit :

 On 10/09/2012 04:38 PM, JB1 wrote:
  Le Tue, 09 Oct 2012 15:49:48 +0200,
  maderiosmader...@gmail.com  a écrit :
 
  On 10/09/2012 11:45 AM, David Soulayrol wrote:
  Bonjour,
 
  Un récent fil à propos d'un problème avec systemd m'a poussé à me
  pencher dessus. Après avoir lu son fonctionnement global dans un
  intéressant article de GLMF ainsi que les pages :
 
  -http://wiki.debian.org/systemd   ;
  -http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=systemd,

  bonjour,
  les logs spécifiques à systemd ne sont pas bavard?
 
 http://lists.debian.org/debian-user-french/2012/09/msg00239.html

dans le lien ci dessus, on  peut changer le /dev/null?
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/run/couchdb ; /bin/chown -R
couchdb /var/run/couchdb ExecStart=/usr/bin/couchdb -b -o /dev/null
-e /dev/null ExecStop=/usr/bin/couchdb -d

[Install]

je vais essayer avec une machine 32 bits fraichement installé
A+
jb1

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121010084453.46549589.jacques.briq...@orange.fr



Re: Authentification AD: directe ou via OpenLDAP ?

2012-10-10 Thread Olivier
Le 9 octobre 2012 09:31, Mathias Dufresne mathias.dufre...@gmail.com a
écrit :

 Salut,

 Les deux devraient fonctionner sans souci, d'un point de
 l'authentification.

 La difficulté réside essentiellement, si je ne dis pas de bêtises, dans la
 configuration de Kerberos, mais le net doit fourmiller de documentation
 depuis le temps que les Linux accèdent aux AD.
 La question du coup me semble plus être :
 - faut-il configurer Kerberos pour une auth directe ?
 - si oui, ne serait-ce pas plus simple de configurer Kerberos avec
 OpenLDAP et avoir une auth web pure LDAP ? Ce qui pourrait faire un poil
 diminuer la sécurité du site s'il n'utilise pas krb, celui-ci ne devant pas
 être complètement inutile :p

 Cdlt,

 mathias

 Le 8 octobre 2012 08:49, Olivier oza_4...@yahoo.fr a écrit :

 Bonjour,

 Je suis totalement novice dans le domaine des annuaires LDAP.
 Je développe une appli web (apache2, ...) qui comprend un module
 d'authentification-autorisation.
 Elle va être utilisée chez un client qui utilise Active Directory.

 Est-il préférable de configurer apache2 pour authentifier-autoriser les
 utilisateurs en interrogeant directement Active Directory ou bien est-il
 préférable d'interroger une base intermédiaire sous OpenLDAP, par exemple,
 et de mettre en place une synchronisation entre OpenLDAP et Active
 Directory ?

 Slts



Suite aux indications de Mathias, je viens en effet, de (re-)découvrir le
protocole Kerberos et son module libapache2-mod-auth-kerb.
Ce protocole semble bien adapté à mon contexte car il permet le Single Sign
On.
Il semble donc possible de configurer Apache2 pour authentifier-autoriser
des utilisateurs définis dans une base Active Directory via le protocole
Kerberos.

Pour bien faire, j'ai recherché des annuaires LDAP Open Source supportant
aussi Kerberos et qui pourraient avantageusement de se substituer  à une
base Active Directory, pour des tests ou des démos, par exemple.

Le projet 389-ds semble inclure un module Kerberos mais 389-ds n'est pas
encore empaqueté pour Squeeze ou Wheezy.
Le projet FusionDirectory prévoit pour sa future version 1.0.5, un plugin
Kerberos mais la version 1.0.4 du projet n'est pas encore publiée.

Avez-vous des recommandations en la matière ?


Re: clavier azerty en tty

2012-10-10 Thread François

Le 09/10/2012 17:05, Bernard Schoenacker a écrit :

bonjour,

j'emploie kbd et je n'arrive pas à trouver ceci ! en TTY
j'ai cela à la place =



dpkg-reconfigure console-data

Peut-être aussi :
dpkg-reconfigure keyboard-configuration
--
François

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/k53fi0$9fe$1...@ger.gmane.org



Re: clavier azerty en tty

2012-10-10 Thread Bernard Schoenacker
Le Wed, 10 Oct 2012 11:36:01 +0200,
François francois.le@free.fr a écrit :

 Le 09/10/2012 17:05, Bernard Schoenacker a écrit :
  bonjour,
 
  j'emploie kbd et je n'arrive pas à trouver ceci ! en TTY
  j'ai cela à la place =
 
 
 dpkg-reconfigure console-data
 
 Peut-être aussi :
 dpkg-reconfigure keyboard-configuration


bonjour,

toujours pas de résultat probant

@+
bernard

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121010164319.4b849967.bernard.schoenac...@free.fr



Re: clavier azerty en tty

2012-10-10 Thread D. Barbier
Le 10 octobre 2012 16:43, Bernard Schoenacker a écrit :
 Le Wed, 10 Oct 2012 11:36:01 +0200,
 François francois.le@free.fr a écrit :

 Le 09/10/2012 17:05, Bernard Schoenacker a écrit :
  bonjour,
 
  j'emploie kbd et je n'arrive pas à trouver ceci ! en TTY
  j'ai cela à la place =
 

 dpkg-reconfigure console-data

 Peut-être aussi :
 dpkg-reconfigure keyboard-configuration


 bonjour,

 toujours pas de résultat probant

Bonjour,

Tu as quoi dans /etc/default/keyboard ?
Est-ce que le paquet console-setup est installé ?

Denis

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMqf4EEJBei2�EwWjBQ0Bj=q+uexmppna9clycy-as16k...@mail.gmail.com



Re: clavier azerty en tty

2012-10-10 Thread Bernard Schoenacker
Le Wed, 10 Oct 2012 17:23:57 +0200,
D. Barbier bou...@gmail.com a écrit :

 Le 10 octobre 2012 16:43, Bernard Schoenacker a écrit :
  Le Wed, 10 Oct 2012 11:36:01 +0200,
  François francois.le@free.fr a écrit :
 
  Le 09/10/2012 17:05, Bernard Schoenacker a écrit :
   bonjour,
  
   j'emploie kbd et je n'arrive pas à trouver ceci ! en TTY
   j'ai cela à la place =
  
 
  dpkg-reconfigure console-data
 
  Peut-être aussi :
  dpkg-reconfigure keyboard-configuration
 
 
  bonjour,
 
  toujours pas de résultat probant
 
 Bonjour,
 
 Tu as quoi dans /etc/default/keyboard ?
 Est-ce que le paquet console-setup est installé ?
 
 Denis
 
bonjour,

le paquet console-setup est installé
voici ce que donne /etc/default/keyboard:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL=pc105
XKBLAYOUT=fr
XKBVARIANT=oss_latin9
XKBOPTIONS=

BACKSPACE=guess

Bernard

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121010194247.55285195.bernard.schoenac...@free.fr



Re: Ayuda Urgente: Iptables e ip rule no funcionan correctamente endebian 6?

2012-10-10 Thread Francisco J. Bejarano
Pues sigo igual. Tengo a la gente de las empresas contenta En fin,
reinstale el sistema con Ubuntu Server 12.04.1 que lleva el nucleo 3.2 e
iptables v1.4.12 y sigue pasando lo mismo.

Solo me queda salirme del sistema y compilar el ultimo nucleo e iptables
por separado aunque esto lo querría como ultima opcion ya que quiero
disponer de los parches de seguridad de la distribución.

¿Nadie sabe que puede estar pasando?

-
Francisco J. Bejarano
Responsable de Sistemas
Dpt. Sistemas e Infraestructuras
Open Knowledge Network S.L.
francisco.bejar...@openknowledgenetwork.com
Tel. (+34) 902 534 004
Fax. (+34) 917 266 476
-

El 10/10/12 02:36, Santiago Liz escribió:
 Tengo exactamente el mismo problema, con la misma versión de kernel e
 iptables y una configuración similar.
 Algo que observo, es que al hacer un tcpdump en alguna de las placas
 externas, veo algunos paquetes (muy pocos en comparación con el
 tráfico total) con ip de la otra placa externa. Es decir que el NAT se
 hace deacuerdo a lo previsto con el marcado, pero termina saliendo por
 la otra interface.
 ¿Alguna pista de lo que puede estar pasando?
 
 Saludos,
 Santiago.-
 
 
 El 06/09/12 09:50, Juan Antonio escribió:
 El 06/09/12 09:35, Francisco J. Bejarano escribió:
 El 04/09/12 23:19, Juan Antonio escribió:
 On 05/09/12 16:13, Francisco J. Bejarano wrote:
 Sep  5 15:24:55 firewall kernel: [1883719.204551] fwmark 1: IN=eth1 OUT=
 MAC=00:18:8b:f9:f3:34:00:24:8c:de:c8:fb:08:00 SRC=10.0.1.153
 DST=10.0.1.1 LEN=40 TOS=0x00 PREC=0x00 TTL=128 ID=1436 DF PROTO=TCP
 SPT=57856 DPT=22 WINDOW=16323 RES=0x00 ACK FIN URGP=0 MARK=0x1
 Sep  5 15:24:55 firewall kernel: [1883719.205085] fwmark 1: IN=eth1 OUT=
 MAC=00:18:8b:f9:f3:34:00:24:8c:de:c8:fb:08:00 SRC=10.0.1.153
 DST=10.0.1.1 LEN=40 TOS=0x00 PREC=0x00 TTL=128 ID=1437 DF PROTO=TCP
 SPT=57856 DPT=22 WINDOW=16323 RES=0x00 ACK URGP=0 MARK=0x1
 Sep  5 15:25:20 firewall kernel: [1883744.276724] fwmark 2: IN=eth2 OUT=
 MAC=00:0d:88:c5:ba:53:20:cf:33:d3:a6:d5:08:00 SRC=10.0.2.226
 DST=10.0.2.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=8254 DF PROTO=TCP
 SPT=52845 DPT=22 WINDOW=2641 RES=0x00 ACK URGP=0 MARK=0x2
 Sep  5 15:25:20 firewall kernel: [1883744.280404] fwmark 2: IN=eth2 OUT=
 MAC=00:0d:88:c5:ba:53:20:cf:33:d3:a6:d5:08:00 SRC=10.0.2.226
 DST=10.0.2.1 LEN=100 TOS=0x00 PREC=0x00 TTL=64 ID=8255 DF PROTO=TCP
 SPT=52845 DPT=22 WINDOW=2641 RES=0x00 ACK PSH URGP=0 MARK=0x2
 mmm, a propósito, las direcciones 10.0.2.1 y 10.0.1.1 ¿son las que
 tiene configuradas la pasarela? fíjate que no se especifica ningún
 interfaz en  OUT = y de hecho ese tráfico no tiene que llegar a
 ninguna tabla porque es local ¿tienes tráfico en el log marcado que no
 sea para el propio router? ¿por dónde sale el tráfico que no sale por
 donde debería?

 Un saludo.
 Hola, el trafico marcado lo logeo en mangle, prerouting despues de
 marcarlo con 1 o 2. Por eso no tiene out, porque todavia no se ha tomado
 la decision de ruteo. No es local es forward de eth1 o eth2 a la eth que
 corresponda de las adsl. No es para el propio router.

 El trafico, en la tabla main tiene un default route a TB2 (debido a
 ciertas necesidades de mi empresa) De hecho se va por ahi el trafico no
 marcado.




 ¿pero por qué se ve en DST una ip del mismo rango de red? Si es tráfico
 forwarded debería verse el dst original y la mac del interfaz del router.
 Te pongo otro trozo de log de una ip de la red interna 2 que va hacia
 afuera a una ip de internet (forward). Como ves tampoco tiene interfaz
 out. Asi descarto que fuera mi direccion al firewall ya que estoy
 conectado por ssh y mi trafico si iria al propio firewall.
 
 Sep  5 17:13:51 firewall kernel: [1890254.612411] fwmark 2: IN=eth2 OUT=
 MAC=00:0d:88:c5:ba:43:90:4c:e5:41:6b:d7:08:00 SRC=10.0.2.121
 DST=88.106.32.213 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=312 DF PROTO=TCP
 SPT=43691 DPT=22 WINDOW=2608 RES=0x00 ACK URGP=0 MARK=0x2
 Sep  5 17:13:51 firewall kernel: [1890254.649763] fwmark 2: IN=eth2 OUT=
 MAC=00:0d:88:c5:ba:43:90:4c:e5:41:6b:d7:08:00 SRC=10.0.2.121
 DST=88.106.32.213 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=313 DF PROTO=TCP
 SPT=43691 DPT=22 WINDOW=2597 RES=0x00 ACK URGP=0 MARK=0x2
 
 
 

 Si el main default es el mismo que el default de TB2 ¿para que añades
 reglas explicitas para usar esa tabla? ¿hay otras rutas en TB2
 diferentes a main? Me parece una configuración muy compleja que
 seguramente podrías reducir a 3 o 4 líneas de iptables y dos rules de
 iproute, asi podrías depurar mucho mejor.
 
 Tengo 5 redes y hay que enviar el trafico dependiendo del origen de la
 red y dentro del origen de la red dependiendo del puerto del destino. Si
 es algo complejo pero necesario debido a ciertas validaciones de
 seguridad de ips en servidores de destino que dependen de donde salga el
 trafico. Las 2 redes que pongo son de 2 empresas diferentes que
 comparten la misma salida TB3 

Re: Sobre bases clamav

2012-10-10 Thread Gonzalo Rivero
El mar, 09-10-2012 a las 19:27 -0600, Jose Pablo Rojas Carranza
escribió: 
 De donde se pueden descargar?
 
desde el sitio de clamav, donde pone ClamAV Virus Databases

 Enviado desde mi iPhone
 

-- 
enviado desde mi PC-AT 286 con modem de 300baudios, que no será gran
cosa, pero puede mandar mails sin hacer top-posting

 El 09/10/2012, a las 11:51 a.m., joel j...@ecoimpex.com.cu escribió:
 
 
 
  El 06/10/2012 03:10 p.m., co...@esid.gecgr.co.cu escribió: 
   Hola
   
   Si he descargado main.cvd y daily.cvd
   
   Que me falta para poder actualizar clamav desde una carpeta en mi PC donde
   estan  main.cvd y daily.cvd
   
   Salu2
   Cosme
   
   
   
   
   
  Cosme, yo sobreescribo las bases donde Clamav las tiene y recargo el
  servicio, y wala todo actualizado.
  
  -- 
  Saludos
  
  --
0ooo
ooo0(   )
(   )) /
 \ ((_/
  \_)
  ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø
Joel  Ventura Castillo
  Téc. Ciencias Informáticas
Empresa Importadora - Exportadora MINIL
   Dir.: O' Relly No. 152 e/ San Ignacio y Mercaderes,
 Habana Vieja, Cuba.
 E-Mail: j...@ecoimpex.com.cu
 Teléf.: 8625081 al 84, Ext. 156   
  ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø
  
  Este mensaje ha sido escaneado por Security Plus para MDaemon
  
 
 
-- 
(-.(-.(-.(-.(-.(-.-).-).-).-).-).-)



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349869876.2492.1.ca...@eeepc.ucasal.ar



Re: OT: Programar en python

2012-10-10 Thread Gonzalo Rivero
El mar, 09-10-2012 a las 21:46 -0600, Carlos Carcamo escribió:
 Saludos lista.
 
 
 Hace días que me he venido interesando por aprender python,
 ya conozco java, php, scala, y otros lenguajes, ahora quiero aprender
 python nada más por hoby,  pues veo que es muy usado en la comunidad
 open source, pero no se por donde empezar, me he bajado algunos libros
 sin leerlos aun pues no se cual es el indicado para mi...
 
 
 me pregunto si ustedes me pueden recomendar uno que me ayude a
 entender las bases de este lenguaje, pues he bajado unos y me doy
 cuenta que se centran en como programar y usan python para los
 ejemplos, pero no se centran en el lenguaje en si. 
 Me gustaría saber si habrá un libro al estilo de como programar en
 java de deitel que se centra de lleno en las cualidades de java,
 o también al estilo de scala for impatient que igual se centra en
 las características del lenguaje scala.
 
 
 Otra razón por aprender python es porque en pocos días comienza el
 curso an introduction to interactive programming in python en
 coursera aunque ahí me darán algunas de las bases quiero tener un
 libro como referencia para seguir el curso.
 
 
 Cual libro me recomiendan?
 
 
 De antemano muchas gracias por sus respuestas.
 
 
en su momento me había gustado el de van rossum (el autor de python)
http://pyspanishdoc.sourfeforge.net/tut/

aunque no se que tan desactualizado estará al día de hoy (es de 2005)

 -- 
 El desarrollo no es material es un estado de conciencia metal
 


-- 
(-.(-.(-.(-.(-.(-.-).-).-).-).-).-)



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349870094.2492.3.ca...@eeepc.ucasal.ar



Instalar un paquete .deb en un directorio específico que no sea en el que se instala por defecto

2012-10-10 Thread Miguel Barrera Fernández
Hola a todos
Necesito instalar un sofware que está enpaquetado como .deb y quiero instalarlo 
en un directorio específico, no en el directorio que me lo instala por defecto. 
Cuando lo instalo se me instala en /usr/share y quiero instalarlo en /var/www


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/354de434-49e3-42a1-beef-a7e8edf95edf@zimbra



Re: OT: Programar en python

2012-10-10 Thread Carlos Zuniga
Reenviado a la lista

2012/10/10 José Miguel elorr...@gmail.com:
 Aprenda a pensar como un programador con Python.

 Es un manual para principiantes pero es muy completo y en español. Además se
 puede distribuir libremente y se actualiza.

 Descarga: http://www.mediafire.com/?wsot6kafucgb5o5

 Saludos

 (Espero haber mandado esto bien, es la primera vez que participo en una
 lista de correos).

Acuérdate de cambiar el campo Para hacia la lista.

Saludos
-- 
A menudo unas pocas horas de Prueba y error podrán ahorrarte minutos
de leer manuales.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAABYcjPAXC79AgzQHTZsT8P18kUjpQ3B1=6xa8ls9p6t6rn...@mail.gmail.com



Re: Instalar un paquete .deb en un directorio específico que no sea en el que se instala por defecto

2012-10-10 Thread Gonzalo Rivero
El mié, 10-10-2012 a las 08:44 -0500, Miguel Barrera Fernández
escribió: 
 Hola a todos 
 Necesito instalar un sofware que está enpaquetado como .deb y quiero 
 instalarlo en un directorio específico, no en el directorio que me lo instala 
 por defecto. Cuando lo instalo se me instala en /usr/share y quiero 
 instalarlo en /var/www
 
 

man dpkg
está en castellano
-- 
(-.(-.(-.(-.(-.(-.-).-).-).-).-).-)



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349875733.2492.24.ca...@eeepc.ucasal.ar



Acceder a mi Linux desde windows

2012-10-10 Thread Cristian Prado
Hola a todos
Tengo que acceder (Remote Desk) al linux de casa con la compu
del trabajo (windows 7) que programa me recomiendan ?
Lei que se puede hacer con VNC pero tengo entendido
que no es muy seguro.
Gracias por las respuestas


Re: Acceder a mi Linux desde windows

2012-10-10 Thread Gonzalo Rivero
El mié, 10-10-2012 a las 17:36 +0200, Cristian Prado escribió: 
 Hola a todos
 Tengo que acceder (Remote Desk) al linux de casa con la compu
 del trabajo (windows 7) que programa me recomiendan ?
 Lei que se puede hacer con VNC pero tengo entendido
 que no es muy seguro.
 Gracias por las respuestas

xming + putty
-- 
(-.(-.(-.(-.(-.(-.-).-).-).-).-).-)



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349884151.2492.28.ca...@eeepc.ucasal.ar



Re: Acceder a mi Linux desde windows

2012-10-10 Thread Alonso Genis



On Wed, 10 Oct 2012, Cristian Prado wrote:


Hola a todos


Hola


Tengo que acceder (Remote Desk) al linux de casa con la compu
del trabajo (windows 7) que programa me recomiendan ?
Lei que se puede hacer con VNC pero tengo entendido
que no es muy seguro.


No es sofware libre, pero en general funciona bien: teamviewer, sobre todo 
si tus equipos estan detras de cortafuegos.


Salu2
AG



Gracias por las respuestas






--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.deb.1.10.1210101054420.19...@vps-1073104-5845.manage.myhosting.com



Re: OT: Programar en python

2012-10-10 Thread Darío
En una OT habían preguntado algo parecido
[OT] Programando con Glade + Python
yo te puedo recomendar lo que también respondí en esa OT, podés
consultar esta página:
http://www.gnutnfra.com.ar/mediawiki/index.php?title=Material.

Un saludo.


-- 
Darío
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
Por favor, no utilice formatos de archivo propietarios para el intercambio
de documentos, como ser DOC, XLS, BMP, PPT, RAR, MP3, DWG,
MOV, FLV, WMV, etc.  sino  ODT, ODS, DJVU, PDF, TXT,
CSV, PNG, FLAC, OGV, GZ o cualquier otro que no obligue a utilizar
un programa de un fabricante concreto.
Info: http://www.gnu.org/philosophy/no-word-attachments.es.html
   http://www.vaslibre.org.ve/publicaciones/odfvsooxml-es.pdf
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
 ,  ,
/\
((__-^^-,-^^-__))
 `-_---' `---_-'
  `--|o` 'o|--'
 \  `  /
  ): :(
 :o_o:
   -


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabbn1rwdkj-b5fkca5ek8owly2mxoca-+5sp7+c15duk8ee...@mail.gmail.com



Re: OT: Programar en python

2012-10-10 Thread Hector Garcia
El día 9 de octubre de 2012 22:46, Carlos Carcamo eazyd...@gmail.com escribió:
 Saludos lista.

 Hace días que me he venido interesando por aprender python, ya conozco java,
 php, scala, y otros lenguajes, ahora quiero aprender python nada más por
 hoby,  pues veo que es muy usado en la comunidad open source, pero no se por
 donde empezar, me he bajado algunos libros sin leerlos aun pues no se cual
 es el indicado para mi...

 me pregunto si ustedes me pueden recomendar uno que me ayude a entender las
 bases de este lenguaje, pues he bajado unos y me doy cuenta que se centran
 en como programar y usan python para los ejemplos, pero no se centran en el
 lenguaje en si.
 Me gustaría saber si habrá un libro al estilo de como programar en java de
 deitel que se centra de lleno en las cualidades de java, o también al
 estilo de scala for impatient que igual se centra en las características
 del lenguaje scala.

 Otra razón por aprender python es porque en pocos días comienza el curso an
 introduction to interactive programming in python en coursera aunque ahí me
 darán algunas de las bases quiero tener un libro como referencia para seguir
 el curso.

 Cual libro me recomiendan?

 De antemano muchas gracias por sus respuestas.


 --
 El desarrollo no es material es un estado de conciencia metal

Dive into Python. Es EL libro de referencia.
Tambien está en español
http://es.diveintopython.net/

Saludos

-- 
Hector
--
El Pic no pudo Iniciar correctamente.
Inserte el disco de arranque y presione cualquier pin para continuar...

Linux Registered User #467500
https://linuxcounter.net/user/467500.html


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACzWLT+AckaUx-6J_0b6pPPoSsT-o_GdXsg=wz4qmgqutr1...@mail.gmail.com



Re: manejo ventanas wheezy

2012-10-10 Thread Francesc Guitart
El mar, 09-10-2012 a las 06:40 -0700, Ricardo Delgado escribió:
 Buenas lista, estoy utilizando LXDE y tengo algunos problemas en ventanas 
 emergentes, por dar ejemplo LIBREOFFICE, cuando quiero guardar un archivo, la 
 ventana es mayor que el tamaño de la pantalla, entonces tengo que achicar un 
 poco para poder ver todas las opciones
 
 Como puedo hacer para que las mismas se ajusten al tamaño de la pantalla?
 
 el equipo es una netbook de 10 de pantalla.
 

¿Has probado con esto?

http://forum.lxde.org/viewtopic.php?f=8t=31680#p38896


-- 
Francesc Guitart



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349890298.2430.0.camel@negret



Re: OT: Programar en python

2012-10-10 Thread Santiago López Denazis
El día 10 de octubre de 2012 14:04, Hector Garcia
hectorogar...@gmail.com escribió:
 El día 9 de octubre de 2012 22:46, Carlos Carcamo eazyd...@gmail.com 
 escribió:
 Saludos lista.

 Hace días que me he venido interesando por aprender python, ya conozco java,
 php, scala, y otros lenguajes, ahora quiero aprender python nada más por
 hoby,  pues veo que es muy usado en la comunidad open source, pero no se por
 donde empezar, me he bajado algunos libros sin leerlos aun pues no se cual
 es el indicado para mi...

 me pregunto si ustedes me pueden recomendar uno que me ayude a entender las
 bases de este lenguaje, pues he bajado unos y me doy cuenta que se centran
 en como programar y usan python para los ejemplos, pero no se centran en el
 lenguaje en si.
 Me gustaría saber si habrá un libro al estilo de como programar en java de
 deitel que se centra de lleno en las cualidades de java, o también al
 estilo de scala for impatient que igual se centra en las características
 del lenguaje scala.

 Otra razón por aprender python es porque en pocos días comienza el curso an
 introduction to interactive programming in python en coursera aunque ahí me
 darán algunas de las bases quiero tener un libro como referencia para seguir
 el curso.

 Cual libro me recomiendan?

 De antemano muchas gracias por sus respuestas.


 --
 El desarrollo no es material es un estado de conciencia metal

 Dive into Python. Es EL libro de referencia.
 Tambien está en español
 http://es.diveintopython.net/

 Saludos

 --
 Hector
 --
 El Pic no pudo Iniciar correctamente.
 Inserte el disco de arranque y presione cualquier pin para continuar...

 Linux Registered User #467500
 https://linuxcounter.net/user/467500.html


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/caczwlt+ackaux-6j_0b6ppposst-o_gdxsgwz4qmgqutr1...@mail.gmail.com


  Tengan en cuenta que cambiaron varias cosas con la versión 3. Muchos
de los libros que hay son de Python 2.7.


-- 
Santiago López Denazis
GNU/Linux SysAdmin
sldena...@gmail.com
Open your source, open your mind.

Por favor, NO utilice formatos de archivo propietarios para el
intercambio de documentos, como DOC y XLS, sino HTML, PDF, TXT, CSV o
cualquier otro que no obligue a utilizar un programa de un fabricante
concreto. Vea http://www.gnu.org/philosophy/no-word-attachments.es.html
--


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caovl+zcbk-aasjzdag+ncmmbuhlbbtdvk+vhs4h3_pki1at...@mail.gmail.com



Re: Instalar un paquete .deb en un directorio específico que no sea en el que se instala por defecto

2012-10-10 Thread jors

On 10/10/12 15:28, Gonzalo Rivero wrote:

El mié, 10-10-2012 a las 08:44 -0500, Miguel Barrera Fernández
escribió:

Hola a todos
Necesito instalar un sofware que está enpaquetado como .deb y quiero instalarlo 
en un directorio específico, no en el directorio que me lo instala por defecto. 
Cuando lo instalo se me instala en /usr/share y quiero instalarlo en /var/www




man dpkg
está en castellano


Y si no lo está: apt-get install manpages-es


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5075b5ce.1010...@gmail.com



[Fwd: Re: Acceder a mi Linux desde windows]

2012-10-10 Thread Gonzalo Rivero
me llegó por error al correo privado

- Mensaje reenviado 
 De: Flako subfo...@gmail.com
 Para: Gonzalo Rivero fishfromsa...@gmail.com
 Asunto: Re: Acceder a mi Linux desde windows
 Fecha: Wed, 10 Oct 2012 16:43:02 -0300
 
 El día 10 de octubre de 2012 13:18, Gonzalo Rivero
 fishfromsa...@gmail.com escribió:
  El mié, 10-10-2012 a las 18:04 +0200, Cristian Prado escribió:
  Hola Gonzalo
  Soy medio novato en esto.
  Algun tutorial que explique como implementar esto ?
  Gracias !!!
 
  acordarte de responder a la lista, y no hacer top-posting.
 
  Hace como un millón de años que no lo uso, pero era tan sencillo como
  instalar xming con siguiente-siguiente-siguiente
  Eso te deja un servidor X en win que tenés que ejecutar para que los
  clientes (p.e. xterm, iceweasel o lo que sea que necesites ejecutar) de
  tu linux tengan donde dibujar sus ventanas.
  El putty es solo un ejecutable, así que no hay ni que instalar, y antes
  de entrar hay que asegurarse que la opción Enable X11 forwarding (en
  Connection - ssh - X11) esté tildada. Entonces es como hacer ssh -X en
  cualquier *nix
 
  Seguramente en el sitio encontrás documentación, pero otra vez, en su
  momento me alcanzó con la prueba y error
  ---
 
  El 10 de octubre de 2012 17:49, Gonzalo Rivero
  fishfromsa...@gmail.com escribió:
  El mié, 10-10-2012 a las 17:36 +0200, Cristian Prado
  escribió:
   Hola a todos
   Tengo que acceder (Remote Desk) al linux de casa con la
  compu
   del trabajo (windows 7) que programa me recomiendan ?
   Lei que se puede hacer con VNC pero tengo entendido
   que no es muy seguro.
   Gracias por las respuestas
 
 
 Hay un montón de opciones, pero la eleccion depende de la calidad del
 enlace que tengas y del acceso de configurar los firewall que están en
 el camino.
 Yo de todas las opciones me quedo con nomachine (es el mejor que anda
 con conexiones lentas) , no es libre pero si freeware. También  hay
 algunos clientes/server libres de NX.



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1349900306.3171.30.ca...@gonzalo.casa



como inclinar mi pantalla.

2012-10-10 Thread Victor Hugo Cespedes Zuleta
hola listeros debianeros.

jugando con las teclas en windows me di cuenta que con ALTGR + alguna
flecha. la pantalla se inclina en 90 grados a la izquierda o derecha.
inclusive se puede rotar la imagen de pantalla 180 grados. en este caso el
mouse funcionaria al reves.

pues bien, ya con esa introducción quisiera saber si alguien tiene
experiencia exitosa logrando rotar no solo de forma lógica sino tambien
física.

hay algunos monitores que tienen la opcion de empotrado, tienen unos
agujeritos para el rack. y uno elige si lo pone en forma vertical u
horizontal.

esto de la pantalla vertical es una ventaja.

en todos los portales. se necesita correr hacia abajo la pantalla muchas
veces. el que el monitor este inclinado representaria más contenido visual
en forma vertical y una persepción más agradable. la que tienen los libros,
las revistas, los periodicos etc.

para leer correos eso seria un gran avance porque se podria leer un correo
extenso sin necesidad de darle para abajo con el scroll del mouse.

y ya se podran imaginar la inmensa ventaja que esto representaria para el
uso de la terminal. los manuales estarian explicados en forma más compacta
y en teoria en la pantalla entraria 60 por ciento más contenido. debido a
que poseeria casi el doble de lineas.

tengo el caso de mi vecino que usa dos pantallas. eso es posible y no es
una novedad.

lo ideal sería. una pantalla horizontal para ver peliculas de alta
definición y la otra pantalla para usar la terminal. ambas empotradas en la
pared frente al escritorio de cada uno.

espero que mi idea no les parezca tan extrafalaria o chiflada.


Re: como inclinar mi pantalla.

2012-10-10 Thread Carlos Zuniga
2012/10/10 Victor Hugo Cespedes Zuleta cespedes.zuleta.vic...@gmail.com:
 hola listeros debianeros.

 jugando con las teclas en windows me di cuenta que con ALTGR + alguna
 flecha. la pantalla se inclina en 90 grados a la izquierda o derecha.
 inclusive se puede rotar la imagen de pantalla 180 grados. en este caso el
 mouse funcionaria al reves.

 pues bien, ya con esa introducción quisiera saber si alguien tiene
 experiencia exitosa logrando rotar no solo de forma lógica sino tambien
 física.

 hay algunos monitores que tienen la opcion de empotrado, tienen unos
 agujeritos para el rack. y uno elige si lo pone en forma vertical u
 horizontal.

 esto de la pantalla vertical es una ventaja.

 en todos los portales. se necesita correr hacia abajo la pantalla muchas
 veces. el que el monitor este inclinado representaria más contenido visual
 en forma vertical y una persepción más agradable. la que tienen los libros,
 las revistas, los periodicos etc.

 para leer correos eso seria un gran avance porque se podria leer un correo
 extenso sin necesidad de darle para abajo con el scroll del mouse.

 y ya se podran imaginar la inmensa ventaja que esto representaria para el
 uso de la terminal. los manuales estarian explicados en forma más compacta y
 en teoria en la pantalla entraria 60 por ciento más contenido. debido a que
 poseeria casi el doble de lineas.

 tengo el caso de mi vecino que usa dos pantallas. eso es posible y no es una
 novedad.

 lo ideal sería. una pantalla horizontal para ver peliculas de alta
 definición y la otra pantalla para usar la terminal. ambas empotradas en la
 pared frente al escritorio de cada uno.

 espero que mi idea no les parezca tan extrafalaria o chiflada.

Estrafalaria? No has visto nada:

https://encrypted.google.com/search?tbm=ischq=battlestation%20computer
http://twistedsifter.com/2012/06/amazing-computer-station-multi-monitor-setups/

Saludos
-- 
A menudo unas pocas horas de Prueba y error podrán ahorrarte minutos
de leer manuales.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAABYcjO72Ky6Wjen6Hd3gF==2xPY=sprdhvthggac1vmy_a...@mail.gmail.com



Re: [Fwd: Re: Acceder a mi Linux desde windows]

2012-10-10 Thread Flako
El día 10 de octubre de 2012 17:18, Gonzalo Rivero
fishfromsa...@gmail.com escribió:
 me llegó por error al correo privado

Si fue error mio, gracias por reenviarlo


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CADqxbRTroYXb9Ut=Uu1HEDFkW3v1t=nvo0qtycqxuopfu8j...@mail.gmail.com



[no subject]

2012-10-10 Thread Dainel Fdezz
Hola lista, hace poco tengo una situacion con fetchmail, lo que sucede
es que tengo un server que se llama mx.gmail.com, y necesito descargar
los mensajes de un multipop en gmail, es decir una cuenta a la que le
llegan los mensajes de todas y que el fetchmail recoja los mensajes y
los reparta segun lo que dise la direccion antes de la @ es decir si
el correo viene para p...@gmail.com sea entregadoa
p...@mx.fetchmail.com.

Agradezco su colaboracion. Adjunto mi configuracion.

set logfile /var/log/fetchmail.log
set postmaster r...@mx.gmail.com
set no bouncemail
set no spambounce
set properties 
set syslog

poll pop.gmail.com
envelope 2 Delivered-To:
proto pop3 user  there with pass  to * here
smtpname mx.gmail.com
smtpaddress  mx.gmail.com
fetchall
ssl
limit 512000
limitflush

Ya he probado varias cosas y nada.

Saludos


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabhwxvbx-bglyo+68xnfhna5f8qlb7n0ix6ubceon0ardag...@mail.gmail.com



Re: Klickande ljud i högtalarna

2012-10-10 Thread jan
On Wed, 10 Oct 2012 08:42:26 +0200
Rolf Edlund rolfew...@gmail.com wrote:

 Den 10 oktober 2012 08:11 skrev  j...@lillahusetiskogen.se:
 
  Mitt tips är http://www.nadex.se/se/grp/barbara-datorer.php
 
  Jag har genom åren köpt två stycken ThinkPad från Nadex. Jag kommer
  nog aldrig att köpa en konsumentdator igen. Det ÄR skillnad.
 
 Det är även skillnad i pris.
 
 Men är du villig att skänka mig 15 - 20.000. så jag oxå kan köpa en
 ThinkPad. Så inte mig emot.
 

Vad får dig att tro att jag skulle skänka dig pengar. Ett råd ska du
däremot få: Kolla länken.

/Janne


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121010085842.66d8b8be@nikolaj



Re: Klickande ljud i högtalarna

2012-10-10 Thread Rolf Edlund
Den 10 oktober 2012 18:13 skrev Sven Arvidsson s...@whiz.se:

 Så ny kärna som möjligt och så ny version av firmware-paketet som
 möjligt brukar rekommenderas.

Jo, när det gäller kärnan i v6, så är ju den ganska gammal nu. Men sgs
100 % stabil.

 Det brukar signalera kernel panic.

Man lär sig något nytt varje dag.

-- 
/Rolf


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cadt_qgsguw9b5egrsljeh2xeduzcuwfxzdackhtqkwvc79b...@mail.gmail.com



Re: Copacabana Temporada - Rio de Janeiro - Excelentes Apartamentos para Alugar por Temporada Curta ou Longa

2012-10-10 Thread Hélder Pinheiro
Eu acho que sim. A mail list está com muito spam. Não há possibilidade de
metermos moderação na mail list? Se não der, temos de começar a denúnciar
como spam estes emails

Cumprimentos,
Hélder Pinheiro
No dia 10/10/2012 17:55, Thiago Zoroastro thiago.zoroas...@gmail.com
escreveu:

 Gente, tá na hora de expulsar esses trolls, não?

 2012/10/10, Info The-Number-One.Org i...@the-number-one.org:
  Sou Real sim!
 
  Olá, muito obrigado por me consultar sobre meus apartamentos, tenho
  excelentes opções para oferecer (tanto de alto luxo quanto opções mais
  econômicas):
 
 
  Por favor indique qual das opções você deseja receber as fotos e maiores
  informações, por favor também indique data de chegada e saída, número
 exato
  de pessoas (idades e profissões).
 
  1) Nome do Apartamento: Mar de Copacabana
 
Grande Quarto e Sala com 4 varandinhas com vista lateral para o mar,
  excelente edifício, porteiro 24 horas, melhor ponto de Copacabana,
  pertíssimo do Mar.
 
 
Com ar condicionado em todos os cômodos.  Também Ventilador de Teto em
  todos os cômodos (além do Ar condicionado).
 
Edifício muito bom (apenas 5 apartamentos por andar).  excelente
  vizinhança), com porteiro 24h,  em localização privilegiada, pertíssimo
 do
  mar, em rua nobre, no mais bonito bairro da cidade mais bonita do mundo,
 com
  a mais bela praia do mundo a poucos passos de você!
 
Facílima condução (taxi, ônibus, metrô), possibilidade de aluguel de
 vaga
  de garagem, perto de tudo, teatros, cinemas, melhores restaurantes,
 melhores
  hotéis, fast-food, mercados, etc.
 
Possibilidade de alugar vaga de garagem.
 
Alugo este apartamento para grupos de no máximo 10 pessoas
 
 
  Pacote Reveillon: R$ 3.500,00 (para 2 pessoas),  cada pessoa extra:
 R$
  750,00.
 
  Pacote Carnaval: R$ 4.500,00 (para 2 pessoas),  cada pessoa extra: R$
  850,00.
 
  Datas Comuns: Diária R$ 250,00 (para 2 pessoas), cada pessoa extra:
 R$
  95,00 (este preço é para no mínimo 6 diárias, para menos diárias favor
  consultar).
 
  Mês inteiro (sem incluir datas especiais):  R$ 6.500,00 (para 2
  pessoas),  cada pessoa extra: R$ 750,00.
 
  Mês inteiro (em meses onde há datas especiais):  R$ 7.500,00 (para 2
  pessoas),  cada pessoa extra: R$ 950,00.
 
 
  2) Nome do Apartamento: Copacabana Design
 
  Apartamento feito com muito bom gosto e altíssimo padrão (pisos em
  mármore carrara naiconal, projeto de luz especial, bancada de cristal no
  banheiro, box blindex, cozinha totalmente equipada com coifa e pias
  duplas).
 
  Edifício muito bom (apenas 4 apartamentos por andar).  excelente
  vizinhança), com porteiro 24h,  em localização privilegiada, pertíssimo
 do
  mar, em rua nobre, no mais bonito bairro da cidade mais bonita do mundo,
 com
  a mais bela praia do mundo a poucos passos de você!
 
  Facílima condução (taxi, ônibus, metrô), possibilidade de aluguel de
  vaga de garagem, perto de tudo, teatros, cinemas, melhores restaurantes,
  melhores hotéis, fast-food, mercados, etc.
 
  Possibilidade de alugar vaga de garagem.
 
  Alugo este apartamento para grupos de no máximo 4 pessoas.
 
Pacote Reveillon: R$ 3.500,00 (para 2 pessoas),  cada pessoa extra:
  R$ 750,00.
 
Pacote Carnaval: R$ 4.500,00 (para 2 pessoas),  cada pessoa extra:
  R$ 850,00.
 
Datas Comuns: Diária R$ 250,00 (para 2 pessoas), cada pessoa
 extra: R$
  95,00 (este preço é para no mínimo 6 diárias, para menos diárias favor
  consultar).
 
Mês inteiro (sem incluir datas especiais):  R$ 6.500,00 (para 2
  pessoas),  cada pessoa extra: R$ 750,00.
 
Mês inteiro (em meses onde há datas especiais):  R$ 7.500,00 (para
 2
  pessoas),  cada pessoa extra: R$ 950,00.
 
  3) Nome do Apartamento: Magnífica Copacabana
 
  Imenso 4 quartos (sendo dois contíguos), 3 banheiros, Salão duplo,
  varandão com árvores e jardim privativo, cozinha completa (com fogão,
  geladeira grande, forno microondas, com coifa e bancada dupla)
 
  Ar condicionado em toda a área social e quartos.
 
  Pisos em mármore padrão carrara nacional, tetos rebaixados (projeto
 de
  luz especial), obras de arte.
 
  Edifício muito bom.  excelente vizinhança, com porteiro 24h,  em
  localização privilegiada, pertíssimo do mar, em rua nobre, no mais bonito
  bairro da cidade mais bonita do mundo, com a mais bela praia do mundo a
  poucos passos de você!
 
  Facílima condução (taxi, ônibus, metrô), possibilidade de aluguel de
  vaga de garagem, perto de tudo, teatros, cinemas, melhores restaurantes,
  melhores hotéis, fast-food, mercados, etc.
 
  Possibilidade de alugar vaga de garagem.
 
  Alugo para grupos de no máximo 30 pessoas.
 
Pacote Reveillon: R$ 14.999,00 (para 2 pessoas),  cada pessoa extra: R$
  2.500,00.  (6 dias)
 
Pacote Carnaval: R$ 15.999,00 (para 2 pessoas),  cada pessoa extra: R$
  2.750,00.  (6 dias)
 
Datas Comuns: Diária R$ 3.500,00 (para 2 pessoas), cada pessoa extra:
 R$
  

instalar

2012-10-10 Thread Manoel Pedro de Araújo
Alguem dabe como instalar o javagnuplot no debian squeeze?

-- 
Manoel


Re: instalar

2012-10-10 Thread Julio Henrique
Em qua 10 out 2012, às 17:16:40, Manoel Pedro de Araújo escreveu:
 Alguem dabe como instalar o javagnuplot no debian squeeze?

Consulte o manual de instalação no site do projeto.  

http://jgp.sourceforge.net/


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201210101925.23407.jmhenri...@yahoo.com.br



DVB-T tuning problem

2012-10-10 Thread José Luis Segura Lucas
Hello!

I have a DVB-T receiver and I'm trying to put it working.

Apparently, it's supported by Debian (I can see its name and model using
a program like gnome-dvb-setup).

But I have a problem when trying to find the channels on my receptor to
be able to watch or record TV. My antenna was not listed on the
gnome-dvb-setup combobox (it's not on /usr/share/dvb/dvb-t) and using
brute force didn't help (more than 20 minutes scanning and no channel
found).

Of course I have checked the TV-antenna connection, and this cable is
the same I used to plug in my TV, working almost perfectly.

I see some command-line tools (dvb-apps and dvb-tools) but neither help,
because both requires (different) input files: th dvb-apps scan needs
a zap file, stored in /usr/share/dvb, and as I already said, my region
is not listed (using near locations doesn't help).

I can't use dvbv5-scan program inside dvb-tools because it requires an
input file, but I don't know what file is (it doesn't like the
/usr/share/dvb/*).

Plese, can somebody help?

Best regards and thanks in advance



signature.asc
Description: OpenPGP digital signature


Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Linux-Fan
On 10/10/2012 03:22 AM, Wally Lepore wrote:
 On Tue, Oct 9, 2012 at 8:46 PM, Wolf Halton wolf.hal...@gmail.com wrote:
 The sizes look sane.
 2*ram=swap If your machine hibernates, all the contents of ram goes to swap.
 15GB / plenty of space.
 .5GB Boot partition.  Safe enough, but every 3 months or so, check capacity
 with df -h as the drive can fill up with old Linux images.
 The rest for home files makes sense as well.
 
 Hi Wolf,
 
 I have 1 gig of DDR RAM. Thus your suggesting I make the swap 2 gigs?
 I do let my system hibernate. Also, if I set the swap to 2 gigs, then
 the Appendix section 'C3' says,
 
 On some 32-bit architectures (m68k and PowerPC), the maximum size of a
 swap partition is 2GB. That should be enough for nearly any
 installation. However, if your swap requirements are this high, you
 should probably try to spread the swap across different disks (also
 called “spindles”) and, if possible, different SCSI or IDE channels.
 The kernel will balance swap usage between multiple swap partitions,
 giving better performance. -end-
 
 Not sure if this applies to me and my system?

I think having more swap is not a problem. The only problem occurs if
you are going to use this swap because you run out of ram. Then the
system will slow down a lot.


 Not to get 'over-partitioned' here but after reading the appendix
 section titled,
 C.3. Recommended Partitioning Scheme
 http://www.debian.org/releases/stable/i386/apcs03.html.en
 
 and specifically in Appendix section 'C3' where it says,
 
 For multi-user systems or systems with lots of disk space, it's best
 to put /usr, /var, /tmp, and /home each on their own partitions
 separate from the / partition. -end-
 
 I'm now thinking I should set something up like this:
 
 /boot
 /
 /usr
 /var
 /home
 /tmp
 Swap

The system I am currently running uses only two partitions: / and
Swap. Therefore it should also be ok to put everything on a single
partition or (as you originally planned) to separate /home in order to
be able to re-install the system without deleting your user-files.

 The section Appendix 'C3' also says,
 
 You might need a separate /usr/local partition if you plan to install
 many programs that are not part of the Debian distribution. If your
 machine will be a mail server, you might need to make /var/mail a
 separate partition. Often, putting /tmp on its own partition, for
 instance 20–50MB, is a good idea. If you are setting up a server with
 lots of user accounts, it's generally good to have a separate, large
 /home partition. In general, the partitioning situation varies from
 computer to computer depending on its uses. -end-
 
 Based on the above, can a directory/partition be named  /usr/local  ?
 and  /var/mail ? I thought a directory can have only one name (i.e.
 /usr -or-  /local -or-  /var -or-  /mail).

You can have /var on your main partition (which also contains /) and
mount another partition in the subdirectory /var/mail.

 Thank you
 Wally


-- 
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/507512ea.9050...@web.de



Re: Exim4 behaviour when long term failure of outgoing address

2012-10-10 Thread Alan Chandler

On 07/10/12 22:31, Chris Davies wrote:

Alan Chandlera...@chandlerfamily.org.uk  wrote:

I am using Debian Squeeze on a virtual machine that I lease.  It has
exim4 (light) version as its mail server.  - its name is
avalon.hartley-consultants.com
However, it looks to me like its trying to send a failure e-mail to me
locally somehow.
2012-10-05 07:42:09 1TK1bf-Mx-0C=
r...@avalon.hartley-consultants.com U=root P=local S=389
2012-10-05 07:42:09 1TK1bf-Mx-0C ** i...@mynewdomain.com R=dnslookup
T=remote_smtp: retry time not reached for any host after a long failure
period
2012-10-05 07:42:09 1TK1bt-N0-DT remote host address is the local
host: avalon.hartley-consultants.com

It's difficult to tell without knowing the precise setup on the
machine, but this looks like you've aliased root to the offsite address
i...@mynewdomain.com, but then you've got an entry somewhere that tells
avalon that it *is* mynewdomain.com.

This could be an entry in /etc/hosts, an MX or A record in DNS, or some
fancy aliasing somewhere associated with exim itself.

Avalon accordingly tries to deliver to info, locally, and finds that
this does not exist. Because it's already trying to deliver a bounce
message it simply discards the bouncing bounce and aborts.

Unfortunately, without knowing what mynewdomain.com really is, I can't
run any non-local diagnostics for you. Unless mynewdomain.com really is
yours, in which case you've got a configuration problem there because
it's not accepting mail.

Chris



I'll try and be more specific

The domain in question is virginiaparkinson.com and I am having 
particular difficulty with the domain name hosting company to get e-mail 
forwarding working with them.


The virtual machine is a standard squeeze setup with my 
update-exim4.conf.conf


dc_eximconfig_configtype='internet'
dc_other_hostnames=''
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='127.0.0.1;77.96.120.60'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

(77.96.120.60 is my home ip address where my main mail server sits - 
because this is effectively a dynamic ip address I have to route all 
outgoing mail through a remote smtp server.  Normally I use my ISPs mail 
server, but occassionally it becomes slow, or is blacklisted - and this 
allows me to rapidly switch to this machine to route outgoing mail through)


/etc/aliases has

root: alan.chand...@hartley-consultants.com

in it

the virtual machines ip address is 80.68.94.252

and both hartley-consultants.com and virginiaparkinson.com have this 
domain referencing 80.68.94.252 BUT their MX records both point else 
where.  In fact hartley-consultants MX record points to 77.96.120.60, 
whereas virginiaparkinson.com mx records point somewhere completely 
different (at first trial at what seems a non existant mail server that 
was refusing connections) I am trying to fix that now.



--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/507518e9.9070...@chandlerfamily.org.uk



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Lisi
On Tuesday 09 October 2012 23:41:40 Wally Lepore wrote:
 An interesting side note: Both identical drives are 'Enhanced IDE'
 drives (EIDE). However for some reason during the debian set-up, the
 installer identified them as SCSI drives and labeled them as follows

 SCSI1 (0,0,0) (sda) -80.0 GB ATA WDC [serial number]
 SCSI1 (0,1,0) (sdb) -80.0 GB ATA WDC [serial number]

Yes, that it is now policy: all hard/dvdrw drives are sdx, even IDE ones.  I 
can't remember whether that came in with Squeeze or Lenny.

Lisi

sending from KMail!  \o/


-- 
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/201210100800.31122.lisi.re...@gmail.com



Re: DVB-T tuning problem

2012-10-10 Thread linuxlover
I think that this page can be of help:
http://linuxtv.org/wiki/index.php/Dvbscan


-- 
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/c00665dd-8933-4d84-94ff-bd3f2095c...@googlegroups.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Brian
On Tue 09 Oct 2012 at 18:41:40 -0400, Wally Lepore wrote:

[Snip]

 I will also be utilizing this set-up for dual boot utilizing two
 separate hard disks:
 page 1: 
 http://www.linuxbsdos.com/2012/07/23/dual-boot-ubuntu-12-04-and-windows-7-on-a-computer-with-2-hard-drives/
 page 2: 
 http://www.linuxbsdos.com/2012/07/23/dual-boot-ubuntu-12-04-and-windows-7-on-a-computer-with-2-hard-drives/2/
 
 I will install the /boot directory to the 2nd hard disk (sdb). Doing
 so, will allow me to view a menu at start-up asking which operating
 system I want to boot (Windows or Debian). This will be accomplished
 by changing the boot order in my BIOS to boot the 2nd hard disk (sdb).
 I already tested this procedure using two hard disks each with windows
 installed. With the boot order (in BIOS) changed as previously
 described, I successfully booted to the 2nd hard disk (sdb). This 2nd
 hard disk (sdb) is set to 'slave' on the same 40 pin ribbon cable as
 the 1st hard disk (sda).

You will want to be sure you are partitioning the correct drive. Usually
it is easy to distinguish between them because the drive containing
Windows will probably have an NTFS filesystem on it. You should also
double-check what the drive designation for Debian is (sda or sdb) when
you finalise partitioning.

At the GRUB install stage you will be told what other operating systems
have been detected and that GRUB will be installed to the MBR of the
first hard drive. What it actually means is that GRUB will be installed
to the MBR of /dev/sda. You will only say yes to this if Debian is on
/dev/sda.

[Snip]

 Question #2 please:
 Is this an acceptable partition set-up? Based on a disk capacity of 80
 gigs, are the allotted partition sizes acceptable?  Any suggestions
 please ?

Nice planning. There is sufficient room on /. I'd do without the boot
partition but it does no harm.
 
 I am also 'meticulously' reading the debian install instructions as
 well and Debian mentions other available directories such as:
 dev, lib, opt, var, usr, sys --- etc. Please see the list of
 additional directories:
 http://www.debian.org/releases/stable/i386/apcs02.html.en
 
 Question #3 please:
 I am not sure if I need to include 'any' of these additional
 directories (listed above) in my partition scheme. I am also studying
 the following programming languages:  'C' then C++ and Object 'C' and
 would like to know if I need to include any additional
 directories/partitions (from the list above) for my 'programming'
 needs.

For the use you will put the OS to I'd stick to your plan. It has the
benefit of simplicity and ease of implementation.


-- 
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/20121010084128.GH30872@desktop



Re: Re: Adding user to dual boot laptop

2012-10-10 Thread linuxlover
Op woensdag 10 oktober 2012 06:40:03 UTC+2 schreef Gary Roach het volgende:

 Thanks for the reply. I read the reference but no joy. My login problem 
 is happening at the kdm level before the OS is even started (I think). 
 How does one activate /deactivate the initial login screen. I know this 
 is possible. I think I set this up when I initially installed Debian 
 from the iso network installation disk. I probably prompted me through 
 the process at the time. I have since completely forgotten what I did at 
 the time. I think I need to re configure kdm somehow.

In normal circumstances that should not be necessary.
Note that username and password must match exactly, and that the username 
should not contain uppercase letters or weird characters. It is usually 
safest to stick to the set a-z0-9 for the username.
If the username is ok, then the password might mismatch.
Try resetting it to some easy value (temporarily!) by issuing the command (as 
root user):
passwd username
(where you replace username by your wife's username of course).
If that does not help, something strange is the matter and further 
issue-solving will be needed.
HTH


-- 
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/c3d8c585-4c1a-4c20-b03a-e2b18d072...@googlegroups.com



Re: USB boot creator

2012-10-10 Thread Brian
On Tue 09 Oct 2012 at 20:17:21 -0400, Mike O wrote:

 If you already have a linux machine you can write the iso to a usb drive
 with 'dd' or 'cat'. Check out the documentation on the debian web site
 for more details.

This is a good idea but whether the ISO is an isohybrid one should be
checked first:

   brian@desktop:~$ /sbin/fdisk -l debian-testing-i386-netinst.iso 
   You must set cylinders.
   You can do this from the extra functions menu.

   Disk debian-testing-i386-netinst.iso: 0 MB, 0 bytes
   64 heads, 32 sectors/track, 0 cylinders
   Units = cylinders of 2048 * 512 = 1048576 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disk identifier: 0x50a4f79b

 Device Boot  Start End  Blocks Id  
System
   debian-testing-i386-netinst.iso1   *   1 249  254944 17  
Hidden HPFS/NTFS

'Hidden HPFS/NTFS' is what you would look for.


-- 
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/20121010085107.GI30872@desktop



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Lisi
Hi, Wally!

On Wednesday 10 October 2012 02:22:38 Wally Lepore wrote:
 Based on the above, can a directory/partition be named  /usr/local  ?
 and  /var/mail ? I thought a directory can have only one name (i.e.
 /usr -or-  /local -or-  /var -or-  /mail).

Directories usually have subdirectories.  Let's take /usr/local.  There are 
three directories specified here.  / , usr and mail.  That is: root (not to 
be confused with root's home directory), the root of the directory tree; 
usr which is a sub-directory of / , and local which is a subdirectory of usr.  
And those are directories, which are not the same thing as partitions.

Wally, I really do think that you should just stop worrying and install.  It 
doesn't matter if you make mistakes, you can just reinstall.  You have 
another windows drive which could just be swapped in, so nothing crucial can 
go wrong.  If you ask 10 people how to partition your system, you will get 10 
different answers.  There are arguments that can be adduced to all the 
choices that you suggest you face.  And then there is LVM ...

Is this going to be a production system?  If not, and you are just going to be 
learning, then you can reinstall repeatedly to find out the answers to your 
questions.  And once you have installed you will be able to look at your 
directory tree.

Lisi


--
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/201210100957.21010.lisi.re...@gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Lisi
On Wednesday 10 October 2012 09:41:28 Brian wrote:
 For the use you will put the OS to I'd stick to your plan.

Sorry, Wally.  I had obviously forgotten something you had said.  My bad!

Lisi


-- 
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/201210101001.25999.lisi.re...@gmail.com



Re: Exim4 behaviour when long term failure of outgoing address

2012-10-10 Thread Chris Davies
Alan Chandler a...@chandlerfamily.org.uk wrote:
 The domain in question is virginiaparkinson.com [..]

The one you're trying to deliver to (i.e. mynewdomain.com in the original
posting)?


 The virtual machine is a standard squeeze setup with my 
 update-exim4.conf.conf

 dc_other_hostnames=''

 (77.96.120.60 is my home ip address where my main mail server sits - 
 because this is effectively a dynamic ip address I have to route all 
 outgoing mail through a remote smtp server.

You have a mid-term problem here you're going to need to address: that if
your 77 address is dynamic, each time it changes you'll have to update
your VM's dc_relay_nets configuration entry. However, there are better
solutions for this so I'll park it for now. (Use authentication from
your home mail server to your VM.)


 /etc/aliases has
 root: alan.chand...@hartley-consultants.com

That's on the VM?


 and both hartley-consultants.com and virginiaparkinson.com have this 
 domain referencing 80.68.94.252 BUT their MX records both point else 
 where.

MX defines the delivery target, so that's what's relevant here.

I'll try to reiterate the configuration and let's go from there (offlist
if you like, since this isn't really a Debian issue).

 1. Home server (name unknown, probably irrelevant) forwards email to
your VM for onward delivery
 2. VM is called avalon.hartley-consultants.com, configured as an
Internet SMTP system using the standard Debian configuration
 3. VM won't deliver to virginiaparkinson.com, but that issue is out of
scope right now
 4. Failure (bounce) message to root@avalon is being lost - and this is
the issue at stake

I think I'll stand by my original diagnosis, taht the key line is
the exim4 error message, remote host address is the local host:
avalon.hartley-consultants.com. Typically this means that exim4 doesn't
know all its possible names. Specifically in your instance, exim4 is
trying to deliver to avalon.hartley-consultants.com, but this resolves
(/etc/hosts, MX, or A) to the local system. The problem is that exim4's
local configuration doesn't include this name as one of the possible
alternative local names (the Other destinations for which mail is
accepted question).

Add this hostname using dpkg-reconfigure exim4-config and see if that
solves the immediate problem.

Chris


-- 
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/6epfk9xrhl@news.roaima.co.uk



Can DVD isos be converted to use h264?

2012-10-10 Thread Philip Ashmore

Hi there.

I'm one of those people who think that the DVD menu is part of the movie 
experience - otherwise I'd just convert the VOB files and be done with it.


Yeah, I know - the DVD standard mandates mpeg-1 or mpeg-2, but in a 
recent test, xbmc 3:11.0-0.1 appeared to want to at least try to decode 
the DVD iso I converted:


You'll need to install xbmc-skin-confluence - xmbc will bail without it.

Here's a snippet from ~/.xbmc/temp/xbmc.log

   CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / 
MPEG-4 part 10


So it looks promising.

I'm either encoding those VOB files incorrectly and/or not generating 
the ISO correctly.


I've attached a script that uses fuseiso9660 to user-mount a dvd iso 
onto a directory, converts the VOB files to h264 and runs genisoimage to 
create a new iso.


The new iso is 1,861,853,184 bytes long compared to 7,249,934,336 bytes 
- quite some space saving if I'm doing it right.


I've attached a script based on what information I could find - but is 
this approach correct?

Any comments/suggestions welcome.

Regards,
Philip Ashmore
#!/bin/sh
# Work files are created in the current directory as temp files will
# most likely be too large for /tmp.
#
# Make sure you have enough free disk space for about 3x-4x the dvd size.
#
set -e

cleanup()
{
rm -fr $wrkdir
rm -fr $isodir
return $1
}
if test $1 =  || test ! -f $1 ; then
echo Usage: dvd2h264 file.iso [stage]
exit 1
fi

if `ffmpeg -formats | grep raw H.264 video format | wc -l` != 1 ; then
echo ffmpeg doesn't support h264!
exit 1
fi

wrkdir=$PWD/temp
isodir=$PWD/$1.dir

if test $2 =  ; then
if test ! -d $wrkdir; then mkdir $wrkdir; else rm -fr $wrkdir/*; fi
if test ! -d $isodir; then mkdir $isodir; else rm -fr $isodir/*; fi
fuseiso9660 $1 $isodir

# Has the DVD been converted already?
avob=`ls $isodir/VIDEO_TS/*.VOB* | head -n 1 2/dev/null`
if test $avob =  ; then
echo No VOB files found in VIDEO_TS/ - not a video DVD.
fusermount -u $isodir
return cleanup 1
fi
codec=`ffprobe -show_streams VTS_01_0.VOB 2/dev/null | head -n 10 | 
grep codec_name`
if test codec != codec_name=mpeg2video ; then
echo DVD already converted.
fusermount -u $isodir
return cleanup 0
fi

# Copy the contents into workdir
cp -r $isodir/* $wrkdir/

fusermount -u $isodir
fi

# Get rid of ;1 that fuse sometimes adds (?)
# VIDEO_TS/VTS_01_0.VOB;1
cd $wrkdir/VIDEO_TS
chmod +w .
for a in `ls *` ; do
b=${a%*;*}
if test $a != $b; then
echo $a - $b
chmod +w $a
mv $a $b
chmod -w $b
fi
done

# Use ffmpeg to transform those VOB files.
for a in `ls *.VOB` ; do
if test -f $a.h264 ; then continue; fi
# Taken from man ffmpeg.
ffmpeg -i $a -map 0 -c:v libx264 -c:a copy -c:s copy $a.h264
done
echo ffmpeg done. Replacing VOBs.
for a in `ls *.VOB` ; do
mv -f $a.h264 $a
done
cd ../..
# All done; convert the temp dir back into a DVD.
echo Writing DVD image result-$1.
genisoimage -o result-$1 $wrkdir
chmod --reference=$1 result-$1
# Compare them, try the new one out, etc.
# mv -f result-$1 $1


Re: Adding user to dual boot laptop

2012-10-10 Thread Helgi Örn Helgason
On 10 October 2012 01:53, Gary Roach gary719_li...@verizon.net wrote:
 I set up her account in passwd and group and I set up her home directory.

This is something I don't quite get; how did you create the account?
With commands in a terminal? Did you create her home directory
manually as root with a command? Have you checked if the directory's
properties are correct?

I would do this: delete the new user (including removing it's home
directory) and create it again in KDE System Settings. Log out and see
if the new user is there and see if you can log in normally.

/Helgi Örn


--
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/CAKuLEK4xoMtu9kDwGQU0satyK_7=6JMVyyvwW+S=t6eobxj...@mail.gmail.com



Re: Fwd: Re: Adding user to dual boot laptop

2012-10-10 Thread tv.deb...@googlemail.com
Apologies to the OP, sent it directly to him by mistake, resending to 
the list.


On 10/10/2012 06:30, Gary Roach wrote:




On 10/09/2012 07:11 PM, Wally Lepore wrote:

 On Tue, 09 Oct 2012 16:53:14 -0700 Gary writes:


 I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the 
other with Debian Squeeze.
 I just decided to add my wife as a user to the linux side. For some reason the 
login screen won't work.
 I set up her account in passwd and group and I set up her home directory.
 I can log her in as an su user with no problem. When I re-boot the system and 
the splash screen comes up (KDE4),
 I can enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong.
 I would guess that I have missed some niggally detail. The Windows XP side 
works fine. Any ideas?


 Gary, I found this thread by someone who has as similar problem as
 yourself. Perhaps it may help.
 http://forums.debian.net/viewtopic.php?p=45579

 Regards
 wally



Thanks for the reply. I read the reference but no joy. My login problem
is happening at the kdm level before the OS is even started (I think).
How does one activate /deactivate the initial login screen. I know this
is possible. I think I set this up when I initially installed Debian
from the iso network installation disk. I probably prompted me through
the process at the time. I have since completely forgotten what I did at
the time. I think I need to re configure kdm somehow.

Gary R.



Hi,

to reconfigure kdm:

dpkg-reconfigure kdm

You could also try another login manager (gdm)


Did you check the permissionsowner:group of /etc/shadow ?


Are you sure it's not a locale setting, is the keyboard layout the right 
one in kdm, did you use any special sign in the password ? (hint: try to 
write the password in kdm user name field to see if it's correct).


You could also disable login with password for this account altogether 
in systemsettings as a temporary workaround, if you are comfortable 
with security implications.


Just a few ideas to help you get on the right track.


--
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/507564b4.4010...@googlemail.com



Re: fglrx driver

2012-10-10 Thread Darac Marjal
On Tue, Oct 09, 2012 at 09:43:32PM +0400, Roman V.Leon. wrote:
 Gents and Ladies :-) please advise.
 
 I have an HP notebook with Ati Radeon 4200 GPU on board and
 sometimes i like to play old good windows games with help of wine
 while my little daughter is sleeping. But recently a real disaster
 had happened, ATI dropped a support of Radeon 4xxx cards and after
 update i was oblige to install a radeon driver instead of fglrx.
 Unfortunately this driver doesn't allow me to play Heroes of MM V. I
 tried to return to previous version of fglrx-driver(from
 snapshots.debian.org repo), but didn't succeed in it because driver
 depends on many packages including Xorg and so forth. I also tried
 fglrx-legacy-driver from experimental repository, but it hangs my
 system. Could you suggest please what steps i should do to manage my
 radeon working as it was before. My debian version is wheezy,
 current version of radeon driver which i see in the repo is
 1:12-6+point-1.
  ^^ FYI, I don't see this version at
  http://packages.debian.org/search?keywords=xserver-xorg-video-radeon


Did you install the non-free firmware along with the radeon driver? Did
Heroes of MM V report any errors or is performance simply lacking?

 
 It is really important because i can't eat, i'm always in a bad
 mood, i'm bad with women and i'm suffering from insomnia without my
 old good games :-))) Thank you in advance.

If it's that important to you, why not install Windows alongside Linux
and boot into it to play the games?

 
 P.S.
 Please do not advise any pills.

% apt-cache show pills
N: Unable to locate package pills
E: No packages found

 
 -- 
 Cheers,
 Roman V.Leon.
 


signature.asc
Description: Digital signature


Re: Adding user to dual boot laptop

2012-10-10 Thread Darac Marjal
On Tue, Oct 09, 2012 at 04:53:14PM -0700, Gary Roach wrote:
 I have a Toshiba Qosmio with 2  60 GB hard drives, one with Windows
 XP and the other with Debian Squeeze. I just decided to add my wife
 as a user to the linux side. For some reason the login screen won't
 work. I set up her account in passwd and group and I set up her home
 directory. I can log her in as an su user with no problem. When I
 re-boot the system and the splash screen comes up (KDE4), I can
 enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong. I
 would guess that I have missed some niggally detail. The Windows XP
 side works fine. Any ideas?

Check the uid of your wife's new account (type id alice - to use a
common pseudonym - in a terminal). If the uid is less than 1000 or
greater than 2, KDM may be rejecting the account because it's deemed
to be a system account.

You could also try switching to a virtual terminal (press Ctrl+Alt+F1 at
the KDM login) and login as her there. Perhaps you'll get an error from
PAM (the authentication system) which KDM wasn't passing on.



signature.asc
Description: Digital signature


Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Wally Lepore wallylep...@gmail.com writes:

Thank you for putting up your questions in such a well made way!

 An interesting side note: Both identical drives are 'Enhanced IDE'
 drives (EIDE). However for some reason during the debian set-up, the
 installer identified them as SCSI drives and labeled them as follows

 SCSI1 (0,0,0) (sda) -80.0 GB ATA WDC [serial number]
 SCSI1 (0,1,0) (sdb) -80.0 GB ATA WDC [serial number]

 Question #1 please:
 Is this SCSI labeling something I can ignore? I continued on and moved
 forward to the partition section (where I'm at now) with no issues.

That should be ok.  However, it's been a long time that I used IDE
disks, so I don't know for sure.

 My partition scheme (that I have not set-up yet and based somewhat on
 the above link) will be as follows:

 1st Partition -- Boot Partition
 /boot-- Type: Primary -- 500MB -- Ext4 journaling file system --
 Location: Beginning

 Second Partition -- Root Partition
 /  -- Type: Logical -- 15000MB -- Ext4 journaling file system
 -- Location: Beginning

 3rd Partition -- Home Partition
 /home  -- Type: Logical -- 6MB -- Ext4 journaling file system --
 Location: Beginning

 SWAP Area
 Swap   -- Type: Logical -- 2000MB  -- Ext4 journaling file system --
 Location: Beginning

 Question #2 please:
 Is this an acceptable partition set-up? Based on a disk capacity of 80
 gigs, are the allotted partition sizes acceptable?  Any suggestions
 please ?

It depends on what you want to use the computer for.  If you (mainly)
use it to learn programming in C/C++/Object C, you're not like to need a
lot of space on /var and probably no /opt partition, for example.

To give you some numbers:


FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg0-root  4.7G  1.2G  3.3G  27% /
/dev/mapper/vg0-tmp93G  1.5G   87G   2% /tmp
/dev/mapper/vg0-usr47G  9.5G   35G  22% /usr
/dev/mapper/vg0-usrlocal   19G  545M   18G   4% /usr/local
/dev/mapper/vg0-var93G   19G   70G  22% /var
/dev/mapper/vg0-rest  104G   16G   83G  16% /var/spool/squid-00


This kind of partitioning is the result of my experience and having
plenty disk space for the system.  I do not have /boot on a separate
partiton, and du -hs /boot says that 69MB are used.  The /var
partition is large because I'm running a web server, and I'm using
squid.  Squid puts its files into /var/spool/squid and
/var/spool/squid-00, and 14GB of the 19GB in /var are used by squid.

On /usr/local/, I have emacs24, fvwm, i3 (these are too old in Debian
testing) and a few libraries.  That's why 545MB are used there.

Since you have a smaller disk, the actual partition sizes aren't
relevant.  What these numbers tell you is how much space you may want to
plan on for each of the different partitions.  You might want something
like this:


swap10GB [1]
/2GB including /boot
/usr12GB
/var 2GB
/tmp 2GB
/homethe rest of it


It adds up to 28GB, so that leaves you 52GB for /home.  Since this is
either plenty or totally insufficient, I'd make the partitions a little
larger because in any case, it doesn't really matter if your /home is
10GB more or less.  You'll get something like this:


swap10GB [1]
/3GB including /boot
/usr15GB
/var 4GB
/tmp 4GB
/homethe rest of it


[1]: There's a recommendation to have swap partitions at the very
 beginning of the disk because it's supposed to be faster.  I'd make
 it that large because you might want to do something that needs a
 lot of memory and because with only 2GB, you may run out too soon.
 Besides, swap space is a way to slow things down before the system
 starts killing off processes when it runs out of memory which can
 bring it down.  It improves your chances to kill processes
 yourself, making better decisions about which ones to kill.  If
 you're getting tight, make swap at leas 5GB.

 I am also 'meticulously' reading the debian install instructions as
 well and Debian mentions other available directories such as:
 dev, lib, opt, var, usr, sys --- etc. Please see the list of
 additional directories:
 http://www.debian.org/releases/stable/i386/apcs02.html.en

 Question #3 please:
 I am not sure if I need to include 'any' of these additional
 directories (listed above) in my partition scheme.

The only actually additional one is /opt.  Applixware (which AFAIK
doesn't exist anymore) suggested installing under /opt.  Other than
that, I've never found any other use for /opt than putting games on it.
For games, your disk is too small to have a reasonably sized /opt
partition, and nothing forces you to put anything there, so you don't
really need it.

You will have the other directories.

 I am also studying the following programming languages: 'C' then C++
 and Object 'C' and would like to know if I need to include any
 additional directories/partitions (from the list above) for my
 'programming' needs.

You may want to put your 

Evdev Wheel Emulation Button Toggle

2012-10-10 Thread lee
Hi,

I'm using a Logitech Trackman Marble FX which I have configured to
emulate a scroll wheel as shown below[2].  Now I would like to be able to
toggle the scrolling function like described on [1].  I have tried this
with


xinput -set-prop PS2++ Logitech TrackMan Evdev Wheel Emulation Button
Toggle 3


to no avail.  Would I need to apply the patch that is mentioned on [1]
for the toggle feature to work?  Or am I missing something?


[1]: http://yjpark.blogspot.de/2010/04/using-trackball-on-linux.html
[2]:
# swap buttons 8 and 3
xinput set-button-map PS2++ Logitech TrackMan 1 2 8 4 5 6 7 3 9 10 1 2 8 4 5 
6 7 3 9 10 
# use button 3 for scrolling
xinput -set-prop PS2++ Logitech TrackMan Evdev Wheel Emulation Button 3 
# enable scroll wheel emulation
xinput -set-prop PS2++ Logitech TrackMan Evdev Wheel Emulation 1 

-- 
Debian testing iad96 brokenarch


-- 
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/87391mk2qo@yun.yagibdah.de



Re: Running 32bit OpenGL program with amd64

2012-10-10 Thread lee
Alberto Luaces alua...@udc.es writes:

 lee writes:

 Francesco Pietra writes:

 Hello:
 I would like to continue to use a 32bit graphical program based on
 OpenGL. It worked well on i386, requiring libXm.so.3 (from libmotif3).

 Is it conceivable to simply add libXm.so.3 (taken from my dismissed
 i388 PC) to ia32-libs?

 If you're running stable, it might work if all dependencies are
 fulfilled.  You could try it out ...  In testing, 32bit support is
 broken, and ia32-libs seems to be deprecated in favour of brokenarch.

 I had no problems using multiarch in testing and installing the required
 :i386 packages.

I've been using a 32bit application which stopped working when the
NVIDIA drivers were updated last time.  The reasons why it stopped
working are unknown, and apparently I would have to switch to brokenarch
before having a chance to get it working again.  There's no way to tell
which i386 packages would need to be installed, and since it doesn't
work anyway, there's no point in trying to find out.

 However, I had to use the nvidia drivers from experimental in order to
 have working 32-bit OpenGL libraries.

I have tried that at least three times now.  It doesn't work, causes
dependency problems and is difficult to fix once it's messed up.

32bit support is totally broken, brokenarch totally sucks, and I'm
majorly pissed and don't trust Debian anymore.  It seems unlikely that
the problem will be fixed before the next release is out, and I find it
amazing that they will leave the users of stable with this problem and
have them find out that their 32bit software doesn't work anymore after
the upgrade.  If it wasn't such a pita to do it, I'd already have
switched to something else.


-- 
Debian testing iad96 brokenarch


-- 
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/87y5jeinfl@yun.yagibdah.de



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Wally Lepore wallylep...@gmail.com writes:

 I forgot to add this additional information. I am installing Debian
 netinst file titled: debian-6.0.6-i386-netinst.iso (32 bit)

Isn't it better to go 64bit and to use the life installer CD?  It might
make more sense to go 64bit when you do programming.  And I've seen
Intel Dual cores capable of running 64bit being extremely slow when
running 32bit.


-- 
Debian testing iad96 brokenarch


-- 
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/87pq4qijmr@yun.yagibdah.de



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Wally Lepore wallylep...@gmail.com writes:

 In order to be sure that Debian installs successfully, I also have a
 USB stick that has the required debian firmware files loaded in the
 event the debian installer asks for it during set-up.

I needed that once and found I had to unpack these drivers on the
stick.  With that, it worked just fine.


-- 
Debian testing iad96 brokenarch


-- 
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/87lifeijks@yun.yagibdah.de



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Wally Lepore wallylep...@gmail.com writes:

 I have 1 gig of DDR RAM. Thus your suggesting I make the swap 2 gigs?
 I do let my system hibernate. Also, if I set the swap to 2 gigs, then
 the Appendix section 'C3' says,

 On some 32-bit architectures (m68k and PowerPC), the maximum size of a
 swap partition is 2GB. That should be enough for nearly any
 installation. However, if your swap requirements are this high, you
 should probably try to spread the swap across different disks (also
 called “spindles”) and, if possible, different SCSI or IDE channels.
 The kernel will balance swap usage between multiple swap partitions,
 giving better performance. -end-

 Not sure if this applies to me and my system?

Your architecture is i386 (or amd64 if you can go that way, or
brokenarch), so m68k and PowerPC won't apply.

Hibernating is unlikely to work.  If it does work, it involves to store
the contents of the RAM in the swap space, which may occupy 1GB.  Have
another GB or more swapped out already, and you're running too low on
swap space with only 2GB of it.

To give you more numbers: Open a scanned A4 page in gimp, and gimp can
easily take about 4.7GB when you used high resolution for archiving
when scanning the page.  Your X-session with emacs and i3 and rxvt may
hold about 500MB resident in memory.  You also want some memory for disk
cache and other stuff you're running, so 1GB is really tight.  (You may
want to experiment with vm_swappiness to see if that can speed things up
for you.)  Add to that the amount of overcomittment and then imagine
what happens when even only one application starts to actually use some
of the memory it has allocated.

Of course, you can do without an X-session.  If you want to use a web
browser, you'll probably want something fully featured like seamonkey
rather than a text browser, and that adds about another 500MB or more
resident.  So you need more RAM than you have already, and now you want
to limit your swap space to only 2GB?

 Based on the above, can a directory/partition be named  /usr/local  ?
 and  /var/mail ? I thought a directory can have only one name (i.e.
 /usr -or-  /local -or-  /var -or-  /mail).

You need to distinguish between file systems, partitions and
directories.  You can create file systems on partitions and you can
create directories in file systems.  You can mount file systems on mount
points which are usually directories --- however, the distinction
becomes unclear because you usually mount partitions (that contain file
systems) on mount points.

So you can have, for example, a file system F with a directory named
usr and mount a partition P on it that contains a file system F2 that
contains files that are expected to be found under /usr (or other
files).  Now F2 can contain a directory named local, and once P is
mounted on /usr, you can mount a partition P2 which contains a file
system that contains files to be found under /usr/local (or other files)
on /usr/local.  When you do that, you will find the files that are in F2
under /usr/local.

Each directory and file can have only one name, unless you create a
link.  There are symbolic links (like pointers in C) which work with
both directories and files --- and hard links (like another file name)
which work with files and not with directories.  You can remove a
directory a link points to and the directory is gone (and the link
remains, pointing to nothing).  You can remove a file (file name) that
has a hard link and the file will continue to exist until all the links
have been removed (All the hard links point to the same file like the
file name does, and the file becomes inaccessible when there are no
names to refer to it and only processes using it can still use it.  Also
see man 2 unlink.).

You can mount any partition that contains a supported file system to any
directory that doesn't already have a partition mounted to it.  Using
appropriate options with the mount command, you can mount a file system
to several directories at the same time.  You cannot mount something to
a directory that isn't available, like you must mount (or have
available) /usr (and thus /usr/local) before you can mount something to
/usr/local.  Hence the entries in /etc/fstab need to be in the right
order for things to be mounted.

Partitions are not named (unless you label them, maybe).  They have
UUIDs, see man blkid.

Now don't go overboard with mounting and keep things simple.


-- 
Debian testing iad96 brokenarch


--
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/87d30qifwz@yun.yagibdah.de



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Wally Lepore wallylep...@gmail.com writes:

 space I have allocated to each partition? As you can see I have an 80
 gig drive (total) that I'm installing debian too. Should I leave some
 'free space' in the event I want to add another directory in the
 future?

Sooner or later, you might add more disks and then you have the space
you use for /home free on the 80GB one.  I left some space free because
I didn't have use or need for it and it remained unused for almost three
years until I wanted some more space for squid.  Three years is quite a
bit of time for that when you have only 80GB to begin with.

Since your disk is small, you're probably better off not to leave free
space and just use it for /home instead.  If you do leave it free, you
might end up mounting it somewhere under /home anyway.  That mainly
makes it more awkward to make backups and doesn't give you as much
additional space as you would wish and is just annoying.


Hard disk prices may go down a bit in a while, and you might be able to
get 3TB disks for under $100.  You're talking about maybe 10GB here to
leave free, which is kinda out of proportion compared to both an 80GB
and a 3TB disk :)


-- 
Debian testing iad96 brokenarch


-- 
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/87haq2iiir@yun.yagibdah.de



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread lee
Lisi lisi.re...@gmail.com writes:

 Wally, I really do think that you should just stop worrying and install.  It 
 doesn't matter if you make mistakes, you can just reinstall.

That's probably what he is trying to avoid.  Having to re-install isn't
really fun; it's a waste of time and shouldn't be needed, so why
encourage it.

 go wrong.  If you ask 10 people how to partition your system, you will get 10 
 different answers.

We have the practical numbers and some experience to provide.  The OP
told us what he has available and what he plans to use his computer for,
so it's really easy to suggest something reasonable with which he won't
need to keep installing.  The 20 different answers from 10 different
people might be exactly what he's looking for since all the installation
and partitioning guides are all theory.

 questions.  And once you have installed you will be able to look at your 
 directory tree.

Exactly: We can look at ours and help out.  There's someone who seems to
go about installing Debian in a systematic and informed way, reading the
available documentation, trying things out and asking good questions on
the appropriate mailing list.  And now we seriously tell him ah screw
it and just install and if it doesn't work out right you do it again and
again and again until you might get it right eventually?  I would be
ashamed to tell him that.


-- 
Debian testing iad96 brokenarch


-- 
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/878vbeiehp@yun.yagibdah.de



Re: Exim4 behaviour when long term failure of outgoing address

2012-10-10 Thread lee
Alan Chandler a...@chandlerfamily.org.uk writes:

 I'll try and be more specific

 The domain in question is virginiaparkinson.com and I am having


, [  dig -t mx virginiaparkinson.com ]
| 
| ;  DiG 9.8.1-P1  -t mx virginiaparkinson.com
| ;; global options: +cmd
| ;; Got answer:
| ;; -HEADER- opcode: QUERY, status: NOERROR, id: 54135
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
| 
| ;; QUESTION SECTION:
| ;virginiaparkinson.com.   IN  MX
| 
| ;; ANSWER SECTION:
| virginiaparkinson.com.86311   IN  MX  10 
mail2.virginiaparkinson.com.
| virginiaparkinson.com.86311   IN  MX  0 
mail.virginiaparkinson.com.
| 
| ;; AUTHORITY SECTION:
| virginiaparkinson.com.86284   IN  NS  ns4.ukdnsservers.co.uk.
| virginiaparkinson.com.86284   IN  NS  ns3.ukdnsservers.co.uk.
| 
| ;; ADDITIONAL SECTION:
| mail.virginiaparkinson.com. 86311 IN  A   72.1.201.138
| mail2.virginiaparkinson.com. 86311 IN A   72.1.201.138
| 
| ;; Query time: 0 msec
| ;; SERVER: 127.0.0.1#53(127.0.0.1)
| ;; WHEN: Wed Oct 10 16:36:53 2012
| ;; MSG SIZE  rcvd: 168
`


 particular difficulty with the domain name hosting company to get
 e-mail forwarding working with them.

 The virtual machine is a standard squeeze setup with my
 update-exim4.conf.conf

As suggested before, copy over the example configuration and adjust to
your needs.  The splitfile stuff doesn't give you a readable exim
configuration.

 (77.96.120.60 is my home ip address where my main mail server sits - 
 because this is effectively a dynamic ip address I have to route all
 outgoing mail through a remote smtp server.  Normally I use my ISPs
 mail server, but occassionally it becomes slow, or is blacklisted -
 and this allows me to rapidly switch to this machine to route outgoing
 mail through)

So how do you get incoming mail?  The MX records tell MTAs to hand it
over to 72.1.201.138 rather than 77.96.120.60.

 /etc/aliases has

 root: alan.chand...@hartley-consultants.com


, [ dig -t mx hartley-consultants.com ]
| 
| ;  DiG 9.8.1-P1  -t mx hartley-consultants.com
| ;; global options: +cmd
| ;; Got answer:
| ;; -HEADER- opcode: QUERY, status: NOERROR, id: 18241
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0
| 
| ;; QUESTION SECTION:
| ;hartley-consultants.com. IN  MX
| 
| ;; ANSWER SECTION:
| hartley-consultants.com. 86400IN  MX  0 chandlerfamily.org.uk.
| hartley-consultants.com. 86400IN  MX  10 
chandlerfamily.org.uk.
| 
| ;; AUTHORITY SECTION:
| hartley-consultants.com. 86400IN  NS  ns4.ukdnsservers.co.uk.
| hartley-consultants.com. 86400IN  NS  ns3.ukdnsservers.co.uk.
| 
| ;; Query time: 221 msec
| ;; SERVER: 127.0.0.1#53(127.0.0.1)
| ;; WHEN: Wed Oct 10 16:42:37 2012
| ;; MSG SIZE  rcvd: 146
`

, [ dig -t a chandlerfamily.org.uk
| 
| ;  DiG 9.8.1-P1  -t a chandlerfamily.org.uk
| ;; global options: +cmd
| ;; Got answer:
| ;; -HEADER- opcode: QUERY, status: NOERROR, id: 30086
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
| 
| ;; QUESTION SECTION:
| ;chandlerfamily.org.uk.   IN  A
| 
| ;; ANSWER SECTION:
| chandlerfamily.org.uk.86358   IN  A   77.96.120.60
| 
| ;; AUTHORITY SECTION:
| chandlerfamily.org.uk.86358   IN  NS  ns1.ukdnsservers.co.uk.
| chandlerfamily.org.uk.86358   IN  NS  ns2.ukdnsservers.co.uk.
| 
| ;; ADDITIONAL SECTION:
| ns1.ukdnsservers.co.uk.   86358   IN  A   72.1.201.150
| ns2.ukdnsservers.co.uk.   86358   IN  A   72.1.216.98
| 
| ;; Query time: 0 msec
| ;; SERVER: 127.0.0.1#53(127.0.0.1)
| ;; WHEN: Wed Oct 10 16:45:23 2012
| ;; MSG SIZE  rcvd: 139
`

 the virtual machines ip address is 80.68.94.252

 and both hartley-consultants.com and virginiaparkinson.com have this
 domain referencing 80.68.94.252 BUT their MX records both point else
 where.

The above dig results is what my MTA would get.  I think I already
suggested that you probably have some DNS issues involved?

  In fact hartley-consultants MX record points to 77.96.120.60,
 whereas virginiaparkinson.com mx records point somewhere completely
 different

To where are they supposed to point to?

You'd be best off getting a static IP address and the corresponding MX
entries so you can receive incoming mail.  If you manage to get MX
entries for a dynamic IP, you can get away with using a smarthost for
the outgoing mail.  That has the disadvantage that when your IP changes,
MTAs may try to hand over mail to the old IP address until they become
aware that the MX entry has changed.  Whoever receives that IP address
will be able to receive your mail then.

You can use fetchmail instead.  Unfortunately, that has some significant
disadvantages.

 (at first trial at what seems a non existant mail server
 that was refusing connections) I am trying to fix that now.


,

apt-get install linux-source vs apt-get source linux

2012-10-10 Thread Nikolaus Rath
Hello,

I'd like to add a patch to the stock Debian wheezy kernel. According to 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html, there are
two ways to do this.

Either I can install the linux-source package (apt-get install
linux-source), unzip the .tar.bz, apply my patch and run 'make deb-pkg'.

Or I can install the source of the linux-package (apt-get source linux),
and run 'fakeroot debian/rules source', apply my patch, and run
'fakeroot make -f debian/rules.gen binary-arch_amd64'.

Can someone explain to me which method I should use in which situation?


I have randomly picked the first method, and am very surprised that the
resulting kernel has version 3.2.23, while the stock wheezy kernel is
3.2.0. Shouldn't linux-source give me the sources for linux-image?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


--
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/87ipai753y@inspiron.ap.columbia.edu



Re: apt-get install linux-source vs apt-get source linux

2012-10-10 Thread Nikolaus Rath
On 10/10/2012 10:51 AM, Nikolaus Rath wrote:
 Hello,
 
 I'd like to add a patch to the stock Debian wheezy kernel. According to 
 http://kernel-handbook.alioth.debian.org/ch-common-tasks.html, there are
 two ways to do this.
 
 Either I can install the linux-source package (apt-get install
 linux-source), unzip the .tar.bz, apply my patch and run 'make deb-pkg'.
 
 Or I can install the source of the linux-package (apt-get source linux),
 and run 'fakeroot debian/rules source', apply my patch, and run
 'fakeroot make -f debian/rules.gen binary-arch_amd64'.
 
 Can someone explain to me which method I should use in which situation?
 
 
 I have randomly picked the first method, and am very surprised that the
 resulting kernel has version 3.2.23, while the stock wheezy kernel is
 3.2.0. Shouldn't linux-source give me the sources for linux-image?

Also, as I just noticed, there are 449 modules taking 427 MB of space in
the custom built package, and 2848 modules taking 106 MB in the official
package. The lower number is expected because I used 'make
localmodconfig', but why are the custom built modules so huge?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


-- 
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/50758f12.1050...@rath.org



Re: does iceweasel have java plugin?

2012-10-10 Thread Michael P. Soulier
On 04/10/12 Steve Kleene said:

 Using iceweasel, I am failing to connect to my university's VPN website.
 This was working a few years ago.  There's a point when the site tries to
 install Jupiter Network Connect.  All I get at that point now is an error:
 JRE not installed/Java is disabled.
 
 I do have Java packages installed (gcj-4.4-jre, sun-java6-bin, etc.).  In
 /usr/lib/iceweasel/plugins, I see:
 
   libjavaplugin.so - /etc/alternatives/iceweasel-javaplugin.so

Interesting.

Try symlinking from /usr/lib/mozilla/plugins/ instead. I have plugins there
that are working fine.

Mike


signature.asc
Description: Digital signature


[OT] dhcpd and always-broadcast

2012-10-10 Thread Panayiotis Karabassis
Hey,

I have an OT question about the always-broadcast option of the dhcpd server.

Based on the Wikipedia article, all DHCP messages to the client are sent
to the broadcast address. This makes sense, since the UDP protocol used
by DHCP runs on top of the IP protocol, and the client does not have an
IP address until the DHCP negotiation is completed.

So, what is the use of this option? Under what circumstances should the
server not broadcast its messages?

Thanks, and best regards,
Panayiotis


-- 
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/50759a9d.6060...@gmail.com



newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread houkensjtu
Hi debianer!
I am a newbie both of debian and networking...
Recently I am trying to connect my home laptop(I have a router in my home) from 
office. I read several articles on port forwarding. And I succeeded in opening 
an 22 port on my router, also I started ssh server on my home laptop.

(suppose my username at home is USER, and my laptop is called DEBIAN)

I did several experiment and I got confusing in some of its result.

1. ssh USER@DEBIAN

works well!!

2. nc -vz my_home_external_ip 22
[my_home_external_ip] 22 (ssh) : Connection refused

I cant understand why is it. Because I have actually succeeded in test 1!

3. ssh -l USER my_home_external_ip
ssh: connect to host my_home_external_ip port 22: Connection refused
This also doesnt work! I thought it should be equivalent to test 1, but things 
just dont work.

Any one can explain this?


-- 
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/95c24d80-4052-429d-8658-cf3f447ff...@googlegroups.com



Util-linux package was removed and the system is not bootable.

2012-10-10 Thread ozhan fenerci
Dear List,

I know I am not supposed to delete util-linux but it was removed by the command 
 apt-get remove util-linux'. After I rebooted the computer, the grub shows no 
linux boot disk. 

I wonder how I can recover my system back. I am using debian testing/386. 

Best Regards,
Ozhan


Re: Exim4 behaviour when long term failure of outgoing address

2012-10-10 Thread Alan Chandler

On 10/10/12 09:49, Chris Davies wrote:
4. Failure (bounce) message to root@avalon is being lost - and this is 
the issue at stake 

Absolutely correct.

I think I have discovered - at least part of the problem - maybe the 
whole thing.


The inaddr.arpa address for the IP address of my virtual server resolved 
to avalon.hartley-web.com a domain I dropped somewhile ago.  It should 
be updating itself to avalon.hartley-consultants.com as we speak.


Also - I think I confused both Lee and yourself with the use of

77.96.120.60

as a relay domain

I don't actually pass through this virtual server normally - I normally use my 
ISPs normal mail server.  This was just so it was already pre-configured IF I 
SHOULD NEED IT.




--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/50759b98.1060...@chandlerfamily.org.uk



Re: OT: man in the middle attack ?

2012-10-10 Thread Panayiotis Karabassis
On 10/05/2012 11:56 AM, Ralf Mardorf wrote:
 On Wed, 2012-10-03 at 15:07 +0300, Panayiotis Karabassis wrote:
 And... Debian is notorious for mistreating newcomers! I have had a
 friend swear to never ask a question on Debian forums again, after the
 reply to his first question.
 
 I agree that Linux communities are notorious for mistreating one member
 by another member. Debian and Ubuntu mailing lists are the less rough
 Linux communities I know. It's much harder on other Linux lists. I never
 noticed censorship or a few people that claim to speak for most people
 on Debian and Ubuntu lists. Forums usually are less good than mailing
 lists.

Yes, sure. I am not sure how this fits with the rest of the gnu/linux
ideology, which is about freedom and community. I think the problem is
exacerbated by the nature of internet communication, where it is both
easier to be rude, and easier to misunderstand and be offended by the
tone of another's message. Imho, many of the rude people would be
quite gentle and timid, if you met them in person.

 YMMV,
 Ralf
 
 


-- 
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/50759e58.9070...@gmail.com



Re: Util-linux package was removed and the system is not bootable.

2012-10-10 Thread Darac Marjal
On Wed, Oct 10, 2012 at 04:44:20PM +0100, ozhan fenerci wrote:
Dear List,
 
I know I am not supposed to delete util-linux but it was removed by the
command  apt-get remove util-linux'. After I rebooted the computer, the
grub shows no linux boot disk.
 
I wonder how I can recover my system back. I am using debian testing/386.

util-linux is marked as Essential. This means that you SHOULD have been
given a bit fat warning that what you were about to do would likely
break your system - which it did.

If you didn't get such a warning, please, PLEASE raise a bug against the
apt package.

If you DID get the warning and you proceeded anyway (it shouldn't have
been easy), then... well.. Try a live CD :)



signature.asc
Description: Digital signature


wi-fi connection and wicd

2012-10-10 Thread Lisi
I have a newly installed Debian 6.0.6 on my netbook.  I cannot get wi-fi 
going.  I have checked the wi-fi card itself by booting a Live DVD.  It 
connects fine on Ubuntu 12.04.

I have run various tests with the following results:
root@Cronos:/home/lisi# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

wlan0 IEEE 802.11bg  ESSID:off/any
  Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off

lisi@Cronos:~$ lsmod | grep ath5k
ath5k 104138  0
mac80211  123586  1 ath5k
ath 6018  1 ath5k
cfg80211   87645  3 ath5k,mac80211,ath
led_class   1757  1 ath5k
lisi@Cronos:~$
lisi@Cronos:~$ lsmod | grep ath9k
lisi@Cronos:~$

03:00.0 Ethernet controller: Atheros Communications Inc. AR5001
Wireless Network Adapter (rev 01)
Subsystem: Foxconn International, Inc. Device e008
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at 5520 (64-bit, non-prefetchable) [size=64K]
Capabilities: access denied
Kernel driver in use: ath5k

wicd has been a bit problematic since I installed it.  It took various 
adjustments before it got to this stage.

I have never had a problem of any kind with wicd before, and I have installed 
it frequently.

I have Googled - which is how I got this far.  Each tiny step in sorting out 
wicd took much Googling.

I have purged and reinstalled wicd.  I have dpkg-reconfigured it.

When I try to connect I get the message that no wireless connection is 
available.  There are in fact 7 within easy wireless reach, one of them my 
own, and my wireless router is currently about 9 inches away from the netbook 
on the same desk.

Where do I go next??

Thanks,
Lisi


-- 
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/201210101729.13405.lisi.re...@gmail.com



Re: wi-fi connection and wicd

2012-10-10 Thread Hans-J. Ullrich

 When I try to connect I get the message that no wireless connection is
 available.  There are in fact 7 within easy wireless reach, one of them my
 own, and my wireless router is currently about 9 inches away from the
 netbook on the same desk.
 
 Where do I go next??
 
 Thanks,
 Lisi

Hi Lisi,

looks like a known bug. 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665881

What kernel version are you running?

Regards

Hans


-- 
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/201210101835.57261.hans.ullr...@loop.de



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread Nuno Magalhães
http://www.catb.org/esr/faqs/smart-questions.html

A bit of searching the net on port-forwarding oughta give you the answer.
You probably forgot to forward port 22 on the router to whichever ip
adress your DEBIAN has.
Search around for stuff on your router/ISP combo as they're almost
always blocked in one way or another.


-- 
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/cadqa9ubjdccjznaufw_va9shij1xfc4kuctc_hn3jkfl8d8...@mail.gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On 10/10/2012 03:22 AM, Wally Lepore wrote:
 Based on the above, can a directory/partition be named  /usr/local  ?
 and  /var/mail ? I thought a directory can have only one name (i.e.
 /usr -or-  /local -or-  /var -or-  /mail).

On Wed, Oct 10, 2012 at 2:17 AM, Linux-Fan ma_sys...@web.de wrote:
 You can have /var on your main partition (which also contains /) and
 mount another partition in the subdirectory /var/mail.

Hi Linux-Fan,

Appreciate the help. I have to read-up on the file structure in Linux.
I totally understand the concept in windows. But when you said,

You can have /var on your main partition (which also contains /)and mount 
another partition in the subdirectory /var/mail.

Can you give me an example please (in a file tree format) such as below?

/var
/var/mail

Thank you


-- 
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/caldxikr6p9j0koijxuh0an3yzntn-c1p0kwcd7z4wpfvxkf...@mail.gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 3:00 AM, Lisi lisi.re...@gmail.com wrote:
 On Tuesday 09 October 2012 23:41:40 Wally Lepore wrote:
 An interesting side note: Both identical drives are 'Enhanced IDE'
 drives (EIDE). However for some reason during the debian set-up, the
 installer identified them as SCSI drives and labeled them as follows

 SCSI1 (0,0,0) (sda) -80.0 GB ATA WDC [serial number]
 SCSI1 (0,1,0) (sdb) -80.0 GB ATA WDC [serial number]

 Yes, that it is now policy: all hard/dvdrw drives are sdx, even IDE ones.  I
 can't remember whether that came in with Squeeze or Lenny.

Ok Lisi, sounds good. Thank you.


-- 
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/CALDXikowKA6vN6a3dp0p1C2owGeX_vNHhZAoRs0ESaGO4=n...@mail.gmail.com



Re: wi-fi connection and wicd

2012-10-10 Thread Luiz L. Marins

Please,


see here:

http://packages.debian.org/squeeze/all/firmware-linux-nonfree/download



and here:

http://ftp.debian.org/debian/pool/non-free/f/firmware-nonfree/



Good Luck


--
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/50758be1.3080...@gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Linux-Fan
On 10/10/2012 07:33 PM, Wally Lepore wrote:
 On 10/10/2012 03:22 AM, Wally Lepore wrote:
 Based on the above, can a directory/partition be named  /usr/local  ?
 and  /var/mail ? I thought a directory can have only one name (i.e.
 /usr -or-  /local -or-  /var -or-  /mail).
 
 On Wed, Oct 10, 2012 at 2:17 AM, Linux-Fan ma_sys...@web.de wrote:
 You can have /var on your main partition (which also contains /) and
 mount another partition in the subdirectory /var/mail.
 
 Hi Linux-Fan,
 
 Appreciate the help. I have to read-up on the file structure in Linux.
 I totally understand the concept in windows. But when you said,
 
 You can have /var on your main partition (which also contains /)and 
 mount another partition in the subdirectory /var/mail.
 
 Can you give me an example please (in a file tree format) such as below?
 
 /var
 /var/mail

In Linux, directories can be used as mount-points that look like
normal folders but represent a different filesystem on another partition
or even on another hard drive (Windows also has this for NTFS, but it is
hidden somewhere in the Volume Manager).

For example if you connect a USB Stick to your computer that has only
one partition it might get the device name /dev/sdc1. You could mount
that device in a directory (graphical Desktop Environments will usually
do this for you and create a directory named /media/something that
provides the mount-point for your removable device).

This means a folder's contents in a linux system can exist on a
different device than you would expect them to be:

/var can be on /dev/sdb1 (your root partition where /bin, /etc, /usr and
all the others are also located) and the contents of the subdirectory
/var/mail can be on a different partition (e.g. /dev/sdb2).

You could have something like that
/ on /dev/sdb1 (which I called main partition before)
/boot on /dev/sdb2
/var  on /dev/sdb1
/var/mail on /dev/sdb3
/home on /dev/sdb4

While your original idea was to have (if I got it correctly)
/ on /dev/sdb1
/boot on /dev/sdb2
/var  on /dev/sdb1
/var/mail on /dev/sdb1
/home on /dev/sdb3

I have not read it completely but this could probably help (If I was not
able to claify this completely):

http://www.linfo.org/mounting.html


 Thank you


-- 
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/5075bb07.20...@web.de



Re: Util-linux package was removed and the system is not bootable.

2012-10-10 Thread Mike O
ozhan fenerci o_fenerci at yahoo.com.tr writes:

 
 Dear List,I know I am not supposed to delete util-linux but it was removed by
the command  apt-get remove util-linux'. After I rebooted the computer, the
grub shows no linux boot disk. I wonder how I can recover my system back. I am
using debian testing/386. Best Regards,Ozhan
 

I'd second using a live cd or usb. After you boot into the live environment, you
should be able to mount your partitions. Download a *.deb for util-linux, copy
it to your partition, 'chroot' into your system and 'dpkg -i' it. You might also
being able to 'aptitude install' it, but I don't know how much not having
util-linux will cripple aptitude (or even dpkg).


-- 
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/loom.20121010t201121-...@post.gmane.org



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread Joe
On Wed, 10 Oct 2012 08:35:13 -0700 (PDT)
houkensjtu houkens...@gmail.com wrote:

 Hi debianer!
 I am a newbie both of debian and networking...
 Recently I am trying to connect my home laptop(I have a router in my
 home) from office. I read several articles on port forwarding. And I
 succeeded in opening an 22 port on my router, also I started ssh
 server on my home laptop.
 
 (suppose my username at home is USER, and my laptop is called DEBIAN)
 
 I did several experiment and I got confusing in some of its result.
 
 1. ssh USER@DEBIAN
 
 works well!!
 
 2. nc -vz my_home_external_ip 22
 [my_home_external_ip] 22 (ssh) : Connection refused
 
 I cant understand why is it. Because I have actually succeeded in
 test 1!
 
 3. ssh -l USER my_home_external_ip
 ssh: connect to host my_home_external_ip port 22: Connection refused
 This also doesnt work! I thought it should be equivalent to test 1,
 but things just dont work.
 
 Any one can explain this?
 
 

Not yet. Many commercial networks operate firewalls affecting the
connections leaving the network so as yet you don't know which end of
the connection has an issue.

Divide the problem into two parts: the simplest way to check port
forwarding is to use an external website from home, that way you can
change things without travelling from your office, and you know the
other end will have no firewall problems.

A simple and slightly alarming but fairly reliable site is
http://grc.com. Click on Shields Up!!, scroll down over halfway and
click the heading Shields Up!, then Proceed, and Continue, then Common
Ports (you can enter 22 manually, but the Common Ports is a quick test
and just one click is needed).

You're looking for 22 shown as Open, and probably all others as
Stealth. Ignore all the dire warnings, this is a site for Windows users
and they need to be scared.

If 22 is not shown as Open, then you either haven't got the forwarding
right, or sshd isn't running as you expect. If the router looks right,
from your laptop try ssh IP address of laptop. This isn't the same as
ssh localhost, as the ssh server treats different interfaces separately.

If all is well at this end, but there is still a problem from your
office, then you need to ask about outgoing firewalling there.

However you resolve the initial problem, the ssh server is very heavily
targeted by the bad guys, using password checking bots. A quick and
dirty security measure is to forward a non-standard high numbered
external TCP port to laptop:22 (nearly all routers should be able to
do that) or to forward it to the same port of the laptop, and
reconfigure the ssh server to listen on that port (the Port xxx line(s)
in /etc/sshd_config). Remember to restart the ssh server if you need to
do this.

Six people will now leap in and say that's not going to improve
security, all the bad guys have to do is run a portscan to find your
server. However, scanning 65,000 ports of the same IP address across
the Internet is no small undertaking, and will certainly attract
attention, and I've never yet seen a bot attempt it. I don't get *any*
connection attempts to my ssh port, while 22 gets 10-100 a day.

The long-term solution is to disable passwords and use public-private
key pairs for authentication, which is not really difficult, but is
not for a complete beginner, and can certainly not be tried until you
have the system working reliably on passwords. A quick Google for ssh
public key tutorial turns up a vast number of sites to help with this.

If you need to work from Windows, by the way, the puTTY program is
pretty much the industry standard. There is also a Portable Apps
version of it, which does not write anything to the Windows machine.

-- 
Joe


-- 
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/20121010194427.02ca4...@jretrading.com



Re: Adding user to dual boot laptop

2012-10-10 Thread Gary Roach

On 10/09/2012 04:53 PM, Gary Roach wrote:
I have a Toshiba Qosmio with 2  60 GB hard drives, one with Windows XP 
and the other with Debian Squeeze. I just decided to add my wife as a 
user to the linux side. For some reason the login screen won't work. I 
set up her account in passwd and group and I set up her home 
directory. I can log her in as an su user with no problem. When I 
re-boot the system and the splash screen comes up (KDE4), I can enter 
her name and password but the system rejects the pass word. I've 
checked everything about 3 times and can find nothing wrong. I would 
guess that I have missed some niggally detail. The Windows XP side 
works fine. Any ideas?


Gary R.


Thanks for all of the suggestions. Still no fix. In answer to all of 
your questions:


1. The most telling would be the suggestion to hit Ctl+Alt+F1 to get the 
cmd line and try logging in. The log in worked fine with my wife's user 
name and password.


2. My wife's uid is 1001 so no problem here.

3. Permissions, owners and structure for files passwd, shadow and group 
are exactly the same as my entries.


4. Dpkg-reconfigure kdm pauses for a few seconds and returns to the cmd 
prompt.


5. We are going to be traveling and I don't want to remove the password 
protection from the computer.


There is a Systems Setting - Advanced - Login Manager window that has 
possibilities but I haven't been able to figure out how to start the 
application as root. Most of the functions are grayed out.


Gary R.


--
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/5075c48b.1070...@verizon.net



Re: OT: man in the middle attack ?

2012-10-10 Thread Joe
On Wed, 10 Oct 2012 19:12:08 +0300
Panayiotis Karabassis pan...@gmail.com wrote:

 
 Yes, sure. I am not sure how this fits with the rest of the gnu/linux
 ideology, which is about freedom and community. I think the problem
 is exacerbated by the nature of internet communication, where it is
 both easier to be rude, and easier to misunderstand and be offended
 by the tone of another's message. Imho, many of the rude people
 would be quite gentle and timid, if you met them in person.
 

By the nature of Linux, people who use it regularly are accustomed to
using the Net to find solutions to their many problems. There is
therefore a tendency to be a bit terse with someone who asks for help
with a problem but has clearly not made the slightest effort to solve it
himself.

And when a student tries to get others to do his homework...

There's no excuse for real rudeness, but the prospect of being told
rather brusquely that the solution to the problem is the fourth entry
of the first results page of an obvious Google search does encourage a
bit of self-reliance, one of the most important personality traits of
a successful Linux user.

Sadly, there are also some very entrenched opinions about certain
matters, but this is no more common with Linux people than Windows
people, nor indeed than political or religious partisans. There is a
lot less tolerance on the Net for technical or other bigotry than there
used to be.

And finally, there are a few people who are just plain prickly... but
one of the most important of all freedoms is the freedom to offend.
Once that is outlawed, censorship becomes trivial to implement.

-- 
Joe


-- 
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/20121010201423.3fc0b...@jretrading.com



Re: Adding user to dual boot laptop

2012-10-10 Thread tv.deb...@googlemail.com

On 10/10/2012 20:55, Gary Roach wrote:

On 10/09/2012 04:53 PM, Gary Roach wrote:

I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP
and the other with Debian Squeeze. I just decided to add my wife as a
user to the linux side. For some reason the login screen won't work. I
set up her account in passwd and group and I set up her home
directory. I can log her in as an su user with no problem. When I
re-boot the system and the splash screen comes up (KDE4), I can enter
her name and password but the system rejects the pass word. I've
checked everything about 3 times and can find nothing wrong. I would
guess that I have missed some niggally detail. The Windows XP side
works fine. Any ideas?

Gary R.



Thanks for all of the suggestions. Still no fix. In answer to all of
your questions:

1. The most telling would be the suggestion to hit Ctl+Alt+F1 to get the
cmd line and try logging in. The log in worked fine with my wife's user
name and password.


No surprise, kdm isn't involved when logging from the console.




2. My wife's uid is 1001 so no problem here.

3. Permissions, owners and structure for files passwd, shadow and group
are exactly the same as my entries.

4. Dpkg-reconfigure kdm pauses for a few seconds and returns to the cmd
prompt.


Normal behavior if only one login manager is installed, don't you want 
to install gdm to see if it works as a temporary workaround ?





5. We are going to be traveling and I don't want to remove the password
protection from the computer.

There is a Systems Setting - Advanced - Login Manager window that has
possibilities but I haven't been able to figure out how to start the
application as root. Most of the functions are grayed out.


Press keys alt + F2 and in the launch box type:

kdesu systemsettings



Gary R.




Do you see any meaningful error in /var/log/kdm.log or 
~/.xsession-errors (from your wife's /home) ?



--
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/5075cb7a.3060...@googlemail.com



Re: OT: man in the middle attack ?

2012-10-10 Thread Neal Murphy
On Wednesday, October 10, 2012 03:14:23 PM Joe wrote:
 
 And finally, there are a few people who are just plain prickly... but
 one of the most important of all freedoms is the freedom to offend.

As is the freedom to choose to brush off offenses--be they real or perceived-- 
or to take them personally. I'm sure Miss Manners has waxed eloquently on the 
topic more than once.


-- 
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/201210101528.27699.neal.p.mur...@alum.wpi.edu



Re: wi-fi connection and wicd

2012-10-10 Thread Lisi
Hi, Hans!

On Wednesday 10 October 2012 17:35:56 Hans-J. Ullrich wrote:
  When I try to connect I get the message that no wireless connection is
  available.  There are in fact 7 within easy wireless reach, one of them
  my own, and my wireless router is currently about 9 inches away from the
  netbook on the same desk.
 
  Where do I go next??

 looks like a known bug.

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665881

It's certainly very similar.  

 What kernel version are you running?

2.6.32-5-686 

Thanks for your reply,
Lisi


-- 
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/201210102040.44114.lisi.re...@gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wayne Topa

On 10/10/2012 01:33 PM, Wally Lepore wrote:

On 10/10/2012 03:22 AM, Wally Lepore wrote:

Based on the above, can a directory/partition be named  /usr/local  ?
and  /var/mail ? I thought a directory can have only one name (i.e.
/usr -or-  /local -or-  /var -or-  /mail).


On Wed, Oct 10, 2012 at 2:17 AM, Linux-Fanma_sys...@web.de  wrote:

You can have /var on your main partition (which also contains /) and
mount another partition in the subdirectory /var/mail.


Hi Linux-Fan,

Appreciate the help. I have to read-up on the file structure in Linux.
I totally understand the concept in windows. But when you said,


You can have /var on your main partition (which also contains /)and mountanother 
partition in the subdirectory /var/mail.


Can you give me an example please (in a file tree format) such as below?

/var
/var/mail


Not a direct answer to your question but...

Please instal the  debian-reference package.  Doing so will
save you, and us, a lot of time.

Package: debian-reference
Version: 2.48
Installed-Size: 42
Maintainer: Osamu Aoki os...@debian.org
Architecture: all
Depends: debian-reference-en
Recommends: debian-reference-ja, debian-reference-fr, 
debian-reference-it, debian-reference-pt
Description-en: metapackage to install (all) translations of Debian 
Reference
 This Debian Reference is intended to provide a broad overview of the 
Debian
 system as a post-installation user's guide. It covers many aspects of 
system

 administration through shell-command examples for non-developers.
 .
 This installs all translations when Recommends: are installed.
Homepage: http://www.debian.org/doc/user-manuals#quick-reference

HTH

--
Give a man a fish, feed him for a day.
Teach a man to fish, feed him for life

Wayne


--
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/5075d0ae.8060...@gmail.com



Re: Re: Util-linux package was removed and the system is not bootable.

2012-10-10 Thread ozhan fenerci
I appreciate your advises. I was seriously warned by apt-get not to remove 
util-linux. But it was late and I have made a blunder mistake (I was not able 
to update my system due to util-linux. Util-linux was giving an error. So I 
tried to remove and reinstall again by apt-get) 

I will try live-cd and try to recover it.

Thanks again,
Ozhan 


Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 4:41 AM, Brian a...@cityscape.co.uk wrote:
 You will want to be sure you are partitioning the correct drive. Usually
 it is easy to distinguish between them because the drive containing
 Windows will probably have an NTFS filesystem on it. You should also
 double-check what the drive designation for Debian is (sda or sdb) when
 you finalise partitioning.

Hi Brian,

I'm definitely partitioning the correct drive (measure twice cut
once). Thanks for the critical reminder. Surely do not want to
partition the wrong drive. :-)
Drive designation for Debian is sdb.

 At the GRUB install stage you will be told what other operating systems
 have been detected and that GRUB will be installed to the MBR of the
 first hard drive. What it actually means is that GRUB will be installed
 to the MBR of /dev/sda. You will only say yes to this if Debian is on
 /dev/sda.

Ok, thank you for letting me know what to expect during the install.
GRUB will be installed to Debian's drive which is the 2nd drive (sdb).

 Nice planning. There is sufficient room on /. I'd do without the boot
 partition but it does no harm.

I must use the boot partition. I will be dual booting windows and
debian. As a last step, I will change the boot order in BIOS when all
is completed. I will boot to sdb drive which will present me with a
menu as to what OS I would like to boot (windows or Debian).

See this link. It has 2 pages. Please read the end of page 2:
http://www.linuxbsdos.com/2012/07/23/dual-boot-ubuntu-12-04-and-windows-7-on-a-computer-with-2-hard-drives/

 For the use you will put the OS to I'd stick to your plan. It has the
 benefit of simplicity and ease of implementation.

Thank you for helping Brian
Wally


-- 
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/caldxikoxfxurommcs9marejfoaxxbwez_ixrmoofbyvudfp...@mail.gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 4:57 AM, Lisi lisi.re...@gmail.com wrote:
 Directories usually have subdirectories.  Let's take /usr/local.  There are
 three directories specified here.  / , usr and mail.  That is: root (not to
 be confused with root's home directory), the root of the directory tree;
 usr which is a sub-directory of / , and local which is a subdirectory of usr.
 And those are directories, which are not the same thing as partitions.

Hi Lisi,

Yes I think I have a grasp.I have no issues setting up partitions in
windows (in the past) or working with file folders. Not an issue. Been
doing this for years. :)

Just not sure how the installer or partition manager knows where and
how to place files when I set up any given partition scheme such as:

example #1

/boot
/
/home
swap


example #2

/
swap

example #3

/boot
/
/user
/temp
Swap

Does it matter what order the partitions are placed in? I'm currently
reading a lot on partition set-ups. very interesting topic for sure.

Please see some links I've been reading
:
http://www.pathname.com/fhs/pub/fhs-2.3.html
http://www.linuxbsdos.com/2011/02/15/debian-6-installation-and-disk-partitioning-guide/
http://linuxbsdos.com/qa/129/debian-squeeze-netinst-partition-drive-dual-boot-using-lvm
(above link is my question I placed out there)
http://www.linuxbsdos.com/2012/07/23/dual-boot-ubuntu-12-04-and-windows-7-on-a-computer-with-2-hard-drives/
 (2 pages)
http://www.linuxbsdos.com/2011/09/18/guide-to-disks-and-disk-partitions-in-linux/

 Wally, I really do think that you should just stop worrying and install.  It
 doesn't matter if you make mistakes, you can just reinstall.  You have
 another windows drive which could just be swapped in, so nothing crucial can
 go wrong.

Yes I understand. Appreciate the suggestion. I have installed windows
numerous times and have become very proficient at it. Yes, my windows
drive is cloned so yes, if I accidentally mess it up, I can re-clone
it. Certainly a good point.

 If you ask 10 people how to partition your system, you will get 10
 different answers.  There are arguments that can be adduced to all the
 choices that you suggest you face.

I totally understand. Partitioning is subjective. I have partitioned
windows drives on-and-off over the years and if Idon't do it
regularly, I forget what I did. Yes, eventually (any hour now) I will
make up my mind and go with a particular partition scheme.

 And then there is LVM ...

Funny you mention that! I have been reading about 'Logical Volume
Manager' (LVM) all day. Looks real interesting.

Please see these awesome tutorials that I had to really dig to find.

http://www.linuxbsdos.com/2011/02/16/manual-lvm-configuration-guide-for-debian-6/3/
http://www.linuxbsdos.com/2008/11/17/linux-logical-volume-manager/
http://www.linuxbsdos.com/2012/07/19/manual-lvm-disk-partitioning-guide-for-fedora-17/
http://www.linuxbsdos.com/2008/09/29/how-linux-distros-configure-and-manage-lvm/

 Is this going to be a production system?  If not, and you are just going to be
 learning, then you can reinstall repeatedly to find out the answers to your
 questions.  And once you have installed you will be able to look at your
 directory tree.

No, it certainly won't be a production system :-) Yes I understand
about re-installing and gaining experience. Thanks again Lisi.
Appreciate all the help.

Wally


-- 
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/caldxikqjgytxqyxqd3smt91w4e40ob6rqcewaou40xf_8bt...@mail.gmail.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 5:01 AM, Lisi lisi.re...@gmail.com wrote:
 On Wednesday 10 October 2012 09:41:28 Brian wrote:
 For the use you will put the OS to I'd stick to your plan.

 Sorry, Wally.  I had obviously forgotten something you had said.  My bad!

no problem :-) Thank you
wally


-- 
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/caldxikqnemounfbqg7a-tpgxckadnniunxfwvkttwfuwbh-...@mail.gmail.com



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread Brian
On Wed 10 Oct 2012 at 08:35:13 -0700, houkensjtu wrote:

 I am a newbie both of debian and networking...  Recently I am trying
 to connect my home laptop(I have a router in my home) from office. I
 read several articles on port forwarding. And I succeeded in opening
 an 22 port on my router, also I started ssh server on my home laptop.
 
 (suppose my username at home is USER, and my laptop is called DEBIAN)
 
 I did several experiment and I got confusing in some of its result.
 
 1. ssh USER@DEBIAN
 
 works well!!

We assume this means you were able to log in with your password, so it
very much looks like you have set up port forwarding to the home machine
correctly. Would you please say how your office machine resolves the IP
number for DEBIAN.
 
 2. nc -vz my_home_external_ip 22
 [my_home_external_ip] 22 (ssh) : Connection refused
 
 I cant understand why is it. Because I have actually succeeded in test
 1!

What do get with

   ssh USER@my_home_external_ip ?

 3. ssh -l USER my_home_external_ip
 ssh: connect to host my_home_external_ip port 22: Connection refused
 This also doesnt work! I thought it should be equivalent to test 1,
 but things just dont work.

'Connection refused' would indicate there is a route to the host but
there is no daemon running on port 22.



-- 
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/20121010225534.GJ30872@desktop



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread Brian
On Wed 10 Oct 2012 at 19:44:27 +0100, Joe wrote:

[Some good advice snipped]

 However you resolve the initial problem, the ssh server is very heavily
 targeted by the bad guys, using password checking bots. A quick and
 dirty security measure is to forward a non-standard high numbered
 external TCP port to laptop:22 (nearly all routers should be able to
 do that) or to forward it to the same port of the laptop, and
 reconfigure the ssh server to listen on that port (the Port xxx line(s)
 in /etc/sshd_config). Remember to restart the ssh server if you need to
 do this.
 
 Six people will now leap in and say that's not going to improve
 security, all the bad guys have to do is run a portscan to find your
 server. However, scanning 65,000 ports of the same IP address across
 the Internet is no small undertaking, and will certainly attract
 attention, and I've never yet seen a bot attempt it. I don't get *any*
 connection attempts to my ssh port, while 22 gets 10-100 a day.

What you say about putting sshd of a port other than 22 is undoubtfully
correct. It gives peace of mind, a sense of combating the baddies, less
cruft in the logs and a reason to proselytise. What it doesn't give is a
more secure sshd. Not a single iota of security is gained with the
technique you advocate.

Five to go.
 
 The long-term solution is to disable passwords and use public-private
 key pairs for authentication, which is not really difficult, but is
 not for a complete beginner, and can certainly not be tried until you
 have the system working reliably on passwords. A quick Google for ssh
 public key tutorial turns up a vast number of sites to help with this.

If there was a security problem key-based authentification might provide
a solution. There isn't, so it doesn't.


-- 
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/20121010230100.GK30872@desktop



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Brian
On Wed 10 Oct 2012 at 17:24:16 -0400, Wally Lepore wrote:

 On Wed, Oct 10, 2012 at 4:41 AM, Brian a...@cityscape.co.uk wrote:
 
  Nice planning. There is sufficient room on /. I'd do without the boot
  partition but it does no harm.
 
 I must use the boot partition. I will be dual booting windows and
 debian. As a last step, I will change the boot order in BIOS when all
 is completed. I will boot to sdb drive which will present me with a
 menu as to what OS I would like to boot (windows or Debian).
 
 See this link. It has 2 pages. Please read the end of page 2:
 http://www.linuxbsdos.com/2012/07/23/dual-boot-ubuntu-12-04-and-windows-7-on-a-computer-with-2-hard-drives/

I've read the article and follow its basic idea of having Windows and
Debian on separate drives and changing the boot order in the BIOS. The
author advises four partitions, one being /boot. This is not a
prerequisite for the booting scheme to work but a preference, like
having /var on a separate partition. GRUB will find its files whether
they are on / or /boot. But, as I implied above, it's of no great
consequence.


-- 
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/20121010232219.GL30872@desktop



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread houkensjtu
Hi Joe!
Thank you for detailed reply!
Actually I found a switch which solved my problem and now all my experiments 
works perfectly. The command is:

echo 1/proc/sys/net/ipv4/ip_forward

but...What is it?! Is there any other way to check and configure my laptop's 
status without writing directly to this file?
...well I know, linux is all about file...


Joe於 2012年10月11日星期四UTC+9上午3時50分02秒寫道:
 On Wed, 10 Oct 2012 08:35:13 -0700 (PDT)
 
 houkensjtu houkens...@gmail.com wrote:
 
 
 
  Hi debianer!
 
  I am a newbie both of debian and networking...
 
  Recently I am trying to connect my home laptop(I have a router in my
 
  home) from office. I read several articles on port forwarding. And I
 
  succeeded in opening an 22 port on my router, also I started ssh
 
  server on my home laptop.
 
  
 
  (suppose my username at home is USER, and my laptop is called DEBIAN)
 
  
 
  I did several experiment and I got confusing in some of its result.
 
  
 
  1. ssh USER@DEBIAN
 
  
 
  works well!!
 
  
 
  2. nc -vz my_home_external_ip 22
 
  [my_home_external_ip] 22 (ssh) : Connection refused
 
  
 
  I cant understand why is it. Because I have actually succeeded in
 
  test 1!
 
  
 
  3. ssh -l USER my_home_external_ip
 
  ssh: connect to host my_home_external_ip port 22: Connection refused
 
  This also doesnt work! I thought it should be equivalent to test 1,
 
  but things just dont work.
 
  
 
  Any one can explain this?
 
  
 
  
 
 
 
 Not yet. Many commercial networks operate firewalls affecting the
 
 connections leaving the network so as yet you don't know which end of
 
 the connection has an issue.
 
 
 
 Divide the problem into two parts: the simplest way to check port
 
 forwarding is to use an external website from home, that way you can
 
 change things without travelling from your office, and you know the
 
 other end will have no firewall problems.
 
 
 
 A simple and slightly alarming but fairly reliable site is
 
 http://grc.com. Click on Shields Up!!, scroll down over halfway and
 
 click the heading Shields Up!, then Proceed, and Continue, then Common
 
 Ports (you can enter 22 manually, but the Common Ports is a quick test
 
 and just one click is needed).
 
 
 
 You're looking for 22 shown as Open, and probably all others as
 
 Stealth. Ignore all the dire warnings, this is a site for Windows users
 
 and they need to be scared.
 
 
 
 If 22 is not shown as Open, then you either haven't got the forwarding
 
 right, or sshd isn't running as you expect. If the router looks right,
 
 from your laptop try ssh IP address of laptop. This isn't the same as
 
 ssh localhost, as the ssh server treats different interfaces separately.
 
 
 
 If all is well at this end, but there is still a problem from your
 
 office, then you need to ask about outgoing firewalling there.
 
 
 
 However you resolve the initial problem, the ssh server is very heavily
 
 targeted by the bad guys, using password checking bots. A quick and
 
 dirty security measure is to forward a non-standard high numbered
 
 external TCP port to laptop:22 (nearly all routers should be able to
 
 do that) or to forward it to the same port of the laptop, and
 
 reconfigure the ssh server to listen on that port (the Port xxx line(s)
 
 in /etc/sshd_config). Remember to restart the ssh server if you need to
 
 do this.
 
 
 
 Six people will now leap in and say that's not going to improve
 
 security, all the bad guys have to do is run a portscan to find your
 
 server. However, scanning 65,000 ports of the same IP address across
 
 the Internet is no small undertaking, and will certainly attract
 
 attention, and I've never yet seen a bot attempt it. I don't get *any*
 
 connection attempts to my ssh port, while 22 gets 10-100 a day.
 
 
 
 The long-term solution is to disable passwords and use public-private
 
 key pairs for authentication, which is not really difficult, but is
 
 not for a complete beginner, and can certainly not be tried until you
 
 have the system working reliably on passwords. A quick Google for ssh
 
 public key tutorial turns up a vast number of sites to help with this.
 
 
 
 If you need to work from Windows, by the way, the puTTY program is
 
 pretty much the industry standard. There is also a Portable Apps
 
 version of it, which does not write anything to the Windows machine.
 
 
 
 -- 
 
 Joe
 
 
 
 
 
 -- 
 
 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/20121010194427.02ca4...@jretrading.com



Joe於 2012年10月11日星期四UTC+9上午3時50分02秒寫道:
 On Wed, 10 Oct 2012 08:35:13 -0700 (PDT)
 
 houkensjtu houkens...@gmail.com wrote:
 
 
 
  Hi debianer!
 
  I am a newbie both of debian and networking...
 
  Recently I am trying to connect my home laptop(I have a router in my
 
  home) from office. I read several articles on port forwarding. And I
 
  succeeded in opening an 22 port on my router, 

Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread houkensjtu
Brian於 2012年10月11日星期四UTC+9上午8時00分04秒寫道:
 On Wed 10 Oct 2012 at 08:35:13 -0700, houkensjtu wrote:
 
 
 
  I am a newbie both of debian and networking...  Recently I am trying
 
  to connect my home laptop(I have a router in my home) from office. I
 
  read several articles on port forwarding. And I succeeded in opening
 
  an 22 port on my router, also I started ssh server on my home laptop.
 
  
 
  (suppose my username at home is USER, and my laptop is called DEBIAN)
 
  
 
  I did several experiment and I got confusing in some of its result.
 
  
 
  1. ssh USER@DEBIAN
 
  
 
  works well!!
 
 
 
 We assume this means you were able to log in with your password, so it
 
 very much looks like you have set up port forwarding to the home machine
 
 correctly. Would you please say how your office machine resolves the IP
 
 number for DEBIAN.
 
  
 
  2. nc -vz my_home_external_ip 22
 
  [my_home_external_ip] 22 (ssh) : Connection refused
 
  
 
  I cant understand why is it. Because I have actually succeeded in test
 
  1!
 
 
 
 What do get with
 
 
 
ssh USER@my_home_external_ip ?
 
 
 
  3. ssh -l USER my_home_external_ip
 
  ssh: connect to host my_home_external_ip port 22: Connection refused
 
  This also doesnt work! I thought it should be equivalent to test 1,
 
  but things just dont work.
 
 
 
 'Connection refused' would indicate there is a route to the host but
 
 there is no daemon running on port 22.
 
 
 
 
 
 
 
 -- 
 
 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/20121010225534.GJ30872@desktop

Thanks for great reply!!
I have to apologize for sth... I forgot to say that all these experiments were 
done in home on my laptop...omg
So, now I solved the problem with
echo 1/proc/sys/net/ipv4/ip_forward

What is this file? Is there any other way to check or configure my laptop with 
out writing directly to this file?


--
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/46b9951a-dffd-4f59-aa06-f5e66332f...@googlegroups.com



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 8:38 AM, lee l...@yun.yagibdah.de wrote:
 Wally Lepore wallylep...@gmail.com writes:

 Thank you for putting up your questions in such a well made way!


I appreciate that. Takes me forever to reply to all posts because I
need to make sure my questions are 'somewhat' clear. :-)


 An interesting side note: Both identical drives are 'Enhanced IDE'
 drives (EIDE). However for some reason during the debian set-up, the
 installer identified them as SCSI drives and labeled them as follows

 SCSI1 (0,0,0) (sda) -80.0 GB ATA WDC [serial number]
 SCSI1 (0,1,0) (sdb) -80.0 GB ATA WDC [serial number]

 Question #1 please:
 Is this SCSI labeling something I can ignore? I continued on and moved
 forward to the partition section (where I'm at now) with no issues.

 That should be ok.  However, it's been a long time that I used IDE
 disks, so I don't know for sure.


Ok thank you. Lisi kindly explained this in detail earlier in this thread.


 My partition scheme (that I have not set-up yet and based somewhat on
 the above link) will be as follows:

 1st Partition -- Boot Partition
 /boot-- Type: Primary -- 500MB -- Ext4 journaling file system --
 Location: Beginning

 Second Partition -- Root Partition
 /  -- Type: Logical -- 15000MB -- Ext4 journaling file system
 -- Location: Beginning

 3rd Partition -- Home Partition
 /home  -- Type: Logical -- 6MB -- Ext4 journaling file system --
 Location: Beginning

 SWAP Area
 Swap   -- Type: Logical -- 2000MB  -- Ext4 journaling file system --
 Location: Beginning

 Question #2 please:
 Is this an acceptable partition set-up? Based on a disk capacity of 80
 gigs, are the allotted partition sizes acceptable?  Any suggestions
 please ?

 It depends on what you want to use the computer for.  If you (mainly)
 use it to learn programming in C/C++/Object C, you're not like to need a
 lot of space on /var and probably no /opt partition, for example.

Ok I'm reading this again and again. Awesome info here. Thank you. I
have no idea what /var and /opt actually stand for or what they are
used for but I continue to study?


 To give you some numbers:


 FilesystemSize  Used Avail Use% Mounted on
 /dev/mapper/vg0-root  4.7G  1.2G  3.3G  27% /
 /dev/mapper/vg0-tmp93G  1.5G   87G   2% /tmp
 /dev/mapper/vg0-usr47G  9.5G   35G  22% /usr
 /dev/mapper/vg0-usrlocal   19G  545M   18G   4% /usr/local
 /dev/mapper/vg0-var93G   19G   70G  22% /var
 /dev/mapper/vg0-rest  104G   16G   83G  16% /var/spool/squid-00


 This kind of partitioning is the result of my experience and having
 plenty disk space for the system.  I do not have /boot on a separate
 partiton, and du -hs /boot says that 69MB are used.  The /var
 partition is large because I'm running a web server, and I'm using
 squid.  Squid puts its files into /var/spool/squid and
 /var/spool/squid-00, and 14GB of the 19GB in /var are used by squid.

 On /usr/local/, I have emacs24, fvwm, i3 (these are too old in Debian
 testing) and a few libraries.  That's why 545MB are used there.

 Since you have a smaller disk, the actual partition sizes aren't
 relevant.  What these numbers tell you is how much space you may want to
 plan on for each of the different partitions.  You might want something
 like this:


 swap10GB [1]
 /2GB including /boot
 /usr12GB
 /var 2GB
 /tmp 2GB
 /homethe rest of it

Wow! Excuse my enthusiasm but you really explain this well! I
appreciate the amount of time you spent explaining this. Swap 10 gigs
?? I'm reading on.

 It adds up to 28GB, so that leaves you 52GB for /home.  Since this is
 either plenty or totally insufficient, I'd make the partitions a little
 larger because in any case, it doesn't really matter if your /home is
 10GB more or less.  You'll get something like this:


 swap10GB [1]
 /3GB including /boot
 /usr15GB
 /var 4GB
 /tmp 4GB
 /homethe rest of it


 [1]: There's a recommendation to have swap partitions at the very
  beginning of the disk because it's supposed to be faster.  I'd make
  it that large because you might want to do something that needs a
  lot of memory and because with only 2GB, you may run out too soon.
  Besides, swap space is a way to slow things down before the system
  starts killing off processes when it runs out of memory which can
  bring it down.  It improves your chances to kill processes
  yourself, making better decisions about which ones to kill.  If
  you're getting tight, make swap at leas 5GB.

I need to place /boot at the beginning of the disk because I am using
two hard drives in a dual-boot. For booting windows and Debian. /boot
will be at the beginning of the 2nd drive (sdb). This drive will be
100% devoted to debian. I will then change the boot order in BIOS to
have sdb drive boot. This will display a menu asking which OS to boot
(windows or debian). See the end of page 2 on this link 

Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 8:42 AM, lee l...@yun.yagibdah.de wrote:
 Wally Lepore wallylep...@gmail.com writes:

 I forgot to add this additional information. I am installing Debian
 netinst file titled: debian-6.0.6-i386-netinst.iso (32 bit)

 Isn't it better to go 64bit and to use the life installer CD?  It might
 make more sense to go 64bit when you do programming.  And I've seen
 Intel Dual cores capable of running 64bit being extremely slow when
 running 32bit.

That is good to know. Everything is headed towards 64bit. Eventually I
will wind-up witha 64bit system. :-)

Thank you Lee
Wally


-- 
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/caldxikr6r0zoi90666hp7bbg0dq8rsmpnxzehds+uk1dnnm...@mail.gmail.com



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread Neal Murphy
On Wednesday, October 10, 2012 08:19:25 PM houkensjtu wrote:
 Thanks for great reply!!
 I have to apologize for sth... I forgot to say that all these experiments
 were done in home on my laptop...omg So, now I solved the problem with
 echo 1/proc/sys/net/ipv4/ip_forward
 
 What is this file? Is there any other way to check or configure my laptop
 with out writing directly to this file?

That is exactly how you tell linux to forward traffic between NICs.


-- 
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/201210102046.03522.neal.p.mur...@alum.wpi.edu



Re: Partition Scheme for installing Debian Squeeze

2012-10-10 Thread Wally Lepore
On Wed, Oct 10, 2012 at 8:43 AM, lee l...@yun.yagibdah.de wrote:
 Wally Lepore wallylep...@gmail.com writes:

 In order to be sure that Debian installs successfully, I also have a
 USB stick that has the required debian firmware files loaded in the
 event the debian installer asks for it during set-up.

 I needed that once and found I had to unpack these drivers on the
 stick.  With that, it worked just fine.

Very good. I am ready to go with the USB thumb drive. They are already
unpacked and installed on the USB stick.

Thank you
Wally


-- 
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/caldxikqkdbtrkczkrkb3mbbnqk2u9ae5rxaodx-ynr9nn55...@mail.gmail.com



Re: newbie question on port forwarding(and ssh, netcat)

2012-10-10 Thread houkensjtu
Thanks Joe, Brian, Murphy

As I post above, I forgot to say all these experiments were done in my home on 
my laptop...
Now I am in my office and re-do all this experiment.
To be short, now all experiment which is done with ip address works well, while 
if I do ssh USER@DEBIAN, it will say:

ssh: Could not resolve hostname debian: Name or service not known

I am wondering, who(or what device,server) will resolve the hostname? Is it 
possible to resolve my laptop's name from my office?? 

2012年10月11日木曜日 1時00分03秒 UTC+9 houkensjtu:
 Hi debianer!
 
 I am a newbie both of debian and networking...
 
 Recently I am trying to connect my home laptop(I have a router in my home) 
 from office. I read several articles on port forwarding. And I succeeded in 
 opening an 22 port on my router, also I started ssh server on my home laptop.
 
 
 
 (suppose my username at home is USER, and my laptop is called DEBIAN)
 
 
 
 I did several experiment and I got confusing in some of its result.
 
 
 
 1. ssh USER@DEBIAN
 
 
 
 works well!!
 
 
 
 2. nc -vz my_home_external_ip 22
 
 [my_home_external_ip] 22 (ssh) : Connection refused
 
 
 
 I cant understand why is it. Because I have actually succeeded in test 1!
 
 
 
 3. ssh -l USER my_home_external_ip
 
 ssh: connect to host my_home_external_ip port 22: Connection refused
 
 This also doesnt work! I thought it should be equivalent to test 1, but 
 things just dont work.
 
 
 
 Any one can explain this?
 
 
 
 
 
 -- 
 
 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/95c24d80-4052-429d-8658-cf3f447ff...@googlegroups.com


--
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/84255302-35f8-4009-9f05-af25a076d...@googlegroups.com



Re: [OT] dhcpd and always-broadcast

2012-10-10 Thread Kushal Kumaran
On Wed, Oct 10, 2012 at 9:26 PM, Panayiotis Karabassis pan...@gmail.com wrote:
 Hey,

 I have an OT question about the always-broadcast option of the dhcpd server.

 Based on the Wikipedia article, all DHCP messages to the client are sent
 to the broadcast address. This makes sense, since the UDP protocol used
 by DHCP runs on top of the IP protocol, and the client does not have an
 IP address until the DHCP negotiation is completed.

 So, what is the use of this option? Under what circumstances should the
 server not broadcast its messages?


In a DHCP request, a client can choose to say that it does not need
responses to be broadcast.  There is a broadcast bit in the DHCP
request that the client can turn off.  The always-broadcast option for
the DHCP server says that the server should ignore the unset broadcast
bit and always broadcast the response.

How does the client receive a unicast response, you ask?  The response
will still have the client's hardware address (MAC address).  So the
response will reach the client's interface.

It seems, though, that this functionality is not often used.  Clients
always seem to set the broadcast bit, even if they will be able to
receive a unicast response.  I had a problem recently, where some
random malfunctioning device on a network was seeing random DHCP
responses intended for someone else and assigning the offered address
to itself.  I had to patch dhcpd to ignore the broadcast bit and
always send a unicast response (a never-broadcast option).  It
worked surprisingly well.

-- 
regards,
kushal


-- 
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/cah8gtdmylncgzco7tj5iwxd70945q0h6w1zcgwqkrfnewsq...@mail.gmail.com



any status monitor for epson tx 121 ?

2012-10-10 Thread J. B

Hello list,

I have configured Epson tx 121 all-in-one printer with the help of the drivers
as suggested at http://avasys.jp/eng/linux_driver/

But no status monitor is available. I have tried with qink and ink. No luck.
Any thing else I am missing ?

Thanks


-- 
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/2012102009.3e4e7...@shiva.selfip.org