Re: graphic tablet controls

2018-04-10 Thread Bruce Byfield
"how recent a kernel do you have?  what version of
Debian are you on?  what desktop?"

I'm running stretch, using a 4.9.0-6 kernel. The problem exists on all
the major desktops including GNOME, KDE, Cinammon, and LXDE, so the
problem is unlikely to be the desktop

"First of all check if your Wacom device is supported by linux - not
all of them are.

For more check here

https://www.reddit.com/r/linuxquestions/comments/3yfz1v/wacom_intuos_draw_and_linux/;

Thanks for the link, but I already know that the Intuos Draw is
supported at least partially, because I am using it as a mouse
replacement, and stretch detects it. The question is why the desktop
tools can't detect it.

I found some information on the Arch website that didn't directly help
me (https://wiki.archlinux.org/index.php/Wacom_tablet), but it does
suggest that /dev/input/wacom should have been created -- which, on my
system, didn't happen. Any idea if that file could be created manually
-- and, if so, how?



The Intuos Draw is clearly supported to a degree, because I am using
it as a replacement.

o ___o
Bruce Byfield (on Pacific time) 604-421-7189
Writer of "Designing with LibreOffice"
www.designingwithlibreoffice.com



Re: SSD's and many edits of a single file

2018-04-10 Thread David Christensen

On 04/09/18 20:58, Gene Heskett wrote:

On Monday 09 April 2018 21:25:34 David Christensen wrote:


On 04/09/18 07:30, Gene Heskett wrote:

On Monday 09 April 2018 09:51:37 Greg Wooledge wrote:

On Mon, Apr 09, 2018 at 09:46:07AM -0400, rhkra...@gmail.com

wrote:

To your original problem, have you tried going to a command line
and throwing in a couple =sync=s?  I would try that, maybe after
saving in your editor, and again maybe after open and / or saving
in the cnc program.


As others have explained, the OS (Linux) keeps a cache of file
contents that have been written by applications, but not yet
committed to permanent storage.  If you "save" from within the text
editor, then the saved contents should be immediately visible to
other processes reading the file, regardless of whether it has been
synced to disk. They'll simply get the cached version.


Which is not happening after several hours and a hundred or more
edits. Which is why its so intermittent.


On 04/09/18 02:53, Gene Heskett wrote:

Lots of people seem to like gedit, but its saves are the cause of
important configuration files being written back to disk with the
line order totally trashed, as if you had thrown it on the floor in
512 byte pieces, then picked it back up and reassembled it in random
order. Then try to recover a 1400 LOC configuration file...

Thats happened using gedit enough, on several different machines ...


One editor failing would also make me suspect the editor.


But two failing editors would make me suspect some common factor, such
as a shared library and/or the kernel.


I'd buy that if the failures were similar.  They are not.


They both seem to involve getting blocks from an app to memory and 
blocks from memory to disk (and/or disk to memory).  They could be 
variations on a theme.



Can you reproduce the bugs on a machine with straight-up Debian (e.g. no 
linuxcnc)?



As a safety net, I would suggest a versioning file system (e.g. similar 
to the versioning feature of VMS).  STFW is pretty thin, but copyfs 
might be worth a try:


https://packages.debian.org/search?keywords=copyfs=names=all=all


David



Re: No sound in Debian Stretch

2018-04-10 Thread deloptes
Daniel Bareiro wrote:

> Hi, deloptes.
> 
> On 10/04/18 19:36, deloptes wrote:
> 
>>> Has anyone experienced something like that and has some clue how to fix
>>> it?
> 
>> try
>> alsamixer -c0
>> or
>> amixer -c0
>> and see if something is muted there
>> usually 0 is the alsacard driver - it might be other index for you though
> 
...
> 
> I was also looking at the settings with the ncurses interface provided
> by "alsamixer -c0". "Master", "PCM" and "Speaker" is at maximum, unless
> I'm missing something. Here some screenshots:
> 
> https://ibin.co/3xx7l69DriYy.png
> https://ibin.co/3xx8ERkqHJwW.png
> https://ibin.co/3xx8ac8djtS4.png
> 
> I also tried setting "Internal" to the maximum, but it made no difference.
> 

Automute is enabled - this means when you plug in headphone, speaker is
turned off
Headphone is also muted - no sound

strange that you mention you have no sound at all - without headphones
plugged, it should work.
check also the pavucontrol settings in both cases (the icons for default
device etc)

If nothing helps remove ~/.pulse directory and reboot or login again or kill
pulse server (it should respawn)

regards







Re: No sound in Debian Stretch

2018-04-10 Thread Daniel Bareiro
Hi, Ben.

On 10/04/18 19:51, Ben Caradoc-Davies wrote:
> On 11/04/18 10:15, Daniel Bareiro wrote:
>>  From one day to the next I ran out of sound in Debian Stretch. It's
>> strange because I don't remember making any changes and everything was
>> running without problem.
>> I installed pavucontrol to see if there is something muted, but that
>> does not seem to be the case. For example when I am playing a Youtube
>> video, in "Firefox: Audiostream" and in "Output devices" (I'm not sure
>> if that's what it says in the English version because I have the
>> interface in Spanish here) I see how the bottom bar fluctuates as if it
>> was reproducing something, but I am not able to hear any sound neither
>> by the speakers nor by the headset.
>> Has anyone experienced something like that and has some clue how to
>> fix it?

> Did the problem start when you plugged in your headset? What happens if
> you unplug your headset? Do you get sound from your speakers? How are
> your speakers connected? Is this a laptop? I have had a laptop with an
> Intel chipset for which headphone autoswitching was broken. I ended up
> disabling (commenting out) the switch-on-port-available module in
> /etc/pulse/default.pa .
> 
> On my current disktop chipset, my headset is detected as line out (not
> headphones). I am using "Analog Stereo Duplex" in Configuration and
> "Line Out" in "Output Devices". Do you have any HDMI devices connected
> or listed as Configuration options?

The computer where I am having this problem is a Thinkpad T530 notebook.
I'm not getting sound at all, whether I have the headset plugged in or not.

Until a few days ago it was working without problems. I don't remember
exactly when I started to experience this. If it was after return the
notebook from sleeping state or at some other time.

This notebook does not have any HDMI port.

Thanks for your interest.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: No sound in Debian Stretch

2018-04-10 Thread Daniel Bareiro
Hi, deloptes.

On 10/04/18 19:36, deloptes wrote:

>> Has anyone experienced something like that and has some clue how to fix
>> it?

> try
> alsamixer -c0
> or
> amixer -c0
> and see if something is muted there
> usually 0 is the alsacard driver - it might be other index for you though

This is the output I get with "amixer -c0":

-
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Headphone',1
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Dock Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Dock Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
-

I was also looking at the settings with the ncurses interface provided
by "alsamixer -c0". "Master", "PCM" and "Speaker" is at maximum, unless
I'm missing something. Here some screenshots:

https://ibin.co/3xx7l69DriYy.png
https://ibin.co/3xx8ERkqHJwW.png
https://ibin.co/3xx8ac8djtS4.png

I also tried setting "Internal" to the maximum, but it made no difference.


Thanks for your reply.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Status of Intel-related vulnerabilities and bugs?

2018-04-10 Thread Niclas Arndt
Hello,

I'm trying to get my head around all the recent Intel-related vulnerabilities 
and bugs and what they mean for the practical usefulness of my not-so-old and 
still under warranty motherboards in the role of a secure Debian internet 
server.

I have spent quite some time googling for both information about the technical 
problems and also what the motherboard manufacturers have done and plan to do 
about it.

It seems that many have rolled out BIOS updates for their 100-300 and x99-299 
series motherboards (Intel Management Engine (IME), hyperthreading, and Spectre 
variant 2).

For older motherboards there is a lot more uncertainty. ASRock (but not 
Gigabyte, ASUS, nor MSI) has released H97 / Z97 BIOS updates to Haswell CPU 
Microcode revision 24 and Broadwell revision 1D, but no update for IME. 
Gigabyte hasn't responded to my support request regarding their plans for 
97-series and older motherboards.

I have applied the Linux "microcode updated early" firmware from 
stretch-backports (https://wiki.debian.org/Microcode), but that leaves me with 
a few questions:

1. Can the latest microcode updates still in stretch-backports be trusted to 
run properly by now?
https://newsroom.intel.com/wp-content/uploads/sites/11/2018/04/microcode-update-guidance.pdf

2. What is really the deal with IME on pre 100-series motherboards? According 
to the "GIGABYTE Intel ME Critical FW Update Utility" there is "no need" to 
update my H97N-WIFI motherboards, but the "Intel-SA-00086 Detection Tool" says 
my Windows 7 machine is vulnerable. Some sources claim that certain consumer 
motherboards are indeed vulnerable to the IME holes. As far as I understand, 
the H97 and Z97 chipsets don't have vPro support (which I suppose means that 
AMT is not implemented?), but some motherboards were instead designed with 
Intel Small Business Advantage (SBA). For example, the Gigabyte H97N-WIFI / 
Z97N-WIFI boards have SBA support, but the ASRock H97E-ITX/ac / Z97E-ITX/ac 
don't, but does this mean that the Gigabyte boards are vulnerable but not the 
ASRock boards?
https://www.gigabyte.com/Support/Utility/Motherboard#mefw
https://www.intel.com/content/www/us/en/support/articles/25619/software.html

3. Assuming that the H97 / Z97 motherboards with SBA are vulnerable to the IME 
hole, what can be done to prevent exploits?

4. Has Microsoft decided only to apply their equivalent of the "microcode 
updated early" firmware to the latest version of Windows 10, leaving the still 
supported Windows 7 and 8.x with the Spectre 2 security hole?

Grateful for your input.

BR

Niclas




Re: transfer disk

2018-04-10 Thread Felix Miata
Pascal Hambourg composed on 2018-04-10 20:47 (UTC+0200):

> Felix Miata composed:

>> Putting a disk from an Intel system into a system with AMD, VIA or GeForce
>> chipset is almost certain to fail unless the initrd includes most drivers.

> This is the default (MODULES=most).

Likely it's one of the first things to go when someone wants to trim
installation size or speed up booting and/or updating.

>> This
>> leads me to believe that a minimal module set initrd created on one chipset 
>> type
>> and tried on any other chipset type is mostly likely doomed.

> Not if both chipsets use the same module. E.g. all SATA host controllers 
> in AHCI mode use the same ahci module regardless of the manufacturer.

I've seen a lot of BIOS since AHCI became commonplace where the string "AHCI" is
nowhere to be found in BIOS setup or motherboard or PC manual.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

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



Re: No sound in Debian Stretch

2018-04-10 Thread Ben Caradoc-Davies

On 11/04/18 10:15, Daniel Bareiro wrote:

 From one day to the next I ran out of sound in Debian Stretch. It's
strange because I don't remember making any changes and everything was
running without problem.
I installed pavucontrol to see if there is something muted, but that
does not seem to be the case. For example when I am playing a Youtube
video, in "Firefox: Audiostream" and in "Output devices" (I'm not sure
if that's what it says in the English version because I have the
interface in Spanish here) I see how the bottom bar fluctuates as if it
was reproducing something, but I am not able to hear any sound neither
by the speakers nor by the headset.
Has anyone experienced something like that and has some clue how to fix it?


Did the problem start when you plugged in your headset? What happens if 
you unplug your headset? Do you get sound from your speakers? How are 
your speakers connected? Is this a laptop? I have had a laptop with an 
Intel chipset for which headphone autoswitching was broken. I ended up 
disabling (commenting out) the switch-on-port-available module in 
/etc/pulse/default.pa .


On my current disktop chipset, my headset is detected as line out (not 
headphones). I am using "Analog Stereo Duplex" in Configuration and 
"Line Out" in "Output Devices". Do you have any HDMI devices connected 
or listed as Configuration options?


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: No sound in Debian Stretch

2018-04-10 Thread deloptes
Daniel Bareiro wrote:

> Has anyone experienced something like that and has some clue how to fix
> it?

try
alsamixer -c0
or
amixer -c0
and see if something is muted there
usually 0 is the alsacard driver - it might be other index for you though

regards



Re: graphic tablet controls

2018-04-10 Thread deloptes
Bruce Byfield wrote:

> I recently started using a Wacom Intuos Draw tablet. Its functions as a
> mouse substitute are available as soon as I plug it in, and the
> device is detected by the operating system. However, the tools
> available in desktop environments for configuring buttons and drawing
> functions don't detect the tablet, even though I can use the stylus in
> the testing area for the tools. Nor does xsetwacom work from the command
> line.
> 
> I have built and install the latest kernel modules for the tablet, and
> added the appropriate lines in xorg.conf. Neither has any noticeable
> effect. I have consulted the Debian wiki, as well as the Llinux Wacom
> project, but nothing changes the situation. Any idea where to go from
> here?

Hi,
First of all check if your Wacom device is supported by linux - not all of
them are.

For more check here

https://www.reddit.com/r/linuxquestions/comments/3yfz1v/wacom_intuos_draw_and_linux/



Re: No sound in Debian Stretch

2018-04-10 Thread Michael Lange
Hi,

On Tue, 10 Apr 2018 19:15:35 -0300
Daniel Bareiro  wrote:

> Hi all!
> 
> From one day to the next I ran out of sound in Debian Stretch. It's
> strange because I don't remember making any changes and everything was
> running without problem.
> 
> I installed pavucontrol to see if there is something muted, but that
> does not seem to be the case. For example when I am playing a Youtube
> video, in "Firefox: Audiostream" and in "Output devices" (I'm not sure
> if that's what it says in the English version because I have the
> interface in Spanish here) I see how the bottom bar fluctuates as if it
> was reproducing something, but I am not able to hear any sound neither
> by the speakers nor by the headset.
> 
> Has anyone experienced something like that and has some clue how to fix
> it?

here it has happened that pulseaudio changed its output from analog out
to hdmi without myself doing anything about it. For me it worked in such
cases to start pasystray, click on the tray icon to open the menu and go
to "Default sink" and change it back to the analog output.

Of course, this is just a shot into the dark, your problem might be
something entirely different.

Best regards,

Michael


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

Intuition, however illogical, is recognized as a command prerogative.
-- Kirk, "Obsession", stardate 3620.7



No sound in Debian Stretch

2018-04-10 Thread Daniel Bareiro
Hi all!

From one day to the next I ran out of sound in Debian Stretch. It's
strange because I don't remember making any changes and everything was
running without problem.

I installed pavucontrol to see if there is something muted, but that
does not seem to be the case. For example when I am playing a Youtube
video, in "Firefox: Audiostream" and in "Output devices" (I'm not sure
if that's what it says in the English version because I have the
interface in Spanish here) I see how the bottom bar fluctuates as if it
was reproducing something, but I am not able to hear any sound neither
by the speakers nor by the headset.

Has anyone experienced something like that and has some clue how to fix it?


Thanks in advance.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: graphic tablet controls

2018-04-10 Thread songbird
Bruce Byfield wrote:
>
> I recently started using a Wacom Intuos Draw tablet. Its functions as a
> mouse substitute are available as soon as I plug it in, and the
> device is detected by the operating system. However, the tools
> available in desktop environments for configuring buttons and drawing
> functions don't detect the tablet, even though I can use the stylus in
> the testing area for the tools. Nor does xsetwacom work from the command
> line.
>
> I have built and install the latest kernel modules for the tablet, and
> added the appropriate lines in xorg.conf. Neither has any noticeable
> effect. I have consulted the Debian wiki, as well as the Llinux Wacom
> project, but nothing changes the situation. Any idea where to go from
> here? 

  how recent a kernel do you have?  what version of
Debian are you on?  what desktop?

  i'm not familiar at all with these devices but
the above questions may help someone else give a
better answer.

  in nosing around google i'm seeing some people
talk about them and that they are not new devices.

  one person says that after reboot it worked...
has that been tried?


  songbird



Re: Plantage bizarre

2018-04-10 Thread BERTRAND Joël
Daniel Caillibaud a écrit :
> Le 10/04/18 à 15:43, BERTRAND Joël  a écrit :
> BJ>   Je ne sais pas sur quoi agit l'option -4 (hormis le fait
> BJ> s'utiliser IPv4 pour la connexion). Mais je puis t'assurer que même
> BJ> interrogés en IPv4, certains DNS renvoient des résolutions IPv6 et
> BJ> c'est au soft de faire le tri dans les réponses. Mais encore une fois,
> BJ> je ne sais pas si ssh est assez subtil pour cela.
> 
> Je pense quand même que même si la requête dns lui renvoyait du , il
> n'utiliserait que les champs A pour se connecter.
> 
> BJ>   Peux-tu poster ici un dump réseau complet de quelque chose qui
> BJ> fonctionne et d'une transaction qui échoue ? Par complet, c'est avec les
> BJ> options -v et -e.
> 
> Avec git on ne peut pas activer -e

Je pensais à un tcpdump bien senti.

> La même commande
>   env GIT_SSH_COMMAND="ssh -4 -v -o Ciphers=aes256-ctr" git pull
> sur le dépôt qui plante (1) et un qui fonctionne (à condition d'imposer
> le cipher) (2)

Rhohh... Idée ! J'ai eu un truc similaire avec les concetés
debianesques. Il y a des chiffrements qui ont disparu de certaines
versions récentes d'OpenSSL qui m'empêchaient d'envoyer des mails à
certains (gros) domaines. Il m'a fallu patcher sendmail pour contourner
le problème !...

Peux-tu compiler un OpenSSL officiel (non patché par Debian) ?

Si c'est bien ce à quoi je pense, il faudrait que des gens qui ne
comprennent pas les implications de leurs patches arrêtent de les imposer...

JKB



[solved] testing: today's upgrade of xserver-xorg-input-libinput breaks MATE mouse clicking

2018-04-10 Thread songbird
songbird wrote:
...

  fixed when tested after today's MATE updates.


  songbird



Re: transfer disk

2018-04-10 Thread Pascal Hambourg

Le 10/04/2018 à 06:18, Felix Miata a écrit :


Putting a disk from an Intel system into a system with AMD, VIA or GeForce
chipset is almost certain to fail unless the initrd includes most drivers.

This is the default (MODULES=most).


This
leads me to believe that a minimal module set initrd created on one chipset type
and tried on any other chipset type is mostly likely doomed.


Not if both chipsets use the same module. E.g. all SATA host controllers 
in AHCI mode use the same ahci module regardless of the manufacturer.




Re: transfer disk

2018-04-10 Thread Pascal Hambourg

Le 10/04/2018 à 05:48, Ben Caradoc-Davies a écrit :

On 10/04/18 14:01, mick crane wrote:
Can you pop a hard disk that boots with a Debian installation on it 
into another entirely different PC and will the kernel try to make 
sense of its new hardware ?


Mostly. I once had a disk that often moved between a desktop and laptop. 
If the architecture is compatible (e.g. not amd64 <-> arm64) then most 
likely it can be made to work. Common things that require fixing:


- Disk uses Legacy (BIOS) boot and partitioning but support is not 
enabled on the motherboard. Fix: turn on your motherboard Compatibility 
Support Module or similar.


The partitioning scheme has nothing to do with BIOS/UEFI boot.


- Disk uses UEFI but ancient motherboard does not support it. Unfixable.


Can be fixed, requires to install a BIOS boot loader on the disk.
Same if old disk and new PC have different UEFI architecture (32 and 64 
bits).


- Disk uses UEFI. Motherboard supports UEFI but has no boot entry and 
disk may need to be manually selected. Running update-grub should fix.


No it won't. update-grub just creates grub.cfg, it does not create an 
EFI boot entry. grub-install would, but most often you do not have to 
create an EFI boot entry, you can just install a copy of GRUB in the 
default ("removable device") path /boot/efi/efi/boot/boot{x64|ia32}.efi, 
manually or with grub-install --removable.




graphic tablet controls

2018-04-10 Thread Bruce Byfield

I recently started using a Wacom Intuos Draw tablet. Its functions as a
mouse substitute are available as soon as I plug it in, and the
device is detected by the operating system. However, the tools
available in desktop environments for configuring buttons and drawing
functions don't detect the tablet, even though I can use the stylus in
the testing area for the tools. Nor does xsetwacom work from the command
line.

I have built and install the latest kernel modules for the tablet, and
added the appropriate lines in xorg.conf. Neither has any noticeable
effect. I have consulted the Debian wiki, as well as the Llinux Wacom
project, but nothing changes the situation. Any idea where to go from
here? 

o ___o
Bruce Byfield (on Pacific time) 604-421-7189
Writer of "Designing with LibreOffice"
www.designingwithlibreoffice.com



Re: Plantage bizarre

2018-04-10 Thread Daniel Caillibaud
Le 10/04/18 à 15:43, BERTRAND Joël  a écrit :
BJ> Je ne sais pas sur quoi agit l'option -4 (hormis le fait
BJ> s'utiliser IPv4 pour la connexion). Mais je puis t'assurer que même
BJ> interrogés en IPv4, certains DNS renvoient des résolutions IPv6 et
BJ> c'est au soft de faire le tri dans les réponses. Mais encore une fois,
BJ> je ne sais pas si ssh est assez subtil pour cela.

Je pense quand même que même si la requête dns lui renvoyait du , il
n'utiliserait que les champs A pour se connecter.

BJ> Peux-tu poster ici un dump réseau complet de quelque chose qui
BJ> fonctionne et d'une transaction qui échoue ? Par complet, c'est avec les
BJ> options -v et -e.

Avec git on ne peut pas activer -e

La même commande
  env GIT_SSH_COMMAND="ssh -4 -v -o Ciphers=aes256-ctr" git pull
sur le dépôt qui plante (1) et un qui fonctionne (à condition d'imposer
le cipher) (2)

Pour info, je viens de réinstaller une stretch toute fraîche, pensant 
que mes pbs divers étaient peut-être liés à de vieux résidus, des modules 
plus utiles, etc. (car c'est un PC qui a presque 10 ans et je me rappelle 
pas avoir fait de réinstall from scratch, donc il pouvait avoir des restes 
qui remontent à etch, et j'avais déjà eu des pbs d'hibernation avec lenny 
ou squeeze de mémoire), mais ça ne change absolument rien :-/

1) dépôt HS

OpenSSH_7.4p1 Debian-10+deb9u3, OpenSSL 1.0.2l  25 May 2017
debug1: Reading configuration data /home/daniel/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to github.com [192.30.253.112] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/daniel/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u3
debug1: Remote protocol version 2.0, remote software version libssh_0.7.0
debug1: no match: libssh_0.7.0
debug1: Authenticating to github.com:22 as 'git'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha...@libssh.org
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes256-ctr MAC: hmac-sha2-256 compression: 
none
debug1: kex: client->server cipher: aes256-ctr MAC: hmac-sha2-256 compression: 
none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa 
SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /home/daniel/.ssh/known_hosts:596
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: root@asus17
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: root@quad
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: dan...@lairdutemps.org
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: daniel.caillib...@sesamath.net
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([192.30.253.112]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending environment.
debug1: Sending env LANG = fr_FR.UTF-8
debug1: Sending command: git-upload-pack 'sesamath/sesalab.git'
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Connection to github.com closed by remote host.
Transferred: sent 12336, received 73736 bytes, in 1.0 seconds
Bytes per second: sent 12674.8, received 75761.3
debug1: Exit status -1
fatal: The remote end hung up unexpectedly


2) Dépôt qui marche à condition de préciser un cipher aes

OpenSSH_7.4p1 Debian-10+deb9u3, OpenSSL 1.0.2l  25 May 2017
debug1: Reading configuration data 

GRUB : listes de blocs, erreur

2018-04-10 Thread andre_debian
Bonjour,

# grub-install /dev/sda1
me donne ce long message :

"Le système de fichiers NTFS ne prend ps en charge l'empaquetage.
Grub ne doit pas être installé sur cette configuration qu'en utilisant la 
liste de blocs, qui ne sont pas FIABLES donc déconseillées.
Erreur, refus de continuer avec les listes de blocs"

Pourtant, en rebootant, Grub fonctionne,
sauf le menu de boot en caractères ultra petits.

Mon système est Debian Jessie, avec une partition Windows (sda1)
et d'autres partitions de sauvegarde GNU/Linux (sda3, sda4...).

Cette erreur de grub est survenue après un "apt-get upgrade" de Jessie.

Merci,

André



Re: GPG and keyring issue

2018-04-10 Thread john doe

On 4/10/2018 4:33 PM, J.W. Foster wrote:

I just installed a new Debian 9 system on a reformatted disk in a multidisk 
system. I used the Netinstall cd from Debian. Installation went ok and I am 
sending this from the system. Problem is I tried to add the contrib and 
non-free repos to synaptic i.e. apt sources.list  I simply copied the 
sources.list file from a current working system that has no issues. The message 
below is what I get when I try to run apt update:
GPG error: http://deb.debian.org/debian stretch-updates InRelease: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010The repository 
'http://deb.debian.org/debian stretch-updates InRelease' is not signed.Updating 
from such a repository can't be done securely, and is therefore disabled by 
default.See apt-secure(8) manpage for repository creation and user 
configuration details.GPG error: http://security.debian.org stretch/updates 
InRelease: The following signatures couldn't be verified because the public key 
is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553The 
repository 'http://security.debian.org stretch/updates InRelease' is not 
signed.Updating from such a repository can't be done securely, and is therefore 
disabled by default.See apt-secure(8) manpage for repository creation and user 
configuration details.GPG error: http://deb.debian.org/debian stretch Release: 
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 
EF0F382A1A7B6500The repository 'http://deb.debian.org/debian stretch Release' 
is not signed.Updating from such a repository can't be done securely, and is 
therefore disabled by default.See apt-secure(8) manpage for repository creation 
and user configuration details.GPG error: http://ftp.debian.org/debian 
stretch-backports InRelease: The following signatures couldn't be verified 
because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 
7638D0442B90D010The repository 'http://ftp.debian.org/debian stretch-backports 
InRelease' is not signed.
I have used Debian for years, and dont often use this list but this is a new 
issues to me and though I can find a lot of info, I have not found a solution. 
i did download the current keyrings and installed them, but that did not help. 
Just wondering if this is some new issue related to secure apt.ThanksJohn




I have added 'contrib non-free' to the end of all the lines in 
/etc/apt/sources.list.
I can do an 'apt update' without having gpg complaining and without 
having to do anything specific.


/etc/apt/sources.list:
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main 
contrib non-free


# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib 
non-free


# stretch-backports, previously on backports.debian.org
deb http://ftp.us.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-backports main contrib 
non-free


Note that this e-mail might be folded by my mailer.

--
John Doe


Re: how do i tell usb to leave keyboard alone?

2018-04-10 Thread songbird
songbird wrote:
...
still happening, collected more info as i was running udevadm this time...

  always starts with change from KERNEL, so yes, seems to me to
be a kernel issue, but the fun thing here is that i've told the
kernel to leave the USB keyboard alone via udev rules and i've 
verified that the settings are indeed in the /sys/ files along 
with setting usbcore.autosuspend to -1.

  also went back to earlier kernel trying to see where this may
have started.  no difference...


.

Apr 10 10:17:01 auntie CRON[2875]: pam_unix(cron:session): session opened for 
user root by (uid=0)
Apr 10 10:17:01 auntie CRON[2876]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Apr 10 10:17:01 auntie CRON[2875]: pam_unix(cron:session): session closed for 
user root
KERNEL[9590.068254] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::numlock
 (leds)
KERNEL[9590.068320] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::numlock
 (leds)
KERNEL[9590.068352] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::capslock
 (leds)
KERNEL[9590.068377] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::capslock
 (leds)
KERNEL[9590.068412] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::scrolllock
 (leds)
KERNEL[9590.068435] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::scrolllock
 (leds)
KERNEL[9590.068454] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::compose
 (leds)
KERNEL[9590.068485] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::kana
 (leds)
KERNEL[9590.068509] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::kana
 (leds)
UDEV  [9590.072802] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::numlock
 (leds)
UDEV  [9590.072907] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::capslock
 (leds)
UDEV  [9590.073289] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::scrolllock
 (leds)
UDEV  [9590.073528] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::compose
 (leds)
UDEV  [9590.073544] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::capslock
 (leds)
UDEV  [9590.073556] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::numlock
 (leds)
UDEV  [9590.073766] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::scrolllock
 (leds)
UDEV  [9590.073939] change   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::kana
 (leds)
UDEV  [9590.074331] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/input21::kana
 (leds)
KERNEL[9590.088181] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/event18
 (input)
UDEV  [9590.089052] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21/event18
 (input)
KERNEL[9590.116184] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21
 (input)
KERNEL[9590.116233] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/hidraw/hidraw1
 (hidraw)
KERNEL[9590.116266] unbind   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002 (hid)
KERNEL[9590.116301] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002 (hid)
UDEV  [9590.118240] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/input/input21
 (input)
UDEV  [9590.118615] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002/hidraw/hidraw1
 (hidraw)
UDEV  [9590.119778] unbind   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002 (hid)
UDEV  [9590.120761] remove   
/devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/0003::.0002 (hid)
KERNEL[9590.132238] unbind   /devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0 
(usb)
KERNEL[9590.132319] remove   /devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0 
(usb)
KERNEL[9590.132870] unbind   /devices/pci:00/:00:14.0/usb1/1-6 (usb)
KERNEL[9590.132951] remove   /devices/pci:00/:00:14.0/usb1/1-6 (usb)
UDEV  [9590.134768] unbind   /devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0 
(usb)
UDEV  [9590.135884] remove   /devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0 
(usb)
UDEV  [9590.137535] unbind   

Re: hdmi from cable box in a Linux window?

2018-04-10 Thread Dan Ritter
On Mon, Apr 09, 2018 at 04:14:09PM -0700, John Conover wrote:
> 
> Is there a good way of getting hdmi from a cable TV box into a window
> on the Linux screen? Anyone done it?

Yes, the most straightforward is a box that takes HDMI in,
connects to your network and makes an RTSP stream available for
VLC or whatever to display for you.

https://blog.benjojo.co.uk/post/cheap-hdmi-capture-for-linux

http://archive.is/ThNO1

-dsr-



Re: SSD's and many edits of a single file

2018-04-10 Thread Celejar
On Mon, 9 Apr 2018 05:53:18 -0400
Gene Heskett  wrote:

...

> What else is a good editor? And lets not start yet another vim vs emacs 
> war. kwrite and kate come to mind. I'm running Trinity Desktop, maybe I 
> should check them out. Whatever, needs to be able to have several files 
> open so I can just click back and forth on the tabs as I usually 
> separate the files into what uses which cutting tool.

I use bluefish (and sometimes geany). Bluefish is probably more
complicated and heavier than you need, but you can take a look for
yourself.

Celejar



GPG and keyring issue

2018-04-10 Thread J.W. Foster
I just installed a new Debian 9 system on a reformatted disk in a multidisk 
system. I used the Netinstall cd from Debian. Installation went ok and I am 
sending this from the system. Problem is I tried to add the contrib and 
non-free repos to synaptic i.e. apt sources.list  I simply copied the 
sources.list file from a current working system that has no issues. The message 
below is what I get when I try to run apt update:
GPG error: http://deb.debian.org/debian stretch-updates InRelease: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010The repository 
'http://deb.debian.org/debian stretch-updates InRelease' is not signed.Updating 
from such a repository can't be done securely, and is therefore disabled by 
default.See apt-secure(8) manpage for repository creation and user 
configuration details.GPG error: http://security.debian.org stretch/updates 
InRelease: The following signatures couldn't be verified because the public key 
is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553The 
repository 'http://security.debian.org stretch/updates InRelease' is not 
signed.Updating from such a repository can't be done securely, and is therefore 
disabled by default.See apt-secure(8) manpage for repository creation and user 
configuration details.GPG error: http://deb.debian.org/debian stretch Release: 
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 
EF0F382A1A7B6500The repository 'http://deb.debian.org/debian stretch Release' 
is not signed.Updating from such a repository can't be done securely, and is 
therefore disabled by default.See apt-secure(8) manpage for repository creation 
and user configuration details.GPG error: http://ftp.debian.org/debian 
stretch-backports InRelease: The following signatures couldn't be verified 
because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 
7638D0442B90D010The repository 'http://ftp.debian.org/debian stretch-backports 
InRelease' is not signed.
I have used Debian for years, and dont often use this list but this is a new 
issues to me and though I can find a lot of info, I have not found a solution. 
i did download the current keyrings and installed them, but that did not help. 
Just wondering if this is some new issue related to secure apt.ThanksJohn



Re: SSD's and many edits of a single file

2018-04-10 Thread Thomas Schmitt
Hi,

Stefan Monnier wrote:
> I see no indication *at all* from Gene's description that the problem
> could have anything to do with the OS or the hardware.

I don't think so either. But since the discussion began to cycle,
i thought that it would be nice to have some tangible proof.

If the script runs fine for half a day while Gene does his editing and
CNCing and maybe experiences the problem with geany again, then we can
say that it's not the SSD or the kernel.


> My guess is rather that his editor ends up saving the file at location
> A and he looks at the state of a file at location B.

Yes. But who would want to explore the habits of a Gnome application ?
  https://github.com/geany/geany/issues/1774
  https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving


Have a nice day :)

Thomas



Re: can't access debian no more

2018-04-10 Thread David Wright
On Tue 10 Apr 2018 at 15:21:44 (+0200), mess-mate wrote:
> after an install of windows 10 (need it some a progran can't run on linux),
> somewhat seems to be changed on the hd.
> The startup lock on the disk control/fs.

Perhaps look back at your notes on how you fixed this problem.
https://lists.debian.org/debian-user/2018/03/msg00039.html
Here's looking forward to an OK/Solved message.

Cheers,
David.



Re: can't access debian no more

2018-04-10 Thread mess-mate

On 10-Apr-18 15:58, Brian wrote:

On Tue 10 Apr 2018 at 09:33:45 -0400, Forest Dean Feighner wrote:


On Tue, Apr 10, 2018 at 9:21 AM, mess-mate  wrote:


Hi,
after an install of windows 10 (need it some a progran can't run on linux),
somewhat seems to be changed on the hd.
The startup lock on the disk control/fs.
regards



Not much to go on but maybe reinstall grub from the installation CD? Boot
flag for debian partition?

I really don't know what things a Windows 10 install would do.

Windows has probably removed GRUB from the MBR. mess-mate should now go
to his favorite search engine and look for help with "unable to load
linux after installing windows".


Thanks Brian, but my disks are configured efi, no need for a MBR.
My rFIND config replace Grub and I saved it on an USB, so can't be 
corrupted.









Re: can't access debian no more

2018-04-10 Thread likcoras
On 04/10/2018 10:21 PM, mess-mate wrote:
> Hi,
> after an install of windows 10 (need it some a progran can't run on linux),
> somewhat seems to be changed on the hd.
> The startup lock on the disk control/fs.
> regards
> 

Usually the suggestion on installing both Debian and Windows is to
install Windows first, since it has a tendency to ignore other operating
systems on the disk and overwriting the bootloader with its own, which
is what I think has happened here.

Try reinstalling the Debian bootloader as suggested in the other reply,
see if that works. Grub is decent at detecting other operating systems
and should avoid breaking boot.



Re: can't access debian no more

2018-04-10 Thread Brian
On Tue 10 Apr 2018 at 09:33:45 -0400, Forest Dean Feighner wrote:

> On Tue, Apr 10, 2018 at 9:21 AM, mess-mate  wrote:
> 
> > Hi,
> > after an install of windows 10 (need it some a progran can't run on linux),
> > somewhat seems to be changed on the hd.
> > The startup lock on the disk control/fs.
> > regards
> >
> >
> Not much to go on but maybe reinstall grub from the installation CD? Boot
> flag for debian partition?
> 
> I really don't know what things a Windows 10 install would do.

Windows has probably removed GRUB from the MBR. mess-mate should now go
to his favorite search engine and look for help with "unable to load
linux after installing windows".

-- 
Brian.



Re: SSD's and many edits of a single file

2018-04-10 Thread Stefan Monnier
> Following is a bash script which challenges the disk's fidelity in
> respect to small writes on a relatively small file over a long time.

I see no indication *at all* from Gene's description that the problem
could have anything to do with the OS or the hardware.

My guess is rather that his editor ends up saving the file at location
A and he looks at the state of a file at location B.


Stefan



Re: Plantage bizarre

2018-04-10 Thread BERTRAND Joël
Daniel Caillibaud a écrit :
> Le 10/04/18 à 10:47, BERTRAND Joël  a écrit :
> 
> BJ> Daniel Caillibaud a écrit :
> BJ> > Le 09/04/18 à 19:45, BERTRAND Joël  a
> BJ> > écrit :  
> BJ> > BJ> En d'autres termes, est-ce que le problème persiste en
> BJ> > BJ> désactivant IPv6 sur le poste en question ?  
> BJ> > 
> BJ> > Oui, pour éliminer ça dès le début tous les tests sont en ipv4, j'ai
> BJ> > désactivé l'ipv6 sur l'interface et je fais les tests en passant -4 à
> BJ> > ssh.  
> BJ> 
> BJ>   Même pour la résolution de nom ? Que renvoie un 'host' sur le
> BJ> domaine fautif ? J'ai déjà eu des cas bizarres où le resolver
> BJ> renvoyaient une réponse  sur une machine sans IPv6.
> 
> Oui, mais là dans les traces tcp on voit que la connexion est ouverte puis
> coupée en cours de route.
> 
> Par ailleurs, j'ai un unbound local pour la résolution (j'utilise le dhcp
> pour assigner l'ip uniquement), et le pb se pose sur du `ssh -4`.

Je ne sais pas sur quoi agit l'option -4 (hormis le fait s'utiliser
IPv4 pour la connexion). Mais je puis t'assurer que même interrogés en
IPv4, certains DNS renvoient des résolutions IPv6 et c'est au soft de
faire le tri dans les réponses. Mais encore une fois, je ne sais pas si
ssh est assez subtil pour cela.

Peux-tu poster ici un dump réseau complet de quelque chose qui
fonctionne et d'une transaction qui échoue ? Par complet, c'est avec les
options -v et -e.

Bien cordialement,

JKB



Re: can't access debian no more

2018-04-10 Thread Forest Dean Feighner
On Tue, Apr 10, 2018 at 9:21 AM, mess-mate  wrote:

> Hi,
> after an install of windows 10 (need it some a progran can't run on linux),
> somewhat seems to be changed on the hd.
> The startup lock on the disk control/fs.
> regards
>
>
Not much to go on but maybe reinstall grub from the installation CD? Boot
flag for debian partition?

I really don't know what things a Windows 10 install would do.

HTH


Re: Virtualização Windows 10 para Jogos

2018-04-10 Thread thiagocanutof84
Bom, já verificou se tem o seu jogo na Steam On Linux? 

Se não tiver, neste caso aprendi que a melhor forma de jogar jogos do
Windows é através do Wine ou PlayOnLinux. Se mesmo assim não tiver, o
jeito é ter o Windows em dual boot mesmo e jogar por lá.

Em seg, 2018-04-09 às 10:35 -0300, Leandro Pereira escreveu:
> Bom, acho que sem fazer GPU passthrough com VT-d não vai rolar jogar
> na VM, vai ficar muito lento mesmo.
> 
> Leandro L. Pereira
> 
> 
> Em 9 de abril de 2018 10:30, Nei Moreira 
> escreveu:
> > Prezados,
> > 
> > Bom dia!
> > Venho mais uma vez consultar a experiência de vocês.
> > Tenho um PC em "dual boot" Windows 10 e Debian. Este PC está com
> > uma
> > configuração razoável (RAM: 8GB; HD: 1TB; Vídeo: onboard).
> > Neste último fim de semana, formatei o PC, instalei somente o
> > Debian e
> > virtualizei o Windows 10 através do Virtualbox, com intuito de
> > manter o uso
> > que fazia com a instalação do sistema como host.
> > Para a maioria das atividades, está atendendo plenamente, mas
> > apresentação
> > gráfica ficou um pouco a desejar. Possuo alguns jogos para Windows
> > 10
> > (Diablo III e Plants VS Zobies GW) que rodavam bem no Win10 como
> > host. Estou
> > com receio de rodá-los no Win10 como guest.
> > Vocês tem alguma experiência ou sugestão sobre o assunto?
> > Abraço,
> > 
> > Nei Moreira
> 
> 
-- 
Thiago C. F.



can't access debian no more

2018-04-10 Thread mess-mate

Hi,
after an install of windows 10 (need it some a progran can't run on linux),
somewhat seems to be changed on the hd.
The startup lock on the disk control/fs.
regards



Re: SSD's and many edits of a single file

2018-04-10 Thread Thomas Schmitt
Hi,

re-reading the original mail of Gene
  https://lists.debian.org/debian-user/2018/04/msg00237.html
i think it is time to collect some evidence.

Following is a bash script which challenges the disk's fidelity in
respect to small writes on a relatively small file over a long time.

Gene, please consider to run it and to report the outcome

Adjustable parameters are
  file_path , chunk_size , sleep_time , duration
Edit the script to change their values. No blanks or fancy characters.
(It is advisable to store it on an unsuspicious disk.)

With the given setting of chunk_size=8, the victim file will have a size
of 524,289 bytes.

The script will print a single dot to stdout for each successful write-read
cycle.  After 60 such dots, the cycle count and a newline character get
printed.

In case of a failed read-write cycle, an ALL-CAPS message will be emitted
to stderr and the script will abort immediately.

If there is no failure, then operating system and disk are working as
they should.

Start of script. Cut out after the "---" line, store as file
"random_writer.sh", and give execution permission by
  chmod u+x random_writer.sh
---
#!/bin/bash

# Which file to use
file_path=/home/test/random_writer_victim

# How many bytes to write in one try.
# (Write range is 65536 times chunk_size plus 1)
chunk_size=8

# Interval between writes
sleep_time=10

# Overall duration in seconds (here: half a day)
duration=43200

# Initialize file content by newline characters
echo "Victim file: $file_path"
length=$(expr 65536 '*' $chunk_size + 1)
yes "" | head -c $length | dd of="$file_path" conv=notrunc 2>/dev/null

start_time=$(date '+%s')
cycle=0
while test $(expr $(date '+%s') - $start_time) -lt $duration
do
  # Get a random write address in the range of 0 to 65535
  random_adr=$(dd if=/dev/urandom bs=1 count=2 2>/dev/null | od -d | \
   head -1 | awk '{print $2}' )
  cycle=$(expr $cycle + 1)
  text=$(printf '%'"$chunk_size"'d' $cycle)

  # Write to file (with trailing newline to keep the file editor friendly)
  echo "$text" | \
dd of="$file_path" seek="$random_adr" bs=$chunk_size count=1 conv=notrunc \
   2>/dev/null

  # Check-read
  reread=$(dd if="$file_path" skip="$random_adr" bs=$chunk_size count=1 \
  2>/dev/null)

  # <<< Simulated mismatch
  # test $cycle = 3 && reread=X_simulated_X

  if test "$text" != "$reread"
  then
echo
echo "CAUGHT MISMATCH OF WRITE AND READ !" >&2
echo "Written: '$text'" >&2
echo "Read   : '$reread'" >&2
exit 1
  fi 

  echo -n '.'
  if test $(expr $cycle % 60) = 0
  then
printf '%8d\n' $cycle
  fi
  sleep $sleep_time || break
done
printf '%8d\nDone. No errors detected.\n' $cycle
---
End of script. Cut out before the "---" line.

Have a nice day :)

Thomas



Re: SSD's and many edits of a single file

2018-04-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Apr 10, 2018 at 08:10:07AM -0400, Gene Heskett wrote:
> On Tuesday 10 April 2018 07:08:03 to...@tuxteam.de wrote:
> 
> > On Tue, Apr 10, 2018 at 06:49:54AM -0400, Gene Heskett wrote:

[...]

> No such clues were evident.

Then I'd look for troubles elsewhere...

> What good does it do to partition an SSD? Because of the wear leveling, 
> if it goes read-only, I expect the whole thing is read-only.  Including 
> swap I expect.

Hm. sooner or later, yes. But the OS takes its decisions for each file
system separately.

That said, I wouldn't partition an SSD without a compelling reason.

> I rest my case with this thread [...]

> Haveing fresh input from different angles helps my ancient wet ram, 
> thanks Thomas.

That's what wet RAM thrives on, I think that is valid for everyone.
So -- glad to help, and to receive help :)

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

iEYEARECAAYFAlrMuDsACgkQBcgs9XrR2kYHfwCfaBahrZwupJwU69uDR4UKJv0U
1fIAn0nN4n+3Ye1QWQdW4+SudpCDa2hc
=2EJq
-END PGP SIGNATURE-



Re: Plantage bizarre

2018-04-10 Thread Daniel Caillibaud
Le 10/04/18 à 09:05, Eric Degenetais  a écrit :

ED> Le 10 avril 2018 à 08:47, BERTRAND Joël  a
ED> écrit :
ED> > Même pour la résolution de nom ?

ED> Surtout lié à un changement de FAI... j'ai désactivé IPV6 sur mes
ED> systèmes linux pendant plusieurs années parce que ma f... box ne gérait
ED> pas correctement le protocole de transition IPV4/IPV6, donc si pas de
ED> bol la réponse de la requête IPV6 arrivait en premier je me prenais le
ED> mur. Ça a pu s'améliorer ... ou pas en fonction des FAI.

C'est effectivement une piste plausible, mais avec avec du ssh -4 y'a
vraiment aucune raison que ssh utilise de l'ipv6, ou alors un truc
m'échappe (et même si l'appel dns n'était pas restreint à v4, ssh ne se
connecterait pas et le message serait différent).

Et dans mes traces tcpdump, je ne vois que l'ipv4, mais c'est vrai que ça
prouve rien vu que je filtre le snif sur l'ipv4 du host qui m'intéresse…

J'ai désactivé l'ipv6 dans network-manager, mais c'est vrai qu'un ifconfig
continuait de me donner une mac et une adresse ipv6.

Par acquis de conscience, j'ai donc re-testé après

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.all.autoconf=0
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.default.autoconf=0

et avoir vérifié qu'un ifconfig ne donnait plus de trace d'ipv6 => c'est
pareil.

-- 
Daniel

Je pense qu'il y a sur le marché mondial place pour environ 
cinq ordinateurs. Président du Board of IBM (1943)



Re: Plantage bizarre

2018-04-10 Thread Daniel Caillibaud
Le 10/04/18 à 10:47, BERTRAND Joël  a écrit :

BJ> Daniel Caillibaud a écrit :
BJ> > Le 09/04/18 à 19:45, BERTRAND Joël  a
BJ> > écrit :  
BJ> > BJ>   En d'autres termes, est-ce que le problème persiste en
BJ> > BJ> désactivant IPv6 sur le poste en question ?  
BJ> > 
BJ> > Oui, pour éliminer ça dès le début tous les tests sont en ipv4, j'ai
BJ> > désactivé l'ipv6 sur l'interface et je fais les tests en passant -4 à
BJ> > ssh.  
BJ> 
BJ> Même pour la résolution de nom ? Que renvoie un 'host' sur le
BJ> domaine fautif ? J'ai déjà eu des cas bizarres où le resolver
BJ> renvoyaient une réponse  sur une machine sans IPv6.

Oui, mais là dans les traces tcp on voit que la connexion est ouverte puis
coupée en cours de route.

Par ailleurs, j'ai un unbound local pour la résolution (j'utilise le dhcp
pour assigner l'ip uniquement), et le pb se pose sur du `ssh -4`.

(mais merci pour la remarque, je tâcherai de m'en souvenir pour commencer
par regarder ça si un truc qui ressemble se produit).

-- 
Daniel

Il vaut mieux être saoul que con, ça dure moins longtemps.
Dicton Breton



Re: SSD's and many edits of a single file

2018-04-10 Thread Gene Heskett
On Tuesday 10 April 2018 07:08:03 to...@tuxteam.de wrote:

> On Tue, Apr 10, 2018 at 06:49:54AM -0400, Gene Heskett wrote:
> > On Tuesday 10 April 2018 03:52:55 to...@tuxteam.de wrote:
>
> [...]
>
> > > The most typical symptom [of a failed write due to storage
> > > failure] would be that the file system gets remounted
> > > read-only because of write errors. And you tend to notice that.
> >
> > Does the mount command report that? It did not.
>
> If your logs are writable (because they are on a separate file
> system, or because they are remote),

They are neither.

> you'd see that there. If 
> not (because you have only one file system), you're bound to
> notice that anyway, because many applications are going to freak
> out on a failed write (*all* writes fail once the file system
> is read-only).

No such clues were evident.

> Cheers
> -- tomás

What good does it do to partition an SSD? Because of the wear leveling, 
if it goes read-only, I expect the whole thing is read-only.  Including 
swap I expect.

I rest my case with this thread, geany apparently is not taking care of 
its housekeeping and is running out of whatever is allocated to do the 
disk write, its the only conclusion that makes sense so far. There's a 
name for it, but oldtimers is at work here too. Dammit.

I'll change my default lcnc editor to nano --smooth, which gets rid of my 
scrolling complaint.  And see if it happens again. That will also tend 
to prevent my leaving it open forever if launched from lcnc as thats 
single-threaded. Either editor launched as a fresh action will probably 
solve the problem.

Haveing fresh input from different angles helps my ancient wet ram, 
thanks Thomas.

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



Re: SSD's and many edits of a single file

2018-04-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Apr 10, 2018 at 06:49:54AM -0400, Gene Heskett wrote:
> On Tuesday 10 April 2018 03:52:55 to...@tuxteam.de wrote:

[...]

> > The most typical symptom [of a failed write due to storage
> > failure] would be that the file system gets remounted
> > read-only because of write errors. And you tend to notice that.

> Does the mount command report that? It did not.

If your logs are writable (because they are on a separate file
system, or because they are remote), you'd see that there. If
not (because you have only one file system), you're bound to
notice that anyway, because many applications are going to freak
out on a failed write (*all* writes fail once the file system
is read-only).

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

iEYEARECAAYFAlrMmxMACgkQBcgs9XrR2kbtawCfRvDu3yYCEKvA69Nt+SXTW30h
dvYAnRqoB8pVenX4X8esrPavYDXstul5
=riS/
-END PGP SIGNATURE-



Re: install printer

2018-04-10 Thread Gene Heskett
On Tuesday 10 April 2018 05:45:46 Dan Purgert wrote:

> Gene Heskett wrote:
> > On Monday 09 April 2018 15:45:34 Brian wrote:
> >> Not really. It would be a poorer debian-user without
> >> well-intentioned engagement.
> >
> > Maybe so, Brian, but in cases like this it would improve the overall
> > quality of the answers. And that more often than not, is desirable.
>
> I find I learn more when people (not necessarily you) say something
> well-intended, and then get corrected.

I do too, because the correction is often accompanied by the reasoning 
behind it, going into more detail then "thats just how it is".

> Granted, *finding* those posts 
> in the sometimes unweildy (and by then, boring) threads can be a
> challenge :)

There is that too, makes it hard to find the goodies. I use kmails "mark 
as important", those msgs containing good info. They don't get deleted 
quite as easily by list expiry maintenance. 


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



Re: SSD's and many edits of a single file

2018-04-10 Thread Gene Heskett
On Tuesday 10 April 2018 03:52:55 to...@tuxteam.de wrote:

> On Mon, Apr 09, 2018 at 06:25:34PM -0700, David Christensen wrote:
>
> [...]
>
> > One editor failing would also make me suspect the editor.
> >
> >
> > But two failing editors would make me suspect some common factor,
> > such as a shared library and/or the kernel.
> >
> >
> > Have you tested your hardware -- power supply, memory, and SSD?  Be
> > sure to test the SSD before you touch any cables.  If it fails,
> > re-seat and/or replace cables and test again.
>
> Folks: you're barking up the wrong tree. *If* some editor fails
> to write to a file because the hard disk goes on strike, chances
> are that you'll hear your OS *SCREAM LOUDLY* that something is
> wrong.
>
> The most typical symptom would be that the file system gets remounted
> read-only because of write errors. And you tend to notice that.
>
Does the mount command report that? It did not.

> Cheers
> -- tomás



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



Mes opcions per comprimir amb Gnome

2018-04-10 Thread Narcis Garcia
Ara m'he adonat que amb el Gnome de Debian 9, quan se selecciona varis
fitxers o carpetes i al menú contextual s'escull «Comprimeix...» apareix
una versió abreviada del file-roller.
M'agradava antigament en què es podien crear altres formats de paquet, i
en el cas del .7z es podia establir una contrasenya.

Ara mateix només es pot invocar amb al línia d'ordres:
file-roller -d fitxer1 fitxer2 fitxer3...
(aleshores sí que apareix el desplegable de formats i altres opcions)

Com puc recuperar aquesta forma de crida al menú contextual del Nautilus?

Gràcies.

-- 


__
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.



Re: install printer

2018-04-10 Thread Dan Purgert
Gene Heskett wrote:
> On Monday 09 April 2018 15:45:34 Brian wrote:
>> Not really. It would be a poorer debian-user without well-intentioned
>> engagement.
>
> Maybe so, Brian, but in cases like this it would improve the overall 
> quality of the answers. And that more often than not, is desirable.
>

I find I learn more when people (not necessarily you) say something
well-intended, and then get corrected.  Granted, *finding* those posts
in the sometimes unweildy (and by then, boring) threads can be a
challenge :)


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Clonado de Disco con dd

2018-04-10 Thread Luis Miguel R.
Hola,

El nuevo disco lo puedes usar ya sin hacer nada m�s, pero solo tendr�as la 
capacidad
de 160GB, cuando quieras tener disponible toda la capacidad del nuevo disco 
tienes
que redimensionar las particiones para que usen todo el espacio diponible.
Una buena opcion para realizar el redimensionado es el cd de arranque gparted

Un saludo

El Monday, 09 April del 2018 a las 06:54:11PM, debian...@openmailbox.org 
escribi�:
> Lista:
> 
> Buenas tardes, desde hace tanto que no escribia.
> 
> Tengo una duda.
> 
> Tengo un disco duro que ha comenzado a fallar intermitentemente.
> Decidi clonarlo por seguridad.
> 
> El disco origen tien 160 Gb
> El disco destino tiene 2 Tb
> 
> Lo clone con dd de la siguiente manera:
> 
>  sudo dd if=/dev/sda of=/dev/sdb bs=1M
> 
> Ha quedado clonado. ¿Ahora como le hago para usarlo en lugar el que ha
> comenzado a fallar?.
> 
> debianeromx
> 
> P.D. Gracias lista



Re: Plantage bizarre

2018-04-10 Thread Eric Degenetais
Le 10 avril 2018 à 08:47, BERTRAND Joël  a écrit
:
> Même pour la résolution de nom ?
Surtout lié à un changement de FAI... j'ai désactivé IPV6 sur mes systèmes
linux pendant plusieurs années parce que ma f... box ne gérait pas
correctement le protocole de transition IPV4/IPV6, donc si pas de bol la
réponse de la requête IPV6 arrivait en premier je me prenais le mur.
Ça a pu s'améliorer ... ou pas en fonction des FAI.
__
Éric Dégenètais


Re: hdmi from cable box in a Linux window?

2018-04-10 Thread Erwan David
On Tue, Apr 10, 2018 at 09:45:46AM CEST, Joe  said:
> On Mon, 9 Apr 2018 16:14:09 -0700
> cono...@rahul.net (John Conover) wrote:
> 
> > Is there a good way of getting hdmi from a cable TV box into a window
> > on the Linux screen? Anyone done it?
> 
> There are converters for below 100 Pounds/Dollars to USB3.0. I've seen
> 1080p/60 going into VLC on a (fast) Windows laptop, although it only
> manages 1-2fps on mine. The computer seems to need to do a lot of work.
> There are more expensive converters which presumably do more themselves.
> 
> I had the converter for a short time, and didn't try it with any Linux
> computers, so I don't know the state of USB3 video over here.

The problem that might appear would be if the source wants a HDCP
compatible HDMi display. Much more difficult to find an adapter for this.


-- 
Erwan



Re: Plantage bizarre

2018-04-10 Thread BERTRAND Joël
Daniel Caillibaud a écrit :
> Le 09/04/18 à 19:45, BERTRAND Joël  a écrit :
> BJ>   En d'autres termes, est-ce que le problème persiste en
> BJ> désactivant IPv6 sur le poste en question ?
> 
> Oui, pour éliminer ça dès le début tous les tests sont en ipv4, j'ai
> désactivé l'ipv6 sur l'interface et je fais les tests en passant -4 à ssh.

Même pour la résolution de nom ? Que renvoie un 'host' sur le domaine
fautif ? J'ai déjà eu des cas bizarres où le resolver renvoyaient une
réponse  sur une machine sans IPv6.

Bien cordialement,

JKB



Re: Plantage bizarre

2018-04-10 Thread Daniel Caillibaud
Le 09/04/18 à 19:45, BERTRAND Joël  a écrit :
BJ> En d'autres termes, est-ce que le problème persiste en
BJ> désactivant IPv6 sur le poste en question ?

Oui, pour éliminer ça dès le début tous les tests sont en ipv4, j'ai
désactivé l'ipv6 sur l'interface et je fais les tests en passant -4 à ssh.

-- 
Daniel

Dans la vie il faut faire ce que l'on aime. 
Ce n'est pas une garantie de réussite, mais au moins,
c'est une garantie de non-frustration.
Willy Rozenbaum



Re: SSD's and many edits of a single file

2018-04-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Apr 09, 2018 at 06:25:34PM -0700, David Christensen wrote:

[...]

> One editor failing would also make me suspect the editor.
> 
> 
> But two failing editors would make me suspect some common factor,
> such as a shared library and/or the kernel.
> 
> 
> Have you tested your hardware -- power supply, memory, and SSD?  Be
> sure to test the SSD before you touch any cables.  If it fails,
> re-seat and/or replace cables and test again.

Folks: you're barking up the wrong tree. *If* some editor fails
to write to a file because the hard disk goes on strike, chances
are that you'll hear your OS *SCREAM LOUDLY* that something is
wrong.

The most typical symptom would be that the file system gets remounted
read-only because of write errors. And you tend to notice that.

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

iEYEARECAAYFAlrMbVcACgkQBcgs9XrR2kYDHQCbBbWJ05ZsCKnzao3k/F5/6VQG
Yd4An0o+M9R6tH8AOX0Uas7JvhwF0x9N
=Amez
-END PGP SIGNATURE-



Re: hdmi from cable box in a Linux window?

2018-04-10 Thread Joe
On Mon, 9 Apr 2018 16:14:09 -0700
cono...@rahul.net (John Conover) wrote:

> Is there a good way of getting hdmi from a cable TV box into a window
> on the Linux screen? Anyone done it?

There are converters for below 100 Pounds/Dollars to USB3.0. I've seen
1080p/60 going into VLC on a (fast) Windows laptop, although it only
manages 1-2fps on mine. The computer seems to need to do a lot of work.
There are more expensive converters which presumably do more themselves.

I had the converter for a short time, and didn't try it with any Linux
computers, so I don't know the state of USB3 video over here.

-- 
Joe