Re: ipv6 - nom de domaine sur site mutualisé inaccessible - comment contourner avec linux unbound - google dns - opendns - configuration

2017-08-08 Thread Pascal Hambourg

Le 08/08/2017 à 12:11, G2PC a écrit :


Le 07/08/2017 à 23:49, Pascal Hambourg a écrit :


Apparemment il n'y a pas de problème de connectivité entre Orange et
l'hébergeur. Donc a priori soit il y a un blocage au niveau du
réseau/box de G2PC, soit il y a un filtrage spécifique de son adresse
IP publique quelque part en chemin.


Ce qui ne m'étonne pas, une idée pour démontrer ce filtrage volontaire
de mes données ?


As-tu redémarré ta box pour éliminer un dysfonctionnement transitoire ? 
D'autre part, cela te fera peut-être changer d'adresse IP publique.


As-tu contacté le support de l'hébergeur en lui exposant la situation 
avec les différents résultats de traceroute ?




Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 14:31:33 + schrieb Curt:

> Did you look on the innertubes? This seems to be quite a popular
> question. No help here, for instance?
> 
> https://superuser.com/questions/860553/user-id-mapping-with-nfs-on-
synology-nas
> 
> If not I'm sorry for wasting your time.

Thanks for the link. I think the whole NFS stuff is a really ugly and 
partly broken dinosaur. I'm using NFS (v3) for decades now, and all the 
glitches are still not really solved. And CIFS for Linux clients seems to 
be no way to go.

I'm afraid I have to setup Kerberos to work-around the broken ipmapd 
stuff. More than a little bit "oversized"...

Thanks for the help!



Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread Teemu Likonen
Teemu Likonen [2017-08-09 07:42:43+03] wrote:

> rm --force "$HOME/bin"

Fix:

rm --force --recursive "$HOME/bin"

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread Teemu Likonen
spp mg [2017-08-09 04:56:58+08] wrote:

> For example , some guy put a "rm" but named "ls" to ~/bin . This "ls"
> can be virus or ransomware , user may not know it's not which he
> want("ls").

The "some guy" who does that will also modify the ~/.profile file or
similar startup scripts to _ensure_ that their program is in the
beginning of the PATH, no matter what the PATH variable was originally.

If $USER has a malicious program running with their $UID the program can
do everything the $USER can do. It's a game over situation and default
settings in ~/.profile or similar do not matter.

But sometimes it may be useful to write a root-owner startup script (one
example: /etc/X11/Xsession.d/50custom-stuff) which could do something
like

rm --force "$HOME/bin"
cp --recursive --force /etc/skel/. "$HOME"

so that some default files are restored at every login.

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: Help with USB audio card

2017-08-08 Thread David Christensen

On 08/08/17 00:38, Rodolfo Medina wrote:


$ cat /etc/debian_version
buster/sid


Have you tried the USB audio interface with the stable version of Debian?



$ uname -a
Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux


Okay.



`dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...


Try running the command after you plug in the USB audio interface.


David



Re: formater un texte avec un retour à la ligne

2017-08-08 Thread Francois Lafont
Bonjour,

On 08/09/2017 03:41 AM, bernard.schoenac...@free.fr wrote:

> je recherche la commande qui me permet de faire un 
> retour à la ligne sur un texte écrit trop large, et
> qui permet le retour après 72 caractères ...
> 
> elle est dans les manpages  
Je pense que c'est la commande "fold" que tu cherches.
Soit dit en passant, je ne connaissais pas cette commande
mais on la trouve immédiatement en tapant les bons mots
clés (en anglais) dans son moteur de recherche préféré,
comme par exemple "linux wrap text". ;)

-- 
François Lafont



formater un texte avec un retour à la ligne

2017-08-08 Thread bernard . schoenacker
bonjour,

je recherche la commande qui me permet de faire un 
retour à la ligne sur un texte écrit trop large, et
qui permet le retour après 72 caractères ...

elle est dans les manpages  


merci de votre aimable attention

slt
bernard



Re: Help with USB audio card

2017-08-08 Thread Rodolfo Medina
deloptes  writes:

> Rodolfo Medina wrote:
>
>>   hw_ptr   : 0
>> #+ | 00%^C
>> Aborted by signal Interrupt...
>> #+ | 00%
>> 
>
> Before you abort, did you see any indication - these percent signs are
> actually indicating the level of the input.


This is the output without abortion:

$ arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
0 <- 0
1 <- 0
Its setup is:
  stream   : CAPTURE
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min: 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary : 6206523236469964800
Slave: Hardware PCM card 2 'USB PnP Sound Device' device 0 subdevice 0
Its setup is:
  stream   : CAPTURE
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 1
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min: 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary : 6206523236469964800
  appl_ptr : 0
  hw_ptr   : 0
#+ | 00%


> If not, is it perhaps muted?
>
> You can use to unmute
>
> alsamixer -c 2
>
> -c 2 is for the second card not to mix up with arecord -c1 which is telling
> arecord to use mono input

I unmuted it from within alsamixer menu: F6 and went into the USB card table.
Then I gave the command...

Cheers,
Rodolfo



Re: Help with USB audio card

2017-08-08 Thread deloptes
Rodolfo Medina wrote:

>   hw_ptr   : 0
> #+ | 00%^C
> Aborted by signal Interrupt...
> #+ | 00%
> 

Before you abort, did you see any indication - these percent signs are
actually indicating the level of the input.


If not, is it perhaps muted?

You can use to unmute

alsamixer -c 2

-c 2 is for the second card not to mix up with arecord -c1 which is telling
arecord to use mono input


regards





Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread Michael Lange
Hi,

On Wed, 9 Aug 2017 04:56:58 +0800
spp mg  wrote:

(...)
> For example , some guy put a "rm" but named "ls" to ~/bin . This "ls"
> can be virus or ransomware , user may not know it's not which he
> want("ls").

a user without administrator privilege can generally put "malware"
anywhere in *his own* home directory and it could possibly cause the same
damage from there (if the system is configured properly hopefully not
that much), so this does not matter, I think.

I think you forget that your "some guy" must be either the user him- or
herself or the system administrator (root)! If your users or
sysadmins desperately want to shoot themselves in the foot, don't worry,
they will find some way, you will not be able to stop them. But why would
normal people do such a thing? And any malware programmer who secretly
"injects" something bad into your system will probably not rely on ~/bin
being at the start of PATH, these people have other ways.

> 
> So I think put ~/bin to tail of $PATH has better security for normal
> user.

Why? If the user puts a program called "evilmalware" there, it simply
does not matter where in PATH it is. And when the user does something
sane instead, as in my "poedit" example, it will no longer work :(

> 
> For me, I will avoid use same name with exist command, and for user
> who want use same name , I believe he know or will learn how to modify
> $PATH.
> 
> 
> I mean , put ~/bin in tail of $PATH will batter for default setting,
> so does developer has another reason to put to beginning ?

I think the reason is exactly as I and others have said, the benefit to
security you get by omitting ~/bin from the beginning of PATH is more
"feeling" than "reality", the real dangers are waiting somewhere else :)
And the benefit of this default setting is that a user without privilege
may override a system default command. 

Best regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Where there's no emotion, there's no motive for violence.
-- Spock, "Dagger of the Mind", stardate 2715.1



Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread spp mg
2017-08-09 4:04 GMT+08:00 Michael Lange :
> Hi,
>
> On Wed, 9 Aug 2017 03:11:48 +0800
> spp mg  wrote:
>
>> Hi all
>>
>> In the ~/.profile has below default setting:
>>
>> --
>> # set PATH so it includes user's private bin if it exists
>> if [ -d "$HOME/bin" ] ; then
>> PATH="$HOME/bin:$PATH"
>> fi
>> --
>>
>> Why put ~/bin beginning ? Is that dangerous ?
>
> like other people already pointed out there shouldn't be anything
> dangerous about this.
> One possible use case is for example that you could put there a
> minimal script that temporarily overrides some environment variable, like
> one I have here which reads:
>
> #!/bin/bash
> GTK_IM_MODULE=gtk /usr/bin/poedit $@
> exit $?
>
> This way I can conveniently call "poedit " with the desired
> setting of GTK_IM_MODULE without either having to type the whole thing
> each time or else having to permanently change GTK_IM_MODULE's setting
> (the default value of which I modified for other reasons).
>
> Best regards
>
> Michael
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> Fascinating, a totally parochial attitude.
> -- Spock, "Metamorphosis", stardate 3219.8
>

Thinks to reply (very fast :D)

I think it's may dangerous because generally system command should be
highter older then user's command.

For example , some guy put a "rm" but named "ls" to ~/bin . This "ls"
can be virus or ransomware , user may not know it's not which he
want("ls").

So I think put ~/bin to tail of $PATH has better security for normal user.

For me, I will avoid use same name with exist command, and for user
who want use same name , I believe he know or will learn how to modify
$PATH.


I mean , put ~/bin in tail of $PATH will batter for default setting,
so does developer has another reason to put to beginning ?



Re: Laser Printer recommendation...

2017-08-08 Thread Jape Person

On 08/08/2017 02:01 PM, Doug wrote:
...

It always amazes me that people who get a driver made specifically
for a device, a driver that has significantly more capability than
one that came with their Linux os, would refuse to use it. It hasn't
cost them anything, just as the Linux os hasn't cost them anything,
so it is FREE. (Don't tell me they paid for it with the
printer--they couldn't have bought the printer without subsidizing
the driver, so essentially it is free.)  Same goes for video drivers.
It's like trying to swim with one hand tied behind your back.

--doug




It always amazes me that people think that something that didn't cost 
them any additional money is necessarily free. We live in a society 
chock full of nefarious operators (commercial, governmental, and 
free-lance). There can be a lot of issues with just accepting a 
manufacturer's software. I've seen the support disc for a printer 
install a half-dozen or more services (and set them to run automatically 
at system start) without any notification whatsoever to the user.


I'd also say that the Open Source drivers available for many devices do 
not differ significantly in usable functionality (as opposed to lacking 
special "features" from the proprietary ones. Furthermore, many users 
don't even need all of the regular functionality provided by the 
proprietary drivers. How many of us have multi-function printing devices 
at home which include fax capability? How many of us actually use that 
fax capability at home? If you don't need it, why install additional 
software to support it?


Some of the proprietary driver packages I've seen appear to be a 
hodge-podge of Open Source / Freeware / Proprietary software collected 
by support groups that are barely holding on by their fingernails. How 
often is that stuff perused for security or functional issues? They're 
barely getting it out of the door to keep up with the plethora of new 
printer models! It can be a bit horrifying to watch a truly ugly 
installation process grinding away for minutes doing whatever it wants 
under the root account -- often without signifying just what it's doing 
to ownership and permissions or what it may be altering in config files 
or just what it's dumping in system folders.


I'm pretty sure that the vendors don't always know just what they're 
providing in their driver packages. Whoever wrote the installation notes 
for some of the commercial printer drivers I've played with recently 
definitely didn't know how to install those drivers -- on any OS.


I'd rather use drivers from the official repos. The people who put those 
packages together know the OS and its desktop environments, ostensibly 
are following the policies of the distro, are communicating with members 
of other teams pertinent to use of the driver, and are presenting their 
packages for an assessment process by testing and unstable users and 
release teams. Me likey.


A proprietary driver has to at least appear to be well made, provide 
reasonable documentation, and offer me something very special to make my 
risk / benefit analysis go its way. And, no matter how great the 
proprietary driver is, I won't use it if the only real difference 
between it and the Open Source driver is that it supports something I 
don't use.


Just some thoughts on what some of the people who amaze you may be thinking.

Or you could read Brian's response, which is far more pithy and succinct.

:-)



Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread Michael Lange
Hi,

On Wed, 9 Aug 2017 03:11:48 +0800
spp mg  wrote:

> Hi all
> 
> In the ~/.profile has below default setting:
> 
> --
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/bin" ] ; then
> PATH="$HOME/bin:$PATH"
> fi
> --
> 
> Why put ~/bin beginning ? Is that dangerous ?

like other people already pointed out there shouldn't be anything
dangerous about this.
One possible use case is for example that you could put there a
minimal script that temporarily overrides some environment variable, like
one I have here which reads:

#!/bin/bash
GTK_IM_MODULE=gtk /usr/bin/poedit $@
exit $?

This way I can conveniently call "poedit " with the desired
setting of GTK_IM_MODULE without either having to type the whole thing
each time or else having to permanently change GTK_IM_MODULE's setting
(the default value of which I modified for other reasons).

Best regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Fascinating, a totally parochial attitude.
-- Spock, "Metamorphosis", stardate 3219.8



Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread Nicolas George
Le duodi 22 thermidor, an CCXXV, spp mg a écrit :
> Why put ~/bin beginning ? Is that dangerous ?

No.

-- 
  Nicolas George



Re: Why debian put ~/bin beginning of $PATH

2017-08-08 Thread John Elliot V
On 09/08/17 05:11, spp mg wrote:
> In the ~/.profile has below default setting:
> 
> --
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/bin" ] ; then
> PATH="$HOME/bin:$PATH"
> fi
> --
> 
> Why put ~/bin beginning ?

So that your own stuff has precedence...

> Is that dangerous ?

Not really. Only you or a system administrator would have write access
to ~/bin. What makes you think it might be dangerous?

-- 
E: j...@jj5.net
P: +61 4 3505 7839
W: https://www.jj5.net/
<>

[no subject]

2017-08-08 Thread . .


Gesendet von Mail für Windows 10
Hallo du chreieb ich hab dich was gefrackt was habich dich gefrackt antwort 
danke


Why debian put ~/bin beginning of $PATH

2017-08-08 Thread spp mg
Hi all

In the ~/.profile has below default setting:

--
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
--

Why put ~/bin beginning ? Is that dangerous ?

Thanks .



Re: Laser Printer recommendation...

2017-08-08 Thread Brian
On Tue 08 Aug 2017 at 13:01:30 -0500, Doug wrote:

> It always amazes me that people who get a driver made specifically for a
> device, a driver that has significantly more capability than one that came
> with their Linux os,
> would refuse to use it. It hasn't cost them anything, just as the Linux os
> hasn't cost them anything, so it is FREE. (Don't tell me they paid for it
> with the printer--they
> couldn't have bought the printer without subsidizing the driver, so
> essentially it is free.)  Same goes for video drivers. It's like trying to
> swim with one hand tied behind your back.

It's strange, isn't it, that some people do not want to knuckle under
and do what they are told is best for them. The same people want some
control over the goods they own and the services they use. Wierdos.

Ignore them and join the hive.

-- 
Brian



Re: CUPS

2017-08-08 Thread Pierre L.
Merci pour le tuyau.

Cependant, après plusieurs acharnements, toujours le même souci... On
aperçoit dans la file d'attente de l'imprimante une "erreur".
Il faudra que je teste un de ces 4 dans une virtualbox avec une Debian
toute neuve...

C'est déprimant, d'autant plus que ca fonctionnait très bien nativement :((
Quelle poisse !!!


Le 08/08/2017 à 14:59, Frédéric MASSOT a écrit :
> Sur le site de Brother "http://support.brother.com;, dans la section
> "Téléchargement", Brother fourni un script de configuration, des paquets
> Debian pour Cups ou LPR pour ses imprimantes et scanners.
>
> Ça fonctionne pour les PC Debian du boulot.



signature.asc
Description: OpenPGP digital signature


Re: LibreOffice - middle click paste does not work.

2017-08-08 Thread Kamil Jońca
Ben Finney  writes:

> kjo...@poczta.onet.pl (Kamil Jońca) writes:
>
>> Sid box with libreoffice.
>> After recent upgrade I realized that paste selection with Middle Mouse
>> button does not work. Can anyone confirm? I do not know if I have to
>> report bug :)
>
> Thanks for asking first.
>
> You'll need to describe the behaviour in a similar way as if you were
> reporting a bug, though.
>
> For example: What did you upgrade, from what version to what version?
If I can believe "/var/log/apt/history.log"
--8<---cut here---start->8---
Upgrade: libreoffice-math:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-script-provider-js:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-report-builder-bin:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-sdbc-postgresql:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-java-common:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-base:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), libreoffice-core:amd64 
(1:5.3.5~rc1-3, 1:5.4.0-1), libreoffice-sdbc-firebird:amd64 (1:5.3.5~rc1-3, 
1:5.4.0-1), python3-uno:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-style-galaxy:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-base-core:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-impress:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), ure:amd64 (5.3.5~rc1-3, 
5.4.0-1), libreoffice-writer:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-common:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), uno-libs3:amd64 
(5.3.5~rc1-3, 5.4.0-1), libreoffice-help-en-us:amd64 (1:5.3.5~rc1-3, 
1:5.4.0-1), libreoffice-calc:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-base-drivers:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-draw:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1), 
libreoffice-avmedia-backend-gstreamer:amd64 (1:5.3.5~rc1-3, 1:5.4.0-1)
--8<---cut here---end--->8---
it was upgrade frrom 5.3.5~rc1 to 5.4.0-1


> Can you give a repeatable sequence of steps that others can also try to
> reproduce what you're seeing?
1. Open Writer or Calc window 
2. Open emacs or xterm  window,  write some random text.
3.Select this text (but DON'T use Ctrl-Insert or sth)
4. change focus to Calc or Writer window
5. push middle mouse button
So far this makes paste selected text into Calc window.


> Is there anything special about your
> environment that we should know?

I tested it on two boxes.
1. Box with "ancient" configuration (fvwm, no kde or gnome)
2. laptop with xfce desktop
KJ


-- 
http://wolnelektury.pl/wesprzyj/teraz/
Leibowitz's Rule:
When hammering a nail, you will never hit your
finger if you hold the hammer with both hands.



Re: disable orange progress running apt

2017-08-08 Thread Felix Miata
Brian composed on 2017-08-08 13:49 (UTC+0100):

> Apologies. I missed off a ";" when translating the changelog entry to
> be used in your 99mono file. Also Progress-Fancy turns out to be not
> what you want.

> "-o Apt::Color=0" works for me not to see the orange colour in stable
> and unstable. In a file it works on stable but not on unstable. There
> seems to be a bug here.

Success in Stretch using

Apt::Color "false";

:-D

>From what documentation did Curt and you determine Apt::Color was the solution?
Google turns up "Apt::Color "false";" or "Apt::Color 0" nowhere except in this
thread's archive.

Thanks to all who responded!
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Help with USB audio card

2017-08-08 Thread Rodolfo Medina
deloptes  writes:

> Rodolfo Medina wrote:
>
>> I just bought an external USB audio card.  I plugged it into the USB port
>> of my
>> PC and plugged a 3.5mm jack microphone into the `mic' input of the card. 
>> It is shown in lsusb:
>> 
>> $ lsusb
>> Bus 002 Device 005: ID 17ef:602e Lenovo
>> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
>> Controlle Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
>> RTS5129 Card Reader Bus 001 Device 002: ID 0438:7900 Advanced Micro
>> Devices, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
>> hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> 
>> 
>> and also in arecord:
>> 
>> $ arecord --list-devices
>>  List of CAPTURE Hardware Devices 
>> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662
>> rev3 Analog]
>>   Subdevices: 0/1
>>   Subdevice #0: subdevice #0
>> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog
>> [ALC662 rev3 Alt Analog]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> 
>> Besides, I ran alsamixer, selected the USB card and unmuted everything. 
>> But
>> then, when I try to record, no sound is recorded.  I do:
>> 
>>  $ sox -t alsa hw:2,0 output.wav
>> 
>> , or
>> 
>>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>> 
>> , or also within Audacity.  But nothing, my voice is not recorded.  Please
>> help whoever can.
>
>
> A short howto I wrote years ago
>
> 1) find out cards and inputs
>
> shell> cat /proc/asound/cards
>  0 [Intel  ]: HDA-Intel - HDA Intel
>   HDA Intel at 0xff95 irq 22
>  1 [HVR900 ]: USB-Audio - WinTV HVR-900
>   WinTV HVR-900 at usb-:00:1a.7-3, high speed
>  2 [Webcam ]: USB-Audio - Philips SPC 1000NC Webcam
>   Philips CE Philips SPC 1000NC Webcam at
> usb-:00:1a.7-5.4, high speed
>
> => I'm going to use the Webcam built in mic => card # 2
>
> 2) find out the input
>
> shell> cat /proc/asound/devices
>   0: [ 0]   : control
>   1:: sequencer
>   6: [ 0- 2]: hardware dependent
>   7: [ 0- 3]: hardware dependent
>  16: [ 0- 0]: digital audio playback
>  17: [ 0- 1]: digital audio playback
>  19: [ 0- 3]: digital audio playback
>  24: [ 0- 0]: digital audio capture
>  32: [ 1]   : control
>  33:: timer
>  56: [ 1- 0]: digital audio capture
>  64: [ 2]   : control
>  88: [ 2- 0]: digital audio capture
>
> => my input is the capture on the second card
>
>  88: [ 2- 0]: digital audio capture
>
> 3) so no we can test the mic
>
> shell> arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null



Here are my outputs:

$ cat /proc/asound/cards
 0 [HDMI   ]: HDA-Intel - HDA ATI HDMI
  HDA ATI HDMI at 0xfea64000 irq 39
 1 [Generic]: HDA-Intel - HD-Audio Generic
  HD-Audio Generic at 0xfea6 irq 16
 2 [Device ]: USB-Audio - USB PnP Sound Device
  C-Media Electronics Inc. USB PnP Sound Device at 
usb-:00:12.0-1.3, full spe



$ cat /proc/asound/devices
  2: [ 0]   : control
  3: [ 0- 3]: digital audio playback
  4: [ 0- 0]: hardware dependent
  5: [ 1]   : control
  6: [ 1- 0]: digital audio playback
  7: [ 1- 0]: digital audio capture
  8: [ 1- 2]: digital audio capture
  9: [ 1- 0]: hardware dependent
 10: [ 2]   : control
 11: [ 2- 0]: digital audio playback
 12: [ 2- 0]: digital audio capture
 33:: timer


$ arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
0 <- 0
1 <- 0
Its setup is:
  stream   : CAPTURE
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min: 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary : 6206523236469964800
Slave: Hardware PCM card 2 'USB PnP Sound Device' device 0 subdevice 0
Its setup is:
  stream   : CAPTURE
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 1
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  

Re: Laser Printer recommendation...

2017-08-08 Thread Doug


On 08/08/2017 09:29 AM, Celejar wrote:

On Tue, 4 Jul 2017 12:03:45 +0100
Brian  wrote:


On Mon 03 Jul 2017 at 19:15:19 -0400, Celejar wrote:


On Mon, 3 Jul 2017 14:46:08 -0400
Dan Ritter  wrote:

...


A Brother with all of:

- ethernet networking
- duplex
- BR/Script3 (Their PostScript clone, which I think is actually
   GhostScript)

will not need a driver.

Current examples: HL-L5100N ($170), HL-L6200DW ($250)

Very interesting, thanks. Is this documented / explained anywhere? I
think I understand why 1 and 3 might be relevant to the need for
drivers, but 2?

FWIW, my HL-2280DW meets 1 and 2, but not (apparently) 3, and indeed
does seem to require a driver.

I do not see why 1 and 2 are in any way necessary to use a printer
without a proprietary driver. PostScript or PCL6 emulation is, however,
a pre-condition. The HL-2280DW has PCL6 emulation.

Very interesting, thanks. I (re)dipped my toes into the mysteries of
printer setup, and (eventually) configured another version of my
HL-2280 using CUPS settings of "Generic / Generic PCL Laser Printer".
The CUPS test page printed out correctly, although I see that many
options exposed by the Brother proprietary drivers do not seem to be
exposed by the generic one, which makes sense, I suppose. I do like
those options, though (e.g., duplexing and "toner save" / quality
options).

I'll have to do more testing to see whether the core printing
funnctionality, at least, is on par with the proprietary driver's.

Thanks again,

Celejar


It always amazes me that people who get a driver made specifically for a 
device, a driver that has significantly more capability than one that 
came with their Linux os,
would refuse to use it. It hasn't cost them anything, just as the Linux 
os hasn't cost them anything, so it is FREE. (Don't tell me they paid 
for it with the printer--they
couldn't have bought the printer without subsidizing the driver, so 
essentially it is free.)  Same goes for video drivers. It's like trying 
to swim with one hand tied behind your back.


--doug



Background will not change.

2017-08-08 Thread Default User
Hi.

- Debian Unstable.
- Cinnamon desktop environment.
- Updated 2017-08-07, then shut down.
- On 2017-08-08, booted up.

Now, background is the Debian 9 default "Flipper" image.  Background can
not be changed.

What to check / what to do?


Re: Help with USB audio card

2017-08-08 Thread deloptes
Rodolfo Medina wrote:

> Hi all.
> 
> I just bought an external USB audio card.  I plugged it into the USB port
> of my
> PC and plugged a 3.5mm jack microphone into the `mic' input of the card. 
> It is shown in lsusb:
> 
> $ lsusb
> Bus 002 Device 005: ID 17ef:602e Lenovo
> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
> Controlle Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
> RTS5129 Card Reader Bus 001 Device 002: ID 0438:7900 Advanced Micro
> Devices, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
> hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
> 
> and also in arecord:
> 
> $ arecord --list-devices
>  List of CAPTURE Hardware Devices 
> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662
> rev3 Analog]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog
> [ALC662 rev3 Alt Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> Besides, I ran alsamixer, selected the USB card and unmuted everything. 
> But
> then, when I try to record, no sound is recorded.  I do:
> 
>  $ sox -t alsa hw:2,0 output.wav
> 
> , or
> 
>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
> 
> , or also within Audacity.  But nothing, my voice is not recorded.  Please
> help whoever can.
> 
> Thanks,
> 
> Rodolfo


A short howto I wrote years ago

1) find out cards and inputs

shell> cat /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xff95 irq 22
 1 [HVR900 ]: USB-Audio - WinTV HVR-900
  WinTV HVR-900 at usb-:00:1a.7-3, high speed
 2 [Webcam ]: USB-Audio - Philips SPC 1000NC Webcam
  Philips CE Philips SPC 1000NC Webcam at
usb-:00:1a.7-5.4, high speed

=> I'm going to use the Webcam built in mic => card # 2

2) find out the input

shell> cat /proc/asound/devices
  0: [ 0]   : control
  1:: sequencer
  6: [ 0- 2]: hardware dependent
  7: [ 0- 3]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 19: [ 0- 3]: digital audio playback
 24: [ 0- 0]: digital audio capture
 32: [ 1]   : control
 33:: timer
 56: [ 1- 0]: digital audio capture
 64: [ 2]   : control
 88: [ 2- 0]: digital audio capture

=> my input is the capture on the second card

 88: [ 2- 0]: digital audio capture

3) so no we can test the mic

shell> arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null


regards



Re: Jeg skulle aldrig have opdateret til Stretch ...

2017-08-08 Thread Flem
Hvad angår konfigurationsfiler i hjemmemappe, har jeg forsøgt at oprette
ny bruger for at se om kde så ville køre ... hjalp ikke. Jeg har chekket
opgraderingsvejledningen.

Det er da glædeligt at nogle har bedre oplevelser. Jeg var nu også
virkelig godt tilfreds med Jessie. Det kan da også godt være at jeg
skulle have ventet ½ års tid til de værste bugs var luget ud af stretch.
Men nu overvejer jeg faktisk en netinstall af kubuntu 16.04. på en anden
partition (så kan jeg jo altid vende tilbage for se om stretch
fungerer). For jeg orker ikke at fluekneppe stretch for få at alle
mulige vigtige småting til at fungere.

Jeg har da også oplevet problemer med ubuntu, men ikke med opdatering af
LTS-udgaverne. Jeg har heller ikke tid til at opdatere hvert halve år
... så LTS passer mig fint, og det gør debians opdatering af stable også
...

Flem


On 08-08-2017 17:36, Geert Heldager Nielsen wrote:
> Når man opgraderer fra en udgivelse til den næste,
> er der altid risiko for, at gamle konfigurations-filer 
> i hjemmemappen kan give problemer. En anden ting man kan 
> gøre, er at læse installerings-vejledningen, hvor der er 
> tips til hvad der kan gå galt, og hvordan det løses.
>



RE: Ik zou mijn opgewonden lichaamsdelen tellen. Jennifer

2017-08-08 Thread Robert Corveleyn
Wens dergelijke berichten niet meer te ontvangen dank U

-Oorspronkelijk bericht-
Van: Jennifer Elkasmi [mailto:i...@ecodemgroup.it] 
Verzonden: dinsdag 8 augustus 2017 10:35
Aan: debian-user@lists.debian.org
Onderwerp: Ik zou mijn opgewonden lichaamsdelen tellen. Jennifer

Maar laten we op jou richten - zijn ze zo zoet als de mijne?

http://bit.ly/2vIo5D3



Re: Jeg skulle aldrig have opdateret til Stretch ...

2017-08-08 Thread Geert Heldager Nielsen

Når man opgraderer fra en udgivelse til den næste,
er der altid risiko for, at gamle konfigurations-filer 
i hjemmemappen kan give problemer. En anden ting man kan 
gøre, er at læse installerings-vejledningen, hvor der er 
tips til hvad der kan gå galt, og hvordan det løses.

-- 
Geert Heldager Nielsen





Re: xsane scanner

2017-08-08 Thread JP
On Tuesday, 8 August 2017 12:49:18 BST Stephen Grant Brown wrote:
> How do I configure a scanner for xsane?
> I am printing to the Canon MG6150, but it is not being recognized as a
> scanner.

Should probably be supported by this:

https://manpages.debian.org/stretch/libsane-common/sane-pixma.5.en.html#FILES

You'll need to put the IP in /etc/sane.d/pixma.conf as described in that 
section, eg. bjnp://

For my MG3250 it sometimes gives an error trying to connect the first time, but 
it wakes the scanner parts and it works the second time.

Regards



Re: Help with USB audio card

2017-08-08 Thread Rodolfo Medina
David Wright  writes:

> On Tue 08 Aug 2017 at 09:38:40 (+0200), Rodolfo Medina wrote:
>> David Christensen  writes:
>> 
>> > On 08/07/17 05:15, Rodolfo Medina wrote:
>> >> Hi all.
>> >>
>> >> I just bought an external USB audio card.  I plugged it into the USB port
>> >> of my PC and plugged a 3.5mm jack microphone into the `mic' input of the
>> >> card.  It is shown in lsusb:
>> >>
>> >> $ lsusb
>> >> Bus 002 Device 005: ID 17ef:602e Lenovo
>> >> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> >> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> >> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
>> >> Controlle
>
>  
>> > Please run the following commands, and cut and past the commands and their
>> > outputs into a reply:
>> >
>> > cat /etc/debian_version
>> >
>> > uname -a
>> >
>> > dmesg | grep -i cm108 -A 10 -B 10
>> 
>> 
>> Thanks...
>> 
>> $ cat /etc/debian_version
>> buster/sid
>> 
>> $ uname -a
>> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64
>> GNU/Linux
>> 
>> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...
>
> Assuming dmesg is producing any output (some systems may require
> root), try the address above instead (keeping the -i).
>
> dmesg | grep -i 013c -A 10 -B 10



# dmesg | grep -i 013c -A 10 -B 10
[   68.109662] hid-generic 0003:17EF:602E.0003: input,hidraw1: USB HID v1.11 
Mouse [PixArt USB Optical Mouse] on usb-:00:13.0-1.4/input0
[  124.794483] usb 2-1.4: USB disconnect, device number 5
[  126.295343] usb 2-1.4: new low-speed USB device number 6 using ehci-pci
[  126.407744] usb 2-1.4: New USB device found, idVendor=17ef, idProduct=602e
[  126.407751] usb 2-1.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  126.407755] usb 2-1.4: Product: USB Optical Mouse
[  126.407759] usb 2-1.4: Manufacturer: PixArt
[  126.410985] input: PixArt USB Optical Mouse as 
/devices/pci:00/:00:13.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:17EF:602E.0004/input/input15
[  126.468103] hid-generic 0003:17EF:602E.0004: input,hidraw1: USB HID v1.11 
Mouse [PixArt USB Optical Mouse] on usb-:00:13.0-1.4/input0
[12578.608934] usb 1-1.3: new full-speed USB device number 4 using ehci-pci
[12578.718654] usb 1-1.3: New USB device found, idVendor=0d8c, idProduct=013c
[12578.718660] usb 1-1.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[12578.718664] usb 1-1.3: Product: USB PnP Sound Device
[12578.718668] usb 1-1.3: Manufacturer: C-Media Electronics Inc.  
[12578.723544] input: C-Media Electronics Inc.   USB PnP Sound Device as 
/devices/pci:00/:00:12.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:0D8C:013C.0005/input/input16
[12578.781249] hid-generic 0003:0D8C:013C.0005: input,hidraw2: USB HID v1.00 
Device [C-Media Electronics Inc.   USB PnP Sound Device] on 
usb-:00:12.0-1.3/input3
[12578.875986] usbcore: registered new interface driver snd-usb-audio


Thanks,
cheers
Rodolfo



Re: Laser Printer recommendation...

2017-08-08 Thread Celejar
On Fri, 7 Jul 2017 11:36:10 +0100
Brian  wrote:

> On Wed 05 Jul 2017 at 15:31:51 +0100, Brian wrote:
> 
> > On Tue 04 Jul 2017 at 09:05:21 -0400, Celejar wrote:
> > 
> > > On Tue, 4 Jul 2017 12:03:45 +0100
> > > Brian  wrote:
> > > 
> > > > On Mon 03 Jul 2017 at 19:15:19 -0400, Celejar wrote:
> > > > 
> > > > > On Mon, 3 Jul 2017 14:46:08 -0400
> > > > > Dan Ritter  wrote:
> > > > > 
> > > > > ...
> > > > > 
> > > > > > A Brother with all of:
> > > > > > 
> > > > > > - ethernet networking
> > > > > > - duplex
> > > > > > - BR/Script3 (Their PostScript clone, which I think is actually
> > > > > >   GhostScript)
> > > > > > 
> > > > > > will not need a driver.
> > > > > > 
> > > > > > Current examples: HL-L5100N ($170), HL-L6200DW ($250)
> > > > > 
> > > > > Very interesting, thanks. Is this documented / explained anywhere? I
> > > > > think I understand why 1 and 3 might be relevant to the need for
> > > > > drivers, but 2?
> > > > > 
> > > > > FWIW, my HL-2280DW meets 1 and 2, but not (apparently) 3, and indeed
> > > > > does seem to require a driver.
> > > > 
> > > > I do not see why 1 and 2 are in any way necessary to use a printer
> > > > without a proprietary driver. PostScript or PCL6 emulation is, however,
> > > > a pre-condition. The HL-2280DW has PCL6 emulation.
> > > 
> > > I know that it has PCL6 emulation, but the fact is that I have never
> > > been able to get it working properly without Brother's binary blob
> > > drivers, nor have I seen any reports of anyone who has.
> > 
> > Depends what you mean by "properly".
> > 
> > The PPD in /etc/cups/ppd has a line beginning *cupsFilter:. . Alter
> > the line to read
> > 
> >   *cupsFilter: "application/vnd.cups-raster 50 rastertohp"
> > 
> > Restart cups and do
> > 
> >   lp -d  /etc/nsswitch
> > 
> > That file prints out perfectly on my PCL/PCLX capable LaserJet. (I used
> > a Brother PPD, with the altered line, for your printer).
> > 
> > I am unsure about "50" in the *cupsFilter: line. "0" might be better.

This seems to work (I used "0", since the existing line had "0"),
except for the fact that each time I print a page (via the CUPS "Print
Test Page" feature), it prints out twice. Why? [I commented out, and
then actually removed, the original cupsFilter line, restarting CUPS
each time.]

> Reports of success from Brother printer users would be of benefit.
> 
> Another technique would be to use a Generic PCL6 (or maybe PCL5) PPD or
> the pxlmono one; a disadvantage might be that needed printer features
> are missing from them but they have been reported to work.

Ah, I guess this is what a reported trying in my other email. As you
suggest, it works, but important features seem to be missing.

Celejar



Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Curt
On 2017-08-08, Joerg Desch  wrote:
> It drives me crazy. Really. The company I'm working for is switching from 
> a Dell server running Ubuntu to a Synology HA solution. On my desktop, 
> I'm using Debian 8 and only Debian (Yes I know, I can be lucky ;-)).
>
> My first try was to mount the new shares using NFS4 and taraa... 
> imapd. This fails because the ID mapping does not work. On both sides, 
> the (same) domain is inserted into "/etc/imapd.conf". Without any 
> changes. For now, I'm not really sure what ipmapd is for. A hoax? Fun?

Quote:

 For NFSv4 ID mapping to work properly, both client and server must be running
 the idmapd ID Mapper daemon and have the same Domain configured in 
/etc/idmapd.conf.  

Did you look on the innertubes? This seems to be quite a
popular question. No help here, for instance?

https://superuser.com/questions/860553/user-id-mapping-with-nfs-on-synology-nas

If not I'm sorry for wasting your time.

> The second try was the ugly solution using CIFS. The bad insight this 
> morning... Synology disables the "unix extensions". The second... There 
> is no ID mapping too. My hope with CIFS was, that die total user and 
> group stuff is done using "names" and not IDs.
>
> So, if anybody out there is running a Synology server. Is there a working 
> solution to get uid/gip mapping, unix access flags and symlinks?
>
> I'm happy for every (positive) answer. ;-)
>
>


-- 
“Certitude is not the test of certainty.”
--Oliver Wendell Holmes, Jr.



Re: Laser Printer recommendation...

2017-08-08 Thread Celejar
On Tue, 4 Jul 2017 12:03:45 +0100
Brian  wrote:

> On Mon 03 Jul 2017 at 19:15:19 -0400, Celejar wrote:
> 
> > On Mon, 3 Jul 2017 14:46:08 -0400
> > Dan Ritter  wrote:
> > 
> > ...
> > 
> > > A Brother with all of:
> > > 
> > > - ethernet networking
> > > - duplex
> > > - BR/Script3 (Their PostScript clone, which I think is actually
> > >   GhostScript)
> > > 
> > > will not need a driver.
> > > 
> > > Current examples: HL-L5100N ($170), HL-L6200DW ($250)
> > 
> > Very interesting, thanks. Is this documented / explained anywhere? I
> > think I understand why 1 and 3 might be relevant to the need for
> > drivers, but 2?
> > 
> > FWIW, my HL-2280DW meets 1 and 2, but not (apparently) 3, and indeed
> > does seem to require a driver.
> 
> I do not see why 1 and 2 are in any way necessary to use a printer
> without a proprietary driver. PostScript or PCL6 emulation is, however,
> a pre-condition. The HL-2280DW has PCL6 emulation.

Very interesting, thanks. I (re)dipped my toes into the mysteries of
printer setup, and (eventually) configured another version of my
HL-2280 using CUPS settings of "Generic / Generic PCL Laser Printer".
The CUPS test page printed out correctly, although I see that many
options exposed by the Brother proprietary drivers do not seem to be
exposed by the generic one, which makes sense, I suppose. I do like
those options, though (e.g., duplexing and "toner save" / quality
options).

I'll have to do more testing to see whether the core printing
funnctionality, at least, is on par with the proprietary driver's.

Thanks again,

Celejar



Re: Debian meetup on Aug 16th in Stockholm?

2017-08-08 Thread Helio Loureiro
Don't worry too much.  For locals at the company, it is just a show up :)

Abs,
Helio Loureiro
http://helio.loureiro.eng.br
https://se.linkedin.com/in/helioloureiro
http://twitter.com/helioloureiro


2017-08-07 23:11 GMT+02:00 Martin Schöön :

> Den 2017-08-07 skrev Helio Loureiro :
> > Hi,
> >
> > I booked a room here.  I'm trying to get some snacks and beverages
> > sponsored by company as well.
> >
> > Debian day at Ericsson
> > August 16th - Wednesday
> > 16:00 to 18:00
> > Gr=C3=B6nlandsgatan 31
> > Room Stratus
> > Kista
>
> Noted. I hope I am still on vacation but if I am back in the
> salt mines of Kista and the weather is not too good...
>
> >
> > Please subscribe to attend so, in case I get the sponsorship, I can
> > dimension the food.  At the least I can guarantee the coffee :)
> >
> > https://goo.gl/forms/t395Q5agCciDDbDR2
>
> Is it possible to sign up 'tentatively'? I'll give it a try.
>
> >
> > I plan to present a quick workshop about debian packaging (~1h).  It
> would
> > be nice if more people could bring more talks.
>
> I am just a useless but happy user...
>
> /Martin
>
>


Re: Help with USB audio card

2017-08-08 Thread David Wright
On Tue 08 Aug 2017 at 09:38:40 (+0200), Rodolfo Medina wrote:
> David Christensen  writes:
> 
> > On 08/07/17 05:15, Rodolfo Medina wrote:
> >> Hi all.
> >>
> >> I just bought an external USB audio card.  I plugged it into the USB port 
> >> of
> >> my PC and plugged a 3.5mm jack microphone into the `mic' input of the card.
> >> It is shown in lsusb:
> >>
> >> $ lsusb
> >> Bus 002 Device 005: ID 17ef:602e Lenovo
> >> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> >> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio 
> >> Controlle

 
> > Please run the following commands, and cut and past the commands and their
> > outputs into a reply:
> >
> > cat /etc/debian_version
> >
> > uname -a
> >
> > dmesg | grep -i cm108 -A 10 -B 10
> 
> 
> Thanks...
> 
> $ cat /etc/debian_version
> buster/sid
> 
> $ uname -a
> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 
> GNU/Linux
> 
> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...

Assuming dmesg is producing any output (some systems may require
root), try the address above instead (keeping the -i).

dmesg | grep -i 013c -A 10 -B 10

Cheers,
David.



Chi sei

2017-08-08 Thread maurizioberny

Mordermi no ma se mi vuoi accarezzare volentieri ciao 



Inviato da Libero Mail per iOS


Re: CUPS

2017-08-08 Thread Frédéric MASSOT
Le 08/08/2017 à 14:30, Pierre L. a écrit :
> Salut,
> 
> Petite remontée de sujet... pardonnez... mais il me semble que le
> problème n'est toujours pas résolu, et je viens apporter mon petit grain
> de sel ! (faut dire que je n'avais pas encore pris le temps de
> rebrancher cette imprimante!)
> 
> Idem ici, Brother HL2030 qui fonctionne bien, quand elle n'est pas
> raciste avec les pingouins...

Sur le site de Brother "http://support.brother.com;, dans la section
"Téléchargement", Brother fourni un script de configuration, des paquets
Debian pour Cups ou LPR pour ses imprimantes et scanners.

Ça fonctionne pour les PC Debian du boulot.


-- 
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===Debian=GNU/Linux===



Re: SAMBA 4 + AD

2017-08-08 Thread JAP

El 07/08/17 a las 18:27, Luis Ernesto Garcia Reyes escribió:
Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba/vfs/acl_xattr.so: cannot open shared 
object file: No such file or directory



Es un "bug" por falta de instalación de dependencias.
JAP

===

https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1091348


Error loading module 
'/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared 
object file: No such file or directory

Bug #1091348 reported by Bruno Bigras on 2012-12-17
50
This bug affects 10 people
Affects Status  Importance  Assigned to Milestone
​   samba4 (Debian) Fix ReleasedUnknown 
debbugs #696838
​   samba4 (Ubuntu) Confirmed   Undecided   Unassigned  
Also affects project (?) Also affects distribution/package Nominate for 
series

Bug Description

When installing samba 4 on 13.04, I got :

Error loading module 
'/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared 
object file: No such file or directory


ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: samba4 4.0.0+dfsg1-1
ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
Uname: Linux 3.7.0-7-generic x86_64
ApportVersion: 2.7-0ubuntu2
Architecture: amd64
Date: Mon Dec 17 11:58:26 2012
InstallationDate: Installed on 2012-12-17 (0 days ago)
InstallationMedia: Ubuntu-Server 13.04 "Raring Ringtail" - Alpha amd64 
(20121217)

MarkForUpload: True
ProcEnviron:
 LANGUAGE=fr_CA:fr
 TERM=screen
 PATH=(custom, no user)
 LANG=fr_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: samba4
UpgradeStatus: No upgrade log present (probably fresh install)

Tags: amd64 apport-bug raring Edit Tag help
Bruno Bigras (brunoqc) wrote on 2012-12-17: #1
Dependencies.txt Edit (4.6 KiB, text/plain; charset="utf-8")
Bruno Bigras (brunoqc) wrote on 2012-12-17: #2
apt term.log Edit (21.1 KiB, text/plain)
Here's the term.log I got when running :

bbigras@ubuntu-raring:~$ sudo apt-get install samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  bind9 bind9utils ldb-tools libdcerpc-server0 libdcerpc0 libgensec0 
libhdb9-heimdal libkdc2-heimdal libldb1 libndr-standard0 libndr0
  libregistry0 libsamba-credentials0 libsamba-hostconfig0 
libsamba-policy0 libsamba-util0 libsamdb0 libsmbclient-raw0 libtalloc2 
libtdb1
  libtevent0 libwbclient0 python-ldb python-samba python-talloc 
python-tdb samba-common samba-common-bin samba-dsdb-modules 
samba4-common-bin

  tdb-tools
Suggested packages:
  bind9-doc phpldapadmin samba-gtk swat2 ntp
The following NEW packages will be installed:
  bind9 bind9utils ldb-tools libdcerpc-server0 libdcerpc0 libgensec0 
libhdb9-heimdal libkdc2-heimdal libldb1 libndr-standard0 libndr0
  libregistry0 libsamba-credentials0 libsamba-hostconfig0 
libsamba-policy0 libsamba-util0 libsamdb0 libsmbclient-raw0 libtalloc2 
libtdb1
  libtevent0 libwbclient0 python-ldb python-samba python-talloc 
python-tdb samba-common samba-common-bin samba-dsdb-modules samba4

  samba4-common-bin tdb-tools
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/13.9 MB of archives.
After this operation, 59.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Launchpad Janitor (janitor) wrote on 2012-12-20:#3
Status changed to 'Confirmed' because the bug affects multiple users.

Changed in samba4 (Ubuntu):
status: New → Confirmed
Bug Watch Updater (bug-watch-updater) on 2012-12-31
Changed in samba4 (Debian):
status: Unknown → Confirmed
Thomas Hood (jdthood) on 2013-01-24
Changed in samba4 (Ubuntu):
status: Confirmed → Incomplete
status: Incomplete → Confirmed
Thomas Hood (jdthood) wrote on 2013-01-24:  #6
Another log showing these messages: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697105


Nick Semenkovich (semenko) wrote on 2013-01-27: #7
I also had this issue, though only after removing samba4 (aptitude purge 
samba4) and reinstalling, due to bug #1096791


The same error appears 20 or so times during the install, although 
samba4 appears to be running:


Error loading module 
'/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared 
object file: No such file or directory

error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL

Bug Watch Updater (bug-watch-updater) on 2013-10-13
Changed in samba4 (Debian):
status: Confirmed → Fix Released
Andy Igoshin (andy-igoshin) wrote on 2013-11-05:#8
Download full text (15.5 KiB)
the same for 13.10

-

# aptitude install samba4
The following NEW packages will be installed:
  attr{a} bind9{a} 

Re: disable orange progress running apt

2017-08-08 Thread Brian
On Tue 08 Aug 2017 at 05:32:04 -0400, Felix Miata wrote:

> Frank composed on 2017-08-08 10:31 (UTC+0200):
> 
> > Felix Miata composed:
> 
> >> Brian composed on 2017-08-07 33:42 (UTC+0100):
> 
> >>> Of course they work. They just do not fit your purpose.
> 
> >> Work how? Do what? How do I find evidence that either actually do 
> >> anything? So
> >> far all I've seen is that you've said so, here, & earlier, 2017-08-07 18:03
> >> (UTC+0100):
> 
> > It's possible some configuration file already has a line which sets 
> > Dpkg::Progress-Fancy and/or Dpkg::Progress-Fancy::Progress-Bg. Did you 
> > check the files in /etc/apt/apt.conf.d? 
> 
> Yes, then I created a new file there just to install Brian's suggestion, and
> after it failed the other permutations I tried.

Apologies. I missed off a ";" when translating the changelog entry to
be used in your 99mono file. Also Progress-Fancy turns out to be not
what you want.

"-o Apt::Color=0" works for me not to see the orange colour in stable
and unstable. In a file it works on stable but not on unstable. There
seems to be a bug here.

-- 
Brian.



Re: Live recording

2017-08-08 Thread Rodolfo Medina
Jeremy Nicoll  writes:

> On Mon, 7 Aug 2017, at 23:41, Rodolfo Medina wrote:
>
>> Fascinating...!  But now I got very interested in the multi channel audio
>> interface you suggest...  Before looking for one to buy, I'd like to
>> better
>> know and understand how it works...  
>
> They're just boxes which can have more than two mics (or line-level signals
> eg from instruments) plugged into them.  Inside there's multiple analogue-
> to-digital converters.  The digital data from all of these is then sent along
> the USB connection to the computer.  Some interfaces might send all the
> channels so they arrive in a single file on the computer, which then contains
> multiple separate channels, others may directly generate separate files on
> the computer.
>
> It's unimportant which you get because a file containing multiple channels
> can be split into separate files (with eg sox), or a set of files can be
> combined (with eg sox).
>
>
> I can't advise you on what to buy...  because I suspect you're going to spend
> a great deal less than I did when I last bought one...  That was a Tascam
> box:
>
> http://tascam.com/product/us-2000/
>
> which you'll see can handle 16 separate inputs at once...  There's a more
> recent version of that these days...  A box like that is aimed at people used
> to using professional audio equipment.


Your explanation is just what I was looking for...  Very simple and clear.
Here:

 
https://stackoverflow.com/questions/14950823/sox-exe-mixing-mono-vocals-with-stereo-music

it is shown how to operate with sox the way you said.


> There will be lower-spec interfaces around too, but you obviously need to
> find one that's known to work with linux.  You also probably don't want one
> with eg XLR sockets for mics.


Yes, as far as I understand this is probably the main problem: find something
that works with Linux...

Thanks indeed,

Cheers,

Rodolfo



Re: CUPS

2017-08-08 Thread Pierre L.
Salut,

Petite remontée de sujet... pardonnez... mais il me semble que le
problème n'est toujours pas résolu, et je viens apporter mon petit grain
de sel ! (faut dire que je n'avais pas encore pris le temps de
rebrancher cette imprimante!)

Idem ici, Brother HL2030 qui fonctionne bien, quand elle n'est pas
raciste avec les pingouins...

Installation très simple : Partagée par un Raspbian 8 Jessie à jour, sur
le LAN, via CUPS :
- page de test depuis l'interface CUPS https, ca clignote un coup, ca
réveille l'engin, pas d'impression :'(
- client Debian 9 Stretch (upgradé depuis 8), idem, pas d'impression :'(
- client Debian 8 Jessie, pas d'impression :'(
- client Win7, ca imprime !

Donc l'analyse du noob en la matière, c'est que vu qu'un Win7 est le
seul capable d'imprimer correctement vers le CUPS de la Raspbian, c'est
que ca vient de Debian (coté client) qui est complètement dans les choux
avec cette imprimante...

Sinon ca a avancé de ton coté Benoît ? Des news depuis ?
Ca sent le gros sale bug debianesque !



> Bonjour à tous,
>
> Depuis la mise à jour vers stretch, mon imprimante, ne réagit plus
> quand je lui envois une tâche.
>
> Rien dans page_log, ni dans error_log.
> Seulement dans access_log
> localhost - - [29/Jun/2017:14:10:54 +0200] "POST
> /printers/Brother-HL-2030-series HTTP/1.1" 200 398 Print-Job
> successful-ok
>
>
> Description:Brother HL-2030 series Location:mars Driver:Brother
> HL-2035 Foomatic/hl1250 (recommended) (grayscale)
> Connection:usb://Brother/HL-2030%20series?serial=A7J883842
> Defaults:job-sheets=none, none media=iso_a4_210x297mm sides=one-side
>
> J'ai supprimé et recréé dans cups rien n'y fait.
>
> Comment diagnostiquer ?
>
> Merci d'avance.
>
> --
> Benoit
>




signature.asc
Description: OpenPGP digital signature


xsane scanner

2017-08-08 Thread Stephen Grant Brown
Hi All,
How do I configure a scanner for xsane?
I am printing to the Canon MG6150, but it is not being recognized as a scanner.
Yours Sincerely 
Stephen Grant Brown

Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 11:34:58 +0100 schrieb Darac Marjal:

> On Tue, Aug 08, 2017 at 10:09:42AM +, Joerg Desch wrote:
>>Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:
>>
>>> I'll assume that the Synology is a black box, and so we can't work out
>>> how it's configured.
>>
>>Yes, more or less.
>>
>>
>>> Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and
>>> see what errors result.
>>
>>Mounting isn't the problem. The mount is working without errors
>>
>>mount.nfs: trying text-based options
>>'hard,intr,vers=4,addr=192.168.1.1,clientaddr=192.168.1.88'
>>
>>My only problem is the (very old) goal to get different uid/gid working.
> 
> OK, that's good. NFSv4 doesn't send UIDs/GIDs over the wire any more, it
> sends Usernames and Groups.

Hmm. I'm not so sure

On my local workstation, my ID is 3000. On the Synology, the id is 1027. 
On both machines, my user name is "jd". SO, if the mapping is "name 
based", I should see all the files with uid 1027 on the servers with the 
correct name on the client.

This is not the case! A "ls -l" shows me all the different UIDs, but 
neither the corresponding name, nor "nobody".

I try cp/chmod/chgrp again tomorrow morning and post the result here.

Thanks so far...



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 08/08/17 a les 13:59, Pedro ha escrit:
>> En aquesta bitàcola veig que fou "unattended-upgrade" el programa que va
>> actuar per instal·lar paquets (com el Java 8). Realment em sorpren que a
>> Debian s'hagi decidit aquest tipus de coses sense que es consulti l'usuari.
>> S'ha passat de no actualitzar ni avisar per a res, a fer-ho «perquè
>> toca» i silenciosament. Almenys a Ubuntu de bon principi van trobar un
>> equilibri, i fins i tot Windows m'ha semblat més prudent i/o respectuós.
>>
>> Això és el què cal fer a Debian 9:
>> $ sudo systemctl disable unattended-upgrades
>> $ sudo systemctl stop unattended-upgrades
>>
> 
> Pots dir com ho has sapigut? Ha aparegut a algun log? o t'han enviat
> un "correo de unix"?
> 

Amb «aquesta bitàcola» em referia al fitxer que m'havia assenyalat l'Alex:
/var/log/apt/history.log
(que per sort encara s'enregistra en text planer)



Macbook Air - Stretch - getting rather hot

2017-08-08 Thread kelsang sherab
The last few days my machine seems to be getting hot more than usual -
any suggestion of what can i do?

cheers

-Computer-
Processor   : 4x Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
Memory  : 3955MB (1589MB used)
Operating System: Debian GNU/Linux 9.1
User Name   : sherab 
Date/Time   : Tue 08 Aug 2017 12:41:28 BST
-Display-
Resolution  : 1366x768 pixels
OpenGL Renderer : Mesa DRI Intel(R) Ivybridge Mobile 
X11 Vendor  : The X.Org Foundation
-Multimedia-
Audio Adapter   : HDA-Intel - HDA Intel PCH
-Input Devices-
 Lid Switch
 Power Button
 Sleep Button
 Power Button
 PC Speaker
 FaceTime HD Camera (Built-in)
 Video Bus
 bcm5974
 Apple Inc. Apple Internal Keyboard / Trackpad
 lircd-uinput
 HDA Intel PCH Headphone
 HDA Intel PCH HDMI/DP,pcm  : 3=
 HDA Intel PCH HDMI/DP,pcm  : 7=
 HDA Intel PCH HDMI/DP,pcm  : 8=
 Microsoft Wedge Mobile Keyboard
-Printers-
No printers found



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Pedro
> En aquesta bitàcola veig que fou "unattended-upgrade" el programa que va
> actuar per instal·lar paquets (com el Java 8). Realment em sorpren que a
> Debian s'hagi decidit aquest tipus de coses sense que es consulti l'usuari.
> S'ha passat de no actualitzar ni avisar per a res, a fer-ho «perquè
> toca» i silenciosament. Almenys a Ubuntu de bon principi van trobar un
> equilibri, i fins i tot Windows m'ha semblat més prudent i/o respectuós.
>
> Això és el què cal fer a Debian 9:
> $ sudo systemctl disable unattended-upgrades
> $ sudo systemctl stop unattended-upgrades
>

Pots dir com ho has sapigut? Ha aparegut a algun log? o t'han enviat
un "correo de unix"?



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Narcis Garcia
El 08/08/17 a les 11:20, Alex Muntada ha escrit:
> Narcis Garcia:
> 
>> 1. Com puc fer que no s'auto-afegeixin impressores que no se sap si
>> existeixen localment (USB/xarxa), com per exemple les que comparteix
>> un altre ordinador (SMB/etc.) ?
> 
> Això de l'autodescobriment de serveis em sona que és cosa del
> servei avahi-daemon. Ara mateix no tinc cap ordinador amb cups
> a casa (evito les impressores tant com puc), així que no puc
> mirar si publica res a l'avahi. Potser les eines del paquet
> avahi-utils et poden servir d'ajuda.
> 

Està molt bé la tasca *informativa* d'Avahi, però aleshores potser el
problema és que CUPS emprèn accions amb aquesta informació sense que se
li demani, i sense preguntar.

>> 2. He entès bé que hi ha actualitzacions de paquets que s'apliquen
>> automàticament? Si és així, com evitar-ho i fer que se li pregunti
>> a l'usuari de manera elegant?
> 
> Diria que el que fa això és el paquet packagekit però no conec
> gaire com funciona. Si proves a desinstal·lar-lo s'emporta el
> gnome amb ell, o sigui que potser és millor desactivar el servei
> del systemd:
> 
> sudo systemctl disable packagekit
> 
> M'he mirat per sobre els 2 fitxers de configuració dins del
> directori /etc/PackageKit però no veig res perquè pregunti a
> l'usuari com procedir enlloc d'instal·lar directament.
> 
> En cas que no tinguis el packagekit instal·lat, mira si tens més
> informació sobre qui actualitza els paquets i com ho fa al fitxer
> /var/log/apt/history.log.
> 
> Salut,
> Alex
> 

En aquesta bitàcola veig que fou "unattended-upgrade" el programa que va
actuar per instal·lar paquets (com el Java 8). Realment em sorpren que a
Debian s'hagi decidit aquest tipus de coses sense que es consulti l'usuari.
S'ha passat de no actualitzar ni avisar per a res, a fer-ho «perquè
toca» i silenciosament. Almenys a Ubuntu de bon principi van trobar un
equilibri, i fins i tot Windows m'ha semblat més prudent i/o respectuós.

Això és el què cal fer a Debian 9:
$ sudo systemctl disable unattended-upgrades
$ sudo systemctl stop unattended-upgrades



Re: Live recording

2017-08-08 Thread Jeremy Nicoll
On Mon, 7 Aug 2017, at 23:41, Rodolfo Medina wrote:

> Fascinating...!  But now I got very interested in the multi channel audio
> interface you suggest...  Before looking for one to buy, I'd like to
> better
> know and understand how it works...  

They're just boxes which can have more than two mics (or line-level
signals
eg from instruments) plugged into them.  Inside there's multiple
analogue-
to-digital converters.  The digital data from all of these is then sent
along 
the USB connection to the computer.  Some interfaces might send all the 
channels so they arrive in a single file on the computer, which then
contains
multiple separate channels, others may directly generate separate files
on 
the computer.

It's unimportant which you get because a file containing multiple
channels
can be split into separate files (with eg sox), or a set of files can be
combined
(with eg sox).


I can't advise you on what to buy...  because I suspect you're going to
spend a
great deal less than I did when I last bought one...   That was a Tascam
box:

http://tascam.com/product/us-2000/

which you'll see can handle 16 separate inputs at once...  There's a
more recent 
version of that these days...   A box like that is aimed at people used
to using 
professional audio equipment.  

There will be lower-spec interfaces around too, but you obviously need
to find 
one that's known to work with linux.  You also probably don't want one
with 
eg XLR sockets for mics.

-- 
Jeremy Nicoll - my opinions are my own.



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Pau Ibars
*1. Com puc fer que no s'auto-afegeixin impressores que no se sap si
existeixen localment (USB/xarxa), com per exemple les que comparteix un
altre ordinador (SMB/etc.) ?*

Jo en certs entorns on connecto el CUPS amb un client.conf contra un server
faig un remove de l'avahi-daemon directament, i així el sistema només veu
les que m'interessa. Pot ser que amb avahi-utils com diu l'Alex puguis
afinar-ho sense haver de treure'l.

Salut!


El dia 8 d’agost de 2017 a les 10:09, Narcis Garcia 
ha escrit:

> __
> I'm using this express-made address because personal addresses aren't
> masked enough at this mail public archive. Public archive administrator
> should fix this against automated addresses collectors.
> El 08/08/17 a les 09:57, Alex Muntada ha escrit:
> > Narcis Garcia:
> >
> >> Fou una mescla de protesta amb provar, si algú altre s'ha trobat
> >> amb aquests problemes, a veure si comenta per evitar-los.
> >
> > Crec que això ja havia quedat clar, però tigues en compte que es
> > fa difícil deduir les preguntes implícites en la teva protesta.
> > El que per tu pot ser un problema per algú altre pot no ser-ho.
> >
> > Si vols respostes, hauràs de fer les preguntes més clares.
> >
> > Salut,
> > Alex
> >
>
> Tota la raó companys:
>
> 1. Com puc fer que no s'auto-afegeixin impressores que no se sap si
> existeixen localment (USB/xarxa), com per exemple les que comparteix un
> altre ordinador (SMB/etc.) ?
>
> 2. He entès bé que hi ha actualitzacions de paquets que s'apliquen
> automàticament? Si és així, com evitar-ho i fer que se li pregunti a
> l'usuari de manera elegant?
>
> Moltes gràcies.
>
>


Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Darac Marjal

On Tue, Aug 08, 2017 at 10:09:42AM +, Joerg Desch wrote:

Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:


I'll assume that the Synology is a black box, and so we can't work out
how it's configured.


Yes, more or less.



Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and see
what errors result.


Mounting isn't the problem. The mount is working without errors

   mount.nfs: trying text-based options
   'hard,intr,vers=4,addr=192.168.1.1,clientaddr=192.168.1.88'

My only problem is the (very old) goal to get different uid/gid working.


OK, that's good. NFSv4 doesn't send UIDs/GIDs over the wire any more, it 
sends Usernames and Groups. So, if "fred" on your client is UID 1001, 
but 'fred' on the server is UID 1005, then the file will get saved with 
UID 1005. On reading it back, you should get the reverse mapping - 
there's a file belonging to UID 1005, on the server that's "fred" so 
"fred" is sent over the wire and the client sees that as it's own 
version of "fred".


The problem comes when "bill" tries to access the share. "bill" doesn't 
have an account on the server, so he will get mapped to "nobody". This 
probably gives bill read access, but not write access and, certainly, if 
bill CAN write files, they won't end up belonging to them.


So, ideally, you need to find a way to synchronise the user lists. You 
can either manage /etc/passwd (and similar on the Synology) manually, or 
you can look at some sort of Active Directory system whereby clients are 
registered with a central server and perform their name lookups against 
that.





Thanks




--
For more information, please reread.


signature.asc
Description: PGP signature


Re: nginx e load balance

2017-08-08 Thread Caio Ferreira
Prezado Rodolfo

Depois de enviar a mensagem pedindo um auxilio para resolver o problema, eu
consegui resolve-lo.

Desde já obrigado pela ajuda.



 .''`.   Caio Abreu Ferreira
: :'  :  abreuf...@gmail.com
`. `'`   Debian User
  `-

2017-08-07 17:14 GMT-03:00 Rodolfo :

> Tentou um desses?
>
> http://nginx.org/en/docs/http/load_balancing.html
>
> Em 7 de agosto de 2017 14:35, Caio Ferreira 
> escreveu:
>
>> Lista
>>
>> Alguém por acaso saberia me dizer se o pacote do nginx que esta no
>> repositório do debian
>> possui o suporte a load balance? Eu estou tentando configurar o nginx
>> para trabalhar em modo
>> load balance e não estou conseguindo fazer isso.
>>
>> Desde já eu agradeço pela atenção.
>>
>>
>>  .''`.   Caio Abreu Ferreira
>> : :'  :  abreuf...@gmail.com
>> `. `'`   Debian User
>>   `-
>>
>
>


Re: How to change default umask in Stretch?

2017-08-08 Thread Reco
Hi.

On Mon, Aug 07, 2017 at 03:47:48PM -0500, David Wright wrote:
> On Mon 07 Aug 2017 at 20:00:10 (+), Garrett R. wrote:
> > Does anybody know, this gnome/systemd bug of umask, it this something that 
> > I will have to wait for Debian 10 before it is fixed? Or will Debian 9 
> > implement a fix when/if gnome/systemd issues a fix?
> > 
> > I was hoping to be able to move to Stretch, but it's looking unlikely now.
> 
> My suggestion is simple, but would be tedious to implement. I use it
> to run a program as a different user, overriding their default umask.
> 
> /home/other/bin/my-program.sh contains
> 
> #!/bin/bash
> umask u=rwx,go=
> /usr/bin/real-program "$@"
> 
> But it's tedious to have to replace real-program by 
> /home/other/bin/my-program.sh
> in all the places it/they might get called from. I only have to do
> this once (in .bashrc) because I'm a bash/xterm/fvwm guy using
> bash functions.

Or find gnome-session (or gnome-shell - I don't recall who exactly
spawns user applications in GNOME) process pid, execute something like
this on login:

gdb -p $(pidof gnome-session) -ex 'p umask(0077)' --batch

You'll need gdb to be installed, of course.

Reco



Re: Unable to change mouse acceleration and threshold in Stretch

2017-08-08 Thread Siard
On Thu, 3 Aug 2017, Илья Валеев wrote:
> I'm unable to change mouse acceleration and threshold in Stretch.
> 
> It does not depend on DE. There are no error appears. For example, in
> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
> and contain properly values, but mouse behavior does not changes.
> 'xset m 3 1' also does not change anything.
> 
> It does not depend on:
> - Stretch 9.0 or Stretch 9.1
> - is it clean install or not
> - mouse
> - is it virtual machine with Jessie host or real system

(Responding late because of vacation.) Starting with Stretch, mouse
acceleration is controlled by libinput.  It was mentioned in the Release
Notes BTW.  Here is a clear explanation of its possibilities:
https://wiki.archlinux.org/index.php/Libinput
See 'man libinput' for the available options.

In short, you create the file /etc/X11/xorg.conf.d/10-libinput.conf,
containing something like this:

Section "InputClass"
  Identifier "mouse"
  Driver "libinput"
  Option "AccelProfile" "flat"
  Option "AccelSpeed" "-0.5"
EndSection

Mouse acceleration is set with 'Option "AccelSpeed"'.
Its value ranges from -1 to 1. Negative means slower.



Re: ipv6 - nom de domaine sur site mutualisé inaccessible - comment contourner avec linux unbound - google dns - opendns - configuration

2017-08-08 Thread G2PC


Le 07/08/2017 à 23:49, Pascal Hambourg a écrit :
>> ~$ sudo tcptraceroute 91.216.107.158 80
>> traceroute to 91.216.107.158 (91.216.107.158), 30 hops max, 60 byte
>> packets
>>   1  router.asus.com (192.168.0.254)  0.389 ms  0.374 ms  0.827 ms
>>   2  192.168.1.1 (192.168.1.1)  1.300 ms  1.462 ms  1.528 ms
>>   3  80.10.234.173 (80.10.234.173)  2.835 ms  3.180 ms  3.570 ms
>
> Hmm, ce n'est pas de l'ADSL, n'est-ce pas ?
>
>>   4  ae102-0.ncidf203.Aubervilliers.francetelecom.net
>> (193.253.81.66)  2.762 ms  2.821 ms  2.895 ms
>>   5  ae43-0.nridf201.Aubervilliers.francetelecom.net
>> (193.252.98.145)  3.029 ms  3.161 ms  3.237 ms
>>   6  ae43-0.noidf001.Paris.francetelecom.net (193.252.98.234)  3.536
>> ms  2.534 ms  2.623 ms
>>   7  193.253.13.206 (193.253.13.206)  2.769 ms  1.955 ms  1.924 ms
>>   8  ielo.th2-2.rt.hopus.net (37.77.34.5)  2.136 ms  2.227 ms  1.671 ms
>>   9  adista.customers-th2.ielo.net (212.85.149.54)  3.098 ms  3.117
>> ms  5.601 ms
>> 10  212.51.160.215 (212.51.160.215)  6.829 ms  6.907 ms  7.045 ms
>> 11  212.51.160.215 (212.51.160.215)  6.187 ms  6.270 ms  6.278 ms
>> 12  37.18.166.141 (37.18.166.141)  6.764 ms  6.609 ms  6.590 ms
>> 13  91.216.107.158 (91.216.107.158)   7.074 ms  6.882 ms 
>> 6.695 ms
>
> Merci à tous les deux pour vos tests.
> Apparemment il n'y a pas de problème de connectivité entre Orange et
> l'hébergeur. Donc a priori soit il y a un blocage au niveau du
> réseau/box de G2PC, soit il y a un filtrage spécifique de son adresse
> IP publique quelque part en chemin.
Ce qui ne m'étonne pas, une idée pour démontrer ce filtrage volontaire
de mes données ?


Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:

> I'll assume that the Synology is a black box, and so we can't work out
> how it's configured.

Yes, more or less.

> 
> Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and see
> what errors result.

Mounting isn't the problem. The mount is working without errors

mount.nfs: trying text-based options
'hard,intr,vers=4,addr=192.168.1.1,clientaddr=192.168.1.88'

My only problem is the (very old) goal to get different uid/gid working.


Thanks




Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Darac Marjal

On Tue, Aug 08, 2017 at 09:43:58AM +, Joerg Desch wrote:
It drives me crazy. Really. The company I'm working for is switching from 
a Dell server running Ubuntu to a Synology HA solution. On my desktop, 
I'm using Debian 8 and only Debian (Yes I know, I can be lucky ;-)).


My first try was to mount the new shares using NFS4 and taraa... 
imapd. This fails because the ID mapping does not work. On both sides, 
the (same) domain is inserted into "/etc/imapd.conf". Without any 
changes. For now, I'm not really sure what ipmapd is for. A hoax? Fun?


I'll assume that the Synology is a black box, and so we can't work out 
how it's configured.


Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and see 
what errors result. Note that you generally want to start by mounting 
"/" from the server. NFSv4 *may* use a 'chroot'-style layout where all 
the exported directories appear under a virtual root, or it *may* use 
the NFSv3-style layout where you need to know the location of each 
export.


Does the Synology offer NFSv3 and V2 as well? Is the NFSv4 that the 
Synology offers "kerberized"? 

If the Synology offers NFSv3, you can try "showmount -e 
name.or.ip.of.synology" to see what's exported (as I understand it, 
showmount no longer works with NFSv4).




The second try was the ugly solution using CIFS. The bad insight this 
morning... Synology disables the "unix extensions". The second... There 
is no ID mapping too. My hope with CIFS was, that die total user and 
group stuff is done using "names" and not IDs.


So, if anybody out there is running a Synology server. Is there a working 
solution to get uid/gip mapping, unix access flags and symlinks?


I'm happy for every (positive) answer. ;-)



--
For more information, please reread.


signature.asc
Description: PGP signature


Re: disable orange progress running apt

2017-08-08 Thread Felix Miata
Curt composed on 2017-08-08 08:17 (UTC):

> On 2017-08-07, Felix Miata wrote:

>>> Try "APT::Color "false";".
>> That was the last I tried with Stretch before giving up and posting here, in
>> /etc/apt/apt.conf.d/99mono. Also fails in Sid.

>> Could this somehow be coming from bash rather than apt?

> Did you try first at the command line? 

No.

>  apt update -o Apt::Color=0 

It works!

> I suppose if that worked you could create an alias until someone figures
> out where and how to put it.

It might if I didn't have so many different installations scattered about and
multiple aliases to create. Better to suffer horri-colors until an Apt config
that works can be found.

In openSUSE we have Zypper as wrapper around rpm more or less the way apt works
with dpkg. Color on/off in Zypper is easy to deal with because of integrated
comments that work so much better than virtually empty config directories, e.g.:

...
## Whether to use colors
##
## Valid values: always, never, or autodetect
## Default value: autodetect
##
 useColors = never
...
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
It drives me crazy. Really. The company I'm working for is switching from 
a Dell server running Ubuntu to a Synology HA solution. On my desktop, 
I'm using Debian 8 and only Debian (Yes I know, I can be lucky ;-)).

My first try was to mount the new shares using NFS4 and taraa... 
imapd. This fails because the ID mapping does not work. On both sides, 
the (same) domain is inserted into "/etc/imapd.conf". Without any 
changes. For now, I'm not really sure what ipmapd is for. A hoax? Fun?

The second try was the ugly solution using CIFS. The bad insight this 
morning... Synology disables the "unix extensions". The second... There 
is no ID mapping too. My hope with CIFS was, that die total user and 
group stuff is done using "names" and not IDs.

So, if anybody out there is running a Synology server. Is there a working 
solution to get uid/gip mapping, unix access flags and symlinks?

I'm happy for every (positive) answer. ;-)



Re: Tutte le membra del mio corpo sono eccitate. Letizia

2017-08-08 Thread paolo . dinoi72

Io li tengo duro
--
Inviato da Libero Mail per Android Martedì, 08 Agosto 2017, 10:56AM +02:00 da 
Letizia Meijden  emili...@infinito.it :

>
>
>Ma veniamo a te, anche tu ti senti nella mia stessa maniera? 
>http://bit.ly/2vIvd2r


Re: disable orange progress running apt

2017-08-08 Thread Felix Miata
Frank composed on 2017-08-08 10:31 (UTC+0200):

> Felix Miata composed:

>> Brian composed on 2017-08-07 33:42 (UTC+0100):

>>> Of course they work. They just do not fit your purpose.

>> Work how? Do what? How do I find evidence that either actually do anything? 
>> So
>> far all I've seen is that you've said so, here, & earlier, 2017-08-07 18:03
>> (UTC+0100):

> It's possible some configuration file already has a line which sets 
> Dpkg::Progress-Fancy and/or Dpkg::Progress-Fancy::Progress-Bg. Did you 
> check the files in /etc/apt/apt.conf.d? 

Yes, then I created a new file there just to install Brian's suggestion, and
after it failed the other permutations I tried.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Alex Muntada
Narcis Garcia:

> 1. Com puc fer que no s'auto-afegeixin impressores que no se sap si
> existeixen localment (USB/xarxa), com per exemple les que comparteix
> un altre ordinador (SMB/etc.) ?

Això de l'autodescobriment de serveis em sona que és cosa del
servei avahi-daemon. Ara mateix no tinc cap ordinador amb cups
a casa (evito les impressores tant com puc), així que no puc
mirar si publica res a l'avahi. Potser les eines del paquet
avahi-utils et poden servir d'ajuda.

> 2. He entès bé que hi ha actualitzacions de paquets que s'apliquen
> automàticament? Si és així, com evitar-ho i fer que se li pregunti
> a l'usuari de manera elegant?

Diria que el que fa això és el paquet packagekit però no conec
gaire com funciona. Si proves a desinstal·lar-lo s'emporta el
gnome amb ell, o sigui que potser és millor desactivar el servei
del systemd:

sudo systemctl disable packagekit

M'he mirat per sobre els 2 fitxers de configuració dins del
directori /etc/PackageKit però no veig res perquè pregunti a
l'usuari com procedir enlloc d'instal·lar directament.

En cas que no tinguis el packagekit instal·lat, mira si tens més
informació sobre qui actualitza els paquets i com ho fa al fitxer
/var/log/apt/history.log.

Salut,
Alex



djbwares version 6

2017-08-08 Thread Jonathan de Boyne Pollard

djbwares is now at version 6.

* http://jdebp.eu./Softwares/djbwares/
* http://jdebp.info./Softwares/djbwares/

The main changes here are in dnscache and ftpd.

dnscache now has a built-in  resource record for localhost, like it 
already had a built-in A resource record.  I've slightly improved the 
way that it caches  resource record sets, to match the way that it 
was handling A resource record sets.  And it now caches SOA resource 
records.  There are also some minor improvements to the logging to 
decode SRV, A, and  records rather than print them in raw 
hexadecimal format.


The changes to ftpd were motivated by my pointing several WWW browsers 
at a publicfile FTP site and discovering that the WWW browsers adhere to 
the RFCs far less than they used to at the turn of the century.  You can 
read some of the saddening discoveries in the Hall of Shame.  I have 
enhanced publicfile ftpd to support OPTS, FEAT, SIZE, EPSV, and HOST; to 
interoperate better with some faulty FTP ALGs that cannot cope with an 
FTP server that one does not need to log in to; to interoperate better 
with some faulty WWW browsers that misuse CWD as a type testing 
mechanism; and to log things more clearly in order to diagnose such 
faults from server logs.  HOST support means that ftpd supports virtual 
hosting on FTP, which is explained in the manual, although it is hard to 
find any FTP client that employs this.


* http://jdebp.eu./FGA/web-browser-ftp-hall-of-shame.html
* http://jdebp.info./FGA/web-browser-ftp-hall-of-shame.html

A further minor addition is a host command, a subset of the host 
commands from ISC and from KnotDNS that uses the same DNS client library 
from djbdns as all of the other djbdns query tools do.  Of course, the 
conventional djbdns client tools have a simpler syntax and more regular 
behaviours than the host command, and are preferable.  Moreover, the 
subset excludes rarities that djbdns has never supported, such as non-IN 
class queries.




Re: disable orange progress running apt

2017-08-08 Thread Frank

Op 08-08-17 om 02:57 schreef Felix Miata:

Brian composed on 2017-08-07 33:42 (UTC+0100):

Of course they work. They just do not fit your purpose.


Work how? Do what? How do I find evidence that either actually do anything? So
far all I've seen is that you've said so, here, & earlier, 2017-08-07 18:03
(UTC+0100):


It's possible some configuration file already has a line which sets 
Dpkg::Progress-Fancy and/or Dpkg::Progress-Fancy::Progress-Bg. Did you 
check the files in /etc/apt/apt.conf.d?


Regards,
Frank



Re: Les cyber menaces basculent vers Linux et les serveurs Web

2017-08-08 Thread Randy11

On 18/07/2017 13:23, andre_deb...@numericable.fr wrote:

Que pensez vous de cet article ?

selon la société WatchGuard qui a tout intérêt à vendre ses antivirus... :

http://www.infodsi.com/articles/169919/cyber-menaces-basculent-vers-linux-serveurs-web.html?key=6433cdc950c99165

Les dernières cyberattaques étaient dûes à des virus venant et pour
MS-Windows, maintenant on met GNU/Linux en cause.

L'article ne cite acune source d'attaques précises sur Linux, alors...

André


Bonjour,

Cas plus sérieux :
- 
https://security.web.cern.ch/security/advisories/busywinman/BusyWinman.shtml
- 
https://www.securityartwork.es/2017/07/21/linux-bew-backdoor-minado-bitcoin/


Personnellement, j'utilise Firefox et NoScript. NoScript est configurer 
pour tout
bloquer. Je vais aussi installer ClamAV et le faire tourner de temps en 
temps.


Pour le partage des ressources entre Windows et Linux, cela a coûté un 
week-end
à des admins Linux à cause des fichiers infectés sous Windows utilisés 
sous Linux,

les filesytems étaient partagé.

Bonne journée.

Randy11




Re: disable orange progress running apt

2017-08-08 Thread Curt
On 2017-08-07, Felix Miata  wrote:
>
>> Try "APT::Color "false";".
> That was the last I tried with Stretch before giving up and posting here, in
> /etc/apt/apt.conf.d/99mono. Also fails in Sid.
>
> Could this somehow be coming from bash rather than apt?

Did you try first at the command line?

 apt update -o Apt::Color=0

I suppose if that worked you could create an alias until someone figures
out where and how to put it.

-- 
“Certitude is not the test of certainty.”
--Oliver Wendell Holmes, Jr.



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Alex Muntada
Narcis Garcia:

> Fou una mescla de protesta amb provar, si algú altre s'ha trobat
> amb aquests problemes, a veure si comenta per evitar-los.

Crec que això ja havia quedat clar, però tigues en compte que es
fa difícil deduir les preguntes implícites en la teva protesta.
El que per tu pot ser un problema per algú altre pot no ser-ho.

Si vols respostes, hauràs de fer les preguntes més clares.

Salut,
Alex



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 08/08/17 a les 08:25, Orestes Mas ha escrit:
>  
> 
> -- Missatge original--
> 
> *De: *Narcis Garcia
> 
> *Data:*dg., 6 d’ag. 2017 22.15
> 
> *Per a: *debian-user-catalan@lists.debian.org;
> 
> *Assumpte:*Debian 9 fora de control?
> 
>  
> 
> Acabo d'engegar un ordinador que té Debian 9 i automàticament ha fet un
> parell de coses que crec que hauria de consultar:
> 
> Com que a la mateixa xarxa local, per Wifi, estava connectada una
> persona amb un portàtil (amb una impressora inexistent aquí però
> autoconfigurada perquè existeix en algun altre local on ha estat aquesta
> persona), doncs aquest meu ordinador s'ha agregat les
> «Officejet-4630-series» + «Officejet-4630-series-Fax-4».
> 
> Ja posats, automàgicament s'ha posat a instal·lar paquets pel seu compte.
> Me n'he adonat quan he intentat jo instal·lar una cosa i no m'ha deixat
> perquè DPKG estava ocupat (fitxer lock), he cercat quins processos
> treballaven i l'he trobat desempaquetant openjdk-8-jre-headless que li
> deu caldre per la impressora inexistent en aquest lloc ni xarxa.
> 
> En un primer moment m'ha envaït el mal humor veient com tot això
> semblava coordinat per un tal «apt.systemd.daily», però ara em penso que
> Systemd no n'era el responsable i només estava esperant amb
> «lock_is_held» la seva pròpia oportunitat per actualitzar coses.
> 
> Una de les raons per moure'm d'Ubuntu a Debian era disminuïr el
> paternalisme dels ordinadors cap als usuaris, de manera que l'usuari
> tingués més control sobre les decisions.
> 
> -- 
> 
> Quina és la pregunta, concretament?
> 
>  
> 
> Cordialment,
> 
> Orestes Mas
> 

Fou una mescla de protesta amb provar, si algú altre s'ha trobat amb
aquests problemes, a veure si comenta *estratègies per evitar-los.



Re: Ass: Debian 9 fora de control?

2017-08-08 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 08/08/17 a les 08:25, Orestes Mas ha escrit:
>  
> 
> -- Missatge original--
> 
> *De: *Narcis Garcia
> 
> *Data:*dg., 6 d’ag. 2017 22.15
> 
> *Per a: *debian-user-catalan@lists.debian.org;
> 
> *Assumpte:*Debian 9 fora de control?
> 
>  
> 
> Acabo d'engegar un ordinador que té Debian 9 i automàticament ha fet un
> parell de coses que crec que hauria de consultar:
> 
> Com que a la mateixa xarxa local, per Wifi, estava connectada una
> persona amb un portàtil (amb una impressora inexistent aquí però
> autoconfigurada perquè existeix en algun altre local on ha estat aquesta
> persona), doncs aquest meu ordinador s'ha agregat les
> «Officejet-4630-series» + «Officejet-4630-series-Fax-4».
> 
> Ja posats, automàgicament s'ha posat a instal·lar paquets pel seu compte.
> Me n'he adonat quan he intentat jo instal·lar una cosa i no m'ha deixat
> perquè DPKG estava ocupat (fitxer lock), he cercat quins processos
> treballaven i l'he trobat desempaquetant openjdk-8-jre-headless que li
> deu caldre per la impressora inexistent en aquest lloc ni xarxa.
> 
> En un primer moment m'ha envaït el mal humor veient com tot això
> semblava coordinat per un tal «apt.systemd.daily», però ara em penso que
> Systemd no n'era el responsable i només estava esperant amb
> «lock_is_held» la seva pròpia oportunitat per actualitzar coses.
> 
> Una de les raons per moure'm d'Ubuntu a Debian era disminuïr el
> paternalisme dels ordinadors cap als usuaris, de manera que l'usuari
> tingués més control sobre les decisions.
> 
> -- 
> 
> Quina és la pregunta, concretament?
> 
>  
> 
> Cordialment,
> 
> Orestes Mas
> 

Fou una mescla de protesta amb provar, si algú altre s'ha trobat amb
aquests problemes, a veure si comenta per evitar-los.



Re: changing the ethernet interface name

2017-08-08 Thread Pierre Frenkiel

On Tue, 8 Aug 2017, Zenaan Harkness wrote:



Interesting.

Perhaps mine comes from an older version of Debian, or perhaps it's
just something that must be manually created (which I did a few years
ago now), IDK sorry.

I've attacked mine in case it's useful for you - just add lines in
there acccording to each relevant MAC address, restart networking and
you should be good to go. Replace the lines I've got there.



  I suppose that it actually comes from an older version.
  Mine is now Stretch, but I have this 70-persistent-net.rules file from my 
previous
  release, i.e. Jessie, which I saved on disk before doing the Stretch install..
  Anyway, the kernel option method works fine for the eth name, and I put it 
the grub config.

best regards,
--
Pierre Frenkiel



Re: Help with USB audio card

2017-08-08 Thread Rodolfo Medina
David Christensen  writes:

> On 08/07/17 05:15, Rodolfo Medina wrote:
>> Hi all.
>>
>> I just bought an external USB audio card.  I plugged it into the USB port of
>> my PC and plugged a 3.5mm jack microphone into the `mic' input of the card.
>> It is shown in lsusb:
>>
>> $ lsusb
>> Bus 002 Device 005: ID 17ef:602e Lenovo
>> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio 
>> Controlle
>> Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
>> Reader
>> Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>>
>> and also in arecord:
>>
>> $ arecord --list-devices
>>  List of CAPTURE Hardware Devices 
>> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 
>> rev3 Analog]
>>   Subdevices: 0/1
>>   Subdevice #0: subdevice #0
>> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 
>> rev3 Alt Analog]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>>
>> Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
>> then, when I try to record, no sound is recorded.  I do:
>>
>>  $ sox -t alsa hw:2,0 output.wav
>>
>> , or
>>
>>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>>
>> , or also within Audacity.  But nothing, my voice is not recorded.  Please
>> help whoever can.
>
> STFW I found some information that might be useful.
>
>
> Here is the chip makers web site:
>
> https://www.cmedia.com.tw/EN/index.html
>
>
> It looks like two versions of the chip are currently made:
>
> https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108AH
>
> https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108B
>
>
> This link indicates that some version of the chip worked on some Linux 
> machines
> at some point in time:
>
> https://linux-hardware.org/index.php?id=usb:0d8c-013c
>
>
> More links:
>
> http://www.linux-usb.org/USB-guide/x319.html
>
> https://linux-hardware.org/index.php?id=usb:0d8c-013c
>
>
> There are several links for people with Raspberry Pi boards running Raspian.
> They made changes to their ALSA configuration to use a CM108 USB audio
> interface.  I don't know if those instructions apply to Debian.
>
>
> Please run the following commands, and cut and past the commands and their
> outputs into a reply:
>
> cat /etc/debian_version
>
> uname -a
>
> dmesg | grep -i cm108 -A 10 -B 10


Thanks...

$ cat /etc/debian_version
buster/sid

$ uname -a
Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux

`dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...



Cheers,
Rodolfo



Ass: Debian 9 fora de control?

2017-08-08 Thread Orestes Mas

-- Missatge original--
De: Narcis Garcia
Data:dg., 6 d’ag. 2017 22.15
Per a: debian-user-catalan@lists.debian.org;
Assumpte:Debian 9 fora de control?

Acabo d'engegar un ordinador que té Debian 9 i automàticament ha fet un
parell de coses que crec que hauria de consultar:

Com que a la mateixa xarxa local, per Wifi, estava connectada una
persona amb un portàtil (amb una impressora inexistent aquí però
autoconfigurada perquè existeix en algun altre local on ha estat aquesta
persona), doncs aquest meu ordinador s'ha agregat les
«Officejet-4630-series» + «Officejet-4630-series-Fax-4».

Ja posats, automàgicament s'ha posat a instal·lar paquets pel seu compte.
Me n'he adonat quan he intentat jo instal·lar una cosa i no m'ha deixat
perquè DPKG estava ocupat (fitxer lock), he cercat quins processos
treballaven i l'he trobat desempaquetant openjdk-8-jre-headless que li
deu caldre per la impressora inexistent en aquest lloc ni xarxa.

En un primer moment m'ha envaït el mal humor veient com tot això
semblava coordinat per un tal «apt.systemd.daily», però ara em penso que
Systemd no n'era el responsable i només estava esperant amb
«lock_is_held» la seva pròpia oportunitat per actualitzar coses.

Una de les raons per moure'm d'Ubuntu a Debian era disminuïr el
paternalisme dels ordinadors cap als usuaris, de manera que l'usuari
tingués més control sobre les decisions.

-- 


Quina és la pregunta, concretament?

Cordialment,
Orestes Mas

(Enviat des d'un dispositiu mòbil 





Re: LibreOffice - middle click paste does not work.

2017-08-08 Thread Ben Finney
kjo...@poczta.onet.pl (Kamil Jońca) writes:

> Sid box with libreoffice.
> After recent upgrade I realized that paste selection with Middle Mouse
> button does not work. Can anyone confirm? I do not know if I have to
> report bug :)

Thanks for asking first.

You'll need to describe the behaviour in a similar way as if you were
reporting a bug, though.

For example: What did you upgrade, from what version to what version?
Can you give a repeatable sequence of steps that others can also try to
reproduce what you're seeing? Is there anything special about your
environment that we should know?

-- 
 \ “Try adding “as long as you don't breach the terms of service – |
  `\  according to our sole judgement” to the end of any cloud |
_o__)  computing pitch.” —Simon Phipps, 2010-12-11 |
Ben Finney



Re: LibreOffice - middle click paste does not work.

2017-08-08 Thread Phil Wyett
On Tue, 2017-08-08 at 07:08 +0200, Kamil Jońca wrote:
> 
> Sid box with libreoffice.
> After recent upgrade I realized that paste selection with Middle Mouse
> button does not work. Can anyone confirm? I do not know if I have to
> report bug :)
> KJ
> 

Hi,

I would file a bug. Testing here.

Stretch - 5.2.7-1:

Middle click  paste into gedit - PASS.
Middle click paste into libreoffice-
writer - PASS.

Buster - libreoffice-writer 5.4.0-1:

Middle click  paste into gedit - PASS.
Middle click paste into libreoffice-writer - FAIL.

Sid - libreoffice-writer 5.4.0-1:

Middle click  paste into gedit - PASS.
Middle click paste into libreoffice-
writer - FAIL.

Regards

Phil

-- 
*** If this is a mailing list, I am subscribed, no need to CC me.***

Playing the game for the games sake.

Web: https://kathenas.org

Twitter: kathenasorg

Instagram: kathenasorg

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