softraid vraag

2016-01-22 Thread lists

Hoi,

Ik heb een test machine met jessie, twee 3TB harddisks, sda en sdb, 
beide zo gepartitioneerd:

Disklabel type: gpt
Disk identifier: 44B346AB-C694-45DF-8802-F6A6486C74E0

Device StartEndSectors  Size Type
/dev/sda1   2048   4095   20481M BIOS boot
/dev/sda2   4096 5860532223 5860528128  2.7T Linux RAID


Software raid gemaakt met sda2 en sdb2:


root@test:/etc/mdadm# cat /proc/mdstat
Personalities : [raid10]
md0 : active raid10 sdb2[1] sda2[0]
  2930132992 blocks super 1.2 2 near-copies [2/2] [UU]
  bitmap: 1/22 pages [4KB], 65536KB chunk

unused devices: 


Deze md0 toegevoegd aan lvm:


root@test:/etc/mdadm# pvdisplay
  --- Physical volume ---
  PV Name   /dev/md0
  VG Name   system
  PV Size   2.73 TiB / not usable 2.00 MiB
  Allocatable   yes
  PE Size   4.00 MiB
  Total PE  715364
  Free PE   699630
  Allocated PE  15734
  PV UUID   HO52PX-wDww-3McN-YauG-gPJn-nZZx-iME30u


Hier in vlm system-root & system-swap aangemaakt:


root@test:/etc/mdadm# cat /etc/fstab
/dev/mapper/system-root /   xfs defaults0   1
/dev/mapper/system-swap noneswapsw  0   0


Dit loopt perfect, ECHTER het systeem start niet meer wanneer ik één 
van de harddisks unplug. :-( En dat was eigenlijk wèl n beetje het idee 
van deze exercitie...


Tijdens boot klaagt ie:

> volume group system not found
en
> unable to find LVM volume system/root
en
> dropping to a shell

Is er iets mis met een config van "root op LVM op softraid10"? Dit zou 
in feite toch moeten werken?


Hij boot (grub) dus wel van beide disks, alleen lukt de LVM niet met één 
disk, en daarvoor het rootfs ook niet.


Enig idee? Suggesties?

MJ

Voor het geval iemand zegt: RAID10? Zou dat geen RAID1 moeten zijn...? 
Hier heb ik de raid10 setup vandaan:

http://blog.a2o.si/2014/09/07/linux-software-raid-why-you-should-always-use-raid-10-instead-of-raid-1/



Re: Debian user mailing list in Spam folder

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
> Today, I found too many mails from this mailing list in my Gmail spam
> folder.

You mean genuine mails in your spam folder or genuine spam which made
it through the Debian mailing list?

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaiQuoACgkQBcgs9XrR2kayuQCeOxjIHaMP/UCS1z1v+MTNGmFd
T+oAn2pG1iLSODB9Mojoi9ghpVYpg3TO
=aLeS
-END PGP SIGNATURE-



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jorge Chaves
El vie, 22-01-2016 a las 21:00 +0100, Javi Barroso escribió:
> Hola,
> 
> El 22 de enero de 2016 20:43:04 CET, Jorge Chaves  
> escribió:
> >El vie, 22-01-2016 a las 17:51 +, Camaleón escribió:
> >> El Fri, 22 Jan 2016 18:28:52 +0100, Jorge Chaves escribió:
> >> 
> >> > El vie, 22-01-2016 a las 15:00 +, Camaleón escribió:
> >> 
> >> (...)
> >> 
> >> >> El paquete deb tiene las siguientes dependencias:
> >> >> 
> >> >> ***
> >> >> Depends: python2.6 | python2.7, python-gtk2, python-glade2,
> >ffmpeg,
> >> >> gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53,
> >> >> gstreamer0.10-plugins-
> >> >> ugly | vlc | mp ***
> >> >> 
> >> >> Los dos únicos paquetes que no están en los repos de Debian para
> >Jessie
> >> >> son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está
> >disponible
> >> >> en Debian Multimedia y el segundo también, aunque sólo para
> >Wheezy, por
> >> >> lo que no debe ser muy complicado saltarse/satisfacer las
> >dependencias.
> >> >> 
> >> >> 
> >> > Lo sé Camaleón. Eso fue lo primero que probé. Y lo cierto es que
> >decidí
> >> > no seguir por el tema de las dependencias porque eso se podía
> >convertir
> >> > en una red de túneles donde posiblemente no encontrara salida,
> >aparte de
> >> > que no sé si es buena idea mezclar dependencias de Debian 7 con las
> >> > dependencias de Debian 8.
> >> 
> >> (...)
> >> 
> >> Lo que digo es que me extraña que esa "red de túneles sin salida" sea
> >tal 
> >> como dices ;-) porque el único paquete que puede dar problemas es 
> >> "libavcodec53", el resto hay versión para Jessie.
> >> 
> >> Y si me apuras, te diría que se trata de una dependencia "ficticia" y
> >que 
> >> editando manualmente el archivo INFO del paquete .deb se podría
> >instalar 
> >> apuntando al paquete para Jessie "libavcodec56".
> >> 
> >> Saludos,
> >> 
> >
> >Jo, en mala hora me ha dado por refundir la información, además de
> >hacerlo mal este detalle también se me ha escapado. 
> >
> >Pero oye no hay mal que por bien no venga, he probado tu solución y me
> >funciona en Debian 8, gracias. 
> >
> >Enlace para saber cómo editar un paquete.deb, por si a alguien le
> >interesa:
> >http://www.taringa.net/post/linux/17294752/Editar-Paquete-deb.html
> 
> Más arriba puedes ver como se automatiza eso mismo (videbcontrol). Sí no te 
> gusta el vi también puedes modificar el script para que lo abra tu editor 
> preferido
> 
> El nombre está cachondo por que ya hay varios vixxx (visudo,  vipwd, vigr, 
> ...), aunq no sé si verificará la sintaxis como hacen los otros y a parte sí 
> necesitas cambiar más cosas no te vale sólo eso
> 
> Saludos
> 

Agradezco lo que dices. Automatizar cosas sin duda es un plus de
comodidad, pero de momento no soy fan de los scripts. Cuando aprenda
shell-script entonces me pondré a ello y los usaré. 

Me imagino que con videbcontrol te referirás a esto. Lo pongo por si
alguien está interesado:
https://gist.github.com/chetan/1410666



wodim "Cannot open SCSI driver!"

2016-01-22 Thread Thomas Schmitt
Hi,

Emanuel Berg wrote:
> When I try to burn with wodim, it says
> Errno: 5 (Input/output error), test unit ready
>scsi sendcmd: no error

We will have to dig deeper to untangle this message.


But first i need to send a few complaints to heaven:

> $ wodim --devices
> I get "Cannot open SCSI driver!"

This i can reproduce on Jessie.

  wodim: No such file or directory. 
  Cannot open SCSI driver!
  For possible targets try 'wodim --devices' or 'wodim -scanbus'.

wodim -scanbus does not work either.
(How can it be that unchanged software shows such signs of rot ?)

Funnily, it can operate single drives.
  $ wodim -v dev=/dev/sr4 -inq
  ...
  Linux sg driver version: 3.5.27
  Wodim version: 1.1.11
  ...
  Device seems to be: Generic mmc2 DVD-R/DVD-RW.

(Well, it is a MMC-5 Blu-ray drive.)
 
-

Now for the burn problem.

In order to learn more about the "test unit ready" error, please
repeat the wodim run with additional option -V and catch the
many messages in file /tmp/wodim_log:

  wodim -V ...your.wodim.options... 2>&1 | tee -i /tmp/wodim_log

Send the file /tmp/wodim_log to me in private. I will then post
what i can learn from it.

What wodim options did you use, exactly ?

If it was for a pure data or audio CD, then you may try cdrskin
instead of wodim. It uses libburn, as do Xfburn, Brasero, and xorriso.

  cdrskin ...your.wodim.options...


Have a nice day :)

Thomas



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Anders Andersson
On Fri, Jan 22, 2016 at 7:01 PM, Lisi Reisz  wrote:
> On Friday 22 January 2016 17:43:04 Anders Andersson wrote:
>> This is why you can tell google not to send debian list emails to the
>> spam folder. Use the feature.
>
> D'oh!  I just keep telling Google that that one is not spam.
>
> Just realised the snag.  Over half of these are spam that the Debian filters
> missed.  I think I'll go on just accepting each falsely identified one.

There's very little spam on this list, and most lists I'm on, so it's
not a major hassle. Not even a minor. :)



Netbeans

2016-01-22 Thread Paul van der Vlis
Hoi,

Een vriendin wil Netbeans draaien op Debian8. Maar dat pakket is er
niet, en er is ook geen backport. Zou ze het pakket uit Stretch kunnen
gebruiken of gaat dat mis?
https://packages.debian.org/search?keywords=netbeans

Ze gebruikt Java8 uit backports volgens mij.
https://packages.debian.org/jessie-backports/openjdk-8-jdk

Groet,
Paul.


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 20:09:22 Anders Andersson wrote:
> On Fri, Jan 22, 2016 at 7:01 PM, Lisi Reisz  wrote:
> > On Friday 22 January 2016 17:43:04 Anders Andersson wrote:
> >> This is why you can tell google not to send debian list emails to the
> >> spam folder. Use the feature.
> >
> > D'oh!  I just keep telling Google that that one is not spam.
> >
> > Just realised the snag.  Over half of these are spam that the Debian
> > filters missed.  I think I'll go on just accepting each falsely
> > identified one.
>
> There's very little spam on this list, and most lists I'm on, so it's
> not a major hassle. Not even a minor. :)

No, I know - but nor are the false positives very major.  And any spam I keep 
off my box is ça de gagné.

Lisi



Re: wodim "Cannot open SCSI driver!"

2016-01-22 Thread Thomas Schmitt
Hi,

Emanuel Berg wrote:
> > $ wodim --devices
> > I get "Cannot open SCSI driver!"

strace reveils that this confusing message comes from the total
lack of /dev/scd* and /dev/hd* device files or links.

I can fix it on my Jessie by

  for i in 0 1 2 3 4 5
  do
test -e /dev/sr"$i" && ln -s /dev/sr"$i" /dev/scd"$i"
  done

  wodim --devices

This yields

  wodim: Overview of accessible drives (5 found) :
  -
   0  dev='/dev/scd0' rwrw-- : 'HL-DT-ST' 'BDDVDRW GGC-H20L'
   1  dev='/dev/scd1' rwrw-- : 'HL-DT-ST' 'DVDRAM GH24NSC0'
   2  dev='/dev/scd2' rwrw-- : 'HL-DT-ST' 'BD-RE  GGW-H20L'
   3  dev='/dev/scd3' rwrw-- : 'Optiarc' 'BD RW BD-5300S'
   4  dev='/dev/scd4' rwrw-- : 'HL-DT-ST' 'BD-RE  BH16NS40'
  -

To Steve McIntyre and Michael Biebl:
Is there a chance to establish some udev rule to create /dev/scd* 
links ?


Have a nice day :)

Thomas



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Javi Barroso
Hola,

El 22 de enero de 2016 20:43:04 CET, Jorge Chaves  
escribió:
>El vie, 22-01-2016 a las 17:51 +, Camaleón escribió:
>> El Fri, 22 Jan 2016 18:28:52 +0100, Jorge Chaves escribió:
>> 
>> > El vie, 22-01-2016 a las 15:00 +, Camaleón escribió:
>> 
>> (...)
>> 
>> >> El paquete deb tiene las siguientes dependencias:
>> >> 
>> >> ***
>> >> Depends: python2.6 | python2.7, python-gtk2, python-glade2,
>ffmpeg,
>> >> gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53,
>> >> gstreamer0.10-plugins-
>> >> ugly | vlc | mp ***
>> >> 
>> >> Los dos únicos paquetes que no están en los repos de Debian para
>Jessie
>> >> son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está
>disponible
>> >> en Debian Multimedia y el segundo también, aunque sólo para
>Wheezy, por
>> >> lo que no debe ser muy complicado saltarse/satisfacer las
>dependencias.
>> >> 
>> >> 
>> > Lo sé Camaleón. Eso fue lo primero que probé. Y lo cierto es que
>decidí
>> > no seguir por el tema de las dependencias porque eso se podía
>convertir
>> > en una red de túneles donde posiblemente no encontrara salida,
>aparte de
>> > que no sé si es buena idea mezclar dependencias de Debian 7 con las
>> > dependencias de Debian 8.
>> 
>> (...)
>> 
>> Lo que digo es que me extraña que esa "red de túneles sin salida" sea
>tal 
>> como dices ;-) porque el único paquete que puede dar problemas es 
>> "libavcodec53", el resto hay versión para Jessie.
>> 
>> Y si me apuras, te diría que se trata de una dependencia "ficticia" y
>que 
>> editando manualmente el archivo INFO del paquete .deb se podría
>instalar 
>> apuntando al paquete para Jessie "libavcodec56".
>> 
>> Saludos,
>> 
>
>Jo, en mala hora me ha dado por refundir la información, además de
>hacerlo mal este detalle también se me ha escapado. 
>
>Pero oye no hay mal que por bien no venga, he probado tu solución y me
>funciona en Debian 8, gracias. 
>
>Enlace para saber cómo editar un paquete.deb, por si a alguien le
>interesa:
>http://www.taringa.net/post/linux/17294752/Editar-Paquete-deb.html

Más arriba puedes ver como se automatiza eso mismo (videbcontrol). Sí no te 
gusta el vi también puedes modificar el script para que lo abra tu editor 
preferido

El nombre está cachondo por que ya hay varios vixxx (visudo,  vipwd, vigr, 
...), aunq no sé si verificará la sintaxis como hacen los otros y a parte sí 
necesitas cambiar más cosas no te vale sólo eso

Saludos

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



wodim "Cannot open SCSI driver!"

2016-01-22 Thread Emanuel Berg
When I try to burn with wodim, it says

Errno: 5 (Input/output error), test unit ready
scsi sendcmd: no error

and

$ wodim --devices

I get "Cannot open SCSI driver!"

Ideas?

-- 
underground experts united
http://user.it.uu.se/~embe8573



SOLVED ?? user in group audio -- but only root can play sound

2016-01-22 Thread Gregor Zattler
Hi Floris, debian users,
* Floris  [22. Jan. 2016]:
> Op Fri, 22 Jan 2016 00:10:27 +0100 schreef Jude DaShiell
> :
> 
>>udev may be having adverse impacts on abilities to play sounds from
>>certain cards after reboot.  Anyone interested may find sound devices in
>>black listed category they don't want to have black listed.  Correcting
>>such black listing for now is beyond my capability since I haven't done
>>enough with udev to be safe working with ityet.
>>
> 
>

Sorry, now I see you have multiple sound cards.
>>>
>>>My fault I should have mentioned it, sorry:  That's it!
>>>
> 
>>>Since 2015-12-11 my /etc/modprobe/alsa-base.conf ist:
>>># PCH
>>>options snd-hda-intel index=0 model=auto vid=8086 pid=9c20
>>># HDMI
>>>options snd-hda-intel index=1 model=auto vid=8086 pid=0a0c
>>>
>>>this is (if I remember correctly) from Arch wiki and should
>>>provide a numbering of sound devices such that the analog device
>>>becomes default (first one).  Since then I could hear music, hear
>>>sound from movies but only till a week ago.
>>>
>>>
>>>If I delete this file and reboot, the numbering of devices is:
>>>
>>> List of PLAYBACK Hardware Devices 
>>>card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
>>> Subdevices: 1/1
>>> Subdevice #0: subdevice #0
>>>card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
>>> Subdevices: 1/1
>>> Subdevice #0: subdevice #0
>>>card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
>>> Subdevices: 1/1
>>> Subdevice #0: subdevice #0
>>>card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
>>> Subdevices: 1/1
>>> Subdevice #0: subdevice #0
>>>
>>>Now mplayer -ao alsa:device=hw=1.0 works but aplay wav still does
>>>not, mplayer does not without the command line switch and
>>>interestingly mpd still works.
>>>
>>>How to tell linux that the analog device is the default device?
>>>(I'll come back to this mailing list when I actually want to hear
>>>sound through the HDMI device).
>>>
>>>
>>>
>>>Thanks a lot!  This at least gives an explanation!
>>>
>>>Ciao; Gregor
>>>
>>>
>>
> 
> 3 Options:
> 
> 1.
> from http://alsa.opensrc.org/MultipleCards:
> 
> ...
> The newer "slots=" method
> 
> Alternatively, you can use the slot option instead of the index options:
> options snd slots=snd-interwave,snd-ens1371
> 
> Then, the first slot (#0) is reserved for snd-interwave driver, and the
> second (#1) for snd-ens1371. You can omit index option in each driver if
> slots option is used (although you can still have them at the same time as
> long as they don't conflict).
> ...

I wrestled with this option for more than two hours without
success.  As far as ALSA is concerned having the right card and
device on numbers 0 should be sufficient.

I then stumpled upon the Arch Linux Wiki on PulseAudio.

This command line:
pacmd list-sinks|egrep -I 'index:|name:'
lists PAs "sinks", the default is marked with an asterisk.

I don't know why PA decided to default to the HDMI output but
with a

echo  set-default-sink alsa_output.pci-_00_1b.0.analog-stereo > 
~/.config/pulse/default.pa

I now can hear sound for instance with movies withot telling the
player which sound device to use.

Thank you very much for your patience and help.

I now want to learn what problem PA is there to solve.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Christophe De Natale
Le vendredi 22 janvier 2016 à 18:55 +0100, Christophe De Natale a
écrit :
> Bonsoir à vous,
> 
> Sur une installation fraîche de Jessie, je n'ai pas de droits
> d'administration (console en gui ou tty).
> Exemple :
> sudo ifconfig = bash : sudo : commande introuvable
> 
> 
> Pour info, je n'active pas le compte root à l'installation et c'est donc
> mon premier utilisateur qui a les droits (normalement).
> 
> Une idée svp ? (la mienne, c'est que l'installation a foiré mais je ne
> peux pas consulter les logs)
> Merci et bonne soirée,

Suite : démarrage en mode recovery, accès root direct (est-ce normal ?)
Ajout de mon utilisateur au groupe sudo
Redémarrage
"groups" confirme que je fais partie du groupe sudo
Mais je suis toujours bloqué :
sudo ifconfig = bash : sudo : commande introuvable


-- 
Christophe De Natale 



Re: umount /media/cleusb qu'en root

2016-01-22 Thread Klaus Becker
Le vendredi 22 janvier 2016, 19:29:58 andre_deb...@numericable.fr a écrit :
> On Friday 22 January 2016 18:58:30 Yann Justdohit wrote:
> > Le 22 janvier 2016 14:50:03 UTC+1, andre_...@numericable.fr a écrit :
> > > Sous Jessie, la clé USB s'ouvre automatiquement,
> > > lorsqu'elle est introduite dans un port usb.
> > > Je peux y lire et écrire, supprimer des fichiers sous Konqueror.
> > > Par contre, je ne peux libérer/démonter la clé USB,
> > > qu'en mode console, en tant que root, par la commande :
> > > # umount /media/cleusb
> > > Comment faire pour démonter la clé USB par son icône
> > > établie sur le bureau, en tant que user ?
> > 
> > Dans konqueror tape media:/ dans la barre d'adresse puis fait un
> > click-droit
> sur ta clef puis "demonter" ou "safely remove"
> 
> Je n'ai pas cette proposition "demonter" ou "safely remove",
> dans /media/ => cleusb sous Konqueror.
> 
> André

'soir,

dans dolphin, ça marche très bien

Klaus



Re: setting up systemd units for dm-crypt devices

2016-01-22 Thread Anders Andersson
On Fri, Jan 22, 2016 at 5:09 PM, Jonathan Dowland  wrote:
> I have several LUKS-encrypted volumes, upon which I have placed LVM PVs.
> Prior to systemd, I would define them in /etc/crypttab. Right now, due
> to systemd-cryptsetup-generator, this gets interpreted and translated
> into systemd units at early-boot time.
>
> I am wondering whether to consider crypttab should be considered deprecated 
> and
> whether it would be better practice for new volumes to be defined soley as
> systemd units. I do want them as systemd units, one way or the other, so that
> I can write other units that depend on them. It's quite nice to type 
> 'systemctl
> start /backup' and for it to correctly prompt for a decryption passphrase for
> the depended-upon dm-crypt device.[1]

I have a similar setup. I used crypttab to get systemd to generate a
service file, which I then moved over to /etc/systemd/system and
modified. I had to modify it because there are some crazy things
happening with systemd-cryptsetup in combination with multi-device
btrfs filesystems. Having them as service files is fine, and you
should be ok if you use LVM on them.

> I currently do not decrypt these filesystems at boot time. The machine
> is a headless NAS box and I want it to be able to boot without having
> to plug a monitor into it.[2]
>
> To activate my filesystems, the manual steps are
>
> 1. cryptsetup luksOpen 
> 2. vgchange -a y 
> 3. mount 
>
> I know to create a systemd-cryptsetup@XYZ.service unit and a
> somepath.mount.unit to cover 1. and 3. above. But should I define a
> service for 2.?  The alternative would be to try and handle it with
> ExecStartPost= in the cryptsetup service definition.
>
> I'm leaning towards defining a full unit for it, because one also needs to
> handle vgchange -a n prior to luksClose, but I'd appreciate your opinions (it
> might just be a matter of style).

I guess having a separate unit for this could be nice, but is it
really necessary? Having used LVM on top of LUKS, I can't recall
having to do that step manually.


> [2] I am planning to investigate having a dropbear sshd running in the
> initramfs environment in the future, so I can do an ssh-in to decrypt
> the filesystems, including /, but I haven't looked at this yet. There
> are several dracut modules that seem to do it.

I do this on one machine, haven't decided if I'm happy with the setup
or not. There are too many issues with systemd+encryption in Jessie
right now.



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Ric Moore

On 01/22/2016 11:10 AM, Jude DaShiell wrote:


One thing udev or the linux kernel is going to have to get over fast is
its fixation on the 3.5MM jack for speakers.  Newer hardware sooner
rather than later will not be including those jacks any longer.
Probably the first noticeable instance will be Apple and what Apple does
with its next generation of iPhones but we shall know better when those
come out.


I now use only USB for audio, a pair of USB headphones with a mike, and 
a 7.1 USB audio device to rattle the house with. Life is SO much easier 
now. :) 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.
http://linuxcounter.net/user/44256.html



Re: IMPORTEND squid3 stable needs update

2016-01-22 Thread Michael Tokarev
15.01.2016 22:47, startrekfan wrote:

> *squid3 Version 3.4.8* is deployed in the Jessie stable repository.*This 
> version is outdated and has some security risks!!*. Version 3.5 is more 
> secure but unfortunately it's only marked as unstable

I wonder how many times this question should be asked.
It has been answered multiple times previously.

/mjt



[résolu]Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Christophe De Natale
Le vendredi 22 janvier 2016 à 19:25 +0100, humbert.olivie...@free.fr a
écrit :
> > "groups" confirme que je fais partie du groupe sudo
> > Mais je suis toujours bloqué :
> > sudo ifconfig = bash : sudo : commande introuvable
> 
> À tout hasard, le paquet "sudo" est-il installé ?
> 
> Olivier
> 

Hé, ben voilà :-)

En mode rescue :
apt-cache policy sudo
Installé = aucun

Merci et bon we,
-- 
Christophe De Natale 



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jorge Chaves
El vie, 22-01-2016 a las 17:51 +, Camaleón escribió:
> El Fri, 22 Jan 2016 18:28:52 +0100, Jorge Chaves escribió:
> 
> > El vie, 22-01-2016 a las 15:00 +, Camaleón escribió:
> 
> (...)
> 
> >> El paquete deb tiene las siguientes dependencias:
> >> 
> >> ***
> >> Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg,
> >> gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53,
> >> gstreamer0.10-plugins-
> >> ugly | vlc | mp ***
> >> 
> >> Los dos únicos paquetes que no están en los repos de Debian para Jessie
> >> son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está disponible
> >> en Debian Multimedia y el segundo también, aunque sólo para Wheezy, por
> >> lo que no debe ser muy complicado saltarse/satisfacer las dependencias.
> >> 
> >> 
> > Lo sé Camaleón. Eso fue lo primero que probé. Y lo cierto es que decidí
> > no seguir por el tema de las dependencias porque eso se podía convertir
> > en una red de túneles donde posiblemente no encontrara salida, aparte de
> > que no sé si es buena idea mezclar dependencias de Debian 7 con las
> > dependencias de Debian 8.
> 
> (...)
> 
> Lo que digo es que me extraña que esa "red de túneles sin salida" sea tal 
> como dices ;-) porque el único paquete que puede dar problemas es 
> "libavcodec53", el resto hay versión para Jessie.
> 
> Y si me apuras, te diría que se trata de una dependencia "ficticia" y que 
> editando manualmente el archivo INFO del paquete .deb se podría instalar 
> apuntando al paquete para Jessie "libavcodec56".
> 
> Saludos,
> 

Jo, en mala hora me ha dado por refundir la información, además de
hacerlo mal este detalle también se me ha escapado. 

Pero oye no hay mal que por bien no venga, he probado tu solución y me
funciona en Debian 8, gracias. 

Enlace para saber cómo editar un paquete.deb, por si a alguien le
interesa:
http://www.taringa.net/post/linux/17294752/Editar-Paquete-deb.html




Re: [OT] Re: Gnokii y SIM 4G

2016-01-22 Thread Debia Linux
2016-01-22 8:44 GMT-06:00 Camaleón :
> El Thu, 21 Jan 2016 13:59:33 -0600, Debia Linux escribió:
>
>> 2016-01-21 13:52 GMT-06:00 Debia Linux :
>>> Listeros:
>>>
>>> Les comento que instale gnokii, realice algunos scripts y todo
>>> funcionaba a las mil maravillas, hasta que por un motivo, tuve que
>>> reemplazar el chip o SIM como deseen llamarle, pero este nuevo SIM no
>>> es compatible con el telefono.
>>
>> JEJEJE (no termine de redactar). El SIM no es compatible porque ya no
>> hay SIMs antiguos, las empresas ya tienen nuevas versiones (en este caso
>> van en la 6.2 cuando antes funcionaban con la version 3.1). Logicamente
>> mi telefono (antigüo por supuesto) ya no soporta dicho SIM.
>>
>>
>>
>>> ¿Alguien sabra como podría solucionarlo?
>
> No me queda claro qué relación tiene con Gnokii por eso lo marco como
> OT :-)
>
> A ver, en cuanto al caso... mi teléfono móvil (Motoroloa K1¹) se fabricó
> en el 2006 y tiene instalada una SIM actual que admite 4G (obviamente el
> terminal no llega ni a 3G) pero no tengo ningún problema para usar la SIM
> ni la conexión de datos, ni el módem... Así que pregunto... cuando dices
> SIM ¿estás seguro de que quieres decir SIM¹?
>
> ¹https://en.wikipedia.org/wiki/Motorola_Krzr
> ²https://en.wikipedia.org/wiki/Subscriber_identity_module

Así es, el SIM es el Subscriber Identify Module (es la tarjetita de
plastico que se le ponen a casi todos los telefonos celulares).

Te comento que al instalar el nuevo SIM, el telefono me arrojaba el
siguiente mensaje:

POR FAVOR INSERTE EL SIM E INGRESE LA CLAVE

Siendo que ya estaba insertado, asi que fui al Centro de Atencion a
Clientes y lleve mi telefono (casi se rien...) me dijeron que no era
compatible, así que me lo cambiaron por un SIM version 5.1 (el mio que
se daño era version 3.1). En ese momento se lo pusieron y funciono.
Dieron de baja el SIM con la version 6.2 y listo. Cuando llegue a la
oficina, le instale nuevamente una SIM version 6.2 para ver si era
problema de versiones, resulta que me volvia arrojar el mismo error.
Le deje la SIM version 5.1 y listo, con el tiempo y por azares del
destino, simplemente dejo de funcionar. Acudi nuevamente al Centro de
Atencion a Clientes por una nueva SIM version 5.1 pero me dijero que
ya no las fabricaban.

Entonces tuve que dejar de usar mis scripts y hacer a mano algunas
tareas, todo esto mientras resolvia el problema.

Hasta ayer, me seguia arrojando el mismo error.

POR FAVOR INSERTE EL SIM E INGRESE LA CLAVE

Deje conectado y encendido el telefono y ahorita que estoy
revisandolos mensajes de la lista, resulta que ¡Ya funciona!. Así que
el asunto ha sido SOLUCIONADO (¿Cómo? No me pregunten, lo unico que se
es que deje encendido el telefono Nokia 3220b con la SIM 6.2 y al dia
siguiente que regreso a trabajar, ¡Ya esta funcionando!.

Agradezco de antemano tu atencion Pulp@-Camaleon@

ASUNTO SOLUCIONADO

Gracias

Debianeromx

>
> Saludos,
>
> --
> Camaleón
>



Re: Debian user mailing list in Spam folder

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 05:15:11PM +, Lisi Reisz wrote:

[...]

> Nothing is perfect. ;-)

...but some things are perfectly evil ;-)

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaigNAACgkQBcgs9XrR2kaWRwCfeCOIeLn5EHNhnEA1QmejAoCV
cZwAn3tVV/lhi9ImxhGVPcg/3IhV+XkM
=4Ujn
-END PGP SIGNATURE-



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 17:43:04 Anders Andersson wrote:
> On Fri, Jan 22, 2016 at 4:25 PM, Himanshu Shekhar
>
>  wrote:
> > Today, I found too many mails from this mailing list in my Gmail spam
> > folder.
> > Just wanted to confirm whether I am the only one to have this issue or
> > others are also facing the same issue.
>
> This is why you can tell google not to send debian list emails to the
> spam folder. Use the feature.

D'oh!  I just keep telling Google that that one is not spam. 

Just realised the snag.  Over half of these are spam that the Debian filters 
missed.  I think I'll go on just accepting each falsely identified one.

Lisi



Re: umount /media/cleusb qu'en root

2016-01-22 Thread Yann Justdohit
Le vendredi 22 janvier 2016 14:50:03 UTC+1, andre_...@numericable.fr a écrit :
> Bonjour,
> 
> Excuses si cette question a été posée...
> 
> Sous Jessie, la clé USB s'ouvre automatiquement,
> lorsqu'elle est introduite dans un port usb.
> Je peux y lire et écrire, supprimer des fichiers sous Konqueror.
> 
> Par contre, je ne peux libérer/démonter la clé USB,
> qu'en mode console, en tant que root, par la commande :
> # umount /media/cleusb
> 
> Comment faire pour démonter la clé USB par son icône
> établie sur le bureau, en tant que user ?
> 
> Merci.
> 
> André

Dans konqueror tape media:/ dans la barre d'adresse puis fait un click-droit 
sur ta clef puis "demonter" ou "safely remove"

@+



Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread humbert . olivier . 1
> "groups" confirme que je fais partie du groupe sudo
> Mais je suis toujours bloqué :
> sudo ifconfig = bash : sudo : commande introuvable

À tout hasard, le paquet "sudo" est-il installé ?

Olivier



Re: Lentitud en el sistema después de ciertos movimientos

2016-01-22 Thread alparkom .
El día 22 de enero de 2016, 11:11, Camaleón  escribió:
> El Thu, 21 Jan 2016 15:29:24 -0300, alparkom . escribió:
>
>> Y a vuelto a ocurrir... aunque esta vez después de intentar hibernar el
>> sistema con "# systemctl hibernate".
>
> Si el sistema se pone lento sin hacer nada especial (como generar medio
> millón de archivos) entonces el problema va por otro lado y nada tiene
> que ver con nautilus o los "ciertos ovimientos" que hagas.
>

Mas bien se pone lento cuando entro a la carpeta con nautilus.

>> Comando "top":
>> http://pastebin.com/94yKmpSh http://oi66.tinypic.com/2pzftd2.jpg
>
> Bueno, pues no veo nada raro con el uso del micro ni procesos desbocados
> pero sí me parece inusual que con 8 GiB de RAM física estés tirando de
> swap (2,5 GiB) siendo que hay memoria disponible en el sistema.
>

KiB Mem:   8097584 total,  7483468 used,   614116 free,   185972 buffers
KiB Swap:  3905532 total,21400 used,  3884132 free.  2266076 cached Mem

Así esta ahora. Por lo que entiendo solo esta ocupando 21MB de
intercambio, pero prácticamente toda la física (esta prueba la hice
con su velocidad "normal", o al menos no se pega).
Porque estará ocupando tanta física? Comando "top" actualmente:

http://oi67.tinypic.com/ddgjh4.jpg

El proceso "pulseaudio" esta ahí de bonito, ni siquiera estoy
escuchando música (supongo tiene que ver con los parlantes) y me
consume el 10% del CPU.
Lo de la memoria física usada (casi toda) no se aprecia en "top", o al
menos todos los procesos de ahí están con poco uso de RAM.

Por cierto, leí que este comando podía reducir el uso de la memoria swap:
# sysctl -w vm.swappiness=10
Pero no explica que significa cada cosa. Me podrían decir? Ya vi su
manual, por cierto. Y no lo he usado aun.

>> Comando "iotop" me dice que no existe.
>
> Iotop no se instala de manera predeterminada en el sistema.
>

Total DISK READ :   0.00 B/s | Total DISK WRITE :   3.69 K/s
Actual DISK READ:   0.00 B/s | Actual DISK WRITE:   0.00 B/s

Ese es el "iotop", se ve bien supongo (esta prueba la hice con su
velocidad "normal", o al menos no se pega).

>> Por cierto, el notebook no se hibernó después de usar el comando ese...
>> aparecía un mensaje de error.
>
> ¿Y ese mensaje de error era...?
>

Lamentablemente pasé de el. Jajaja. Aunque antes había logrado
hibernarlo sin problemas...



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Floris
Op Fri, 22 Jan 2016 15:40:01 +0100 schreef Gene Heskett  
:



>
> 2.
> Move the unwanted soundcard to an empty seat:
> find your card location with:
> $ loginctl seat-status seat0


That command does not exist on wheezy.  Sounds useful, what repo option
do I need to enable to get it?



loginctl is part of systemd

Floris



Re: umount /media/cleusb qu'en root

2016-01-22 Thread andre_debian
On Friday 22 January 2016 18:58:30 Yann Justdohit wrote:
> Le 22 janvier 2016 14:50:03 UTC+1, andre_...@numericable.fr a écrit :
> > Sous Jessie, la clé USB s'ouvre automatiquement,
> > lorsqu'elle est introduite dans un port usb.
> > Je peux y lire et écrire, supprimer des fichiers sous Konqueror.
> > Par contre, je ne peux libérer/démonter la clé USB,
> > qu'en mode console, en tant que root, par la commande :
> > # umount /media/cleusb
> > Comment faire pour démonter la clé USB par son icône
> > établie sur le bureau, en tant que user ?

> Dans konqueror tape media:/ dans la barre d'adresse puis fait un click-droit 
sur ta clef puis "demonter" ou "safely remove"

Je n'ai pas cette proposition "demonter" ou "safely remove",
dans /media/ => cleusb sous Konqueror.

André



Re: queixa de apt-get, no té espai el pobret.

2016-01-22 Thread Ricard Pradell
Hola,

Gràcies als vostres suggeriments sobre els inodes, vaig poder trobar que el
culpable era l'eina de vigilància amb càmeres Zoneminder, que per una mala
programació dels filtres i els modes de gravació (mea culpa tot) em va
omplir el disc amb 32 milions d'arxius, màxim nº de inodes del meu disc.

Gràcies novament

Ricard

El dia 16 de gener de 2016, 13:36, Alex Muntada  ha escrit:

> Normalment els inodes es gasten quan tens moltes versions del nucli i lws
> capçaleres corresponents. Purgant les més antigues s'alliberaran inodes:
>
> $ sudo apt-get autoremove --purge
>
> Si et trobes que no pots fer-ho amb apt-get perquè intenta acabar alguna
> actualització pendent, fes-ho directament amb dpkg.
>
> Salut,
> Alex
>


Re: Books Inquiry

2016-01-22 Thread Adam Wilson
On Thu, 21 Jan 2016 13:58:11 -0700 Bob Holtzman  wrote:

> On Thu, Jan 21, 2016 at 05:50:07AM +0300, Adam Wilson wrote:
> > On Wed, 20 Jan 2016 14:36:52 -0700 Bob Holtzman 
> > wrote:
> > 
> > > On Wed, Jan 20, 2016 at 06:43:31PM +, mohammad Harun wrote:
> > > > Sir 
> > > >  
> > > > Is there any book/guide/tutorial about how to use GUI (graphical
> > > > user interface) or Mouse in Debian ?
> > > > 
> > > > It's hard to know how to download Debian ? though I tried many
> > > > links on your download page but still don't know what to
> > > > download & how to download.
> > > > 
> > > > I am using Pentium 4 CPU 3.2GHz and 3 GB of Ram & 32 bit
> > > > computer. I run both Window xp & Windows 7 on it & have 80 GB
> > > > hard disk drive.
> > > > 
> > > > but I can't understand on download page terms like i386
> > > > etc
> > > 
> > > Google is your friend.
> > 
> > Google isn't your friend, but DuckDuckGo is.
> > https://stallman.org/google.html
> 
> Actually, I'm told that ixquick (what I use) is more secure. Sorry
> that I don't have a link for this.

Searx is great too: https://searx.laquadrature.net/. This is the link
for ixquick: https://ixquick.com/.



Re: getting sound in Sid

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 12:12:16PM +0300, Adam Wilson wrote:
> On Fri, 22 Jan 2016 08:42:49 +0100  wrote:
> 
> > BTW: I have sound, am running a combination of stable and unstable
> 
> ??

As in: base system is stable, some packages from unstable. Some call it
a FrankenDebian[1], but it works if you tread carefully.

[1] 

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlah+N0ACgkQBcgs9XrR2kabAgCcD2yzhN+jbXq6/h3ndkAbcTij
qUwAn3ec9bdFCFtOEQYutqroQavc0h+q
=8VmU
-END PGP SIGNATURE-



Re: getting sound in Sid

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jan 21, 2016 at 10:10:45PM -0500, Charles Kroeger wrote:
> On Thu, 21 Jan 2016 23:00:02 +0100
> Floris  wrote:
> 
> > Op Thu, 21 Jan 2016 22:25:20 +0100 schreef Haines Brown  
> > :
> > 
> > > I apparently have ALSA on Debian Sid on a Thinkpad, or at least
> > > alsa-mixer seems set up correctly. But $ speaker-test makes no sound.
> > >
> > > # lspci | grep audio returns nothing. So I wondered if alsa drivers are
> > > installed. Soundcore is installed, but I discovered there is no longer
> > > any alsa-modules package.
> > 
> > The alsa modules are named snd_***
> > You can check your loaded modules with
> > $ lsmod | grep snd
> > 
> > >
> > > In Sid has ALSA been replaced by pavucontrol? To get sound, must I
> > > install it?
> > >
> > Alsa is build-in in the kernel.
> > pavucontrol is just a gui for the pulseaudio mixer. It is up to you
> > if you install it or use an other mixer
> > 
> > Floris
> 
> First using # dpkg -l grep | alsa
> everything listed, remove with # dpkg -P (packages) You can list them all 
> with a
> space between each for a sequential purge. Copy and paste is useful here.
> 
> then:
> 
> apt-get install pavucontrol
> 
> I don't know why but this solution got sound working again for me after a long
> fight with different configuration files that controlled ALSA.

Good for you.

> pavucontrol might just be another mixer

No, no. It's just the "mixer GUI for pulseaudio"
>but it's more than that because it will
> bring with it those necessary things to have sound on your computer (again) 
> The
> ALSA era is now over for we the unstable. pavucontrol will likely find your
> sound output device when it installs.

Again, no. ALSA is a driver infrastructure. Pulseaudio is a sound daemon (and
sits on top of -- among other things) ALSA. In your case, you are most probably
using both (unless you're doing sound over the net, for example).

What makes things a bit confusing is that ALSA also provides some user-space
tools.

BTW: I have sound, am running a combination of stable and unstable and
have no pulseaudio. So it's quite doable.

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlah3XkACgkQBcgs9XrR2kbKMwCbBstveJZyPxasopaM2wNelyrG
URoAn1sBd2v821aqpd0q3kzGLbrtrkRg
=v2W8
-END PGP SIGNATURE-



Re: IMPORTEND squid3 stable needs update

2016-01-22 Thread Luigi Gangitano
Hi,

The link you provided refers to an issue with proxy certificates for SSL 
interception. This feature is disabled in Debian squid3 package due to 
licensing issues with OpenSSL, thus this is not a bug in Debian squid3 packages.

The only way this bug could affect a Debian user would be if the user had 
recompiled squid3 with OpenSSL supporto. I’m sure you understand that we cannot 
provide support for any custom built package.

Is there any other security issue in Debian squid3 package that you are aware 
of?

Squid3 in Debian is in very good shape because Amos Jeffrey, one of the 
upstream developers is directly involved in packaging squid3 for Debian and is 
doing an excellent job keeping up with upstream fixes.

Best regards,

L

--
Luigi Gangitano -- > -- 
>
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26
GPG: 4096R/2BA97CED: 8D48 5A35 FF1E 6EB7 90E5  0F6D 0284 F20C 2BA9 7CED

> Il giorno 22 gen 2016, alle ore 09:20, startrekfan  
> ha scritto:
> 
> I didn't subscribed to the mailing list. So please put my mail address into 
> cc. thanks.
> 
> I think I found a security issue that is not fixed in debian squid 3.4.8. 
> Squid 3.4 seems to use the sha1 algorithm for dynamic certificate generation. 
> Sha1 is unsafe. This seems to be fixed only in squid 3.5
> 
> ref: https://forum.pfsense.org/index.php?topic=99141.0 
>  (I think it's the same 
> problem with debian jessie. The certificates are only generated with sha1)
> 
> 2016-01-18 12:53 GMT+01:00 Martin Wuertele  >:
> 
> * startrekfan > 
> [2016-01-15 23:39]:
> 
> > squid3 3.4.8 has some security issues(risks)/bugs so an upgrade to 3.5 is
> > actually only a fix of this bugs/security issues. There is no patch for
> > 3.4.8 because it's outdated. Debian Jessie is the current active release.
> > So why not fixing squid3 in Debian Jessie with an stable 3.5 update?
> 
> Not the version in Debian. All bugfixes are backported. Check the
> changelog, security tracker,...
> 
> 
>  
> 
> Diese E-Mail wurde von einem virenfreien Computer gesendet, der von 
> Avast geschützt wird. 
> www.avast.com 
> 
>  


Re: Clavier et trackpad paresseux...

2016-01-22 Thread Arnaud Vandyck
On Wed, 2016-01-20 at 11:33 +0100, jdd wrote:
> Le 20/01/2016 11:28, Arnaud Vandyck a écrit :
> 
> > J'essayerai une Knoppix quand j'aurai le temps mais le problème
> > existe
> > avec d'autres distros (comme mentionné ci-dessus)...
> > 
> il faudrait essayer avec des noyaux d'age différent

Bonjour,

Un collègue a essayé une Ubuntu 12 (live cd) avec un noyau 3.2.0:
premier démarrage clavier et trackpad ok; redémarrage... plus de
trackpad mais le clavier fonctionnait...
On va encore essayer quelques live cd sur le temps de midi...
-- 
Arnaud Vandyck 



Re: getting sound in Sid

2016-01-22 Thread Adam Wilson
On Fri, 22 Jan 2016 08:42:49 +0100  wrote:

> BTW: I have sound, am running a combination of stable and unstable

??



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Floris
Op Fri, 22 Jan 2016 00:10:27 +0100 schreef Jude DaShiell  
:


udev may be having adverse impacts on abilities to play sounds from  
certain cards after reboot.  Anyone interested may find sound devices in  
black listed category they don't want to have black listed.  Correcting  
such black listing for now is beyond my capability since I haven't done  
enough with udev to be safe working with ityet.








Sorry, now I see you have multiple sound cards.


My fault I should have mentioned it, sorry:  That's it!




Since 2015-12-11 my /etc/modprobe/alsa-base.conf ist:
# PCH
options snd-hda-intel index=0 model=auto vid=8086 pid=9c20
# HDMI
options snd-hda-intel index=1 model=auto vid=8086 pid=0a0c

this is (if I remember correctly) from Arch wiki and should
provide a numbering of sound devices such that the analog device
becomes default (first one).  Since then I could hear music, hear
sound from movies but only till a week ago.


If I delete this file and reboot, the numbering of devices is:

 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

Now mplayer -ao alsa:device=hw=1.0 works but aplay wav still does
not, mplayer does not without the command line switch and
interestingly mpd still works.

How to tell linux that the analog device is the default device?
(I'll come back to this mailing list when I actually want to hear
sound through the HDMI device).



Thanks a lot!  This at least gives an explanation!

Ciao; Gregor






3 Options:

1.
from http://alsa.opensrc.org/MultipleCards:

...
The newer "slots=" method

Alternatively, you can use the slot option instead of the index options:
options snd slots=snd-interwave,snd-ens1371

Then, the first slot (#0) is reserved for snd-interwave driver, and the  
second (#1) for snd-ens1371. You can omit index option in each driver if  
slots option is used (although you can still have them at the same time as  
long as they don't conflict).

...

2.
Move the unwanted soundcard to an empty seat:
find your card location with:
$ loginctl seat-status seat0

[long list]
...
/sys/devices/pci:00/:00:1b.0/sound/card0
...
[long list]

Attach the card to an other seat:
sudo loginctl attach seat1 /sys/devices/pci:00/:00:1b.0/sound/card0

Now you can only use the card when you login on seat1, but as long as you  
don't
attach a monitor, mouse and keyboard, the seat won't work. Note root can  
still
access the card as all users in the audio group can. (That why I asked you  
to

remove yourself from the audio group)

3.
Blacklist the module, so nobody can access the card.



Aptitude message.

2016-01-22 Thread Weaver

Hello all,

Am receiving this on 'aptitude update'.
~~
root@Telaman:/home/weaver# aptitude update
Hit http://ftp.au.debian.org/debian unstable InRelease
[ ERR] Reading package lists
E: Unable to parse package file 
/var/lib/apt/lists/ftp.au.debian.org_debian_dists_unstable_contrib_binary-amd64_Packages 
(1)

W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
E: Couldn't rebuild package cache
~~~
I'm able to run the update process without incident, and it finishes 
cleanly.

Is anybody else getting this?
/etc/apt/sources.list is fine, with contrib included as per usual, so I 
can only assume it's unavailable at the server end.


Other than that, there was a power failure during the night that might 
have done some damage, and I might have to begin a data rescue scenario.

Thanks for any info.
Cheers!
Weaver.


--
"It is the duty of the patriot to protect his country from its  
government."

 -- Thomas Paine

Registered Linux User: 554515



Re: Books Inquiry

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 12:20:20PM +0300, Adam Wilson wrote:

[...]

> Searx is great too: https://searx.laquadrature.net/. This is the link
> for ixquick: https://ixquick.com/.

Hey, thanks for this one!

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlah+UEACgkQBcgs9XrR2kYNhACdHveMFzmcoSh9GauFqSKNR0dd
g+0AnRqGVomv0V+fhQe1rwGOKj4YZHn8
=lxi2
-END PGP SIGNATURE-



Re: umount /media/cleusb qu'en root

2016-01-22 Thread andre_debian
On Friday 22 January 2016 19:29:58 andre_deb...@numericable.fr wrote:
> On Friday 22 January 2016 18:58:30 Yann Justdohit wrote:
> > Le 22 janvier 2016 14:50:03 UTC+1, andre_...@numericable.fr a écrit :
> > > Sous Jessie, la clé USB s'ouvre automatiquement,
> > > lorsqu'elle est introduite dans un port usb.
> > > Je peux y lire et écrire, supprimer des fichiers sous Konqueror.
> > > Par contre, je ne peux libérer/démonter la clé USB,
> > > qu'en mode console, en tant que root, par la commande :
> > > # umount /media/cleusb
> > > Comment faire pour démonter la clé USB par son icône
> > > établie sur le bureau, en tant que user ?

J'ai trouvé une solution qui semble fonctionner :
/etc/fstab : "users" à la place de "user"
/dev/sdc1  /media/sdc1  auto  users,noauto,rw 0   0

André



cobbler Preseeding wth two volume groups

2016-01-22 Thread Siwei Zhang
Hi,

I am trying to build two volume groups using Cobbler but failed.
I can only see one volume group created.
I also tried
d-i partman-auto-lvm/new_vg_name string lxc exportvg
and
d-i partman-auto-lvm/new_vg_name multiselect lxc,  exportvg
but failed as well.
What might be the issues?

Regards,

Kevin SZ

d-i partman-auto/choose_recipe select custompartitioning
d-i partman-auto-lvm/new_vg_name string lxc
#d-i partman-auto-lvm/new_vg_name multiselect lxc exportvg
d-i partman-auto/expert_recipe string \
  custompartitioning :: \
  512 1 512 ext2  \
  $primary{ } \
  $bootable{ }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext2 }\
  label{ boot }   \
  mountpoint{ /boot } \
  .   \
  155648 1 155648 ext4\
  $primary{ } \
  method{ lvm }   \
  device{ /dev/sda2 } \
  vg_name{ lxc }  \
  .   \
  2048 1 2048 linux-swap  \
  $lvmok{ } in_vg{ lxc }  \
  lv_name{ swap00 }   \
  method{ swap } format{ }\
  .   \
  153600 1 153600 ext4\
  $lvmok{ } in_vg{ lxc }  \
  lv_name{ root00 }   \
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext4 }\
  label{ root }   \
  mountpoint{ / } \
  .   \
  102400 1 102400 ext4\
  $primary{ } \
  method{ lvm }   \
  device{ /dev/sda3 } \
  vg_name{ exportvg } \
  .   \
  102400 1 102400 ext4\
  $lvmok{ } in_vg{ exportvg } \
  lv_name{ app00 }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext4 }\
  label{ app }\
  mountpoint{ /app }  \
  .   \


Re: Libre graphics could become the standard if we push right now

2016-01-22 Thread jdd

Le 22/01/2016 17:34, Alberto Salvia Novella a écrit :

libre hardware.

that's far from new

https://en.wikipedia.org/wiki/Open-source_hardware

http://www.gnu.org/philosophy/free-hardware-designs.en.html

I remember efforts done to have free cpu, but I don't think significant 
result have been achieved


I guess the better step is

http://www.excamera.com/files/j1.pdf

but I couldn't find the license for this work

jdd



Re: Books Inquiry

2016-01-22 Thread Bob Holtzman
On Thu, Jan 21, 2016 at 10:06:29PM +, Lisi Reisz wrote:
> On Thursday 21 January 2016 20:58:11 Bob Holtzman wrote:
> > On Thu, Jan 21, 2016 at 05:50:07AM +0300, Adam Wilson wrote:
> > > On Wed, 20 Jan 2016 14:36:52 -0700 Bob Holtzman  wrote:
> 
> > > >
> > > > Google is your friend.
> > >
> > > Google isn't your friend, but DuckDuckGo is.
> > > https://stallman.org/google.html
> >
> > Actually, I'm told that ixquick (what I use) is more secure. Sorry that I
> > don't have a link for this.
> 
> https://www.ixquick.com/uk/
> 
Apologies. I wasn't referring to the ixquick url. I was referring to the 
article 
talking about the security of different search addons.
  



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Gene Heskett
On Friday 22 January 2016 14:52:35 Floris wrote:

> Op Fri, 22 Jan 2016 15:40:01 +0100 schreef Gene Heskett
>
> :
> >> > 2.
> >> > Move the unwanted soundcard to an empty seat:
> >> > find your card location with:
> >> > $ loginctl seat-status seat0
> >
> > That command does not exist on wheezy.  Sounds useful, what repo
> > option do I need to enable to get it?
>
> loginctl is part of systemd
>
> Floris

Ahh, that explains that. And I'm stuck on wheezy until the LinuxCNC folks 
get around to rebasing it on a newer release.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



cobbler Preseeding wth two volume groups

2016-01-22 Thread Siwei Zhang
Hi,

I am trying to build two volume groups using Cobbler but failed.
I can only see one volume group created.
I also tried
d-i partman-auto-lvm/new_vg_name string lxc exportvg
and
d-i partman-auto-lvm/new_vg_name multiselect lxc,  exportvg
but failed as well.
What might be the issues?

Regards,

Kevin SZ

d-i partman-auto/choose_recipe select custompartitioning
d-i partman-auto-lvm/new_vg_name string lxc
#d-i partman-auto-lvm/new_vg_name multiselect lxc exportvg
d-i partman-auto/expert_recipe string \
  custompartitioning :: \
  512 1 512 ext2  \
  $primary{ } \
  $bootable{ }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext2 }\
  label{ boot }   \
  mountpoint{ /boot } \
  .   \
  155648 1 155648 ext4\
  $primary{ } \
  method{ lvm }   \
  device{ /dev/sda2 } \
  vg_name{ lxc }  \
  .   \
  2048 1 2048 linux-swap  \
  $lvmok{ } in_vg{ lxc }  \
  lv_name{ swap00 }   \
  method{ swap } format{ }\
  .   \
  153600 1 153600 ext4\
  $lvmok{ } in_vg{ lxc }  \
  lv_name{ root00 }   \
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext4 }\
  label{ root }   \
  mountpoint{ / } \
  .   \
  102400 1 102400 ext4\
  $primary{ } \
  method{ lvm }   \
  device{ /dev/sda3 } \
  vg_name{ exportvg } \
  .   \
  102400 1 102400 ext4\
  $lvmok{ } in_vg{ exportvg } \
  lv_name{ app00 }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext4 }\
  label{ app }\
  mountpoint{ /app }  \
  .   \


Re: problems running backup

2016-01-22 Thread Bob Holtzman
On Thu, Jan 21, 2016 at 09:54:27PM +0100, Ulf Volmer wrote:
> On 01/20/2016 10:33 PM, Bob Holtzman wrote:
> >>On 12/3/15, Bob Holtzman  wrote:
> 
> >>>rsync: mkdir "/media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop"
> >>>failed: No such file or directory (2)
> >>>rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1]
> >>>
> >>>That second line is strange as I had just created the Jessie-laptop
> >>>directory.
> 
> >1) Target was external HD and was mounted.
> 
> Which filesystem do you use on your target drive?

At the moment I can't check this but I seem to recall formatting the external 
HD to ext3.
No matter what it is, it always worked with previous versions of debian and 
ubuntu.



Re: apt? apt-get?

2016-01-22 Thread Alex ARNAUD

On 01/22/2016 12:43 AM, MENGUAL Jean-Philippe wrote:

Bonjour à tous,

Bonjour

A une époque, Debian recommandait aptitude. Puis, apt-get. Mais quid de
apt? Est-ce aussi différent d'apt-get qu'aptitude? Est-ce recommandé ou
n'était-ce pas la norme officielle?
Il semblerait (d'après le man) qu'APT et APT-GET/APT-CACHE n'est pas les 
mêmes finalités. APT ne serait qu'un front-end aux deux commandes 
précédentes et est sensé être plus facile pour l'utilisateur donc je 
pense qu'ils sont complémentaire.


Cordialement.

--
Alex ARNAUD



Re: IMPORTEND squid3 stable needs update

2016-01-22 Thread startrekfan
I didn't subscribed to the mailing list. So* please put my mail address
into cc*. thanks.

I think I found a security issue that is not fixed in debian squid 3.4.8.
Squid 3.4 seems to use the sha1 algorithm for dynamic certificate
generation. Sha1 is unsafe. This seems to be fixed only in squid 3.5

ref: https://forum.pfsense.org/index.php?topic=99141.0 (I think it's the
same problem with debian jessie. The certificates are only generated with
sha1)

2016-01-18 12:53 GMT+01:00 Martin Wuertele :

>
> * startrekfan  [2016-01-15 23:39]:
>
> > squid3 3.4.8 has some security issues(risks)/bugs so an upgrade to 3.5 is
> > actually only a fix of this bugs/security issues. There is no patch for
> > 3.4.8 because it's outdated. Debian Jessie is the current active release.
> > So why not fixing squid3 in Debian Jessie with an stable 3.5 update?
>
> Not the version in Debian. All bugfixes are backported. Check the
> changelog, security tracker,...
>
>

Diese
E-Mail wurde von einem virenfreien Computer gesendet, der von Avast
geschützt wird.
www.avast.com

<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


apt? apt-get?

2016-01-22 Thread MENGUAL Jean-Philippe
Bonjour à tous,

A une époque, Debian recommandait aptitude. Puis, apt-get. Mais quid de
apt? Est-ce aussi différent d'apt-get qu'aptitude? Est-ce recommandé ou
n'était-ce pas la norme officielle?

Merci de vos retours,

Amitiés,

-- 

Jean-Philippe MENGUAL

HYPRA, progressons ensemble

Tél.: 01 84 73 06 61
Mail: cont...@hypra.fr

Site Web: http://hypra.fr



Re: [Mal «résolu» avec du non free] Network controller [0280]: Broadcom Corporation BCM4312

2016-01-22 Thread didier gaumet

Bonjour,

le chipset wifi Broadcom 4312 (LP-PHY) fonctionne bien sous Debian
Jessie avec le pilote libre b43 mais a besoin pour cela d'un firmware
non-libre qui est disponible dans le paquet firmware-b43-installer (pas
firmware-b43legacy-installer comme dans les précédentes versions de Debian).





Re: apt? apt-get?

2016-01-22 Thread Sébastien NOBILI
Bonjour,

Le vendredi 22 janvier 2016 à  9:07, Alex ARNAUD a écrit :
> On 01/22/2016 12:43 AM, MENGUAL Jean-Philippe wrote:
> >A une époque, Debian recommandait aptitude. Puis, apt-get. Mais quid de
> >apt? Est-ce aussi différent d'apt-get qu'aptitude? Est-ce recommandé ou
> >n'était-ce pas la norme officielle?
> Il semblerait (d'après le man) qu'APT et APT-GET/APT-CACHE n'est pas les
> mêmes finalités. APT ne serait qu'un front-end aux deux commandes
> précédentes et est sensé être plus facile pour l'utilisateur donc je pense
> qu'ils sont complémentaire.

Il y deux concepts différents (mais liés) ici.

« APT » (en majuscules), « Advanced Packaging Tool », qui correspond à
l'infrastructure qui va permettre à un système de récupérer des paquets
(binaires ou sources) depuis des sources (en lignes ou bien sur un médium
physique).

« apt-get », « aptitude » et depuis Jessie « apt » sont des « frontends », des
interfaces qui permettent à l'utilisateur d'interagir avec APT.

« apt-get » a été le premier. J'avais lu qu'il était initialement destiné à
vérifier le bon fonctionnement d'APT plus qu'à être vraiment utilisé pour
administrer un système. Dans la pratique beaucoup ont utilisé (et beaucoup
utilisent toujours) cet outil.

« aptitude » est venu après, proposant des fonctionnalités supplémentaires
(motifs de recherche complexes, résolution des dépendances plus poussée et
mémorisation des paquets automatiquement installés par le jeu des dépendances
pour permettre leur suppression automatique lorsqu'ils devenaient inutiles).

Il a été recommandé d'utiliser aptitude du fait de ses capacités supérieures à
ce moment-là. Toujours à ce moment-là, il était périlleux de mixer les deux.

apt-get a évolué et a notamment intégré la mémorisation des paquets
automatiquement installés, limitant l'intérêt d'aptitude. C'est à ce moment que
la recommandation d'utiliser aptitude a été retirée au profit d'apt-get qui
permettait alors de simplifier les tests dans les procédures de mises-à-jour.

« apt » est arrivé tout récemment (avec Jessie). Il ne fournit pas encore
l'ensemble des fonctionnalités des autres outils et son API n'est pas encore
stable (peut changer dans les prochaines versions), il n'est donc pas recommandé
de l'utiliser dans des scripts. Son intérêt par rapport aux autres :
- on use moins le clavier en tapant la commande,
- on a une barre de progression qui nous indique où en est le traitement.

Quoi qu'il en soit, aujourd'hui, on peut allègrement mixer ces trois commandes,
je le fais au quotidien :
- aptitude pour une recherche ou pour une désinstallation en masse selon un
  motif de recherche,
- apt pour la mise-à-jour sécurité et l'installation d'un paquet,
- apt-get pour le « autoremove » et le « clean ».

Sébastien



Re: How to build Debian-based wireless router

2016-01-22 Thread Petter Adsen
On Thu, 21 Jan 2016 21:19:54 -0800
GC  wrote:

> There's a lot of great tutorials on how to build your own router
> (wired) but I can't seem to find anything that covers steps on how to
> build your own wireless router? Anyone have some advice on this topic
> or can share some articles, step-by-step tutorials, links, etc on
> this?

I would think that most people who are interested in hacking their
wireless routers gets a model that supports one of the third-party
firmwares - I bought a TP-Link Archer C5 and installed OpenWRT on it.
This has worked very well for me, but of course I don't know what your
needs are.

OpenWRT has a basic packaging system, not as nice as dpkg/APT, but it
does the job. Going this route will get you hardware that is built for
the job, while still giving you a quite flexible system.

I know that OpenWRT is available for x86, but I've never tried it. Look
around their website[1], there are tons of documentation there. If there
is one place that would have a lot of the information you would need
for building such a system from scratch, I would guess this would be it.
Since OpenWRT uses Free software and is based on Linux, you should be
able to translate a lot of it to a Debian system.

There are also many friendly and helpful people on their forum[2] who
know a *lot* about wifi, I suggest you ask there for advice.

Petter

[1] https://openwrt.org/
[2] https://forum.openwrt.org/

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Bloquear Youtube pelo proxy autenticado por usuários (ainda!!!!!)

2016-01-22 Thread Lucas Castro
Eu uso squid+ssl_bump,
e redireciono todo trafego 80 e 443 para portas especificas configurada
no proxy.
http://wiki.squid-cache.org/ConfigExamples/Intercept/SslBumpExplicit

Outra forma de fazer, mas não acho muito interessante,
é configurar servidor de dns interno, e criar views com as zonas do
endereços que desejar "bloqueiar"
e apontar, por exemplo youtube.com, e direcionar para seu servidor
local, ou pra lugar nenhum.

On 06-01-2016 15:58, Paulo wrote:
> J., Boa Tarde.
>
> Já tive dores de cabeça como esta que está passando.
> Mas é simples de se resolver.
>
> No navegador tudo (http e https irá para o ip-do-proxy e porta-do-proxy).
>
> No proxy basta colocar uma regra que a porta 443 e 80 que rejeite.
> Exemplos:
> IPTABLES -A INPUT -p tcp -s ip-da-maquina_ou_range --dport 80 -j REJECT
> IPTABLES -A INPUT -p tcp -s ip-da-maquina_ou_range --dport 443 -j REJECT
Não vejo como isso pode funcionar, pois o trafego que passa pelo
firewall, não passa pela INPUT, e sim por FORWARD.
>
> Para bloquear a todos da rede vai usar o range (Exemplo:
> 192.168.0.0/24) = [ de 192.168.0.1 até 192.168.0.254 ].
>
> Para bloquear por máquina vai usar o ip-da-maquina (Exemplo: 192.168.0.1)
>
> Para liberar uma máquina não coloque o ip da mesma nas regras de
> rejeição, contanto que ela não faça parte do range de ip, ou libere o
> ip da mesma antes da regra de rejeição trocando o REJECT por ACCEPT.
>
> Consulte se as regras ficaram na ordem desejada com o comando IPTABLES
> -S ou IPTABLES -n -L
>
> As máquinas terão que ter IP fixo, ou o TTL (Tempo de vida do DHCP)
> será maior que 30 dias.
>
> Assim se um usuário tirar o proxy  do navegador ele não navegará para
> fora.
>
> Espero ter ajudado,
>
> Paulo.
>
>
> Em 06/01/2016 16:26, Keppler escreveu:
>> Boa tarde pessoal.
>> Estou procurando há um tempão na internet como bloquear sites "https"
>> e não estou conseguindo, por exemplo, o que está me dando dor de
>> cabeça é o YOUTUBE!!
>>
>> Vou tentar explicar o que já fiz e como é minha estrutura:
>>
>> 1) Estrutura: Squid/Proxy autenticando por usuários:
>> Se o usuários desmarca a solicitação do proxy nos browsers e depois
>> colocar: https://www.youtube.com aí já era!...eles conseguem navegar.
>>
>> 2) Já tentei, via iptables, o seguinte:
>>
>> for ips_liberados in `cat /root/Firewall/IPS_LIBERADOS_YOUTUBE` ; do
>> $iptables -I FORWARD -i $LAN -m string --algo bm --string
>> "youtube.com" -j DROP ! -s $ips_liberados
>> $iptables -I FORWARD -i $LAN -m string --algo bm --string
>> "twitter.com" -j DROP ! -s $ips_liberados
>> done
>>
>> Nas regras acima estou tentando bloquear o YOUTUBE para a rede toda,
>> com exceção de alguns IPs que estão no arquivo
>> "/root/Firewall/IPS_LIBERADOS_YOUTUBE"
>>
>>
>> Na verdade, este é umas das tentativas minha, pois tentei diversas
>> variações dessas regras e não deu certo. O maximo que consegui foi
>> bloquear todo o acesso, inclusive bloqueando o Google. E na melhor
>> das vezes, quando consegui liberar para os IPs que eu queria mas
>> ficar para lenta a navegação, principalmente quando os sites
>> "mencionam" ou usam algumas APIs do Google.
>>
>>
>> Enfim, o que vocês estão fazendo para solucionar este problema, ou
>> seja, bloquear o Youtube e somente liberar para algumas máquinas da
>> rede. isto, claro, de forma eficiente!
>>
>> grato,
>> J.
>>
>



Re: Aptitude message.

2016-01-22 Thread Brian
On Fri 22 Jan 2016 at 20:55:05 +1000, Weaver wrote:

> Am receiving this on 'aptitude update'.
> ~~
> root@Telaman:/home/weaver# aptitude update
> Hit http://ftp.au.debian.org/debian unstable InRelease
> [ ERR] Reading package lists
> E: Unable to parse package file 
> /var/lib/apt/lists/ftp.au.debian.org_debian_dists_unstable_contrib_binary-amd64_Packages
> (1)
> W: You may want to run apt-get update to correct these problems
> E: The package cache file is corrupted
> E: Couldn't rebuild package cache
> ~~~
> I'm able to run the update process without incident, and it finishes
> cleanly.
> Is anybody else getting this?
> /etc/apt/sources.list is fine, with contrib included as per usual, so I can
> only assume it's unavailable at the server end.
> 
> Other than that, there was a power failure during the night that might have
> done some damage, and I might have to begin a data rescue scenario.

Comment out everything in sources.list. Update. /var/lib/apt/lists/ should
now have only /partial and lock.

Uncomment a ftp.au.debian.org line, perhaps without contrib, Update.

Continue adding to sources.list and updating

How does that go?



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Jude DaShiell
That has to be done inside of udev, udev is the one ring that binds them 
all.


On Fri, 22 Jan 2016, Floris wrote:


Date: Fri, 22 Jan 2016 04:22:50
From: Floris 
To: debian-user@lists.debian.org
Subject: Re: ?? user in group audio -- but only root can play sound
Resent-Date: Fri, 22 Jan 2016 09:23:08 + (UTC)
Resent-From: debian-user@lists.debian.org

Op Fri, 22 Jan 2016 00:10:27 +0100 schreef Jude DaShiell 
:


udev may be having adverse impacts on abilities to play sounds from certain 
cards after reboot.  Anyone interested may find sound devices in black 
listed category they don't want to have black listed.  Correcting such 
black listing for now is beyond my capability since I haven't done enough 
with udev to be safe working with ityet.








Sorry, now I see you have multiple sound cards.


My fault I should have mentioned it, sorry:  That's it!




Since 2015-12-11 my /etc/modprobe/alsa-base.conf ist:
# PCH
options snd-hda-intel index=0 model=auto vid=8086 pid=9c20
# HDMI
options snd-hda-intel index=1 model=auto vid=8086 pid=0a0c

this is (if I remember correctly) from Arch wiki and should
provide a numbering of sound devices such that the analog device
becomes default (first one).  Since then I could hear music, hear
sound from movies but only till a week ago.


If I delete this file and reboot, the numbering of devices is:

 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Now mplayer -ao alsa:device=hw=1.0 works but aplay wav still does
not, mplayer does not without the command line switch and
interestingly mpd still works.

How to tell linux that the analog device is the default device?
(I'll come back to this mailing list when I actually want to hear
sound through the HDMI device).



Thanks a lot!  This at least gives an explanation!

Ciao; Gregor






3 Options:

1.
from http://alsa.opensrc.org/MultipleCards:

...
The newer "slots=" method

Alternatively, you can use the slot option instead of the index options:
options snd slots=snd-interwave,snd-ens1371

Then, the first slot (#0) is reserved for snd-interwave driver, and the 
second (#1) for snd-ens1371. You can omit index option in each driver if 
slots option is used (although you can still have them at the same time as 
long as they don't conflict).

...

2.
Move the unwanted soundcard to an empty seat:
find your card location with:
$ loginctl seat-status seat0

[long list]
...
/sys/devices/pci:00/:00:1b.0/sound/card0
...
[long list]

Attach the card to an other seat:
sudo loginctl attach seat1 /sys/devices/pci:00/:00:1b.0/sound/card0

Now you can only use the card when you login on seat1, but as long as you 
don't
attach a monitor, mouse and keyboard, the seat won't work. Note root can 
still

access the card as all users in the audio group can. (That why I asked you to
remove yourself from the audio group)

3.
Blacklist the module, so nobody can access the card.



--



Re: Bloquear Youtube pelo proxy autenticado por usuários (ainda!!!!!)

2016-01-22 Thread Rodrigo Germano de Paula
usando firewall somente a máquina do proxy teria acesso a internet pelas
portas http 80 e https. E nela você configura as ACL's. Vou dar um exemplo
usando horários, em uma rede específica para bloquear sites de redes
sociais, como youtube, facebook twitter

acl rede_academica src 192.168.32.0/24

RESTRICAO de sites por horario academica
acl h_manha_academica time MTWHF  08:00-12:00
acl h_tarde_academica time MTWHF 14:00-18:00
acl sites_hrcomercial_academica url_regex -i
"/etc/squid3/sites_bloq_hrcomercial_academica"
http_access deny rede_academica sites_hrcomercial_academica
h_manha_academica
http_access deny rede_academica sites_hrcomercial_academica
h_tarde_academica
deny_info http://intranet/bloqueio/hrcom.php h_manha_academica
deny_info http://intranet/bloqueio/hrcom.php h_tarde_academica

http_access deny !CONNECT rede_academica sites_hrcomercial_academica
h_manha_academica
http_access deny !CONNECT rede_academica sites_hrcomercial_academica
h_tarde_academica


O bloqueio de https acontece justamente na !connect pois não permite abrir
a conexão SSL com o dito site, sem essa tag o acesso https aconteceria
normalmente iria bloquear somente no http (http_access).

*Rodrigo Germano de Paula*
Técnico em Tecnologia da Informação
IFB Campus Planaltina
Contato: (61) 21962601

Em 22 de janeiro de 2016 10:28, Lucas Castro 
escreveu:

> Eu uso squid+ssl_bump,
> e redireciono todo trafego 80 e 443 para portas especificas configurada
> no proxy.
> http://wiki.squid-cache.org/ConfigExamples/Intercept/SslBumpExplicit
>
> Outra forma de fazer, mas não acho muito interessante,
> é configurar servidor de dns interno, e criar views com as zonas do
> endereços que desejar "bloqueiar"
> e apontar, por exemplo youtube.com, e direcionar para seu servidor
> local, ou pra lugar nenhum.
>
> On 06-01-2016 15:58, Paulo wrote:
> > J., Boa Tarde.
> >
> > Já tive dores de cabeça como esta que está passando.
> > Mas é simples de se resolver.
> >
> > No navegador tudo (http e https irá para o ip-do-proxy e porta-do-proxy).
> >
> > No proxy basta colocar uma regra que a porta 443 e 80 que rejeite.
> > Exemplos:
> > IPTABLES -A INPUT -p tcp -s ip-da-maquina_ou_range --dport 80 -j REJECT
> > IPTABLES -A INPUT -p tcp -s ip-da-maquina_ou_range --dport 443 -j REJECT
> Não vejo como isso pode funcionar, pois o trafego que passa pelo
> firewall, não passa pela INPUT, e sim por FORWARD.
> >
> > Para bloquear a todos da rede vai usar o range (Exemplo:
> > 192.168.0.0/24) = [ de 192.168.0.1 até 192.168.0.254 ].
> >
> > Para bloquear por máquina vai usar o ip-da-maquina (Exemplo: 192.168.0.1)
> >
> > Para liberar uma máquina não coloque o ip da mesma nas regras de
> > rejeição, contanto que ela não faça parte do range de ip, ou libere o
> > ip da mesma antes da regra de rejeição trocando o REJECT por ACCEPT.
> >
> > Consulte se as regras ficaram na ordem desejada com o comando IPTABLES
> > -S ou IPTABLES -n -L
> >
> > As máquinas terão que ter IP fixo, ou o TTL (Tempo de vida do DHCP)
> > será maior que 30 dias.
> >
> > Assim se um usuário tirar o proxy  do navegador ele não navegará para
> > fora.
> >
> > Espero ter ajudado,
> >
> > Paulo.
> >
> >
> > Em 06/01/2016 16:26, Keppler escreveu:
> >> Boa tarde pessoal.
> >> Estou procurando há um tempão na internet como bloquear sites "https"
> >> e não estou conseguindo, por exemplo, o que está me dando dor de
> >> cabeça é o YOUTUBE!!
> >>
> >> Vou tentar explicar o que já fiz e como é minha estrutura:
> >>
> >> 1) Estrutura: Squid/Proxy autenticando por usuários:
> >> Se o usuários desmarca a solicitação do proxy nos browsers e depois
> >> colocar: https://www.youtube.com aí já era!...eles conseguem navegar.
> >>
> >> 2) Já tentei, via iptables, o seguinte:
> >>
> >> for ips_liberados in `cat /root/Firewall/IPS_LIBERADOS_YOUTUBE` ; do
> >> $iptables -I FORWARD -i $LAN -m string --algo bm --string
> >> "youtube.com" -j DROP ! -s $ips_liberados
> >> $iptables -I FORWARD -i $LAN -m string --algo bm --string
> >> "twitter.com" -j DROP ! -s $ips_liberados
> >> done
> >>
> >> Nas regras acima estou tentando bloquear o YOUTUBE para a rede toda,
> >> com exceção de alguns IPs que estão no arquivo
> >> "/root/Firewall/IPS_LIBERADOS_YOUTUBE"
> >>
> >>
> >> Na verdade, este é umas das tentativas minha, pois tentei diversas
> >> variações dessas regras e não deu certo. O maximo que consegui foi
> >> bloquear todo o acesso, inclusive bloqueando o Google. E na melhor
> >> das vezes, quando consegui liberar para os IPs que eu queria mas
> >> ficar para lenta a navegação, principalmente quando os sites
> >> "mencionam" ou usam algumas APIs do Google.
> >>
> >>
> >> Enfim, o que vocês estão fazendo para solucionar este problema, ou
> >> seja, bloquear o Youtube e somente liberar para algumas máquinas da
> >> rede. isto, claro, de forma eficiente!
> >>
> >> grato,
> >> J.
> >>
> >
>
>


¿Que version puedo descargar de Emacs para instalar mediante dpkg -i?

2016-01-22 Thread Debia Linux
Listeros:

Me gustaria bajar Emacs para arquitectura i386 y poderlo instalar
mediante dpkg -i y esto se hace si tengo el paquete emacs con
extension .deb

Comunmente, lo instalo mediante

apt-get install emacs

Y no tengo ningun problema, pero en la maquina que debo instalarlo, no
tiene conexion a internet, ni conexion a red, esta solita, como una
isla desierta.

Al ingresar a https://packages.debian.org/jessie/emacs me doy cuenta
que hay tres versiones (por asi decirlo) pero para ser honesto, no se
que version se instala cuando lo hago mediante apt-get.

Entonces sabiendo que ustedes son los reyes de la informatica, pues
pregunto ¿Cual es la version mas completa que puedo descargar?
(recuerden que no tengo conexion a internet para estar bajando algunas
librerias que me pueda pedir cuando necesite hacer alguna tarea).

Es claro que las que estan marcadas con GUI, se refiere a que tienen a
parte de la aplicacion en consola, tienen la interfaz grafica.

¿Que diferencia hay entre una y otra y cual sería la mejor para
instalar en la distro Jessie Stable?.

Gracias por sus aportes.

Debianeromx



Re: Libre graphics could become the standard if we push right now

2016-01-22 Thread Joel Rees
On Sat, Jan 23, 2016 at 7:15 AM, jdd  wrote:
> Le 22/01/2016 17:34, Alberto Salvia Novella a écrit :
>>
>> libre hardware.
>
> that's far from new
>
> https://en.wikipedia.org/wiki/Open-source_hardware
>
> http://www.gnu.org/philosophy/free-hardware-designs.en.html
>
> I remember efforts done to have free cpu, but I don't think significant
> result have been achieved
>
> I guess the better step is
>
> http://www.excamera.com/files/j1.pdf

Oh, dear, another FORTH nut.

:)

> but I couldn't find the license for this work
>
> jdd
>

Well, in the pdf for his Euroforth 2010 presentation on his J1
processor, he asserts the BSD license.

I assume he means BSD template, unless he works for UC Berkeley.
Judging from the license in his git repository for SWAPFORTH, it
appears that he does mean BSD template.

I'll have to see if I can contact him, since I'm another FORTH nut, myself.

It looks like the development tools for his processors run on Debian.
Maybe they'll also run on openbsd.

(To make the relevance to the thread explicit, some of the stuff on
Bowman's site, which jdd linked to above, includes examples of a Forth
processor being used as a graphics processor (8 bit). This stuff
really isn't rocket science, guys, no matter how much Intel wants us
to believe it's ever too hard for ordinary people like us to even
bother trying to understand.)

Thanks for the link.

-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html



Re: 1 not upgraded

2016-01-22 Thread Jan Claeys
Huub Reuver schreef op za 16-01-2016 om 11:24 [+0100]:
> waarom bsdutils systemd functionalitei nodig heeft ontgaat mij
> daarbij volledig, omdat systemd niets net bsd te maken heeft IMHO.

'logger' heeft een --journald optie

Ik weet niet hoe dat geïmplementeerd is (of libsystemd altijd geladen
wordt of enkel indien die optie gebruikt wordt), en of het dus mogelijk
is om die afhankelijkheid van libsystemd optioneel te maken...



-- 
Jan Claeys




[résolu]Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Christophe De Natale
Le samedi 23 janvier 2016 à 06:33 +0100, Bernard Schoenacker a écrit :
> Le Fri, 22 Jan 2016 18:55:37 +0100,
> Christophe De Natale  a écrit :
> 
> > Bonsoir à vous,
> > 
> > Sur une installation fraîche de Jessie, je n'ai pas de droits
> > d'administration (console en gui ou tty).
> > Exemple :
> > sudo ifconfig = bash : sudo : commande introuvable
> > 
> > 
> > Pour info, je n'active pas le compte root à l'installation et c'est
> > donc mon premier utilisateur qui a les droits (normalement).
> > 
> > Une idée svp ? (la mienne, c'est que l'installation a foiré mais je ne
> > peux pas consulter les logs)
> > Merci et bonne soirée,
> 
> bonjour,
> 
> sudo ifconfig = bash
> Mot de passe [sudo] de bernard :
> bash: Hôte inconnu
> ifconfig: `--help' gives usage information.
> 
> 
> ne serait pas plutôt (?):
> 
> 
> sudo -s ifconfig = 192.168.x.x
> 
> ou
> 
> sudo bash ifconfig = 192.168.x.x
> 
> 
> en tout cas si sudo est installé
> 
> 
> slt
> bernard
> 

Je me suis mal exprimé, désolé de t'avoir enduit d'erreurs :D
Je voulais dire : lorsque je saisi "sudo ifconfig" cela donnait :
"bash : sudo : commande introuvable"

Et effectivement le paquet sudo n'était pas installé.

Bon we,
-- 
Christophe De Natale 



Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Bernard Schoenacker
Le Fri, 22 Jan 2016 18:55:37 +0100,
Christophe De Natale  a écrit :

> Bonsoir à vous,
> 
> Sur une installation fraîche de Jessie, je n'ai pas de droits
> d'administration (console en gui ou tty).
> Exemple :
> sudo ifconfig = bash : sudo : commande introuvable
> 
> 
> Pour info, je n'active pas le compte root à l'installation et c'est
> donc mon premier utilisateur qui a les droits (normalement).
> 
> Une idée svp ? (la mienne, c'est que l'installation a foiré mais je ne
> peux pas consulter les logs)
> Merci et bonne soirée,

bonjour,

sudo ifconfig = bash
Mot de passe [sudo] de bernard :
bash: Hôte inconnu
ifconfig: `--help' gives usage information.


ne serait pas plutôt (?):


sudo -s ifconfig = 192.168.x.x

ou

sudo bash ifconfig = 192.168.x.x


en tout cas si sudo est installé


slt
bernard



Re: compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Christophe De Natale
Le samedi 23 janvier 2016 à 01:12 +0100, merkeda...@vmail.me a écrit :
> *Pour info, je n'active pas le compte root à l'installation et c'est 
> donc mon premier utilisateur qui a les droits (normalement).
> 
> Debian desktop :
> moi je n'ai pas  , j'ai  ; ce qui me convient tout à fait.
> j'ai dû totalement ne rien comprendre depuis le départ à debian car , 
> d'une part, à l'install, le compte root est exigé

Non, il n'est pas exigé et c'est expliqué sur l'écran de création de
compte ("Si vous laissez le champ de mot de passe du compte root vide
alors le premier compte créé obtiendra les droits avec sudo").
Dans ce cas, si tu veux saisir des commandes en root, c'est "sudo su"

Je dois d'ailleurs avouer que j'ai un problème d'assimilation du
concept : on a le choix d'activer root ou pas.
Quelle est la différence finalement puisque si l'on veut faire les
choses correctement alors qu'on a pas activé root, on doit ensuite créer
un utilisateur standard pour la session utilisateur de tous les jours
(afin de ne pas travailler dans la session admin qui a les droits sudo).

> il doît s'agir d'une question "serveur" je suppose.

Non, desktop mais c'est idem en serveur :-)

Bon we,
-- 
Christophe De Natale 



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jorge Chaves
El vie, 22-01-2016 a las 09:24 -0430, Jose Maldonado escribió:
> >
> > - Apunte de la instalación de paquetes con Debian testing --
> >
> > En experimental ya se puede usar apt-get con un fichero local, algo
> > deseado desde 1999 y realizado el año pasado.
> >
> > Es decir, que uno puede hacer en Debian testing así por las buenas:
> >
> > /home/user/Descargas# apt-get install pymaxe.deb


> >
> Excelente aporte! +1
> 

¡Aaah! ¡He metido la pata en la parte de testing!

&$%&/·$&$·%·$"%"$· ... Menuda chapuza.

Debí haber puesto:
# apt-get install file:/home/user/Descargas/pymaxe.deb

Y también debí haber puesto el enlace:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=47379

Lo he intentado en Debian 7 estable y no funciona, espero que funcione
en testing...

Con esto ya sí que estaría todo.

Espero que con este último parche dé por cerrado el asunto.


PD: Gracias por los ánimos José.



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Jude DaShiell

On Fri, 22 Jan 2016, to...@tuxteam.de wrote:


Date: Fri, 22 Jan 2016 09:13:17
From: to...@tuxteam.de
To: debian-user@lists.debian.org
Subject: Re: ?? user in group audio -- but only root can play sound
Resent-Date: Fri, 22 Jan 2016 14:48:14 + (UTC)
Resent-From: debian-user@lists.debian.org

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 09:40:01AM -0500, Gene Heskett wrote:

On Friday 22 January 2016 07:44:49 Jude DaShiell wrote:


That has to be done inside of udev, udev is the one ring that binds
them all.


Not nesessarily. When I rebooted sometime in late December, apparently a
udev update had decided that only root could use /dev/ttyUSB0 [...]



So I got out a root copy of nano, and put the fix in /etc/r.local [...]



And heyu is now a happy camper again.

Sure, someone is going to yell at me [...]


Hey, I for one am not going to. And if anyone does, send them to me: I'm
a member of the RightsToRoot movement and will take care of that :-)

After all we bought free software in order to tinker with it.

Regards
- -- tom?s
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaiOP0ACgkQBcgs9XrR2kbd+wCfWh9ytSbVThLpESdUIaLqqnEB
/xAAn2jfQGQTi6Xo6BQLDGHjv5L1UdDQ
=Muz6
-END PGP SIGNATURE-

One thing udev or the linux kernel is going to have to get over fast is 
its fixation on the 3.5MM jack for speakers.  Newer hardware sooner 
rather than later will not be including those jacks any longer.  Probably 
the first noticeable instance will be Apple and what Apple does with its 
next generation of iPhones but we shall know better when those come out.






--



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Gene Heskett
On Friday 22 January 2016 09:55:38 to...@tuxteam.de wrote:

> On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
> > Today, I found too many mails from this mailing list in my Gmail
> > spam folder.
>
> You mean genuine mails in your spam folder or genuine spam which made
> it through the Debian mailing list?
>
> regards
> -- tomás

Here, the latter. My filters didn't catch it either.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Raid y spin down

2016-01-22 Thread Camaleón
El Fri, 22 Jan 2016 17:28:22 +0100, David Rotger escribió:

Hum... a tener en cuenta al enviar mensajes a la lista:

1/ Usar formato texto para los mensajes
2/ No hacer top-posting (escribir debajo del texto citado)
3/ Responder a la lista. 

Si usas el webmail de Gmail tendrás que corregir todas estas cosas 
manualmente.

> El 22/1/2016 17:25, "Camaleón"  escribió:

>> > Tengo un servidor montado con dos RAID, un R1 para sistema y un R10
>> > para datos, los dos formateados con XFS. El motivo de XFS, es porque
>> > las transferencias de archivos son mas constantes que con EXT4. Todo
>> > funciona muy bien, excepto que me he fijado que los discos duros
>> > nunca se ponen en reposo cuando no hay actividad. Se debe configurar?
>> > Es porque hay algun problema? Seria interesante que cuando no haya
>> > actividad los discos se pusieran en reposo.

(...)

>> Mira a ver si tienes algún proceso en ejecución que pueda estar
>> generando esa actividad pero si tienes el sistema instalado en ese
>> disco es normal que haya movimiento constante. Si lo usas sólo como
>> almacén de datos debe haber alguna aplicación que le haga estar activo.

> Vale, omitimos el RAID 1 de sistema :). El   RAID10 esta montado y
> compartido en samba. El iotop no dice nada, de vez en cuando algun
> rsyslog,
> nada mas.

Hum... samba genera como mínimo dos procesos (smbd y nmbd) pero no sé 
hasta qué punto estarán accediendo al recurso definido como compartido. 
Puedes usar alguna herramienta para monitorizar el acceso/uso de las 
particiones (creo que "iostat" lo permite).

Después, con herramientas como "hdparm" o "smartmontools/smartctl" podrás 
ver más información sobre la cantidad de veces que se han activado los 
cabezales o forzar que se detengan (entrar en modo reposo) pero yo esto 
último como que no lo haría :-)

Saludos,

-- 
Camaleón



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 16:55:06 Gene Heskett wrote:
> On Friday 22 January 2016 10:35:37 Lisi Reisz wrote:
> > On Friday 22 January 2016 14:55:38 to...@tuxteam.de wrote:
> > > On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
> > > > Today, I found too many mails from this mailing list in my Gmail
> > > > spam folder.
> > >
> > > You mean genuine mails in your spam folder or genuine spam which
> > > made it through the Debian mailing list?
> >
> > Genuine mails in the Spam folder.  Gmail dos this sometimes to all my
> > mailing lists.  I have never had many at a time, but there is a steady
> > trickle.
> >
> > Lisi
>
> Just one of the reasons I've quit gmail entirely.

Nothing is perfect. ;-)

Lisi



Re: Particiones desalineadas

2016-01-22 Thread Camaleón
El día 21 de enero de 2016, 19:30, David Rotger  
escribió:

(se volvió a recibir en el privado, reenvío de nuevo)

> El 21/1/2016 19:23, "Camaleón"  escribió:

(...)

>>> De echo utilice el particionado automático del instalador de Debian.
>>> Qual sería la forma correcta de crear y particionar un RAID1? En el
>>> instalador de Debian no veo ninguna opción para cmabiar el tamaño de
>>> los sectores.
>>
>> El instalador de Debian hace lo que puede pero dispone de herramientas
>> si no básicas sí limitadas en cuanto a las opciones de configuración
>> para el particionado cuando elijes el modo automático. Para hacer algo
>> fuera de lo habitual (vamos, más allá de las particiones básicas)
>> prefiero hacerlo desde alguna otra herramienta para que el instaaldor
>> tenga todo el trabajo ya hecho y sólo tenga que asignar las
>> particiones a los puntos de montaje.
>>
>> Gparted (o herramientas de mantenimiento como SystemRescue CD) tienen 
>> una versión LiveCD que puedes ejecutar antes de instalar el sistema (o
>> una vez que ya lo has instalado pero en este caso conviene hacer antes
>> una copia de los datos) y que te permite realizar estas operaciones de
>> ajustes avanzados.
>
> Si, lo intente con el gparted antes de instalar el sistema, dejando 1mb.
> Pero despues no hubo manera de instalar Grub en ningun de los dos
> discos del raid 1. Por lo que opte en crear dos arrays. Uno para swap y
> otro para root. Y ahora me dicen que no es recomendable hacer un array
> para swap, que no sirve de mucho.

Pues no sé qué problema te podría haber dado GRUB2 para instalarse, la 
verdad es que es un poco puñetero y a veces falla (aún con discos y 
particiones convencionales). En un RAID1 con md lo suyo es instalar el 
cargador de arranque en el MBR de los discos duros que forman parte de la 
matriz que gestiona el arranque del sistema, esto se puede hacer una vez 
instalado Debian reconfigurando el paquete del cargador ("dpkg-
reconfigure -plow grub-pc").

Que tengas la swap en un volumen raid es indiferente, vamos, que da lo 
mismo: ni ganas ni pierdes. Piensa que un raid1 con dos discos duros te 
protege contra fallos mecánicos de uno de los discos y lo que se pretende 
es evitar la pérdida de datos y de funcionamiento del sistema pero es que 
aunque sólo tuvieras un único disco duro (sin raid1) en caso de fallo te 
da lo mismo lo que contenga la swap ya que los datos (en caso de 
haberlos) se pierden al apagar el equipo, es una especie de memoria 
volátil.

Saludos,

-- 
Camaleón



Re: Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jorge Chaves
Para que quede todo claro en caso de que alguien quiera consultar esta
lista y que tenga la información bien clara, voy a refundir todo
necesario en este correo para instalar bien pymaxe como sustituto de
songr en Windows.

Seguramente también habrá otras alternativas que funcionen, pero ésta es
la que he probado en mi caso y me sirve.

--Instalación de Pymaxe en Debian 8 estable

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download"
3) Elegir la opción "Sources".
4) Una vez descargado escribe lo siguiente en el terminal:

$ cd /home/user/Descargas
~/Descargas$ tar -xvf pymaxe.tar.gz

~/Descargas$ sudo ln -s /usr/local/bin/pymaxe /usr/bin/pymaxe

- Con este comando (ln) creamos un enlace simbólico, blando (o acceso
directo) en el directorio /usr/bin. ¿Por qué? Para que pymaxe se pueda
abrir al ejecutar alt + f2 y escribir el comando "pymaxe" sin comillas.

5) Sin embargo, al hacerlo no funcionará, porque hay que modificar
también el propio archivo de texto que hay en /usr/local/bin/pymaxe.
Para eso escribimos en el terminal lo siguiente:

~/Descargas$ sudo gedit /usr/local/bin/pymaxe

Donde el contenido del archivo es tal que así:

---
#!/bin/sh
if which python2 >/dev/null; then
cd /usr/share/pymaxe/
python2 launcher.py
else
cd /usr/share/pymaxe/
python launcher.py
fi
---

Para que pymaxe funcione como es debido, hay que meter los directorios
correctamente, de tal forma que habría que poner /usr/local/share, en
vez de /usr/share. De esta forma, con gedit el archivo debería quedar
así:

---
#!/bin/sh
if which python2 >/dev/null; then
cd /usr/local/share/pymaxe/
python2 launcher.py
else
cd /usr/local/share/pymaxe/
python launcher.py
fi
---

6) Se guarda el archivo de texto con "control + s" y se cierra. He
utilizado "gedit" para modificar este archivo de texto, pero se podría
hacer igualmente con "vim", con "nano" o con cualquier otro archivo de
texto, siempre que lo manejes como root.

7) A continuación nos vamos al programa del Menú principal (o alacarte,
usando alt + f2). Buscamos pymaxe (que está en el apartado de sonido y
vídeo), una vez seleccionado le damos al botón de Propiedades y pulsamos
donde debería estar su icono. Lo buscamos (que está
en /usr/local/share/icons/pymaxe.png).

8) Si uno quiere tener la carpeta de Descargas limpia tras instalar el
programa, es aconsejable hacer un "rm -r" en el terminal sobre los
archivos que nos hemos bajado y descomprimido o directamente irse con el
explorador de archivos y hacer eso mismo gráficamente.

Aquí en concreto el comando sería:

~/Descargas$ sudo rm -r usr pymaxe.tar.gz

---Instalación de Pymaxe en Debian 7 estable---

Seguir los 2 primeros pasos de la instalación en Debian 8:

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download".
3) Elegir la opción "Debian / Ubuntu-compatible".

4) Una vez bajado el paquete, antes de instalarlo, hay que instalar una
serie de paquetes (dependencias), de lo contrario nuestro paquete se
romperá. Para la gente novata como yo, es casi más cómodo usar Synaptic,
que va mostrando lo que vas instalando de forma gráfica, aunque me
imagino que también se puede hacer igual desde la consola o terminal.

Pasamos entonces a instalar las dependencias, instalando:

- python-glade2
- libav-tools

Con esos paquetes ya quedaría el asunto resuelto. Ya que con
libav-tools, tendríamos instalados de rebote el paquete libavcodec53 y
ffmepg, ambos necesarios para que pymaxe funcione.

5) Si uno quiere tener la carpeta de Descargas limpia después de la
instalación, es aconsejable hacer un "rm -r" en el terminal sobre los
archivos que nos hemos bajado o directamente irse con el explorador de
archivos y hacer eso mismo gráficamente.

El comando de limpieza para Debian 7 sería:

~/Descargas$ sudo rm pymaxe.deb

-Instalación en Debian 7 sid--

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download".
3) Elegir la opción "Debian / Ubuntu-compatible".

4) Aporte de Javier Barroso:

Después del sudo dpkg -i debmaxe.deb, con apt-get -f install se
instalarán las dependencias.

Para sid he tenido que modificar sus dependencias, para ello se puede
usar el script videbcontrol [1] (a guardar en ~/bin o donde se crea
oportuno y que esté en el path), serían (en este momento):

Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg,
gstreamer0.10-ffmpeg|gstreamer1.0-libav, libavcodec52 | libavcodec53 |
libavcodec56, gstreamer0.10-plugins-ugly | gstreamer1.0-plugins-ugly |
vlc | mplayer

5) Para limpiar la carpeta de Descargas escribir en el terminal:

~/Descargas$ sudo rm pymaxe.deb

- Apunte de la instalación de paquetes con Debian testing 

Re: Lentitud en el sistema después de ciertos movimientos

2016-01-22 Thread Camaleón
El Thu, 21 Jan 2016 15:29:24 -0300, alparkom . escribió:

> Y a vuelto a ocurrir... aunque esta vez después de intentar hibernar el
> sistema con "# systemctl hibernate".

Si el sistema se pone lento sin hacer nada especial (como generar medio 
millón de archivos) entonces el problema va por otro lado y nada tiene 
que ver con nautilus o los "ciertos ovimientos" que hagas.

> Comando "top":
> http://pastebin.com/94yKmpSh http://oi66.tinypic.com/2pzftd2.jpg

Bueno, pues no veo nada raro con el uso del micro ni procesos desbocados 
pero sí me parece inusual que con 8 GiB de RAM física estés tirando de 
swap (2,5 GiB) siendo que hay memoria disponible en el sistema.
 
> Comando "iotop" me dice que no existe.

Iotop no se instala de manera predeterminada en el sistema.
 
> Por cierto, el notebook no se hibernó después de usar el comando ese...
> aparecía un mensaje de error.

¿Y ese mensaje de error era...?

Saludos,

-- 
Camaleón



Re: Aptitude message.

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 11:49:15 Brian wrote:
> On Fri 22 Jan 2016 at 20:55:05 +1000, Weaver wrote:
> > Am receiving this on 'aptitude update'.
> > ~~
> > root@Telaman:/home/weaver# aptitude update
> > Hit http://ftp.au.debian.org/debian unstable InRelease
> > [ ERR] Reading package lists
> > E: Unable to parse package file
> > /var/lib/apt/lists/ftp.au.debian.org_debian_dists_unstable_contrib_binary
> >-amd64_Packages (1)
> > W: You may want to run apt-get update to correct these problems
> > E: The package cache file is corrupted
> > E: Couldn't rebuild package cache
> > ~~~
> > I'm able to run the update process without incident, and it finishes
> > cleanly.
> > Is anybody else getting this?
> > /etc/apt/sources.list is fine, with contrib included as per usual, so I
> > can only assume it's unavailable at the server end.
> >
> > Other than that, there was a power failure during the night that might
> > have done some damage, and I might have to begin a data rescue scenario.
>
> Comment out everything in sources.list. Update. /var/lib/apt/lists/ should
> now have only /partial and lock.
>
> Uncomment a ftp.au.debian.org line, perhaps without contrib, Update.
>
> Continue adding to sources.list and updating
>
> How does that go?

I had this problem once and had to delete the package cache and the update to 
let it rebuild.

Lisi



Correction - sorry - Re: Aptitude message.

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 13:23:25 Lisi Reisz wrote:
> On Friday 22 January 2016 11:49:15 Brian wrote:
> > On Fri 22 Jan 2016 at 20:55:05 +1000, Weaver wrote:
> > > Am receiving this on 'aptitude update'.
> > > ~~
> > > root@Telaman:/home/weaver# aptitude update
> > > Hit http://ftp.au.debian.org/debian unstable InRelease
> > > [ ERR] Reading package lists
> > > E: Unable to parse package file
> > > /var/lib/apt/lists/ftp.au.debian.org_debian_dists_unstable_contrib_bina
> > >ry -amd64_Packages (1)
> > > W: You may want to run apt-get update to correct these problems
> > > E: The package cache file is corrupted
> > > E: Couldn't rebuild package cache
> > > ~~~
> > > I'm able to run the update process without incident, and it finishes
> > > cleanly.
> > > Is anybody else getting this?
> > > /etc/apt/sources.list is fine, with contrib included as per usual, so I
> > > can only assume it's unavailable at the server end.
> > >
> > > Other than that, there was a power failure during the night that might
> > > have done some damage, and I might have to begin a data rescue
> > > scenario.
> >
> > Comment out everything in sources.list. Update. /var/lib/apt/lists/
> > should now have only /partial and lock.
> >
> > Uncomment a ftp.au.debian.org line, perhaps without contrib, Update.
> >
> > Continue adding to sources.list and updating
> >
> > How does that go?
>
> I had this problem once and had to delete the package cache and

theN update 
 
> to let it rebuild.
>
> Lisi



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jose Maldonado

El 22/01/16 a las 09:02, Jorge Chaves escribió:

Para que quede todo claro en caso de que alguien quiera consultar esta
lista y que tenga la información bien clara, voy a refundir todo
necesario en este correo para instalar bien pymaxe como sustituto de
songr en Windows.

Seguramente también habrá otras alternativas que funcionen, pero ésta es
la que he probado en mi caso y me sirve.

--Instalación de Pymaxe en Debian 8 estable

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download"
3) Elegir la opción "Sources".
4) Una vez descargado escribe lo siguiente en el terminal:

$ cd /home/user/Descargas
~/Descargas$ tar -xvf pymaxe.tar.gz

~/Descargas$ sudo ln -s /usr/local/bin/pymaxe /usr/bin/pymaxe

- Con este comando (ln) creamos un enlace simbólico, blando (o acceso
directo) en el directorio /usr/bin. ¿Por qué? Para que pymaxe se pueda
abrir al ejecutar alt + f2 y escribir el comando "pymaxe" sin comillas.

5) Sin embargo, al hacerlo no funcionará, porque hay que modificar
también el propio archivo de texto que hay en /usr/local/bin/pymaxe.
Para eso escribimos en el terminal lo siguiente:

~/Descargas$ sudo gedit /usr/local/bin/pymaxe

Donde el contenido del archivo es tal que así:

---
#!/bin/sh
if which python2 >/dev/null; then
 cd /usr/share/pymaxe/
 python2 launcher.py
else
 cd /usr/share/pymaxe/
 python launcher.py
fi
---

Para que pymaxe funcione como es debido, hay que meter los directorios
correctamente, de tal forma que habría que poner /usr/local/share, en
vez de /usr/share. De esta forma, con gedit el archivo debería quedar
así:

---
#!/bin/sh
if which python2 >/dev/null; then
 cd /usr/local/share/pymaxe/
 python2 launcher.py
else
 cd /usr/local/share/pymaxe/
 python launcher.py
fi
---

6) Se guarda el archivo de texto con "control + s" y se cierra. He
utilizado "gedit" para modificar este archivo de texto, pero se podría
hacer igualmente con "vim", con "nano" o con cualquier otro archivo de
texto, siempre que lo manejes como root.

7) A continuación nos vamos al programa del Menú principal (o alacarte,
usando alt + f2). Buscamos pymaxe (que está en el apartado de sonido y
vídeo), una vez seleccionado le damos al botón de Propiedades y pulsamos
donde debería estar su icono. Lo buscamos (que está
en /usr/local/share/icons/pymaxe.png).

8) Si uno quiere tener la carpeta de Descargas limpia tras instalar el
programa, es aconsejable hacer un "rm -r" en el terminal sobre los
archivos que nos hemos bajado y descomprimido o directamente irse con el
explorador de archivos y hacer eso mismo gráficamente.

Aquí en concreto el comando sería:

~/Descargas$ sudo rm -r usr pymaxe.tar.gz

---Instalación de Pymaxe en Debian 7 estable---

Seguir los 2 primeros pasos de la instalación en Debian 8:

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download".
3) Elegir la opción "Debian / Ubuntu-compatible".

4) Una vez bajado el paquete, antes de instalarlo, hay que instalar una
serie de paquetes (dependencias), de lo contrario nuestro paquete se
romperá. Para la gente novata como yo, es casi más cómodo usar Synaptic,
que va mostrando lo que vas instalando de forma gráfica, aunque me
imagino que también se puede hacer igual desde la consola o terminal.

Pasamos entonces a instalar las dependencias, instalando:

- python-glade2
- libav-tools

Con esos paquetes ya quedaría el asunto resuelto. Ya que con
libav-tools, tendríamos instalados de rebote el paquete libavcodec53 y
ffmepg, ambos necesarios para que pymaxe funcione.

5) Si uno quiere tener la carpeta de Descargas limpia después de la
instalación, es aconsejable hacer un "rm -r" en el terminal sobre los
archivos que nos hemos bajado o directamente irse con el explorador de
archivos y hacer eso mismo gráficamente.

El comando de limpieza para Debian 7 sería:

~/Descargas$ sudo rm pymaxe.deb

-Instalación en Debian 7 sid--

1) Ir a la web donde está pymaxe:
www.pymaxe.com

2) Darle al botón "Download".
3) Elegir la opción "Debian / Ubuntu-compatible".

4) Aporte de Javier Barroso:

Después del sudo dpkg -i debmaxe.deb, con apt-get -f install se
instalarán las dependencias.

Para sid he tenido que modificar sus dependencias, para ello se puede
usar el script videbcontrol [1] (a guardar en ~/bin o donde se crea
oportuno y que esté en el path), serían (en este momento):

Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg,
gstreamer0.10-ffmpeg|gstreamer1.0-libav, libavcodec52 | libavcodec53 |
libavcodec56, gstreamer0.10-plugins-ugly | gstreamer1.0-plugins-ugly |
vlc | mplayer

5) Para limpiar la carpeta de Descargas escribir en el terminal:

~/Descargas$ sudo rm pymaxe.deb

- 

Re: [OT] Thunderbird... ¿a la deriva?

2016-01-22 Thread Camaleón
El Thu, 21 Jan 2016 21:08:25 +0100, Eduardo Rios escribió:

> El 10/01/16 a las 16:44, Camaleón escribió:
> 
> 
>> La versión 42 de Thunderbird/Icedove NO es estable ni en Mozilla ni en
>> Debian sino que pertenece a la rama de pruebas (nightly/experimental),
>> no deberías instalarla para uso habitual.
> 
> Ni loco uso la rama experimental para todo el sistema Debian, pero no es
> lo mismo que falle Icedove que todo el sistema, por eso me atrevo :-)

No... a ver, que te llevas un lío tremendo con los paquetes de Mozilla. 
La rama 40.x de Thunderbird/Icedove ahora mismo es experimental/beta, 
punto.

>>> Y si veo que no hay más versiones de ninguna de las dos, tendré que
>>> probar evolution...
>>
>> Bien, pero eso no quita que el desarrollo de Thunderbird/Icedove siga
>> siendo exactamente el mismo y que de momento nada haya cambiado.
> 
> Pues tenías razón, acabo de ver que icedove sigue avanzando. Acabo de
> actualizar a la versión 43 de pruebas :)

Pues repito: no deberías usar paquetes experimentales :-)

Saludos,

-- 
Camaleón



Re: turning off Google Chrome's warning

2016-01-22 Thread Frank McCormick

On 21/01/16 10:40 PM, Stephen Powell wrote:

On Thu, Jan 21, 2016, at 21:59, Frank McCormick wrote:


On 21/01/16 09:41 PM, Stephen Powell wrote:


What does chrome give you that chromium does not?


Nothing that I know of...but I thought that staying with the Google
product is just simpler. I've had chromium on this machine for a little
while and it **seems** to be Chrome in plainer clothes. So I just
might remove google-chrome and live with chromium for now. An install of
64-bit Debian is not in the cards for now.


One thing that chrome gives you that chromium does not is the built-in
PPAPI Adobe flash plugin, which you may or may not need or want.
But if you do want it or need it, you can install chromium plus
pepperflashplugin-nonfree.  Unfortunatley, there are no automatic updates.
You have to run "update-pepperflashplugin-nonfree --status" periodically
to check for updates, followed by "update-pepperflashplugin-nonfree --install"
if an update is needed.



  That's already installed here. I guess if I remove google-chrome, 
I'll have to run the update procedure.




That does bring up an interesting question though.  I believe that
"update-pepperflashplugin-nonfree --install" works by downloading the
chrome package from google, extracting the built-in pepper flash plugin,
then installing the pepper flash plugin into chromium.  Will Google stop
updating the 32-bit version of the flash plugin contained within the
32-bit version of chrome?  I don't know the answer to that one.


  I would imagine if they stop updating google-chrome, pepper flash will
also go by the wayside. But we'll deal with that later.



Note that chromium does support html5, so the need for the flash plugin
is not as great as it once was.



  Good to know.






Re: Raid y spin down

2016-01-22 Thread David Rotger
Si, tengo el noatime en todos los puntos de montaje.

El 22 de enero de 2016, 17:49, Omar Pacheco 
escribió:

> Hola David, encontré esto por ahí,
> http://forums.openmediavault.org/index.php/Thread/6415-jbd2-constantly-writing-to-raid5-disk/
> averigua un poco más sobre el parámetro noatime en el fstab a ver si
> aplica a tu caso.
>
>
> El 22 de enero de 2016, 11:28, David Rotger 
> escribió:
>
>> -- Mensaje reenviado --
>> De: "David Rotger" 
>> Fecha: 22/1/2016 17:27
>> Asunto: Re: Raid y spin down
>> Para: "A MI NO, ENVIA A LA LISTA" <
>> noelamac+a_mi_no_envia_a_la_li...@gmail.com>
>> Cc:
>>
>> Vale, omitimos el RAID 1 de sistema :). El   RAID10 esta montado y
>> compartido en samba. El iotop no dice nada, de vez en cuando algun rsyslog,
>> nada mas.
>> El 22/1/2016 17:25, "Camaleón"  escribió:
>>
>>> El Fri, 22 Jan 2016 17:14:56 +0100, David Rotger escribió:
>>>
>>> (David, ese formato...)
>>>
>>> > Tengo un servidor montado con dos RAID, un R1 para sistema y un R10
>>> para
>>> > datos, los dos formateados con XFS. El motivo de XFS, es porque las
>>> > transferencias de archivos son mas constantes que con EXT4. Todo
>>> > funciona muy bien, excepto que me he fijado que los discos duros nunca
>>> > se ponen en reposo cuando no hay actividad. Se debe configurar? Es
>>> > porque hay algun problema? Seria interesante que cuando no haya
>>> > actividad los discos se pusieran en reposo.
>>>
>>> No tiene que ver con el raid o el sistema de archivos elegido. Es el
>>> firmware del disco duro quién le dice al motor del cabezal cuándo ponerse
>>> en reposo y si detecta actividad pues no dejará que se quede haciendo el
>>> vago :-)
>>>
>>> Mira a ver si tienes algún proceso en ejecución que pueda estar generando
>>> esa actividad pero si tienes el sistema instalado en ese disco es normal
>>> que haya movimiento constante. Si lo usas sólo como almacén de datos debe
>>> haber alguna aplicación que le haga estar activo.
>>>
>>> Saludos,
>>>
>>> --
>>> Camaleón
>>>
>>>
>
>
> --
> Saludos,
>
> *Omar Daniel Pacheco Díaz.*
>
>


-- 
David Rotger


Re: Debian user mailing list in Spam folder

2016-01-22 Thread Gene Heskett
On Friday 22 January 2016 10:35:37 Lisi Reisz wrote:

> On Friday 22 January 2016 14:55:38 to...@tuxteam.de wrote:
> > On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
> > > Today, I found too many mails from this mailing list in my Gmail
> > > spam folder.
> >
> > You mean genuine mails in your spam folder or genuine spam which
> > made it through the Debian mailing list?
>
> Genuine mails in the Spam folder.  Gmail dos this sometimes to all my
> mailing lists.  I have never had many at a time, but there is a steady
> trickle.
>
> Lisi

Just one of the reasons I've quit gmail entirely.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Debian user mailing list in Spam folder

2016-01-22 Thread Himanshu Shekhar
Today, I found too many mails from this mailing list in my Gmail spam
folder.
Just wanted to confirm whether I am the only one to have this issue or
others are also facing the same issue.


Re: Debian user mailing list in Spam folder

2016-01-22 Thread Lisi Reisz
On Friday 22 January 2016 14:55:38 to...@tuxteam.de wrote:
> On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
> > Today, I found too many mails from this mailing list in my Gmail spam
> > folder.
>
> You mean genuine mails in your spam folder or genuine spam which made
> it through the Debian mailing list?

Genuine mails in the Spam folder.  Gmail dos this sometimes to all my mailing 
lists.  I have never had many at a time, but there is a steady trickle.

Lisi



Raid y spin down

2016-01-22 Thread David Rotger
-- Mensaje reenviado --
De: "David Rotger" 
Fecha: 22/1/2016 17:27
Asunto: Re: Raid y spin down
Para: "A MI NO, ENVIA A LA LISTA" <
noelamac+a_mi_no_envia_a_la_li...@gmail.com>
Cc:

Vale, omitimos el RAID 1 de sistema :). El   RAID10 esta montado y
compartido en samba. El iotop no dice nada, de vez en cuando algun rsyslog,
nada mas.
El 22/1/2016 17:25, "Camaleón"  escribió:

> El Fri, 22 Jan 2016 17:14:56 +0100, David Rotger escribió:
>
> (David, ese formato...)
>
> > Tengo un servidor montado con dos RAID, un R1 para sistema y un R10 para
> > datos, los dos formateados con XFS. El motivo de XFS, es porque las
> > transferencias de archivos son mas constantes que con EXT4. Todo
> > funciona muy bien, excepto que me he fijado que los discos duros nunca
> > se ponen en reposo cuando no hay actividad. Se debe configurar? Es
> > porque hay algun problema? Seria interesante que cuando no haya
> > actividad los discos se pusieran en reposo.
>
> No tiene que ver con el raid o el sistema de archivos elegido. Es el
> firmware del disco duro quién le dice al motor del cabezal cuándo ponerse
> en reposo y si detecta actividad pues no dejará que se quede haciendo el
> vago :-)
>
> Mira a ver si tienes algún proceso en ejecución que pueda estar generando
> esa actividad pero si tienes el sistema instalado en ese disco es normal
> que haya movimiento constante. Si lo usas sólo como almacén de datos debe
> haber alguna aplicación que le haga estar activo.
>
> Saludos,
>
> --
> Camaleón
>
>


Re: Libre graphics could become the standard if we push right now

2016-01-22 Thread Alberto Salvia Novella

Joel Rees:

"Modern" CPUs have plenty of spare register space, most of it
undocumented. Register space can be used to record something of state,
allowing instruction streams to be self-parsing.


Anyway I think this falls mostly in the hardware side. I liked microcode 
to be libre too, but I'm postponing that goal for later. As my main goal 
now is software to be libre.


When libre software is the standard, then I will start talking about 
libre hardware.


Have a nice day.




smime.p7s
Description: S/MIME Cryptographic Signature


Re: softraid vraag

2016-01-22 Thread Paul van der Vlis
Op 22-01-16 om 17:11 schreef Paul van der Vlis:
> Zelf doe ik dit andersom. Ik maak eerst een md-device, en daar bovenop
> zet ik LVM. Andersom lijkt me erg raar, geen idee of dat kan.

Ik vergis me geloof ik, jij maakt ook een LVM bovenop een raid.

Waar je misschien nog wat aan hebt is het volgende: ik heb onlangs ook
geprobeerd GPT te gebruiken met bios (CSM mode van UEFI), maar dat ging
niet. Vroeger ging dit wel. Volgens mij zit GPT tegenwoordig nogal vast
aan UEFI, en ik zie geen UEFI partitie, dus dit zal bios zijn.

Wat ik gedaan heb is GPT verwijderen en vervangen door een DOS-partitie
tabel, dat was nog best lastig. Uit mijn aantekeningen:
---
gpt verwijderen (getest en werkt, lukt niet met fdisk):
1. Type "parted /dev/", usually "parted /dev/sda".
2. Once inside parted type "mktable":
-> Table type: msdos
-> Destroy data: yes
-> quit
3. GPT should now be removed.


Geen idee of dat voor jou een optie is.

Ik heb overigens geen ervaring met raid10, maar waarschijnlijk
ondersteund grub2 dat wel.

Groet,
Paul.



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Camaleón
El Thu, 21 Jan 2016 21:30:17 +0100, Jorge Chaves escribió:

> El jue, 21-01-2016 a las 16:43 +, Camaleón escribió:

(...)

>> > Hombre, sí, lo que cuentas es una opción. El principal motivo por el
>> > que abrí este hilo es por la comodidad a la hora de buscar canciones
>> > que me gusten y un poco también porque estaba buscando un sustituto a
>> > lo que tengo en Windows. Era un poco un reto que tenía conmigo mismo
>> > de "a ver si soy capaz de encontrar lo mismo en Debian que en
>> > Windows".
>> 
>> (...)
>> 
>> Tampoco le veo la gracia a la aplicación en windows :-P
>> 
>> Me explico: ese tipo de aplicaciones parecen una simple carátula (GUI)
>> que ejecuta búsquedas en distintos sitios web por el archivo de audio
>> en cuestión. La pega que le veo a ese sistema es que si no se actualiza
>> cada poco tiempo para refrescar los buscadores dejará de ser útil en
>> breve porque los sitios web de descargas de canciones gratuitas suelen
>> cambiar (se cierran o los cierran) cada poco tiempo.
>> 
>> 
> Hombre, imagino que actualizarán de vez en cuando el programa y por ende
> también las webs de búsqueda, porque si no ¡queeé maal! :D

Es que me parece que la versión 0.60 es del 2012, por eso te lo decía...

Saludos,

-- 
Camaleón



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Gene Heskett
On Friday 22 January 2016 07:44:49 Jude DaShiell wrote:

> That has to be done inside of udev, udev is the one ring that binds
> them all.
>
Not nesessarily. When I rebooted sometime in late December, apparently a 
udev update had decided that only root could use /dev/ttyUSB0 which is 
connected to my cl11a, a programable X10 controller. I was un-aware of 
it until a cron script that fires at 1 minute after midnight on 1 1 1 
whatever, couldn't upload the next years schedule for my front deck 
lights and cron sent me an email saying it had no permission.  It has 
only been working for 17 years folks.

I snooped thru the udev stuff without finding a specific rule 
for /dev/ttyUSB*, and as that it the only device discovered at boot, I 
couldn't compare it to /dev/ttyUSB1.

So I got out a root copy of nano, and put the fix in /etc/r.local, which 
runs last at bootup, to readjust the ownership and rights to that 
device.  Now it looks like this:

crwxr-xr-x 1 gene gene 188, 0 Jan 22 08:07 /dev/ttyUSB0

And heyu is now a happy camper again.
 
Sure, someone is going to yell at me, but I built this box for ME to use, 
and if its capable of doing a job, having some paranoid person decide I 
can't use it like that, sucks dead toads thru soda straws, and tastes 
about the same.

We, the users, buy or build the machine to USE and we WILL use it s/b the 
message to whomever is in charge of udev presently.

My $0.02 USD, but adjust for inflation over the last 81 years...

> On Fri, 22 Jan 2016, Floris wrote:
> > Date: Fri, 22 Jan 2016 04:22:50
> > From: Floris 
> > To: debian-user@lists.debian.org
> > Subject: Re: ?? user in group audio -- but only root can play sound
> > Resent-Date: Fri, 22 Jan 2016 09:23:08 + (UTC)
> > Resent-From: debian-user@lists.debian.org
> >
> > Op Fri, 22 Jan 2016 00:10:27 +0100 schreef Jude DaShiell
> >
> > :
> >> udev may be having adverse impacts on abilities to play sounds from
> >> certain cards after reboot.  Anyone interested may find sound
> >> devices in black listed category they don't want to have black
> >> listed.  Correcting such black listing for now is beyond my
> >> capability since I haven't done enough with udev to be safe working
> >> with ityet.
> >>
>  Sorry, now I see you have multiple sound cards.
> >>>
> >>> My fault I should have mentioned it, sorry:  That's it!
> >>>
> >>>
> >>> Since 2015-12-11 my /etc/modprobe/alsa-base.conf ist:
> >>> # PCH
> >>> options snd-hda-intel index=0 model=auto vid=8086 pid=9c20
> >>> # HDMI
> >>> options snd-hda-intel index=1 model=auto vid=8086 pid=0a0c
> >>>
> >>> this is (if I remember correctly) from Arch wiki and should
> >>> provide a numbering of sound devices such that the analog device
> >>> becomes default (first one).  Since then I could hear music, hear
> >>> sound from movies but only till a week ago.
> >>>
> >>>
> >>> If I delete this file and reboot, the numbering of devices is:
> >>>
> >>>  List of PLAYBACK Hardware Devices 
> >>> card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
> >>> Subdevices: 1/1
> >>> Subdevice #0: subdevice #0
> >>> card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
> >>> Subdevices: 1/1
> >>> Subdevice #0: subdevice #0
> >>> card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
> >>> Subdevices: 1/1
> >>> Subdevice #0: subdevice #0
> >>> card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232
> >>> Analog] Subdevices: 1/1
> >>> Subdevice #0: subdevice #0
> >>>
> >>> Now mplayer -ao alsa:device=hw=1.0 works but aplay wav still does
> >>> not, mplayer does not without the command line switch and
> >>> interestingly mpd still works.
> >>>
> >>> How to tell linux that the analog device is the default device?
> >>> (I'll come back to this mailing list when I actually want to hear
> >>> sound through the HDMI device).
> >>>
> >>>
> >>>
> >>> Thanks a lot!  This at least gives an explanation!
> >>>
> >>> Ciao; Gregor
> >
> > 3 Options:
> >
> > 1.
> > from http://alsa.opensrc.org/MultipleCards:
> >
> > ...
> > The newer "slots=" method
> >
> > Alternatively, you can use the slot option instead of the index
> > options: options snd slots=snd-interwave,snd-ens1371
> >
> > Then, the first slot (#0) is reserved for snd-interwave driver, and
> > the second (#1) for snd-ens1371. You can omit index option in each
> > driver if slots option is used (although you can still have them at
> > the same time as long as they don't conflict).
> > ...
> >
> > 2.
> > Move the unwanted soundcard to an empty seat:
> > find your card location with:
> > $ loginctl seat-status seat0

That command does not exist on wheezy.  Sounds useful, what repo option 
do I need to enable to get it?

> > [long list]
> > ...
> > /sys/devices/pci:00/:00:1b.0/sound/card0
> > ...
> > [long list]
> >
> > Attach the card to an other seat:
> > sudo loginctl attach seat1
> > /sys/devices/pci:00/:00:1b.0/sound/card0
> >
> > Now you can only use the card when 

Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread Gene Heskett
On Friday 22 January 2016 09:40:01 Gene Heskett wrote:

> On Friday 22 January 2016 07:44:49 Jude DaShiell wrote:
> > That has to be done inside of udev, udev is the one ring that binds
> > them all.
>
> Not nesessarily. When I rebooted sometime in late December, apparently
> a udev update had decided that only root could use /dev/ttyUSB0 which
> is connected to my cl11a, a programable X10 controller. I was un-aware
correction, s/cl11a/cm11a/g  Ancient fingers.
> of it until a cron script that fires at 1 minute after midnight on 1 1
> 1 whatever, couldn't upload the next years schedule for my front deck
> lights and cron sent me an email saying it had no permission.  It has
> only been working for 17 years folks.
>
> I snooped thru the udev stuff without finding a specific rule
> for /dev/ttyUSB*, and as that it the only device discovered at boot, I
> couldn't compare it to /dev/ttyUSB1.
>
> So I got out a root copy of nano, and put the fix in /etc/r.local,
> which runs last at bootup, to readjust the ownership and rights to
> that device.  Now it looks like this:
>
> crwxr-xr-x 1 gene gene 188, 0 Jan 22 08:07 /dev/ttyUSB0
>
> And heyu is now a happy camper again.
>
> Sure, someone is going to yell at me, but I built this box for ME to
> use, and if its capable of doing a job, having some paranoid person
> decide I can't use it like that, sucks dead toads thru soda straws,
> and tastes about the same.
>
> We, the users, buy or build the machine to USE and we WILL use it s/b
> the message to whomever is in charge of udev presently.
>
> My $0.02 USD, but adjust for inflation over the last 81 years...
>
> > On Fri, 22 Jan 2016, Floris wrote:
> > > Date: Fri, 22 Jan 2016 04:22:50
> > > From: Floris 
> > > To: debian-user@lists.debian.org
> > > Subject: Re: ?? user in group audio -- but only root can play
> > > sound Resent-Date: Fri, 22 Jan 2016 09:23:08 + (UTC)
> > > Resent-From: debian-user@lists.debian.org
> > >
> > > Op Fri, 22 Jan 2016 00:10:27 +0100 schreef Jude DaShiell
> > >
> > > :
> > >> udev may be having adverse impacts on abilities to play sounds
> > >> from certain cards after reboot.  Anyone interested may find
> > >> sound devices in black listed category they don't want to have
> > >> black listed.  Correcting such black listing for now is beyond my
> > >> capability since I haven't done enough with udev to be safe
> > >> working with ityet.
> > >>
> >  Sorry, now I see you have multiple sound cards.
> > >>>
> > >>> My fault I should have mentioned it, sorry:  That's it!
> > >>>
> > >>>
> > >>> Since 2015-12-11 my /etc/modprobe/alsa-base.conf ist:
> > >>> # PCH
> > >>> options snd-hda-intel index=0 model=auto vid=8086 pid=9c20
> > >>> # HDMI
> > >>> options snd-hda-intel index=1 model=auto vid=8086 pid=0a0c
> > >>>
> > >>> this is (if I remember correctly) from Arch wiki and should
> > >>> provide a numbering of sound devices such that the analog device
> > >>> becomes default (first one).  Since then I could hear music,
> > >>> hear sound from movies but only till a week ago.
> > >>>
> > >>>
> > >>> If I delete this file and reboot, the numbering of devices is:
> > >>>
> > >>>  List of PLAYBACK Hardware Devices 
> > >>> card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
> > >>> Subdevices: 1/1
> > >>> Subdevice #0: subdevice #0
> > >>> card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
> > >>> Subdevices: 1/1
> > >>> Subdevice #0: subdevice #0
> > >>> card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
> > >>> Subdevices: 1/1
> > >>> Subdevice #0: subdevice #0
> > >>> card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232
> > >>> Analog] Subdevices: 1/1
> > >>> Subdevice #0: subdevice #0
> > >>>
> > >>> Now mplayer -ao alsa:device=hw=1.0 works but aplay wav still
> > >>> does not, mplayer does not without the command line switch and
> > >>> interestingly mpd still works.
> > >>>
> > >>> How to tell linux that the analog device is the default device?
> > >>> (I'll come back to this mailing list when I actually want to
> > >>> hear sound through the HDMI device).
> > >>>
> > >>>
> > >>>
> > >>> Thanks a lot!  This at least gives an explanation!
> > >>>
> > >>> Ciao; Gregor
> > >
> > > 3 Options:
> > >
> > > 1.
> > > from http://alsa.opensrc.org/MultipleCards:
> > >
> > > ...
> > > The newer "slots=" method
> > >
> > > Alternatively, you can use the slot option instead of the index
> > > options: options snd slots=snd-interwave,snd-ens1371
> > >
> > > Then, the first slot (#0) is reserved for snd-interwave driver,
> > > and the second (#1) for snd-ens1371. You can omit index option in
> > > each driver if slots option is used (although you can still have
> > > them at the same time as long as they don't conflict).
> > > ...
> > >
> > > 2.
> > > Move the unwanted soundcard to an empty seat:
> > > find your card location with:
> > > $ loginctl seat-status seat0
>
> That command does not exist on wheezy.  Sounds useful, 

Re: Lentitud en el sistema después de ciertos movimientos

2016-01-22 Thread fernando sainz
El día 21 de enero de 2016, 19:29, alparkom .  escribió:
> Y a vuelto a ocurrir... aunque esta vez después de intentar hibernar
> el sistema con "# systemctl hibernate".
>
> Comando "top":
> http://pastebin.com/94yKmpSh
> http://oi66.tinypic.com/2pzftd2.jpg
>

Hola.
iotop como te dije hay que instalarlo, el paquete se llama iotop.

Nunca he usado la hibernación, pero creo que se necesita tener tanta
swap como ram para poder hacerlo...
(Tu tienes sólo la mitad si no me equivoco.)

S2.



Re: ?? user in group audio -- but only root can play sound

2016-01-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jan 22, 2016 at 09:40:01AM -0500, Gene Heskett wrote:
> On Friday 22 January 2016 07:44:49 Jude DaShiell wrote:
> 
> > That has to be done inside of udev, udev is the one ring that binds
> > them all.
> >
> Not nesessarily. When I rebooted sometime in late December, apparently a 
> udev update had decided that only root could use /dev/ttyUSB0 [...]

> So I got out a root copy of nano, and put the fix in /etc/r.local [...]

> And heyu is now a happy camper again.
>  
> Sure, someone is going to yell at me [...]

Hey, I for one am not going to. And if anyone does, send them to me: I'm
a member of the RightsToRoot movement and will take care of that :-)

After all we bought free software in order to tinker with it.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaiOP0ACgkQBcgs9XrR2kbd+wCfWh9ytSbVThLpESdUIaLqqnEB
/xAAn2jfQGQTi6Xo6BQLDGHjv5L1UdDQ
=Muz6
-END PGP SIGNATURE-



[OT] Re: Gnokii y SIM 4G

2016-01-22 Thread Camaleón
El Thu, 21 Jan 2016 13:59:33 -0600, Debia Linux escribió:

> 2016-01-21 13:52 GMT-06:00 Debia Linux :
>> Listeros:
>>
>> Les comento que instale gnokii, realice algunos scripts y todo
>> funcionaba a las mil maravillas, hasta que por un motivo, tuve que
>> reemplazar el chip o SIM como deseen llamarle, pero este nuevo SIM no
>> es compatible con el telefono.
> 
> JEJEJE (no termine de redactar). El SIM no es compatible porque ya no
> hay SIMs antiguos, las empresas ya tienen nuevas versiones (en este caso
> van en la 6.2 cuando antes funcionaban con la version 3.1). Logicamente
> mi telefono (antigüo por supuesto) ya no soporta dicho SIM.
> 
> 
> 
>> ¿Alguien sabra como podría solucionarlo?

No me queda claro qué relación tiene con Gnokii por eso lo marco como 
OT :-)

A ver, en cuanto al caso... mi teléfono móvil (Motoroloa K1¹) se fabricó 
en el 2006 y tiene instalada una SIM actual que admite 4G (obviamente el 
terminal no llega ni a 3G) pero no tengo ningún problema para usar la SIM 
ni la conexión de datos, ni el módem... Así que pregunto... cuando dices 
SIM ¿estás seguro de que quieres decir SIM¹?

¹https://en.wikipedia.org/wiki/Motorola_Krzr
²https://en.wikipedia.org/wiki/Subscriber_identity_module

Saludos,

-- 
Camaleón



Re: apt? apt-get?

2016-01-22 Thread maderios

On 01/22/2016 01:44 PM, Sébastien NOBILI wrote:
Bonjour


Quoi qu'il en soit, aujourd'hui, on peut allègrement mixer ces trois commandes,
je le fais au quotidien :
 - aptitude pour une recherche ou pour une désinstallation en masse selon un
   motif de recherche,
 - apt pour la mise-à-jour sécurité et l'installation d'un paquet,
 - apt-get pour le « autoremove » et le « clean ».

Puisque l'on parle d'expérience personnelle, j'ajouterai un quatrième 
outil (graphique) basé sur apt: Synaptic.
Je l'utilise pour le "tout venant" et même le pinning qui devient alors 
un jeu d'enfant.

J'utilise également apt-get, c'est le plus rapide et le plus fiable.
Je n'utilise jamais aptitude. Je l'ai essayé mais pour mon usage, il est 
inutile.


--
Maderios



Re: Debian "testing" is looking really great on my new "Skylake" PC

2016-01-22 Thread Himanshu Shekhar
On Jan 21, 2016 9:45 PM, "Patrick Bartek"  wrote:

>
> Thanks.  Based on your input (and others), I'm eliminated Acer from my
> list.  I, too, have experience with Thinkpads and Asus notebooks, and
> have had few problems installing Linux on them.  Since Dell has their
> Ubuntu option, I'm thinking they are Linux compatible as well.
>
> Thanks, again.
>
> B

I have a Dell Inspiron 15 3543 based on Broadwell architecture. I am using
Debian Stable which runs pretty well and am really loving the performance.
However, there were certain problems associated listed which were easily
resolved after following tinkering:
1. installing xserver-xorg-video-intel from backports to prevent crashing
of GNOME.
2. Getting broadcom proprietary drivers from non-free sources either from
Debian or Ubuntu.

If you want to have a new laptop, all I would suggest is to avoid Broadcom
wireless card. One should rather go with Intel as it is doing appreciable
contribution to FOSS.
#FrustratedBroadcomUser


Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Camaleón
El Thu, 21 Jan 2016 03:34:33 +0100, Jorge Chaves escribió:

> El jue, 21-01-2016 a las 02:30 +0100, Jorge Chaves escribió:
>> El mié, 20-01-2016 a las 22:20 -0300, alparkom . escribió:

(...)

>> > Según dicen "pymaxe" es una buena alternativa.
>> > 
>> > 
>> > 
>> Ok, la probaré. Gracias.
>> 
>> 
>> 
> En Debian 8 puede haber problemas al instalarlo.
> 
> La solución la he encontrado aquí:
> http://unbrutocondebian.blogspot.com.es/2015/01/descargando-musica-con-pymaxe.html
> 
> Más adelante probaré algunas cosas y si descubro algo más ya os contaré.
> Saludos.

El paquete deb tiene las siguientes dependencias:

***
Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg, 
gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53, gstreamer0.10-plugins-
ugly | vlc | mp
***

Los dos únicos paquetes que no están en los repos de Debian para Jessie 
son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está disponible 
en Debian Multimedia y el segundo también, aunque sólo para Wheezy, por 
lo que no debe ser muy complicado saltarse/satisfacer las dependencias.

Saludos,

-- 
Camaleón



Raid y spin down

2016-01-22 Thread David Rotger
Tengo un servidor montado con dos RAID, un R1 para sistema y un R10 para
datos, los dos formateados con XFS. El motivo de XFS, es porque las
transferencias de archivos son mas constantes que con EXT4. Todo funciona
muy bien, excepto que me he fijado que los discos duros nunca se ponen en
reposo cuando no hay actividad. Se debe configurar? Es porque hay algun
problema? Seria interesante que cuando no haya actividad los discos se
pusieran en reposo.

Saludos.


Re: Raid y spin down

2016-01-22 Thread Camaleón
El Fri, 22 Jan 2016 17:14:56 +0100, David Rotger escribió:

(David, ese formato...)

> Tengo un servidor montado con dos RAID, un R1 para sistema y un R10 para
> datos, los dos formateados con XFS. El motivo de XFS, es porque las
> transferencias de archivos son mas constantes que con EXT4. Todo
> funciona muy bien, excepto que me he fijado que los discos duros nunca
> se ponen en reposo cuando no hay actividad. Se debe configurar? Es
> porque hay algun problema? Seria interesante que cuando no haya
> actividad los discos se pusieran en reposo.

No tiene que ver con el raid o el sistema de archivos elegido. Es el 
firmware del disco duro quién le dice al motor del cabezal cuándo ponerse 
en reposo y si detecta actividad pues no dejará que se quede haciendo el 
vago :-)

Mira a ver si tienes algún proceso en ejecución que pueda estar generando 
esa actividad pero si tienes el sistema instalado en ese disco es normal 
que haya movimiento constante. Si lo usas sólo como almacén de datos debe 
haber alguna aplicación que le haga estar activo.

Saludos,

-- 
Camaleón



setting up systemd units for dm-crypt devices

2016-01-22 Thread Jonathan Dowland
I have several LUKS-encrypted volumes, upon which I have placed LVM PVs.
Prior to systemd, I would define them in /etc/crypttab. Right now, due
to systemd-cryptsetup-generator, this gets interpreted and translated
into systemd units at early-boot time.

I am wondering whether to consider crypttab should be considered deprecated and
whether it would be better practice for new volumes to be defined soley as
systemd units. I do want them as systemd units, one way or the other, so that
I can write other units that depend on them. It's quite nice to type 'systemctl
start /backup' and for it to correctly prompt for a decryption passphrase for
the depended-upon dm-crypt device.[1]

I currently do not decrypt these filesystems at boot time. The machine
is a headless NAS box and I want it to be able to boot without having
to plug a monitor into it.[2] 

To activate my filesystems, the manual steps are

1. cryptsetup luksOpen 
2. vgchange -a y 
3. mount 

I know to create a systemd-cryptsetup@XYZ.service unit and a
somepath.mount.unit to cover 1. and 3. above. But should I define a
service for 2.?  The alternative would be to try and handle it with
ExecStartPost= in the cryptsetup service definition.

I'm leaning towards defining a full unit for it, because one also needs to
handle vgchange -a n prior to luksClose, but I'd appreciate your opinions (it
might just be a matter of style).


Thanks,

[1] If I was not using LVM on top of dm-crypt, then there'd be no advantage in
using 'systemctl start /backup' over 'cryptdisks_start /backup', but the
cryptdisks approach does not know to invoke the vgchange step.

[2] I am planning to investigate having a dropbear sshd running in the
initramfs environment in the future, so I can do an ssh-in to decrypt
the filesystems, including /, but I haven't looked at this yet. There
are several dracut modules that seem to do it.

-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.



Re: softraid vraag

2016-01-22 Thread Paul van der Vlis
Hoi,

Op 22-01-16 om 16:24 schreef lists:
> Hoi,
> 
> Ik heb een test machine met jessie, twee 3TB harddisks, sda en sdb,
> beide zo gepartitioneerd:
>> Disklabel type: gpt
>> Disk identifier: 44B346AB-C694-45DF-8802-F6A6486C74E0
>>
>> Device StartEndSectors  Size Type
>> /dev/sda1   2048   4095   20481M BIOS boot
>> /dev/sda2   4096 5860532223 5860528128  2.7T Linux RAID
> 
> Software raid gemaakt met sda2 en sdb2:
> 
>> root@test:/etc/mdadm# cat /proc/mdstat
>> Personalities : [raid10]
>> md0 : active raid10 sdb2[1] sda2[0]
>>   2930132992 blocks super 1.2 2 near-copies [2/2] [UU]
>>   bitmap: 1/22 pages [4KB], 65536KB chunk
>>
>> unused devices: 
> 
> Deze md0 toegevoegd aan lvm:
> 
>> root@test:/etc/mdadm# pvdisplay
>>   --- Physical volume ---
>>   PV Name   /dev/md0
>>   VG Name   system
>>   PV Size   2.73 TiB / not usable 2.00 MiB
>>   Allocatable   yes
>>   PE Size   4.00 MiB
>>   Total PE  715364
>>   Free PE   699630
>>   Allocated PE  15734
>>   PV UUID   HO52PX-wDww-3McN-YauG-gPJn-nZZx-iME30u
>  
> Hier in vlm system-root & system-swap aangemaakt:
> 
>> root@test:/etc/mdadm# cat /etc/fstab
>> /dev/mapper/system-root /   xfs defaults0   1
>> /dev/mapper/system-swap noneswapsw  0   0
> 
> Dit loopt perfect, ECHTER het systeem start niet meer wanneer ik één
> van de harddisks unplug. :-( En dat was eigenlijk wèl n beetje het idee
> van deze exercitie...
> 
> Tijdens boot klaagt ie:
> 
>> volume group system not found
> en
>> unable to find LVM volume system/root
> en
>> dropping to a shell

Zelf doe ik dit andersom. Ik maak eerst een md-device, en daar bovenop
zet ik LVM. Andersom lijkt me erg raar, geen idee of dat kan.

Groet,
Paul.

> Is er iets mis met een config van "root op LVM op softraid10"? Dit zou
> in feite toch moeten werken?
> 
> Hij boot (grub) dus wel van beide disks, alleen lukt de LVM niet met één
> disk, en daarvoor het rootfs ook niet.
> 
> Enig idee? Suggesties?
> 
> MJ
> 
> Voor het geval iemand zegt: RAID10? Zou dat geen RAID1 moeten zijn...?
> Hier heb ik de raid10 setup vandaan:
> http://blog.a2o.si/2014/09/07/linux-software-raid-why-you-should-always-use-raid-10-instead-of-raid-1/
> 
> 



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Jochen Spieker
Lisi Reisz:
> On Friday 22 January 2016 14:55:38 to...@tuxteam.de wrote:
>> On Fri, Jan 22, 2016 at 08:55:55PM +0530, Himanshu Shekhar wrote:
>>> Today, I found too many mails from this mailing list in my Gmail spam
>>> folder.
>> 
>> You mean genuine mails in your spam folder or genuine spam which made
>> it through the Debian mailing list?
> 
> Genuine mails in the Spam folder.  Gmail dos this sometimes to all my mailing 
> lists.  I have never had many at a time, but there is a steady trickle.

I have that with my own e-mail server (Postfix, Dovecot, rspamd) as
well. Most false positives are from people who don't use their e-mail
provider's relay. One person, for example, chooses to use the Gmane
News2Mail gateway with a Yahoo address. Yahoo forbids other systems but
their own to send e-mail with @yahoo.com sender addresses and that's
what triggers my spam filter.

J.
-- 
I often blame my shortcomings on my upbringing.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Jorge Chaves
El vie, 22-01-2016 a las 15:00 +, Camaleón escribió:
> El Thu, 21 Jan 2016 03:34:33 +0100, Jorge Chaves escribió:
> 
> > El jue, 21-01-2016 a las 02:30 +0100, Jorge Chaves escribió:
> >> El mié, 20-01-2016 a las 22:20 -0300, alparkom . escribió:
> 
> (...)
> 
> >> > Según dicen "pymaxe" es una buena alternativa.
> >> > 
> >> > 
> >> > 
> >> Ok, la probaré. Gracias.
> >> 
> >> 
> >> 
> > En Debian 8 puede haber problemas al instalarlo.
> > 
> > La solución la he encontrado aquí:
> > http://unbrutocondebian.blogspot.com.es/2015/01/descargando-musica-con-pymaxe.html
> > 
> > Más adelante probaré algunas cosas y si descubro algo más ya os contaré.
> > Saludos.
> 
> El paquete deb tiene las siguientes dependencias:
> 
> ***
> Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg, 
> gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53, gstreamer0.10-plugins-
> ugly | vlc | mp
> ***
> 
> Los dos únicos paquetes que no están en los repos de Debian para Jessie 
> son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está disponible 
> en Debian Multimedia y el segundo también, aunque sólo para Wheezy, por 
> lo que no debe ser muy complicado saltarse/satisfacer las dependencias.
> 
> Saludos,
> 

Lo sé Camaleón. Eso fue lo primero que probé. Y lo cierto es que decidí
no seguir por el tema de las dependencias porque eso se podía convertir
en una red de túneles donde posiblemente no encontrara salida, aparte de
que no sé si es buena idea mezclar dependencias de Debian 7 con las
dependencias de Debian 8.

Por eso para Debian 8 tuve que bajarme el paquete "Source" en lugar del
paquete ".deb" y por eso como punto de partida usé el blog de
"unbrutocondebian" donde el programa funcionaba. Aunque si sigues el
hilo hice una serie de cosas que tuve que rectificar. Empecé instalando
el paquete en /usr y luego lo cambié a /usr/local.



Re: Debian user mailing list in Spam folder

2016-01-22 Thread Anders Andersson
On Fri, Jan 22, 2016 at 4:25 PM, Himanshu Shekhar
 wrote:
> Today, I found too many mails from this mailing list in my Gmail spam
> folder.
> Just wanted to confirm whether I am the only one to have this issue or
> others are also facing the same issue.

This is why you can tell google not to send debian list emails to the
spam folder. Use the feature.



Re: [OT] ¿Songr en Debian?

2016-01-22 Thread Camaleón
El Fri, 22 Jan 2016 18:28:52 +0100, Jorge Chaves escribió:

> El vie, 22-01-2016 a las 15:00 +, Camaleón escribió:

(...)

>> El paquete deb tiene las siguientes dependencias:
>> 
>> ***
>> Depends: python2.6 | python2.7, python-gtk2, python-glade2, ffmpeg,
>> gstreamer0.10-ffmpeg, libavcodec52 | libavcodec53,
>> gstreamer0.10-plugins-
>> ugly | vlc | mp ***
>> 
>> Los dos únicos paquetes que no están en los repos de Debian para Jessie
>> son "gstreamer0.10-ffmpeg" y "libavcodec53". El primero está disponible
>> en Debian Multimedia y el segundo también, aunque sólo para Wheezy, por
>> lo que no debe ser muy complicado saltarse/satisfacer las dependencias.
>> 
>> 
> Lo sé Camaleón. Eso fue lo primero que probé. Y lo cierto es que decidí
> no seguir por el tema de las dependencias porque eso se podía convertir
> en una red de túneles donde posiblemente no encontrara salida, aparte de
> que no sé si es buena idea mezclar dependencias de Debian 7 con las
> dependencias de Debian 8.

(...)

Lo que digo es que me extraña que esa "red de túneles sin salida" sea tal 
como dices ;-) porque el único paquete que puede dar problemas es 
"libavcodec53", el resto hay versión para Jessie.

Y si me apuras, te diría que se trata de una dependencia "ficticia" y que 
editando manualmente el archivo INFO del paquete .deb se podría instalar 
apuntando al paquete para Jessie "libavcodec56".

Saludos,

-- 
Camaleón



compte root désactivé, sudo = commande introuvable

2016-01-22 Thread Christophe De Natale
Bonsoir à vous,

Sur une installation fraîche de Jessie, je n'ai pas de droits
d'administration (console en gui ou tty).
Exemple :
sudo ifconfig = bash : sudo : commande introuvable


Pour info, je n'active pas le compte root à l'installation et c'est donc
mon premier utilisateur qui a les droits (normalement).

Une idée svp ? (la mienne, c'est que l'installation a foiré mais je ne
peux pas consulter les logs)
Merci et bonne soirée,
-- 
Christophe De Natale 



Re: Libre graphics could become the standard if we push right now

2016-01-22 Thread Joel Rees
Just to clarify my participation in this thread --

On Sat, Jan 23, 2016 at 1:34 AM, Alberto Salvia Novella
 wrote:
> Joel Rees:
>>
>> "Modern" CPUs have plenty of spare register space, most of it
>> undocumented. Register space can be used to record something of state,
>> allowing instruction streams to be self-parsing.
>
>
> Anyway I think this falls mostly in the hardware side.

I think you are making an artificial distinction between hardware and
software. That is, you seem to see a bright line where I don't see a
line, and you seem to call some things hardware that I would not.

I still prefer to call ROMmed design elements "firmware", and still
prefer to group firmware with software, making the distinction that
firmware is write-protected by hardware. Other lines of distinction
are generally promoted by salescrews with an axe to grind (proprietary
pseudo-solution to sell).

And the ability to clear the write protection by software makes
firmware infirm, so to speak. Re-writing CPU microcode and BIOS code,
including boot-time drivers and codec definitions, is dangerous, and
shrouding it in secrecy and cryptographic mumbo-jumbo is just the old
sales line of "trust me", which Ken Thompson explained the weakness of
in his classic (and deliberately incomplete) Reflections on Trusting
Trust.

> I liked microcode to
> be libre too,

Sure, microcode should also be free-as-in-freedom. I am definitely not
arguing against that idea.

I'm just saying you seemed to be promoting microcode for something it
can't do, back a ways there.

Your description of microcode as somehow less "executable" and more
"declarative" than something also didn't sit well. (It is both. You
cant separate operation from definition.)

> but I'm postponing that goal for later. As my main goal now is
> software to be libre.

Okay with that, as long as we don't promote the idea of a single
standard solution to graphics.

Monoculture pretty much undoes the advantages of freedom.

> When libre software is the standard, then I will start talking about libre
> hardware.

No problem with your focus on software, although I personally won't
believe we've won much as long as Intel (and now AMD again) and others
hide any kind of code, including the hardware and firmware.

> Have a nice day.

You have a nice day, too.

-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html



Re: SOLVED ?? user in group audio -- but only root can play sound

2016-01-22 Thread Ric Moore

On 01/22/2016 03:40 PM, Gregor Zattler wrote:


I now want to learn what problem PA is there to solve.


If you have multiple sound devices then pavucontrol will switch between 
them on the fly. I switch between USB headphones and my USB 7.1 sound 
system device. Sweet. 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.
http://linuxcounter.net/user/44256.html



Re: Lentitud en el sistema después de ciertos movimientos

2016-01-22 Thread Jose Maldonado
El sáb, 23-01-2016 a las 00:05 -0300, alparkom . escribió:
> El día 22 de enero de 2016, 22:33, Jose Maldonado
>  escribió:
> > Que leo este mensaje y se me viene a la memoria:
> >
> > ¿Has revisado los datos SMART de tu disco duro?
> >
> 
> No. Como los veo?

Con Gnome Disks puedes hacerlo, está en la opción Datos y Pruebas SMART.

Con el paquete smartmontools tambien, solo debes aplicar el comando

sudo smartctl -a /dev/sdX 

Donde X lo cambias por la letra de la unidad correspondiente, y así
podrás ver los datos SMART de tu disco duro. 

Busca algún error o fallo. En cuanto a lo journalctl, es raro que te
aparezcan errores con el Bluetooth, pero yo que tu me fijaria más en
detalles de NCQ o ATA, en el log suelen aparecer todos esos datos, si es
que son generados. 


-- 
Dios en su Cielo, todo bien en la Tierra


signature.asc
Description: This is a digitally signed message part


  1   2   >