Re: problème configuration wifi _Jessie

2015-01-02 Thread maderios

On 01/02/2015 10:27 AM, Pascal Hambourg wrote:

maderios a écrit :

On 12/30/2014 05:25 PM, maderios wrote:

Je suis passé à une conf dhcp (pas de 'manager' ou autres interfaces
diaboliques), et ça marche pour le moment.
Quand même bien ennuyeux de ne pas avoir trouvé de solution pour le
statique.


Tu as comparé les paramètres IP obtenus par DHCP avec ceux fixés en
configuration statique ?
Tu as essayer d'appliquer en configuration statique les paramètres IP
obtenus par DHCP ?
La connection par dhcp est instable. Après le démarrage ce matin, 
c'était ok puis plus de connection .  J'ai relancé interfaces pour 
retrouver la connection. De plus, je perd la connection dès que je 
m'éloigne du routeur de plus de 3 ou 4 mètres. Un iwlist scan affiche 
pourtant quality=80/100
Le routeur ne semble pas en cause puisque j'ai vu une tablette 
fonctionner parfaitement à 8 mètres de distance à l'étage inférieur.

(mon portable est vraiment un vieux portable Arghh )

--
Maderios


--
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: https://lists.debian.org/54a696ba.6030...@gmail.com



Re: problème configuration wifi _Jessie

2015-01-02 Thread Pascal Hambourg
maderios a écrit :
 On 12/30/2014 05:25 PM, maderios wrote:
 
 Je suis passé à une conf dhcp (pas de 'manager' ou autres interfaces 
 diaboliques), et ça marche pour le moment.
 Quand même bien ennuyeux de ne pas avoir trouvé de solution pour le 
 statique.

Tu as comparé les paramètres IP obtenus par DHCP avec ceux fixés en
configuration statique ?
Tu as essayer d'appliquer en configuration statique les paramètres IP
obtenus par DHCP ?

(capture de paquets sur l'interface wifi)
 Ce qui est bizarre, c'est l'adresse MAC qui n'est pas 
 l'adresse MAC du modem-routeur. Celle de l'interface wifi du routeur, 
 donc 2 MAC pour un modem-routeur?

J'ai déjà vu ça sur une Neufbox 4 : l'adresse MAC du point d'accès sans
fil et celle de l'interface ethernet (utilisée pour le trafic IP quelle
que soit l'interface) différaient dans le dernier octet.

-- 
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: https://lists.debian.org/54a66486.6050...@plouf.fr.eu.org



Re: Sortie de Jessie ?

2015-01-02 Thread jean-pierre giraud
Bonjour,
Le 02/01/2015 14:47, andre_deb...@numericable.fr a écrit :
 On Friday 02 January 2015 14:46:49 Philippe Deleval wrote:
 Je ne sais pas si une nouvelle version stable fait partie des voeux de
 bonne année...
 
 Quelle est environ la date de sortie prévue de Jessie ?
 
 André
 
En novembre, Lucas Nussbaum, actuel chef du projet Debian, a émis
l'hypothèse d'une sortie juste avant l'ouverture du Fosdem à la fin du
mois de janvier ( http://www.lucas-nussbaum.net/blog/?p=854) et toute
l'équipe de publication de Debian travaille dur à la correction des
bogues critiques, mais il en reste... Pour en savoir plus lisez les
Nouvelles du Projet :
https://www.debian.org/News/weekly/2014/17/
Et bonne année 2015.
Jean-Pierre

-- 
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: https://lists.debian.org/54a6dba7.7070...@neuf.fr



Re: Sortie de Jessie ?

2015-01-02 Thread Stéphane GARGOLY
Bonjour à tous les utilisateurs et développeurs de Debian :

Le vendredi 2 janvier 2015 à 13:47, andre_deb...@numericable.fr a écrit :
 Quelle est environ la date de sortie prévue de Jessie ?

Lucas Nussbaum (voir lien a) - l'actuel chef du projet Debian - souhaite que 
cela soit fait fin janvier ou début février prochain, lors du FOSDEM'15 (voir 
lien b) qui aura lieu à Bruxelles.

Lien a : http://www.lucas-nussbaum.net/blog/?p=854
Lien b : https://fosdem.org/2015/

Mais bon, au delà des désirs des uns et des autres, disons que Jessie sortira 
en tant que nouvelle publication stable... quand elle sera prête. ;-)

Cordialement et à bientôt,

Stéphane.

--
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: https://lists.debian.org/201501021406.51078.stephane.garg...@gmail.com



Re: (HS) nouvel an

2015-01-02 Thread Belaïd
bonjour,
sysV: même vœu :) en espérant qu'on soit entendu :)
Le 2 janv. 2015 14:45, Philippe Deleval philippe.dele...@wanadoo.fr a
écrit :

 Bonjour et bonne année à tout le monde

 Je ne sais pas si une nouvelle version stable fait partie des voeux de
 bonne année, sur mon ordi personnel et gardant l' habitude de me connecter
 au prompt, j'espère que l' initialisation de type System V restera au moins
 en option

 Avec mes meilleurs voeux

 Philippe

 --
 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: https://lists.debian.org/54a6a149.3010...@wanadoo.fr




(HS) nouvel an

2015-01-02 Thread Philippe Deleval

Bonjour et bonne année à tout le monde

Je ne sais pas si une nouvelle version stable fait partie des voeux de 
bonne année, sur mon ordi personnel et gardant l' habitude de me 
connecter au prompt, j'espère que l' initialisation de type System V 
restera au moins en option


Avec mes meilleurs voeux

Philippe

--
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: https://lists.debian.org/54a6a149.3010...@wanadoo.fr



Sortie de Jessie ?

2015-01-02 Thread andre_debian
On Friday 02 January 2015 14:46:49 Philippe Deleval wrote:
 Je ne sais pas si une nouvelle version stable fait partie des voeux de
 bonne année...

Quelle est environ la date de sortie prévue de Jessie ?

André

--
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: https://lists.debian.org/201501021447.40947.andre_deb...@numericable.fr



Re: problème configuration wifi _Jessie

2015-01-02 Thread Sylvain L. Sauvage
Le vendredi 2 janvier 2015, 10:27:34 Pascal Hambourg a écrit :
[…]
  Ce qui est bizarre, c'est l'adresse MAC qui n'est pas
  l'adresse MAC du modem-routeur. Celle de l'interface wifi du
  routeur, donc 2 MAC pour un modem-routeur?
 
 J'ai déjà vu ça sur une Neufbox 4 : l'adresse MAC du point
 d'accès sans fil et celle de l'interface ethernet (utilisée
 pour le trafic IP quelle que soit l'interface) différaient
 dans le dernier octet.

  Oui, rien de bizarre : après tout, ce sont deux dispositifs 
(périphériques, cartes, puces…) différents.

  Je ne sais pas pour la Neufbox mais une bonne partie des 
routeurs WiFi sont un SoC (« tout-en-un ») avec jusqu’à trois 
périphériques réseau intégrés : un ethernet pour la prise 
« entrante » (WAN), un ethernet pour le sous-réseau « sortant » 
(LAN) avec un hub au bout (voire un switch avec différentiation 
possible des différentes prises ; parfois, le WAN est d’ailleurs 
aussi sur le switch avec le LAN) et, de plus en plus, une WiFi 
(auparavant plus fréquemment en carte séparée (minipci)). Chaque 
périphérique ayant sa propre MAC.

  Oh, et puis les Freebox ont aussi plusieurs MAC rien que pour 
le WiFi : celles du voisinage qui ont le partage FreeWifi activé 
en montrent jusqu’à trois (je crois même en avoir vu quatre avec 
Freephonie).  C’est dispendieux !

-- 
 Sylvain Sauvage

--
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: https://lists.debian.org/10146269.EjDcuTrmL5@earendil



Re: live cd gparted et clonezilla récents ne boote pas sur mon PC

2015-01-02 Thread MERLIN Philippe
Le jeudi 1 janvier 2015, 22:15:33 andre_deb...@numericable.fr a écrit :
 On Thursday 01 January 2015 21:57:59 MERLIN Philippe wrote:
J'ai également testé un des CD qui me cause des problèmes sur un autre
ordinateur et tout marche bien, donc le CD en lui même est bon.
   
   Sans doute le CD est-il mal gravé ou mal pressé ?
   (donc inutilisable en l'état)
   Prendre un nouveau CD/DVD et le regraver avec vérification,
   via K3b.
   André
  
  Merci pour ta réponse, mais dans mon message j'avais indiqué :
  J'ai également testé un des CD qui me cause des problèmes sur un autre
  
   ordinateur et tout marche bien, donc le CD en lui même est bon
  
  Bonne année.
 
 Très bonne année 2015 et également à Tous.
 
 Désolé... effectivement, j'avais lu trop vite ton premier Mail,
 
 et je sèche :-)
 
 Mais les lecteurs/graveurs CD/DVD sont souvent capricieux,
 expérience vécue.
 
 Préférez la clé USB alors en la mettant bootable via le Bios.
 
 André
J'ai testé sur une clé USB même problème on voit la clé qui clignote 
indéfiniment et l'écran reste statique.
Je m'oriente vers un Bug de syslinux qui a maintenant la possibilité de 
fonctionner en UEFFI or le Bios de mon ordi  permet d'utiliser cette 
fonctionnalité mais je ne l'ai pas implémenté, je pense que syslinux croit que 
suis en UEFFI et cela part alors en quenouille.
Pour essayer de me sortir de ce problème je voudrais faire une image iso de 
gparted  récente qui puisse fonctionner.
Pour cela je compare deux Live CD de Gparted  un de 2009 qui fonctionne et le 
récent qui foire 2014.
J'ai remarqué que sur celui qui marchait utilisait isolinux je vais essayer de 
faire une image avec gparted 2014 et isolinux, tout conseil ou suggestion sera 
apprécié, surtout si quelqu'un a déjà effectué une manœuvre similaire.
A l'avance merci.
Philippe Merlin

--
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: https://lists.debian.org/3215861.ckRRqrcJ5z@portable



Re: live cd gparted et clonezilla récents ne boote pas sur mon PC

2015-01-02 Thread andre_debian
On Friday 02 January 2015 18:57:29 MERLIN Philippe wrote:
 J'ai testé sur une clé USB même problème on voit la clé qui clignote
 indéfiniment et l'écran reste statique.
 Je m'oriente vers un Bug de syslinux qui a maintenant la possibilité de
 fonctionner en UEFFI or le Bios de mon ordi  permet d'utiliser cette
 fonctionnalité mais je ne l'ai pas implémenté, je pense que syslinux croit
 que suis en UEFFI et cela part alors en quenouille.
 Pour essayer de me sortir de ce problème je voudrais faire une image iso de
 gparted  récente qui puisse fonctionner.
 Pour cela je compare deux Live CD de Gparted  un de 2009 qui fonctionne et
 le récent qui foire 2014.
 J'ai remarqué que sur celui qui marchait utilisait isolinux je vais essayer
 de faire une image avec gparted 2014 et isolinux, tout conseil ou
 suggestion sera apprécié, surtout si quelqu'un a déjà effectué une manœuvre
 similaire. A l'avance merci.
 Philippe Merlin

Donc, ce n'était pas le lecteur DVD capricieux :-)

Tu avances...

Effectivement, ces problèmes de systemd, syslinux, isolinux,
UEFI, ancien Bios..., doivent être la cause du problème
de ne pas pouvoir booter via USB ou CD/DVD.

Tentes de recréer des image .iso sur plusieurs clés USB
à partir de ton PC, et de titiller son UEFI pour pouvoir
enfin booter sur l'une d'entre elles...

Bon courage.

André



--
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: https://lists.debian.org/201501022045.38081.andre_deb...@numericable.fr



Re: Subredes, proxy y otras yerbas

2015-01-02 Thread Fernando Miculan
Es una maquina virtual bajo vmware y si, están conectadas al mismo
switch, no se si llamarla vlan, porque fue siempre la subred 0 lisa y
llanamente. Siempre funciono de maravillas hasta que implementamos
esta subred 30 que si es una vlan.


El día 2 de enero de 2015, 14:13, Ramses ramses.sevi...@gmail.com escribió:
 El 02/01/2015, a las 17:57, Fernando Miculan fernandocmicu...@gmail.com 
 escribió:

 Buenas buenas, paso a comentar la estructura de red y un resumen:
 El equipo en donde corre el firewall-squid tiene dos eth (eth0:
 192.168.0.194 y eth1: 192.168.0.193), el gw brindado a todos los
 usuarios mediante dhcp es el 192.168.0.194 (eth0)
 A partir de la implementacion de la subred 30, se instalaron 2 routers
 mikrotik, uno es el gw 192.168.0.1 y el otro es 192.168.30.1
 Los gw físicos de internet son el 192.168.0.216 y 192.168.0.205.
 El squid tiene grupos, de los cuales uno es acceso total y el otro
 limitado, a su vez el firewall filtra accesos y forwardea todo el 80
 al 3128 del squid, como habran visto.
 También el firewall deja acceder a mac address listeadas estén o no
 dentro del dominio de mi empresa (caso visitas, terceros, etc).

 Lo de las 2 interfases eth, lo armaron asi, y creo que la excusa fue
 monitorear trafico y discriminarlo por interfase.

 El día 31 de diciembre de 2014, 18:06, Santiago Liz
 lizsa...@gmail.com escribió:
 No hagas top posting porque se vuelve difícil seguir el tema...
 No abras otro hilo para el mismo tema... pego acá

 El día 30 de diciembre de 2014, 21:24, Santiago Liz lizsa...@gmail.com 
 escribió:
 El día 30 de diciembre de 2014, 17:23, Fernando Miculan
 fernandocmicu...@gmail.com escribió:
 Hola, como están?.
 Me presento, me llamo Fernando, vivo en La Plata, Argentina y hace unos
 cuantos años que utilizo Linux, en especial Debian y Ubuntu.

 Se me presento un caso en mi trabajo. Tenemos un squid linkeado a un 
 active
 directory de Win(fucker) 2008 en la red 192.168.0.0, ademas de haber
 implementado un firewall con iptables. Todo realizado en un Debian 7.
 Hasta ahí no hay inconvenientes, los usuarios navegan perfectamente según
 los grupos asignados en el active directory.
 El problema se presento justamente hoy, al querer ampliar la red a otra
 subred (192.168.30.0, que dicho sea de paso se implemento en forma de 
 vlan
 en un router mikrotik.)
 La cuestión es, que después de haber agregado la ruta en una de las
 interfaces del debian para que vea la subred 30, estos navegan 
 perfectamente
 en internet, pero no la subred 0, todo lo que sea web no funciona, salvo 
 el
 correo electrónico y el skype.
 Que es lo que puede estar pasando?
 Con netstat -nr se ven las rutas asignadas perfectamente, por ese lado no
 veo el problema... me estará faltando algún tipo de regla adicional en el
 firewall ??
 Si les sirve les puedo postear el script del firewall. La política por
 defecto es DROP y luego permito algunos puertos y mac address para que
 bypaseen el proxy.

 Falta algo de info, pero adivinando diría que algún cambio afectó la
 configuración de squid donde se daba permiso a la red
 192.168.0.0/(24?) para utilizar el mismo al habilitar la
 192.168.30.0(/24?) o lo mismo en iptables donde se permite acceder a
 la IP:Puerto donde escucha squid.
 Al decir que anda el correo y skype descarto problemas de ruteo/nat.
 Cuando desis que no navegan, cual es el error? un error de squid
 diciendo que no tienen permiso o que no los clientes nos se pueden
 conectar al proxy?

 Los que no navegan son los equipos de la subred 0 que esquivan el proxy
 squid a través de una regla iptables por mac address. Si esos equipos los
 apunto al squid desde el navegador, funcionan bien.
 Lo extraño es que esa regla funciono de maravillas antes de hacer la subred
 30.

 Aqui posteo lo que me tira un netstat -nr

 Destination Gateway Genmask Flags   MSS Window  irtt 
 Iface
 0.0.0.0 192.168.0.216   0.0.0.0 UG0 0  0 
 eth1
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 
 eth0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 
 eth1
 192.168.30.0192.168.0.1 255.255.255.0   UG0 0  0 
 eth0

 Donde 192.168.0.216 es el gateway de la subred 0 y 192.168.0.1 es lo mismo 
 para la subred 30

 El equipo tiene dos interfaces (eth0 y eth1) con IPs dentro de la
 misma red 192.168.0.0/24 ?

 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 
 eth1
 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 
 eth0

 La IP 192.168.0.216 es el default que te conecta a Internet y hace el NAT?
 Eth0 y eth1 están conectadas al mismo segmento de red?

 Donde están conectados los equipos que no tienen acceso físicamente, a
 la eth0 o eth1?

 Con esos datos parecería ser que hay un problema independiente de la
 red 192.168.30.0/24 y es que (salvo que estés omitiendo datos) estás
 intentando que el equipo forwardee paquetes entre dos interfaces 

Re: Subredes, proxy y otras yerbas

2015-01-02 Thread Ramses
El 02/01/2015, a las 17:57, Fernando Miculan fernandocmicu...@gmail.com 
escribió:

 Buenas buenas, paso a comentar la estructura de red y un resumen:
 El equipo en donde corre el firewall-squid tiene dos eth (eth0:
 192.168.0.194 y eth1: 192.168.0.193), el gw brindado a todos los
 usuarios mediante dhcp es el 192.168.0.194 (eth0)
 A partir de la implementacion de la subred 30, se instalaron 2 routers
 mikrotik, uno es el gw 192.168.0.1 y el otro es 192.168.30.1
 Los gw físicos de internet son el 192.168.0.216 y 192.168.0.205.
 El squid tiene grupos, de los cuales uno es acceso total y el otro
 limitado, a su vez el firewall filtra accesos y forwardea todo el 80
 al 3128 del squid, como habran visto.
 También el firewall deja acceder a mac address listeadas estén o no
 dentro del dominio de mi empresa (caso visitas, terceros, etc).
 
 Lo de las 2 interfases eth, lo armaron asi, y creo que la excusa fue
 monitorear trafico y discriminarlo por interfase.
 
 El día 31 de diciembre de 2014, 18:06, Santiago Liz
 lizsa...@gmail.com escribió:
 No hagas top posting porque se vuelve difícil seguir el tema...
 No abras otro hilo para el mismo tema... pego acá
 
 El día 30 de diciembre de 2014, 21:24, Santiago Liz lizsa...@gmail.com 
 escribió:
 El día 30 de diciembre de 2014, 17:23, Fernando Miculan
 fernandocmicu...@gmail.com escribió:
 Hola, como están?.
 Me presento, me llamo Fernando, vivo en La Plata, Argentina y hace unos
 cuantos años que utilizo Linux, en especial Debian y Ubuntu.
 
 Se me presento un caso en mi trabajo. Tenemos un squid linkeado a un 
 active
 directory de Win(fucker) 2008 en la red 192.168.0.0, ademas de haber
 implementado un firewall con iptables. Todo realizado en un Debian 7.
 Hasta ahí no hay inconvenientes, los usuarios navegan perfectamente según
 los grupos asignados en el active directory.
 El problema se presento justamente hoy, al querer ampliar la red a otra
 subred (192.168.30.0, que dicho sea de paso se implemento en forma de vlan
 en un router mikrotik.)
 La cuestión es, que después de haber agregado la ruta en una de las
 interfaces del debian para que vea la subred 30, estos navegan 
 perfectamente
 en internet, pero no la subred 0, todo lo que sea web no funciona, salvo 
 el
 correo electrónico y el skype.
 Que es lo que puede estar pasando?
 Con netstat -nr se ven las rutas asignadas perfectamente, por ese lado no
 veo el problema... me estará faltando algún tipo de regla adicional en el
 firewall ??
 Si les sirve les puedo postear el script del firewall. La política por
 defecto es DROP y luego permito algunos puertos y mac address para que
 bypaseen el proxy.
 
 Falta algo de info, pero adivinando diría que algún cambio afectó la
 configuración de squid donde se daba permiso a la red
 192.168.0.0/(24?) para utilizar el mismo al habilitar la
 192.168.30.0(/24?) o lo mismo en iptables donde se permite acceder a
 la IP:Puerto donde escucha squid.
 Al decir que anda el correo y skype descarto problemas de ruteo/nat.
 Cuando desis que no navegan, cual es el error? un error de squid
 diciendo que no tienen permiso o que no los clientes nos se pueden
 conectar al proxy?
 
 Los que no navegan son los equipos de la subred 0 que esquivan el proxy
 squid a través de una regla iptables por mac address. Si esos equipos los
 apunto al squid desde el navegador, funcionan bien.
 Lo extraño es que esa regla funciono de maravillas antes de hacer la subred
 30.
 
 Aqui posteo lo que me tira un netstat -nr
 
 Destination Gateway Genmask Flags   MSS Window  irtt 
 Iface
 0.0.0.0 192.168.0.216   0.0.0.0 UG0 0  0 
 eth1
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 
 eth0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 
 eth1
 192.168.30.0192.168.0.1 255.255.255.0   UG0 0  0 
 eth0
 
 Donde 192.168.0.216 es el gateway de la subred 0 y 192.168.0.1 es lo mismo 
 para la subred 30
 
 El equipo tiene dos interfaces (eth0 y eth1) con IPs dentro de la
 misma red 192.168.0.0/24 ?
 
 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 
 eth1
 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 
 eth0
 
 La IP 192.168.0.216 es el default que te conecta a Internet y hace el NAT?
 Eth0 y eth1 están conectadas al mismo segmento de red?
 
 Donde están conectados los equipos que no tienen acceso físicamente, a
 la eth0 o eth1?
 
 Con esos datos parecería ser que hay un problema independiente de la
 red 192.168.30.0/24 y es que (salvo que estés omitiendo datos) estás
 intentando que el equipo forwardee paquetes entre dos interfaces de la
 misma red, lo cual no tiene mucho sentido.
 Si un equipo cualquiera de las red 192.168.0.0/24 tiene como default
 la IP 192.168.0.216 debería andar sin intervención del proxy/firewall.
 
 Deberías aclarar como está implementada la red.
 
 
 
 --
 Fernando Miculan.-
 FCM Sistemas
 Tel. 15-5435862 / 

Re: Subredes, proxy y otras yerbas

2015-01-02 Thread Fernando Miculan
Buenas buenas, paso a comentar la estructura de red y un resumen:
El equipo en donde corre el firewall-squid tiene dos eth (eth0:
192.168.0.194 y eth1: 192.168.0.193), el gw brindado a todos los
usuarios mediante dhcp es el 192.168.0.194 (eth0)
A partir de la implementacion de la subred 30, se instalaron 2 routers
mikrotik, uno es el gw 192.168.0.1 y el otro es 192.168.30.1
Los gw físicos de internet son el 192.168.0.216 y 192.168.0.205.
El squid tiene grupos, de los cuales uno es acceso total y el otro
limitado, a su vez el firewall filtra accesos y forwardea todo el 80
al 3128 del squid, como habran visto.
También el firewall deja acceder a mac address listeadas estén o no
dentro del dominio de mi empresa (caso visitas, terceros, etc).

Lo de las 2 interfases eth, lo armaron asi, y creo que la excusa fue
monitorear trafico y discriminarlo por interfase.

El día 31 de diciembre de 2014, 18:06, Santiago Liz
lizsa...@gmail.com escribió:
 No hagas top posting porque se vuelve difícil seguir el tema...
 No abras otro hilo para el mismo tema... pego acá

El día 30 de diciembre de 2014, 21:24, Santiago Liz lizsa...@gmail.com 
escribió:
 El día 30 de diciembre de 2014, 17:23, Fernando Miculan
 fernandocmicu...@gmail.com escribió:
 Hola, como están?.
 Me presento, me llamo Fernando, vivo en La Plata, Argentina y hace unos
 cuantos años que utilizo Linux, en especial Debian y Ubuntu.

 Se me presento un caso en mi trabajo. Tenemos un squid linkeado a un active
 directory de Win(fucker) 2008 en la red 192.168.0.0, ademas de haber
 implementado un firewall con iptables. Todo realizado en un Debian 7.
 Hasta ahí no hay inconvenientes, los usuarios navegan perfectamente según
 los grupos asignados en el active directory.
 El problema se presento justamente hoy, al querer ampliar la red a otra
 subred (192.168.30.0, que dicho sea de paso se implemento en forma de vlan
 en un router mikrotik.)
 La cuestión es, que después de haber agregado la ruta en una de las
 interfaces del debian para que vea la subred 30, estos navegan 
 perfectamente
 en internet, pero no la subred 0, todo lo que sea web no funciona, salvo el
 correo electrónico y el skype.
 Que es lo que puede estar pasando?
 Con netstat -nr se ven las rutas asignadas perfectamente, por ese lado no
 veo el problema... me estará faltando algún tipo de regla adicional en el
 firewall ??
 Si les sirve les puedo postear el script del firewall. La política por
 defecto es DROP y luego permito algunos puertos y mac address para que
 bypaseen el proxy.


 Falta algo de info, pero adivinando diría que algún cambio afectó la
 configuración de squid donde se daba permiso a la red
 192.168.0.0/(24?) para utilizar el mismo al habilitar la
 192.168.30.0(/24?) o lo mismo en iptables donde se permite acceder a
 la IP:Puerto donde escucha squid.
 Al decir que anda el correo y skype descarto problemas de ruteo/nat.
 Cuando desis que no navegan, cual es el error? un error de squid
 diciendo que no tienen permiso o que no los clientes nos se pueden
 conectar al proxy?



 Los que no navegan son los equipos de la subred 0 que esquivan el proxy
 squid a través de una regla iptables por mac address. Si esos equipos los
 apunto al squid desde el navegador, funcionan bien.
 Lo extraño es que esa regla funciono de maravillas antes de hacer la subred
 30.


 Aqui posteo lo que me tira un netstat -nr

 Destination Gateway Genmask Flags   MSS Window  irtt 
 Iface
 0.0.0.0 192.168.0.216   0.0.0.0 UG0 0  0 eth1
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0 eth1
 192.168.30.0192.168.0.1 255.255.255.0   UG0 0  0 eth0

 Donde 192.168.0.216 es el gateway de la subred 0 y 192.168.0.1 es lo mismo 
 para la subred 30

 El equipo tiene dos interfaces (eth0 y eth1) con IPs dentro de la
 misma red 192.168.0.0/24 ?

 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 eth1
 192.168.0.00.0.0.0   255.255.255.0   U 0 0  0 eth0

 La IP 192.168.0.216 es el default que te conecta a Internet y hace el NAT?
 Eth0 y eth1 están conectadas al mismo segmento de red?

 Donde están conectados los equipos que no tienen acceso físicamente, a
 la eth0 o eth1?

 Con esos datos parecería ser que hay un problema independiente de la
 red 192.168.30.0/24 y es que (salvo que estés omitiendo datos) estás
 intentando que el equipo forwardee paquetes entre dos interfaces de la
 misma red, lo cual no tiene mucho sentido.
 Si un equipo cualquiera de las red 192.168.0.0/24 tiene como default
 la IP 192.168.0.216 debería andar sin intervención del proxy/firewall.

 Deberías aclarar como está implementada la red.



 --
 Fernando Miculan.-
 FCM Sistemas
 Tel. 15-5435862 / ID: 160*6915
 ICQ: 6410724 / Skype: fcmsistemas
 http://ferchobbs.ddns.net
 BBS Telnet: ferchobbs.ddns.net:23

 Saludos,
 Santiago.-



Linux, Windows y reinicios

2015-01-02 Thread Altair Linux
Hola, que tal

¿que puede pasar cuando tienes en un ordenador Windows (para jugar) y
Debian, y lo tienes que reiniciar al menos una vez al dia para ir de
un sistema operativo a otro?. Los pantallazos propios de Windows van
aparte. Ya sea por reinicio desde el sistema operativo o dandole al
boton de reset.

¿Puede producirse una averia?. Me da que si, pero pregunto por si acaso.

¿Puede interesar algo en especial?. Por ejemplo: si hay cierto riesgo
de que se vaya la luz, interesa un SAI.

Gracias.

P.D: feliz año nuevo.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CA+HdPf+1P_KUpAk=bto62mpad7hiayb4g9zakv2mt-was88...@mail.gmail.com



Re: Eclipse?

2015-01-02 Thread Per Andersson
2014-12-31 10:58 GMT+01:00  j...@lillahusetiskogen.se:
 On Wed, 31 Dec 2014 09:16:44 +0100
 Anders Jackson anders.jack...@gmail.com wrote:

 Strängt taget hatar jag IDEer men jag
 vill ha ett bra grafiskt gränssnitt till debuggern.

Har du testat cgdb eller ddd?


--
Per


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



Re: Ping hostname debian emulando via qemu

2015-01-02 Thread Luiz Carlos da Silveira Júnior
Boa noite,

A conexão é BRIDGE via tap e de ip dinâmico, por isso gostaria de acessar
via hostname.
Acabei de emular o debian 7 e é a mesma coisa, talvez tenho que fazer
alguma configuração, mas estou em um terreno desconhecido.

Boas horas tentando resolver isso, mas até agora nada.


Em 1 de janeiro de 2015 23:37, P. J. pjotam...@gmail.com escreveu:

 Depende de qual tipo de conexão vc está usando na interface no guest
 (Debian), se é NAT, BRIDGE ou etc. Provavelmente tb deverá habilitar
 encaminhamento de pacote no host (M$-Windows)

 Sinceramente caso vc consiga... Vai tirar uma grande dúvida minha com
 relação a encaminhamento de pacotes numa máquina com M$-Windows, pois
 até aonde tenho conhecimento esse  S.O. não faz esse tipo de
 encaminhamento . Corrijam-me se eu estiver errado.

 Em 01/01/15, Luiz Carlos da Silveira Júniorlcsjunio...@gmail.com
 escreveu:
  Prezados, boa noite.
 
  Estou emulando o debian 8 no qemu pelo windows, via cmd só consigo ping
  pelo ip, na emulação consigo ping tanto pelo herradoe quanto pelo ip.
 
  Segue:
  /etc/hosts
  ...
  127.0.0.1localhost
  192.168.1.5debian
  ...
 
  Minha intenção é acessar ssh, samba e etc... pelo hostname.
 
  Alguma sugestão ?
 
 
  --
  *att,*
  *Luiz Carlos*
 


 --
 |  .''`.   A fé não dá respostas. Só impede perguntas.
 | : :'  :
 | `. `'`
 |   `-   Je vois tout


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/cacnf0pjjijegv3yayx+tbder9ma-j0i5bsz_uoojv5yrvk1...@mail.gmail.com




-- 
*att,*
*Luiz Carlos*


Re: Ping hostname debian emulando via qemu

2015-01-02 Thread P. J.
Brigde é tranquilo,

Se ele esta pegando o ip na mesma faixa da máquina que hospeda a vm
não tem muito o que se fazer, só é necessário ter um servidor ssh na
vm e pronto

Em 02/01/15, Luiz Carlos da Silveira Júniorlcsjunio...@gmail.com escreveu:
 Boa noite,

 A conexão é BRIDGE via tap e de ip dinâmico, por isso gostaria de acessar
 via hostname.
 Acabei de emular o debian 7 e é a mesma coisa, talvez tenho que fazer
 alguma configuração, mas estou em um terreno desconhecido.

 Boas horas tentando resolver isso, mas até agora nada.


 Em 1 de janeiro de 2015 23:37, P. J. pjotam...@gmail.com escreveu:

 Depende de qual tipo de conexão vc está usando na interface no guest
 (Debian), se é NAT, BRIDGE ou etc. Provavelmente tb deverá habilitar
 encaminhamento de pacote no host (M$-Windows)

 Sinceramente caso vc consiga... Vai tirar uma grande dúvida minha com
 relação a encaminhamento de pacotes numa máquina com M$-Windows, pois
 até aonde tenho conhecimento esse  S.O. não faz esse tipo de
 encaminhamento . Corrijam-me se eu estiver errado.

 Em 01/01/15, Luiz Carlos da Silveira Júniorlcsjunio...@gmail.com
 escreveu:
  Prezados, boa noite.
 
  Estou emulando o debian 8 no qemu pelo windows, via cmd só consigo ping
  pelo ip, na emulação consigo ping tanto pelo herradoe quanto pelo ip.
 
  Segue:
  /etc/hosts
  ...
  127.0.0.1localhost
  192.168.1.5debian
  ...
 
  Minha intenção é acessar ssh, samba e etc... pelo hostname.
 
  Alguma sugestão ?
 
 
  --
  *att,*
  *Luiz Carlos*
 


 --
 |  .''`.   A fé não dá respostas. Só impede perguntas.
 | : :'  :
 | `. `'`
 |   `-   Je vois tout


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/cacnf0pjjijegv3yayx+tbder9ma-j0i5bsz_uoojv5yrvk1...@mail.gmail.com




 --
 *att,*
 *Luiz Carlos*



-- 
|  .''`.   A fé não dá respostas. Só impede perguntas.
| : :'  :
| `. `'`
|   `-   Je vois tout


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACnf0piR5X6Bsz=qt8qb2ypjav+3rwbrvcaaxgoq5+ud5q+...@mail.gmail.com



Re: Moving LVM volume?

2015-01-02 Thread Tapani Tarvainen
On Jan 02 11:52, Joel Rees (joel.r...@gmail.com) wrote:

 There can be reasons to do such things on production servers, but
 even then, you are basically only going to do it to salvage data,
 never the OS.
 
LVM is also a great way to avoid downtime when adding or replacing
disks. A couple months ago I had to replace all disks (24 of them,
in three RAID controllers)  in a file server, and with LVM it could
be done with zero downtime (OK, I did schedule a reboot after it
was done just to make sure it worked).

(I've been a great fan of LVM ever since 1992 or thereabouts, when
it was first introduced in HP-UX. It's a major boon in systems
with multiple disks and long lifetimes, less so in workstations -
although I find it useful enough even in them, as disks tend to
need replacing if only because they get too small, and it's nice
to be able to do that without much downtime.)

-- 
Tapani Tarvainen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102084211.ga25...@tarvainen.info



Re: Debian right for my use?

2015-01-02 Thread John L. Ries
Debian might well work for your purposes as it's relatively easy to set 
up and has a huge software repository; but your problem appears to be 
memory.  If your CAD software was sluggish even when you were running 
Windows 7 directly, it's not going to be better when you're running 
Windows in a VM.  I'm thinking that your VM will need access to at 
*least* 10 GB of RAM and all your CPU cores (both parameters are user 
configurable).  My usual rule of thumb is that there should be at least 
as much virtual memory as RAM, so you may need another hard drive as 
well (depending on how full your current one is).  In any case, if 
you're otherwise comfortable with Ubuntu, then there is no real need to 
switch, though stable releases of Debian are notoriously conservative, 
which may be a good thing in your case (as long as you're not looking 
for the latest features in the packages you install).


And you may want to try to run your CAD software in Wine (in which case, 
you'll still need to buy some more RAM).  It might work or might not, 
but if it does, then you won't need the VM which will make your life 
simpler.  And you may want to see if there is a native Linux CAD system 
that suits your purposes, as native executables will always run better 
than foreign ones, no matter what OS you're running (but I can't help 
you there as I don't do CAD).


One thing you should look at regardless is what the memory usage (real 
and virtual) is when you're running your CAD software; you're probably 
going to want at least as much physical RAM as it's using overall.


Hope it helps...

--|
John L. Ries  |
Salford Systems   |
Phone: (619)543-8880 x107 |
or (435)867-8885  |
--|


On Wednesday 2014-12-31 21:35, Cadman wrote:


Date: Wed, 31 Dec 2014 21:35:30
From: Cadman cadg...@hotmail.com
To: debian-user@lists.debian.org debian-user@lists.debian.org
Subject: Debian right for my use?

Greetings

I need help determining whether Debian OS is the right OS for my needs.

I am a Draftsman working from home due to physical handicaps.  I use
graphic and RAM memory intensive 3D CAD software in Windows 7.  My W7 OS
is operating poorly and is expensive to replace.

If Linux is right for me; I need to replace it with a 1. Very stable, 2.
With least amount of configuring and 3. User Friendly Linux OS.

A friend suggested that I replace Windows 7 with Ubuntu Trusty 14.04,
which I did.  It worked fine until I installed my 3D CAD software within
Virtual Box.  Since then Ubuntu and the software crashes often.  It even
reboots instead of turning the screen black when the 10 minute screen
saver feature operates.

My PC System Info is:

BioStar A780L3C Motherboard
AMD Athlon(tm) II X3 450 Processor × 3   64 Bit
8 Gig RAM Memory
150 Gig Hard Drive

Please respond
Thank You Very Much

Dave



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/blu436-smtp543fdd547d109bfe301d9ebb...@phx.gbl



Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Kevin O'Gorman
On Thu, Jan 1, 2015 at 10:42 PM, Bob Proulx b...@proulx.com wrote:

 Kevin O'Gorman wrote:
  I do want to insulate the one drive from any failures on the other three.
  That data is not at all temporary, but it is backed up regularly.  I want
  to limit it's failure profile.

 Using mdadm RAID?  Or LVM raid?  I have personally only used mdadm
 raid and not lvm raid.

 Probably mdadm.  LVM would add more capability, but I don't need it and it
looks like another layer or two of abstraction, which usually comes at a
cost.


  I'm a bit daunted by the size of /etc/lvm/lvm.conf, and wonder if
  the defaults are going to work for me.

 The defaults should be fine for most people.  I recommend avoiding
 looking at the file again and then it won't trouble you.  :-)

 That's advice i can follow.  I like that.


  I'm about to start a backup of the existing system.  It will take a
 while.
  I wonder if anyone has wisdom they'd like to share.

 Use the defaults.  They will be fine.  Just do it.

 I am very happy to read that you are backing up first.  That is an
 important safety net.

 I have more storage in backups than were running on the system by a factor
of 3 or 4.  That will suddenly change with these 4TB drives, of course, but
the added stuff will be temporary and not backed up.  It's cheaper than
paying thousands to send a dead drive to a clean room for recovery.  I did
that when my PhD research project, drafts and results got hosed.  Ouch.
Lesson learned.

I've been putting the drives in some drive docks I have, and playing with
formatting and such.  I don't have 3 of them, so I can't build the RAID
yet. I've made and populated the 4TB drive that will take the permanent
stuff that's on my current 2TB drives.  I'll be switching to it today.

There's one remaining question I have, which is fortunately not urgent.
It's not clear what I'm going to have to do to bring the RAID online after
a reboot.  It doesn't seem to be as simple as tweaking /etc/fstab, like it
is on bare drives.  I suppose I can do an assemble operation manually each
time.  Is there a best practice for making this automatic?

Thanks,
++kevin



-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: Moving LVM volume?

2015-01-02 Thread Joel Rees
On Fri, Jan 2, 2015 at 3:37 PM, Bob Proulx b...@proulx.com wrote:
 Frank Miles wrote:
 I recently added a new hard drive to my home system.  I decided to use it
 to create an all-new bootable 'jessie' system.  I created a partition
 table that I thought would be flexible:
/dev/sdb1 /   (root) {7G}
/dev/sdb2 /swap   {4GB}
/dev/sdb3 /oldjunk{1G}
/dev/sdb4  extended  {remainder}
/dev/sdb5 LVM{one large volume}

 Why didn't you put / on LVM?  Because you put your /boot there?

 I know this is too late for you but I recommend putting /boot on the
 first partition.

Maybe not, now that you mention it.

  Just /boot and nothing else.  Getting the initrd and
 the kernel loaded I still think is less trouble when they exist on a
 simple filesystem and outside of lvm.  Then use the rest of
 the disk as physical volumes for lvm.  For you I might suggest:

   /dev/sdb1 /boot   {256M}
   /dev/sdb4  extended   {remainder}

Why extended? I generally put my LVM partition straight in a DOS
primary partition, unless I needed more than three non-LVM partitions
for some reason.

   /dev/sdb5  LVM PV {one large volume}

 [...]
 Is there some method that I've overlooked?

 Yes.  Simply add those partitions as additional PVs to the VG volume
 group.  If you have freed up their data then increase the size of your
 volume group by using them as physical volumes.  Then with more space
 in your volume group you can allocate the space to your logical
 volumes.  There is no need to move the start of sdb5 PV down.

   pvcreate /dev/sdb3
   vgextend vg1 /dev/sdb3

Woops. My memory's bad sometimes. Yeah. There is no need to move stuff
inside the LVM.

You can cobble together logical partitions out of physically separated
regions of disk.

Slightly fragmented logical partitions are not even that much of a
performance penalty. I even ran a Fedora install with a /var partition
that consisted of about four separate fragments for a couple of years.

Sorry, Frank. it may not be as bad as I painted it.

-- 
Joel Rees


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caar43ipztupxw0b22nyt_vdg2+yperqaw4gfphd+9modhpu...@mail.gmail.com



Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Gary Dale

On 31/12/14 04:57 PM, Kevin O'Gorman wrote:
I've just gotten 4 4TB drives to replace my 4 2TB drives. I'm wanting 
to have one normal 4TB drive and one logical 12TB drive, so I will 
make three physical drives into one group, one logical volume and one 
partition support the big partition.  My system actually resides on a 
fifth: an SSD drive.  I am not interested in RAID, and I'm not sure 
striping would even help.  I just have gigantic files I need to create 
and process once in a while, so it's really temporary space.


I do want to insulate the one drive from any failures on the other 
three.  That data is not at all temporary, but it is backed up 
regularly.  I want to limit it's failure profile.


I've read through some documentation, including
http://www.debian-administration.org/article/410/A_simple_introduction_to_working_with_LVM
So I think I know how to do it.  I'm just not sure I know how to do it 
_best_.  I'm a bit daunted by the size of /etc/lvm/lvm.conf, and 
wonder if the defaults are going to work for me.


I'm about to start a backup of the existing system.  It will take a 
while.  I wonder if anyone has wisdom they'd like to share.


I've never had any use for LVM. With 4 x 4T drives, why not create a 
single 12T RAID 5 array, or use ZFS or BTRFS as others have suggested.



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

Archive: https://lists.debian.org/54a6cc3a.3090...@torfree.net



Re: Script to email details not working in cron

2015-01-02 Thread Manikandan M
Thanks for the quick response Patrick. I have given the full path for all
the executables in the script. Still i'm not getting the email. The first
line of the script works which updates the details-file. The third line of
the script works which updates the status of the email operation. Both the
details-file and mail-status are getting the updated at the time mentioned
in the cron. i think this indicated that the script is being executed, but
not sure why ssmtp command is not working.

The script still works if i execute it manually.

On Fri, Jan 2, 2015 at 6:48 PM, Patrick Wiseman pwise...@gmail.com wrote:

 On Fri, Jan 2, 2015 at 1:39 PM, Manikandan M mani@gmail.com wrote:
  Hi,
 
  I have written a small script to email (using ssmpt) some details, and
  scheduled it in crontab. The script is running as per time mentioned in
 the
  cron but ssmtp is not sending the mail. please find the details below.
 
  user@host ~ $ cat bin/email-script
  /home/user/bin/actual-script  ~/details-file
  ssmtp usern...@gmail.com  ~/details-file
  echo $?  ~/email-status
 
  The crontab entry is as below
  0 9 * * * /home/user/email-script
 
  When i execute the script manually i'm getting the email from ssmtp. but
  when the script is executed using cron i'm not getting the email. I
 checked
  the status of the ssmtp and the status is 127.
 
  Please can anyone suggest what might be wrong in my setup.

 cron operates in a restricted environment, so what works in an
 ordinary user's environment will often not work in cron. Try giving
 the full path to your executable in the script.

 Patrick


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




Re: Script to email details not working in cron

2015-01-02 Thread Patrick Wiseman
On Fri, Jan 2, 2015 at 1:39 PM, Manikandan M mani@gmail.com wrote:
 Hi,

 I have written a small script to email (using ssmpt) some details, and
 scheduled it in crontab. The script is running as per time mentioned in the
 cron but ssmtp is not sending the mail. please find the details below.

 user@host ~ $ cat bin/email-script
 /home/user/bin/actual-script  ~/details-file
 ssmtp usern...@gmail.com  ~/details-file
 echo $?  ~/email-status

 The crontab entry is as below
 0 9 * * * /home/user/email-script

 When i execute the script manually i'm getting the email from ssmtp. but
 when the script is executed using cron i'm not getting the email. I checked
 the status of the ssmtp and the status is 127.

 Please can anyone suggest what might be wrong in my setup.

cron operates in a restricted environment, so what works in an
ordinary user's environment will often not work in cron. Try giving
the full path to your executable in the script.

Patrick


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



Re: Debian right for my use?

2015-01-02 Thread Mart van de Wege
Bob Proulx b...@proulx.com writes:


 Even though this is a Debian list and not an Ubuntu one I wouldn't run
 from Ubuntu to Debian because of this.  I would expect their behavior
 to be identical.

Yes you would. But that's assumption that can definitely bite you in the
ass. Ubuntu has a bad habit of patching packages just for the hell of
it, and doing a half-assed job at it.

Mart

-- 
We will need a longer wall when the revolution comes.
--- AJS, quoting an uncertain source.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/86fvbtiheo@gaheris.avalon.lan



Script to email details not working in cron

2015-01-02 Thread Manikandan M
Hi,

I have written a small script to email (using ssmpt) some details, and
scheduled it in crontab. The script is running as per time mentioned in the
cron but ssmtp is not sending the mail. please find the details below.

user@host ~ $ cat bin/email-script
/home/user/bin/actual-script  ~/details-file
ssmtp usern...@gmail.com  ~/details-file
echo $?  ~/email-status

The crontab entry is as below
0 9 * * * /home/user/email-script

When i execute the script manually i'm getting the email from ssmtp. but
when the script is executed using cron i'm not getting the email. I checked
the status of the ssmtp and the status is 127.

Please can anyone suggest what might be wrong in my setup.

Regards,
Mani


Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Bob Proulx
Kevin O'Gorman wrote:
 Bob Proulx wrote:
  For people adding additional mdadm raid volumes later they need to
  do some configuration for it.
 
 This is exactly my case.  I'm installing a RAID-0 for gigantic
 transient files.  I do not anticipate using RAID for the system,
 partly because all bays are full.

Then you will need to add the new array UUIDs to the mdadm.conf file.

Since these will be non-system files for you I don't think you need
them in your initrd file.  The system will boot without it and will
start the arrays at normal boot time based upon the mdadm.conf file.
I think you can ignore the initrd part.

  Mdadm has two different times when it will assemble raid volumes.  In
  reverse time order the second is at boot time by looking at
  /etc/mdadm/mdadm.conf file and assembling all raids configured there.
  That data can be created using mdadm --scan to search for physical
  devices and to produce the config files.  Take that information and
  edit it as needed.

 Question: what is it that does this assembly at boot time?  Is there
 a daemon that's running now that I've installed mdadm?

After assembling the array there is a monitoring daemon that remains
to monitor the array.

mdadm --detail --scan /dev/mdadm/mdadm.conf
...edit /dev/mdadm/mdadm.conf...clean up and remove duplicate lines...

 I might do the same, but you give no hint what that looks like, and I am not
 installing a new system to find out.

But you installed mdadm, right?  That will set up a default
/etc/mdadm/mdadm.conf file.  You have installed mdadm, right?  Simply
add to it.  Go look at your /etc/mdadm/mdadm.conf file and see what
format it is in.

The output of --scan would show something like this following.  So I
assume that is the minimum detail needed.

  # mdadm --examine --scan
  ARRAY /dev/md0 UUID=b83eb4b1:b3cd7664:92de4c59:171eb348
  ARRAY /dev/md1 UUID=b2dfa6c5:670c8ba1:9c78214e:3887479c
  ARRAY /dev/md2 UUID=c7c71eeb:ee54031a:bee4c713:8bfe3e2c
  ARRAY /dev/md3 UUID=a29d3855:f5821ceb:e683083b:09bfbf48

Also if you read the man page for mdadm it gives an example in the
documentation.  Although it is somewhat buggy and so I hesitate to
mention it.

But not to keep you in suspense I will include a full copy of the file
at the end of this message from one of my more active systems.  Along
with some gratuitous comments left behind because I think they give
some insight into working with this file as things are changed.  (I
would otherwise recommend a revision control system for /etc such as
supplied by the 'etckeeper' package.)

Bob

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST system

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=f74177e1:a37e5f55:4b95c4af:47602a5c
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=90c5bec9:93e14b15:c65e854d:a7b90415

# rwp: Added 2011-08-30
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=4c31c5df:a1b27321:7a937297:90328cf8

# rwp: Removed 2012-10-09
# ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=3ef7c83d:6d36bf87:7a937297:90328cf8
# rwp: Added 2012-10-09
ARRAY /dev/md3 level=raid1 UUID=74d234d1:f9fc027f:7a937297:90328cf8
ARRAY /dev/md4 level=raid1 UUID=5d18b06d:4625b74b:7a937297:90328cf8


# This file was auto-generated on Fri, 12 Oct 2007 00:06:19 +
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $


signature.asc
Description: Digital signature


Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Gary Dale

On 02/01/15 11:57 AM, Kevin O'Gorman wrote:
On Fri, Jan 2, 2015 at 8:50 AM, Gary Dale garyd...@torfree.net 
mailto:garyd...@torfree.net wrote:


On 31/12/14 04:57 PM, Kevin O'Gorman wrote:

I've just gotten 4 4TB drives to replace my 4 2TB drives. I'm
wanting to have one normal 4TB drive and one logical 12TB
drive, so I will make three physical drives into one group,
one logical volume and one partition support the big
partition.  My system actually resides on a fifth: an SSD
drive.  I am not interested in RAID, and I'm not sure striping
would even help.  I just have gigantic files I need to create
and process once in a while, so it's really temporary space.

I do want to insulate the one drive from any failures on the
other three.  That data is not at all temporary, but it is
backed up regularly.  I want to limit it's failure profile.

I've read through some documentation, including

http://www.debian-administration.org/article/410/A_simple_introduction_to_working_with_LVM
So I think I know how to do it.  I'm just not sure I know how
to do it _best_.  I'm a bit daunted by the size of
/etc/lvm/lvm.conf, and wonder if the defaults are going to
work for me.

I'm about to start a backup of the existing system. It will
take a while.  I wonder if anyone has wisdom they'd like to share.

I've never had any use for LVM. With 4 x 4T drives, why not create
a single 12T RAID 5 array, or use ZFS or BTRFS as others have
suggested.

I've decided on mdadm, as you suggest.  I understand RAID, just not 
the details of mdadm.  Both ZFS and BTRFS are unknowns to me, so I'll 
avoid them for now just because I'm lazy.  Would either of them span 
multiple drives, or would I have to have a RAID anyway?


MDADM RAID is simple, although it may not be easy to set up when you 
already have 4 drives in your system. Most MBs only allow for 6 SATA 
devices. However you can set up the array with a couple of simple 
commands. And it can be moved between machines because it doesn't depend 
on the hardware.


Both ZFS and BTRFS allow just about everything that RAID and LVM offer 
plus more. BTRFS is the touted as being the next standard Linux file 
system. If I understand it correctly, you can upgrade ext* to btrfs in 
place, add new drives into the file system and remove the old ones 
(using the correct file system commands).


Of course, nothing is 100% safe but is there a point in telling you to 
backup 8T of data first? MDADM RAID would allow you to copy the data to 
the new array before removing it from the old disks. Btrfs would allow 
you to revert if moving data off a drive runs into a problem. However if 
your current data doesn't have redundancy, a failure during the move 
could still mean data loss.


This isn't the place for either a RAID or file system tutorial, but 
there are lots out there on the web. Search engines will find them for you.



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

Archive: https://lists.debian.org/54a70752.8050...@torfree.net



Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Kevin O'Gorman
On Fri, Jan 2, 2015 at 11:57 AM, Bob Proulx b...@proulx.com wrote:

 Kevin O'Gorman wrote:
  There's one remaining question I have, which is fortunately not urgent.
  It's not clear what I'm going to have to do to bring the RAID online
 after
  a reboot.  It doesn't seem to be as simple as tweaking /etc/fstab, like
 it
  is on bare drives.  I suppose I can do an assemble operation manually
 each
  time.  Is there a best practice for making this automatic?

 If you install a system using the debian-installer then it will set
 everything up for you automatically.  For people installing a pristine
 system with raid it is all automatic and nothing more needs to be
 done.  For people adding additional mdadm raid volumes later they need
 to do some configuration for it.


This is exactly my case.  I'm installing a RAID-0 for gigantic transient
files.
I do not anticipate using RAID for the system, partly because all bays are
full.

Mdadm has two different times when it will assemble raid volumes.  In
 reverse time order the second is at boot time by looking at
 /etc/mdadm/mdadm.conf file and assembling all raids configured there.
 That data can be created using mdadm --scan to search for physical
 devices and to produce the config files.  Take that information and
 edit it as needed.

 Question: what is it that does this assembly at boot time?  Is there a
daemon
that's running now that I've installed mdadm?


 Typically, note the append  operator:

   mdadm --detail --scan /dev/mdadm/mdadm.conf
   ...edit /dev/mdadm/mdadm.conf...clean up and remove duplicate lines...

 The debian-installer formats the lines slightly differently than mdadm
 output does.  I don't know if the differences are really significant.
 I usually edit to follow the original debian-installer format.


I might do the same, but you give no hint what that looks like, and I am not
installing a new system to find out.


 The important part is that the arrays are listed with the device and
 with the UUID of the array.  That will instruct mdadm to assemble
 those arrays when mdadm is started at system boot time.


Hoping format is not too crucial



[ ... snippage -- stuff about initramfs ]

Bob




-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: Moving LVM volume?

2015-01-02 Thread Frank Miles
On Fri, 02 Jan 2015 21:10:02 +0100, Bob Proulx wrote:

 Joel Rees wrote:
 Bob Proulx wrote:
  the disk as physical volumes for lvm.  For you I might suggest:
 
/dev/sdb1 /boot   {256M} /dev/sdb4  extended  
{remainder}
 
 Why extended? I generally put my LVM partition straight in a DOS
 primary partition, unless I needed more than three non-LVM partitions
 for some reason.
 

I sure appreciate everyone's recommendations, even if only for learning
things I was completely ignorant of (e.g. GPT).

What I've done is rebuilt from scratch without any LVM.  IMHO LVM is
[a] overkill for my simple system; and [b] lacking in a few key functions.
I might have been able to move the LVM as originally wanted - by turning
off the LVM within gparted, it seemed like it might have worked.  It
was estimated that it was going to take over 6 hours, and the system
had already shown some scuff marks, so I did the rebuild.

Initially I kept the root partition (including /boot) separate from /usr.
To my disappointment systemctl still reported that the system was
'degraded', indicating that it had 'failed to start Load Kernel Modules'.
So I merged /usr into the root partition - and now systemctl indicates
that the system is 'running' without any errors.  I have the impression
that boot is faster but that will remain unproven since I'm not inclined
to restore the system to its split /usr-root partition state.  It seems
most likely that splitting /boot and /usr into separate partitions would
not make systemctl (and whatever init process it is hosting) any happier.

I have a 'jessie' computer at work that produces the same error message 
and it seems to work just fine (local server, running 24/7) so the 
message seems to be fairly insignificant (so far).

   Thanks again, all-
Frank


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m87stb$9i2$1...@dont-email.me



Re: error opening /media/cdrom0/BDMV/BACKUP/index.bdmv

2015-01-02 Thread Mike Kupfer
Ric Moore wrote:

 Trying to automount a dvd for playback and I'm seeing this.

I'm seeing these messages, too, even for removable USB drives.  (Jessie,
amd64, running Xfce.)

  Jan  1 15:50:52 allegro kernel: [314184.131707] EXT4-fs (sdb1): mounting ext3 
file system using the ext4 subsystem
  Jan  1 15:50:53 allegro kernel: [314184.560555] EXT4-fs (sdb1): mounted 
filesystem with ordered data mode. Opts: (null)
  Jan  1 15:50:53 allegro udisksd[1280]: Mounted /dev/sdb1 at 
/media/kupfer/external on behalf of uid 1000
  Jan  1 15:50:53 allegro org.gtk.Private.UDisks2VolumeMonitor[1190]: 
index_parse.c:191: indx_parse(): error opening 
/media/kupfer/external/BDMV/index.bdmv
  Jan  1 15:50:53 allegro org.gtk.Private.UDisks2VolumeMonitor[1190]: 
index_parse.c:191: indx_parse(): error opening 
/media/kupfer/external/BDMV/BACKUP/index.bdmv

 I'm
 finding almost zip using google. Basically, it seems automount is
 looking for something that doesn't exist. I think it's related to
 blueray but removal of libbluray rips out half the system as
 depends. Anyone have a clue towards this?

The web searches I did yesterday suggested something to do with gvfs
and/or libbluray (well, libbluray1).

mike


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/9986.1420251532@allegro.localdomain



Best tools for hard drive recovery

2015-01-02 Thread Kevin O'Gorman
In the midst of other activities around my hard drives, I realized one of
my old backup drives has suffered some damage.  Not all of the files are
readable.

I have more recent backups, so there's nothing catasrophic here, but before
I jettison this drive I'd like to get off of it what i can.  I have another
of the same size that's empty, and I could just copy the whole drive to it,
but I need a tool that's robust in the presence of errors.

I've never had to do this before.  Any suggestions?

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Unable to upgrade testing system

2015-01-02 Thread Sam Varghese
I have been trying to upgrade a system that is running testing. for the
past couple of weeks and have been getting the following errors:

root@tuatara:/home/poormigrant# apt-get update  apt-get dist-upgrade
lots of output
Fetched 70.5 kB in 13s (5,300 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libpam-systemd : Depends: systemd (= 215-6) but 215-8 is installed
E: Unmet dependencies. Try using -f.

root@tuatara:/home/poormigrant# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpam-systemd
The following packages will be upgraded:
  libpam-systemd
1 upgraded, 0 newly installed, 0 to remove and 376 not upgraded.
15 not fully installed or removed.
Need to get 0 B/120 kB of archives.
After this operation, 3,072 B disk space will be freed.
Do you want to continue? [Y/n]
Reading changelogs... Done
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); 

Re: Debian right for my use?

2015-01-02 Thread Gary Dale

On 02/01/15 01:54 AM, Bob Proulx wrote:

Cadman wrote:

I need help determining whether Debian OS is the right OS for my needs.

You are asking on a Debian user list.  Any answer other than yes here
would lead me to seriously question the responses.  Meanwhile I would
expect that a Fedora list would respond for Fedora for example and the
same for every other distribution's user lists.  We are all here
because this is where we want to be.


I am a Draftsman working from home due to physical handicaps.  I use graphic
and RAM memory intensive 3D CAD software in Windows 7.  My W7 OS is
operating poorly and is expensive to replace.

If Linux is right for me; I need to replace it with a 1. Very stable, 2.
With least amount of configuring and 3. User Friendly Linux OS.

Stable?  Yes.  Least amount of configuration?  I don't know.  With
power comes flexibility.  That requires decision making.  I would
definitely trade some need to configure for that power and
flexibility.  Friendly?  As the old saying goes Unix is friendly but
it is choosy who its friends are. :-)


A friend suggested that I replace Windows 7 with Ubuntu Trusty 14.04, which
I did.  It worked fine until I installed my 3D CAD software within Virtual
Box.  Since then Ubuntu and the software crashes often.  It even reboots
instead of turning the screen black when the 10 minute screen saver feature
operates.

Even though this is a Debian list and not an Ubuntu one I wouldn't run
from Ubuntu to Debian because of this.  I would expect their behavior
to be identical.  I expect the problem to be VirtualBox and VirtualBox
would cause Debian's kernel to behave the same way.

This is a few years old now but I will ask the list if anything has
changed since then?

   The VirtualBox Kernel Driver Is Tainted Crap
   Published on 11 October 2011 10:50 AM EDT
   http://phoronix.com/scan.php?page=news_itempx=OTk5Mw

It has been a few years but if the problem reported above remains and
I haven't read otherwise since then (please correct me with current
references) then the problem on the Linux kernel is probably
VirtualBox and not the kernel.

I think VirtualBox is very popular because on Microsoft Windows it
appears to be a very popular and stable system there.  But that
stability there did not translate across platforms.  On MS it is
probably a good choice.  On a Linux kernel?  Maybe not.

Other people have suggested VMware.  Is the license for that a
free(dom) license?  There are other virtualization options.  Xen is
still very popular.  I am using KVM.

Bob
I suggested VMware, which is no cost but not free. It's based on the 
problems he's reported which seem to be related to video. VMware has the 
best video drivers so far. VirtualBox is still pretty unstable when you 
need high performance graphics while KVM, which I use, has no real 
support for anything accelerated. It's good enough for most applications 
but not 3D cad.



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

Archive: https://lists.debian.org/54a7217b.9090...@torfree.net



Re: A capability in the IMAP protocol.

2015-01-02 Thread The Wanderer
On 01/02/2015 at 04:06 PM, The Wanderer wrote:

 On 01/02/2015 at 03:01 PM, Peter Easthope wrote:
 
 Hi,
 
 Does the IMAP protocol allow retrieving a message, body included,
 from a server and then deleting from the server while keeping on
 the client? This might be described as simulating a POP behavour
 in IMAP.
 
 IMAP allows retrieving a message, and IMAP allows deleting a message,
 so this can certainly be done. (As long as the server actually
 respects the delete command, rather than archiving on delete or
 something like that, but that would be server-specific.)
 
 If the protocol allows this, is the capability implemented in most
 clients?
 
 I don't know of any which do it automatically, even as a toggle-able
 option, but I could do it with Thunderbird message filters easily
 enough.
 
 Just set up a message filter on the IMAP-server Inbox folder with a
 Copy Message action (which copies the message to a subfolder under
 Local Folders), followed by a Delete Message action (which deletes
 the message from the source folder, which is on the IMAP server).

Or now that I think of it, just use a Move Message action - since to a
computer, a move is just a copy plus a delete.

I actually do that myself, routinely; the vast majority of messages I
receive are via mailing lists like this one, and every single one of
them gets filtered into its own folder under Local Folders.

I also manually go through the Inbox, about once a year, and move all
messages more than a year old into a manual archive folder under Local
Folders.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Debian right for my use?

2015-01-02 Thread Patrick Bartek
On Thu, 01 Jan 2015, Bob Proulx wrote:

 Cadman wrote:
  I need help determining whether Debian OS is the right OS for my
  needs.
 
 You are asking on a Debian user list.  Any answer other than yes here
 would lead me to seriously question the responses.  Meanwhile I would
 expect that a Fedora list would respond for Fedora for example and the
 same for every other distribution's user lists.  We are all here
 because this is where we want to be.
 
  [snip]

You certainly seem to have a low opinion of the users on this list
(and others): That we are biased, to use the polite term; and
incapable of offering fair recommendations.

I've only been on the list for a couple of years, but it took 15 years
and numerous Linux distros to get here.  Yes, at this point, I prefer
Debian for MY use, but that doesn't mean I recommend it blindly without
regard to another's requirements.  I think most everyone here is of the
same mind:  State your needs and you'll get honest recommendations even
if it's not Debian.

And FWIW, I was on the Fedora list for many years (FC3 to F15) prior
to my switch to Debian, and they are similar: if Fedora, RHEL, CentOS,
etc. wasn't best for you, they'd tell you; and recommend something
more suitable, if they could.

B


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102141458.1f39c...@debian7.boseck208.net



Re: Unable to upgrade testing system

2015-01-02 Thread Patrick Wiseman
On Jan 2, 2015 6:33 PM, Sam Varghese s...@gnubies.com wrote:

 I have been trying to upgrade a system that is running testing. for the
 past couple of weeks and have been getting the following errors:

[oodles of errors]

 Processing was halted because there were too many errors.
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 root@tuatara:/home/poormigrant#

 I am using a Lenovo i7 laptop:
 root@tuatara:/home/poormigrant# uname -a
 Linux tuatara 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64
 GNU/Linux

 Any help on resolving this would be gratefully received. I am not
 subscribed to
 the list so I would appreciate being copied in.

I have always found aptitude extraordinarily good at resolving such
problems. It will upgrade what it can, stop, and when asked to upgrade
again, will often complete the process. Under the hood, it may be doing
exactly what Bob Proulx just suggested in his reply.

Patrick


Re: Unable to upgrade testing system

2015-01-02 Thread Bob Proulx
Sam Varghese wrote:
 I am not subscribed to the list so I would appreciate being copied in.

 The following packages have unmet dependencies:
  libpam-systemd : Depends: systemd (= 215-6) but 215-8 is installed

Package libpam-systemd version 215-8 is current in Testing.

What is the output of:

  apt-cache policy libpam-systemd

Try (guessing) this:

  dpkg --configure -a

And specifically forcing the specific versions (more guessing):

  apt-get install libdbus-1-3=1.8.12-3 libpam-systemd=215-8

 ...# apt-get update  apt-get dist-upgrade

Instead of jumping straight to 'apt-get dist-upgrade' it is always
better to run 'apt-get upgrade' individually first.  It will avoid a
lot of problems by doing the simple stuff first.  Suggest:

  apt-get update  apt-get upgrade  apt-get dist-upgrade

Bob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150102165928523431341.noccsple...@bob.proulx.com



error opening /media/cdrom0/BDMV/BACKUP/index.bdmv

2015-01-02 Thread Ric Moore
Trying to automount a dvd for playback and I'm seeing this. I'm finding 
almost zip using google. Basically, it seems automount is looking for 
something that doesn't exist. I think it's related to blueray but 
removal of libbluray rips out half the system as depends. Anyone have a 
clue towards this? Thanks, Ric


--
My father, Victor Moore (Vic) used to say:
There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome. R.I.P. Dad.
Linux user# 44256


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

Archive: https://lists.debian.org/54a725fa.5080...@gmail.com



Re: Moving LVM volume?

2015-01-02 Thread Bob Proulx
Pascal Hambourg wrote:
 Bob Proulx a écrit :
  Personally I tend to have more than four partitions.  Therefore I will
  almost always end up using extended partitions.
 
 Consider using GPT partition scheme instead.

In the future GPT partitions will probably become almost universially
seen everywhere.  In the meantime support for them has not been
universially implemented.  The tools available to me to work with them
have been spotty.  Revolutionary new features such as GPT take time to
propagate.  Most utilities appear to need another release or two to
catch up to be able to support them.

Bob


signature.asc
Description: Digital signature


Re: Moving LVM volume?

2015-01-02 Thread Pascal Hambourg
Bob Proulx a écrit :
 
 Personally I tend to have more than four partitions.  Therefore I will
 almost always end up using extended partitions.

Consider using GPT partition scheme instead.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54a72815.80...@plouf.fr.eu.org



reportbug failure to send

2015-01-02 Thread Beagleburt
Please find attached the relavant reportbug file. I do not know what
headers i should use - please forward it to th right recipient. 
TKU. 'b'ye - Bruce Gilbert.
---BeginMessage---
Dear Maintainer,

   * What led up to the situation?

I had effectively 'hosed' my original Debian installation - (Which I now 
remember caused me the same install
problems)- by trying to setup a 'backport' to get a later version of the 'GIMP' 
program...which involved 
changing my /etc/apt/sources.list file; thus I needed to do a clean install. 
STARTED with Debian 7 (wheezy)...

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

I downloaded a CD image: built: 20140426;d-i 20130613+deb7u2+b1. The md5sum 
matched. 
I burned the image to a CD  began the install.
I tried several options both manual  automatic installs in text  graphical 
modes. First of all
the graphics display went haywire as soon as I chose a menu entry: a black 
screen space appeared
on the top 2x inches, or so, of the screen. It had several lines of tiny text 
which was
virtually unreadable: undefined video ? 144 ??? space or wait 30x 
seconds then the top 2x cm of 
screen flashed on  off with multicoloured microtype...for a VERY long 
time...(~4x hours). 

   * What was the outcome of this action?

I gave up  started the install all over AGAIN  AGAIN...TRYING OUT DIFFERENT 
INSTALL OPTIONS...
...TEXT BASED OPTION WORKED -(NOT!) - LED ME TO REBOOTING THE 'FINISHED' 
INSTALL TO FIND 
NO GUI - NO DESKTOP ENVIROMENT!!! THIS OCCURRED A COUPLE OF TIMES...{I thought 
Graphical install refered
to the Installation program, NOT the final Operating System...?
Then I read all the HELP options F1 - F8 which left me MORE confused!!! 
(F6 - F8 the parameters came AFTER the Hardware/Results, which seemed 
BACKWARDS to me?! F7 WAS A (BAD)JOKE!)
Then I got to: Graphical Auto Install which did not work with vga=788 ; so 
I remembered something
in the HELP files that said if a LAPTOP's display didn't work, to try vga=771 
 yea! it worked!...
...BUT AUTO INSTALL TURNED OUT TO BE MORE COMPLICATED THAN IT SOUNDED!: 
Download debconf preconfiguration 
file {needs URL to find it...TOO COMPLICATED FOR ME! GAVE UP  TRIED AGAIN...}
I downloaded  burnt Debian 7.6.0  tried 'Graphical Expert Install': YEA! NO 
GRAPHICS DISPLAY PROBLEM! 
YEA! IT BOOTED OK ONCE INSTALLED!!!

BTW: An aside comment: On the page where you (a 'newbie' MUST!) choose a 
linux-image, how about stating 
that a non-specific image allows for upgrades, whereas a specific one ties your 
system to that linux-image?
+ how about stating the RELATIVE SIZES of the various partitions ESPECIALLY THE 
/USR PARTITION...
...once I understood the need for SEPARATE partitions - (especially a separate 
/HOME patition...)

   * What outcome did you expect instead?

A more user-friendly Install system with a HELP system that newbies can 
understand!


-- Package-specific info:

Boot method: CD
Image version: Debian Wheezy 7.6.0 {ORIGINALLY started with Debian Wheezy 7.5.0
 built: 20140426;d-i 20130613+deb7u2+b1}
Date: Date and time of the install Thursday 16th October ??pm right through 
Sunday 19th October 2014 ??pm 
Machine: Dell Dimension 3000

Partitions: df -Tl will do; the raw partition table is preferred
Filesystem Type 1K-blocks 
Used Available Use% Mounted on
rootfs rootfs  672808   
189652448980  30% /
udev   devtmpfs 10240   
 0 10240   0% /dev
tmpfs  tmpfs   207284  
836206448   1% /run
/dev/disk/by-uuid/e5aaefc4-1ab3-437d-a5ce-114a69625416 ext4672808   
189652448980  30% /
tmpfs  tmpfs 5120   
 0  5120   0% /run/lock
tmpfs  tmpfs  1000280  
224   156   1% /run/shm
/dev/sda2  ext4 259534116 
12758596 233591932   6% /home
/dev/sda9  ext4   3920800
73336   3648296   2% /opt
/dev/sda5  ext4   2882592
69940   2666220   3% /tmp
/dev/sda8  ext4  15681992  
5252528   9632844  36% /usr
/dev/sda7  ext4   2871512  
1613544   1112100  60% /var

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [E]
Detect network card:[ ]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:   

Re: Debian right for my use?

2015-01-02 Thread Miles Fidelman

Bob Proulx wrote:

Cadman wrote:

I need help determining whether Debian OS is the right OS for my needs.

You are asking on a Debian user list.  Any answer other than yes here
would lead me to seriously question the responses.  Meanwhile I would
expect that a Fedora list would respond for Fedora for example and the
same for every other distribution's user lists.  We are all here
because this is where we want to be.


I'd actually think just the opposite.  It's reasonable to expect that 
Debian users can comment on the negatives of Debian as its positives, 
and it would be irresponsible to advocate Debian (or anything else) as 
the ultimate solution to any and all problems. Sometimes, the 
appropriate answer is you probably should look elsewhere.  (Speaking 
as someone who has both a Mac and a Windows laptop on my desk, and 
Debian on our production servers, at one time or another run Solaris and 
redhat in production, and used and experimented with lots of other 
distros and O/Ss over the years).


As to the question at hand...



I am a Draftsman working from home due to physical handicaps.  I use graphic
and RAM memory intensive 3D CAD software in Windows 7.  My W7 OS is
operating poorly and is expensive to replace.


Right off the bat, My W7 OS is operating poorly and is expensive to 
replace seems like a poor reason to switch operating systems.  
Switching environments has a steep learning curve - which can easily eat 
into billable hours. Guaranteed that a couple of hundred bucks for a new 
Windows license will look cheap in hindsight.


First off, you're talking software that you're using for professional 
purposes - your primary goal should be to make sure you can get your 
work done, and that your software and formats are compatible with your 
customers' requirements.  Since you're currently using Windows based 
software, your first question should be what you're going to replace it 
with, if you move to Linux.  I'd also verify that there are drivers 
available for your graphics board.


Personally, I'd start by doing a full backup of your system, and then a 
clean re-install of Win7 and your CAD package.  If that doesn't solve 
your performance problems, I'd also run some hardware diagnostics - just 
to make sure that your problems don't stem from, say, a failing disk 
drive or battery pack (if a laptop).


Moving on to Linux, and Debian:


If Linux is right for me; I need to replace it with a 1. Very stable, 2.
With least amount of configuring and 3. User Friendly Linux OS.


Debian is usually stable, but  a new major version is about to be 
released, and one that has some significant differences in how it gets 
configured.  If you move to Debian, I'd recommend starting with the 
Wheezy release (the current stable release, about to become 
old-stable).  Wait until the new release (Jessie) is out for a while 
before migrating.


It might also be worth noting that Debian, traditionally, has been for 
more knowledgeable users - it's not clear that it's the most user 
friendly and easy to configure breed of Linux.  Ubuntu might be a 
better choice for a newbie to Linux (but that's based on heresay, not 
personal experience).



A friend suggested that I replace Windows 7 with Ubuntu Trusty 14.04, which
I did.  It worked fine until I installed my 3D CAD software within Virtual
Box.  Since then Ubuntu and the software crashes often.  It even reboots
instead of turning the screen black when the 10 minute screen saver feature
operates.


This raises a whole different question:  Why are you running your CAD 
software inside Virtual Box?


From a performance standpoint, running resource-intensive software 
inside a VM is a bad idea.


From an interface standpoint, you're more likely to run into 
compatibility problems with the drivers for your graphics board, if 
you're running inside a VM. (I wouldn't be surprised if your crashes are 
caused by driver problems.)


And the money question:  If you're running inside a VM in order to run 
Windows, then what's the point?  You're still going to need a Windows 
license.  All you're doing is adding is adding a couple of layers of 
processing overhead.


More generally, running resource-intensive graphics software, along with 
the drivers for your graphics board, inside a VM, seems like a recipe 
for disaster.


To summarize:
1. Try to clean up your current system first (and make sure you 
understand what your problem really is).
2. If you're going to move to Linux, make sure you've identified the 
application software you're going to run first (including stuff beyond 
your CAD package), and that all the drivers you need are available,
3. You might well be better off biting the bullet for software (and 
maybe hardware) upgrades, particularly if your current problems and/or 
the time involved in making changes is going to eat into billable hours.


Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.    

Re: Script to email details not working in cron

2015-01-02 Thread Bob Proulx
Manikandan M wrote:
 I have written a small script to email (using ssmpt) some details, and
 scheduled it in crontab. The script is running as per time mentioned in the
 cron but ssmtp is not sending the mail. please find the details below.

A couple of details to provide background to understanding cron
scripts.  Cron scripts like most things on the system use /bin/sh and
not /bin/bash.  The /bin/sh is a mostly standard shell.  Not being
bash means that if you use bash'isms they will not work.  In the
crontab PATH=/usr/bin:/bin and therefore any reference to comands
from your home won't be found.  Anyout output from your crontab will
be mailed to your account on that system.  These things can all be
configured.

 user@host ~ $ cat bin/email-script
 /home/user/bin/actual-script  ~/details-file
 ssmtp usern...@gmail.com  ~/details-file
 echo $?  ~/email-status

What do you see in ~/email-status after the crontab runs?

Is any output emailed to your account on the local system?  Is
anything stuck in the local mail queue?  Run mailq to see.  Do you
have an MTA (such as postfix or exim4) installed on your system?

  mailq

What is logged to /var/log/syslog when the crontask is run?

  less /var/log/syslog

If you don't have permission for viewing syslog as yourself on your
machine then add yourself to the adm group, log out, log back in again
so that the adm group gets added to your running account processes,
and look again.  It is security protected by default but you on your
own machine should be able to access it.

  id | grep --color adm

If you are doing this for the first time and adding 'adm' then you
might as well add 'staff' too.  That way you will have access to your
/usr/local directory tree as yourself too.  Might as well do both at
the same time for you on your own system.

More suggestions follow in a moment.

 The crontab entry is as below
 0 9 * * * /home/user/email-script

Okay.  At 9am every day run /home/user/email-script.

 When i execute the script manually i'm getting the email from ssmtp. but
 when the script is executed using cron i'm not getting the email. I checked
 the status of the ssmtp and the status is 127.

The status of ssmtp when run manually is 127?  Or when run by cron?

 Please can anyone suggest what might be wrong in my setup.

Anytime you write a script always declare the interpreter on the first
line.  This is used by the system to invoke the right interpreter.  In
this case add #!/bin/sh to the first line of your script.  That
explicitly states things.  Otherwise the behavior depends upon your
system and various details not important to discuss here.

As a general suggestion I always use $HOME instead of ~ in scripts
like this as ~ is a ksh feature, now migrated to bash, now migrated to
/bin/sh (as implemented by dash) but isn't a Bourne shell feature.  I
didn't look now to see if it is in the POSIX spec (probably is) so
this is simply the guaranteed safe thing and perhaps is overly safe
these days but then again I am not usually getting hit with bashism
problems either.  :-)

Therefore your script would be changed to:

  #!/bin/sh
  /home/user/bin/actual-script  $HOME/details-file
  ssmtp usern...@gmail.com  $HOME/details-file
  echo $?  $HOME/email-status

Any output from the script will be emailed to your local account by
cron.  For me that is mostly convenient.  For others perhaps not so
convenient.  For debugging it is often better to redirect everything
to a log file.  Sometimes it makes sense to truncate and start a new
file every run.  Sometimes it makes sense to keep a running log by
appending to the end all of the time.  It is your choice.  I will
append here for this example.

Sometimes it is good to simply echo print specific details.

  #!/bin/sh
  exec $HOME/foo.cron.out 21
  echo Beginning script
  /home/user/bin/actual-script  $HOME/details-file
  echo Actual script finished.
  ls -ldog $HOME/details-file
  ssmtp usern...@gmail.com  $HOME/details-file
  echo ssmtp exit code: $?

Sometimes it is good to trace all output using -x.

  #!/bin/sh
  exec $HOME/foo.cron.out 21
  set -x
  /home/user/bin/actual-script  $HOME/details-file
  ls -ldog $HOME/details-file
  ssmtp usern...@gmail.com  $HOME/details-file
  echo ssmtp exit code: $?

I like to have statements listed in -x output using the : true
operator.  It does nothing but is a command and therefore the command
and arguments are listed in -x tracing output.  These are run but are
invisible when not using -x.  (Especially good for observing builtins
such as case statements.)

  #!/bin/sh
  exec $HOME/foo.cron.out 21
  set -x
  : DEBUG: Beginning actual-script
  /home/user/bin/actual-script  $HOME/details-file
  ls -ldog $HOME/details-file
  ssmtp usern...@gmail.com  $HOME/details-file
  : DEBUG: ssmtp exit code: $?

If PATH is the issue then you can add the standard login paths to this
script.  (Add /usr/local/games:/usr/games too if you like.)

  #!/bin/sh
  exec $HOME/foo.cron.out 21
  set -x
  

Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Bob Proulx
Kevin O'Gorman wrote:
 There's one remaining question I have, which is fortunately not urgent.
 It's not clear what I'm going to have to do to bring the RAID online after
 a reboot.  It doesn't seem to be as simple as tweaking /etc/fstab, like it
 is on bare drives.  I suppose I can do an assemble operation manually each
 time.  Is there a best practice for making this automatic?

If you install a system using the debian-installer then it will set
everything up for you automatically.  For people installing a pristine
system with raid it is all automatic and nothing more needs to be
done.  For people adding additional mdadm raid volumes later they need
to do some configuration for it.

Mdadm has two different times when it will assemble raid volumes.  In
reverse time order the second is at boot time by looking at
/etc/mdadm/mdadm.conf file and assembling all raids configured there.
That data can be created using mdadm --scan to search for physical
devices and to produce the config files.  Take that information and
edit it as needed.

Typically, note the append  operator:

  mdadm --detail --scan /dev/mdadm/mdadm.conf
  ...edit /dev/mdadm/mdadm.conf...clean up and remove duplicate lines...

The debian-installer formats the lines slightly differently than mdadm
output does.  I don't know if the differences are really significant.
I usually edit to follow the original debian-installer format.

The important part is that the arrays are listed with the device and
with the UUID of the array.  That will instruct mdadm to assemble
those arrays when mdadm is started at system boot time.

However system boot time is too late for assembling the raid array
holding the system itself.  At early boot time in the initrd the mdadm
will be invoked to assemble raid volumes.  Those instructions are
cached in the initrd.  Therefore after changing the mdadm.conf file
the initrd must be rebuilt in order to have the raid volumes assembled
at early boot time before the system boots.

There are many ways to rebuild the initrd.  I will list out several.
Choose whichever one feels good to you.

  update-initramfs -u

That will update the initrd of the latest kernel.  I assume you are
booting the latest kernel.  If you need to boot different kernels then
use the -k option to specify the kernel version to rebuild.  Or use
all to rebuild all of your installed kernel's initrds.  However if
you are running Unstable and have many kernels left behind as lint
then this may take a long time.

  update-initramfs -u -k all

Or of course you could use the package manager.  When kernels are
installed the postinst script builds the initrd.  You can also
reconfigure the kernel package and this will rebuild the initrd too.

  dpkg-reconfigure linux-image-3.2.0-4-amd64

Where linux-image-3.2.0-4-amd64 is your current installed kernel.  The
above would be for Wheezy 7.7 Stable.

Bob


signature.asc
Description: Digital signature


Re: Moving LVM volume?

2015-01-02 Thread Bob Proulx
Joel Rees wrote:
 Bob Proulx wrote:
  the disk as physical volumes for lvm.  For you I might suggest:
 
/dev/sdb1 /boot   {256M}
/dev/sdb4  extended   {remainder}
 
 Why extended? I generally put my LVM partition straight in a DOS
 primary partition, unless I needed more than three non-LVM partitions
 for some reason.

The original poster already had it as an extended partition.  I was
simply editing their original listing to fit.  Here is the original
poster's listing.

/dev/sdb1 /   (root) {7G}
/dev/sdb2 /swap   {4GB}
/dev/sdb3 /oldjunk{1G}
/dev/sdb4  extended  {remainder}
/dev/sdb5 LVM{one large volume}

Therefore when I cut down that listing I simply left that part as it
was since I didn't think it mattered.  They were using an unusual
format for describing the partitions and I didn't want to be too
disruptive of it thinking that it must be the way they liked it.  And
since that detail wasn't significant I didn't change it.

Personally I tend to have more than four partitions.  Therefore I will
almost always end up using extended partitions.  And so I have gotten
into the habit of always using them.  No other reason.

I do try to keep /boot as simple as possible and therefore do actively
try to always have /boot on /dev/sda1 as a simple ext2 file system
without lvm.  I understand more complicated configurations work now
but they haven't always and keeping it simple for /boot has always
made things easier for me when there has been system trouble and
debugging needed.

Bob


signature.asc
Description: Digital signature


Re: A capability in the IMAP protocol.

2015-01-02 Thread The Wanderer
On 01/02/2015 at 03:01 PM, Peter Easthope wrote:

 Hi,
 
 Does the IMAP protocol allow retrieving a message, body included,
 from a server and then deleting from the server while keeping on the
 client? This might be described as simulating a POP behavour in
 IMAP.

IMAP allows retrieving a message, and IMAP allows deleting a message, so
this can certainly be done. (As long as the server actually respects the
delete command, rather than archiving on delete or something like that,
but that would be server-specific.)

 If the protocol allows this, is the capability implemented in most
 clients?

I don't know of any which do it automatically, even as a toggle-able
option, but I could do it with Thunderbird message filters easily
enough.

Just set up a message filter on the IMAP-server Inbox folder with a
Copy Message action (which copies the message to a subfolder under
Local Folders), followed by a Delete Message action (which deletes the
message from the source folder, which is on the IMAP server).

I imagine that various other mail clients also provide sufficiently
capable message-filtering or other scripting functionality. No direct
support for this by IMAP itself should be necessary.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


File transfer between Debian Wheezy Xfce and iPad, iPod, iPhone

2015-01-02 Thread David Christensen

debian-user:

I would like to transfer files between Debian Wheezy Xfce computers 
(i386 and amd64) and iOS devices (iPod, iPad, iPhone).



On Debian, I have installed:

libimobiledevice-utils


When I connect the charging cable between an iPad Mini (Model A1489) and 
a USB 2.0 port on a Debian machine, dmesg indicates (SerialNumber redacted):


$ dmesg | tail -n 6
[  152.171793] usb 4-1.2: new high-speed USB device number 15 using 
ehci_hcd
[  152.266301] usb 4-1.2: New USB device found, idVendor=05ac, 
idProduct=12ab
[  152.266306] usb 4-1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[  152.266309] usb 4-1.2: Product: iPad
[  152.266311] usb 4-1.2: Manufacturer: Apple Inc.
[  152.266313] usb 4-1.2: SerialNumber: 




On the iPad, a pop-up dialog appears:

Trust This Computer?
   Your settings and data will be
accessible from this computer when
connected.
Trust  Don't Trust


When I touch Trust, there is activity in the icons in the upper-right 
corner of the iPad display, and then the pop-up dialog appears again; ad 
infinitum.



Any suggestions?


TIA,

David


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

Archive: https://lists.debian.org/54a6f0fa.4030...@holgerdanske.com



Re: Script to email details not working in cron

2015-01-02 Thread Don Armstrong
On Fri, 02 Jan 2015, Manikandan M wrote:
 I have written a small script to email (using ssmpt) some details, and
 scheduled it in crontab. The script is running as per time mentioned in the
 cron but ssmtp is not sending the mail. please find the details below.
 
 user@host ~ $ cat bin/email-script
 /home/user/bin/actual-script  ~/details-file
 ssmtp usern...@gmail.com  ~/details-file
 echo $?  ~/email-status

 The crontab entry is as below
 0 9 * * * /home/user/email-script

If this is actually the script,

1) It's missing #!/bin/sh or #!/bin/bash

2) It's in /home/user/bin/email-script, not /home/user/email-script

3) It may not be executable.

-- 
Don Armstrong  http://www.donarmstrong.com

life's not a paragraph
And death i think is no parenthesis
 -- e.e. cummings Four VII _is 5_


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102211336.gb29...@teltox.donarmstrong.com



Re: Any advice for a user about to use LVM for the first time?

2015-01-02 Thread Tapani Tarvainen
On Jan 01 23:42, Bob Proulx (b...@proulx.com) wrote:

 Using mdadm RAID?  Or LVM raid?  I have personally only used mdadm
 raid and not lvm raid.

Yes. LVM raid is today usually best to avoid. I generally use mdadm
for raid (unless hardware raid is available) and put lvm on top of that. 
And I tend to use raid whenever I can, that is, in almost every
machine with enough room for disks, and raid1, raid6 or raid10,
sometimes raid0 when speed is crucial but data is expendable
(cheap to regenerate); raid5 I try to avoid.

-- 
Tapani Tarvainen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102201305.ga22...@tarvainen.info



A capability in the IMAP protocol.

2015-01-02 Thread Peter Easthope
Hi,

Does the IMAP protocol allow retrieving a message, body included, from
a server and then deleting from the server while keeping on the client?
This might be described as simulating a POP behavour in IMAP.

If the protocol allows this, is the capability implemented in most clients?

Thanks,... Peter E.




-- 
Telephone 1 360 639 0202.  Bcc: peter at easthope.ca http://carnot.yi.org/ 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/6af85a0a384ed76dfe6a0e10c2b9d3d7.squir...@easthope.ca



Re: Script to email details not working in cron

2015-01-02 Thread Emil Oppeln-Bronikowski
On Fri, Jan 02, 2015 at 06:39:27PM +, Manikandan M wrote:

Are other scripts running fine? Can you throw a silly date /tmp/imalive into 
it and see?

Does ssmtp (I'm unfamilar with it) requies some special env-var that can be 
unset when running from Cron?

-- 
People are like potatos. They die when you eat them.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102185556.GB1643@mikrus