ViSP installation problems

2018-03-10 Thread Evgeny
Greetings,

In tutorial, provided (
http://visp-doc.inria.fr/doxygen/visp-daily/tutorial-install-ubuntu-package.html)
in ViSP doc, it is pretty simple to install software using terminal, but i
face some problems such this:

visp is in older version of Debian repository (jessie, I'm using stretch)
many of dependencies are in even more older versions of debian repository

what should I actually do? Trying install it from source (but I guess I'll
face the same problems trying install 3rd-parties) or add to sources some
old repos using similar way as in answer
https://unix.stackexchange.com/questions/60555/debian-is-it-possible-safe-to-install-packages-from-an-older-version-of-the-rep
?

Thank you.


Re: hwclock incorrectly set ?

2018-03-10 Thread Rick Thomas

On Mar 10, 2018, at 7:39 PM, Charles E. Blair  wrote:

> Thank you to Rick Thomas and the many others trying
> to help me with my "hwclock incorrectly set".
> 
> --
> 
> According to aptitude, I do not have ntp installed.
> 
> --
> 
> My system is indeed a dual-boot (not counting recovery
> options) of windows and linux.  However, I doubt I use
> the windows partition more than two or three times a
> year.  I used default options with the installer.
> Perhaps these excerpts from grub.cfg will help:
> 
> menuentry 'Debian GNU/Linux' $menuentry_id_option 'gnulinux-simple
> menuentry 'Windows 7 (on /dev/sda1)
> menuentry 'Windows 7 (on /dev/sda2)'
> menuentry 'Windows Recovery Environment (on /dev/sda3)'
> 
> --
> 
> The /etc/adjtime file:
> 
> 0.009639 1512909359 0.00
> 1512909359
> LOCAL
> 
> --

So…
Your hardware clock is set to your local timezone (the “LOCAL” in 
/etc/adjtime).  This is normal when it’s dual-boot.
And whenever you boot Windows, your hardware clock may get reset, thus 
confusing Debian the next time you boot Debian.  But you say you don’t boot 
Windows very often, so…

I’m not sure whether either of these facts can explain the symptoms you’re 
seeing.  In particular, if you’re seeing “superblock time in the future” 
without ever having booted Windows in between, neither of those facts would 
likely be involved.

One thing that does occur to me is this:  If your machine is more than a few 
(five or so) years old, the battery (that keeps the hardware clock running when 
the machine is powered off) may be getting tired.  It may need to be replaced.  
If you’re not comfortable with opening up the case yourself, maybe you’ve got a 
hardware hacker friend who could help?

NB: Please ignore the above paragraph if this is a laptop.  The battery 
situation with a laptop is *entirely* different.

If you have a reliable Internet connection, you should probably think about 
installing ntp.  It won’t do anything to fix your hardware clock, but at least 
it will keep your system clock synchronized to the rest of the Internet.

Enjoy!
Rick


Re: hwclock incorrectly set ?

2018-03-10 Thread David Wright
On Sat 10 Mar 2018 at 21:34:24 (-0500), Anil Duggirala wrote:
> On Sat, Mar 10, 2018, at 5:18 PM, Rick Thomas wrote:
> > Hi Charles,
> > 
> > It would be helpful in diagnosing your problem if you could tell us a 
> > little bit more about your configuration…
> > 
> > Questions:
> > 
> > 1) Do you have ntp installed?
> > 
> > 2) Is this a dual-boot system?  (Windows and Debian)
> > 
> > 3) What is the contents of /etc/adjtime?
> > 
> > 
> > Enjoy!
> > Rick
> 
> Dont know if I can intrude like this,

Welcome.

> but I am having getting the same notification at boot time, sometimes. I am 
> on a dual-boot with Win 10. 
> hwclock gives me:
> 2018-03-10 21:19:03.264101-0500
> and date (less than a second later):
> Sat Mar 10 21:19:16 -05 2018
> So this is the opposite time difference than the OP.
> My /etc/adjtime does contain the "LOCAL" flag.
> ntp is not installed in my system and
> timedatectl status outputs:
> Local time: Sat 2018-03-10 21:31:18 -05
>   Universal time: Sun 2018-03-11 02:31:18 UTC
> RTC time: Sat 2018-03-10 21:31:07
>Time zone: America/Bogota (-05, -0500)
>  Network time on: yes
> NTP synchronized: no
>  RTC in local TZ: yes
> 
> Warning: The system is configured to read the RTC time in the local time zone.
>  This mode can not be fully supported. It will create various problems
>  with time zone changes and daylight saving time adjustments. The RTC
>  time is never updated, it relies on external facilities to maintain 
> it.
>  If at all possible, use RTC in UTC by calling
>  'timedatectl set-local-rtc 0'.
> 
> I appreciate any help,

My recommendations would be to install ntp on the linux system and let
that take full responsibility for regulating the clock.

I would also set the RTC clock to UTC (either in the CMOS when
next booting, or with hwclock) and tell linux that that is so in
/etc/adjtime. More details in   https://wiki.debian.org/DateTime

Lastly, I would boot up Windows and tell it (a) the RTC is on UTC and
(b) not to make any changes to the time, including daylight savings
adjustments.

(Obviously only one system can be allowed to regulate the clock.)

That's the setup I use on this laptop, and the clock is always
precisely correct with respect to WWVB clock, cell phone, FM radio etc.

However, I have one query (unrelated to Debian) on this subject:

Why is my WWVB clock already showing DST when the clocks don't change
for another three hours? This happens every year, in the early evening
on Saturday. In Britain, clocks running off the "Rugby" time signal
(which now comes from Anthorn in Cumbria) change as they should,
at 01:00 (for spring) on the dot.

Cheers,
David.



Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Felix Miata
Daniel Bareiro composed on 2018-03-11 00:35 (UTC-0300):
...
> I think that before adding the file with the configuration that I
> mentioned (/usr/share/X11/xorg.conf.d/20-intel.conf), I was using the
> default driver. At least I don't have a /etc/X11/xorg.conf file.

> In essence the configuration I suppose that it will have been the same
> one that I kept previously with Jessie and with which it was not having
> problems with Jessie.
...
> Currently I have these packages installed:
...
> i A xserver-xorg-video-all - X.Org X server -- output driver metapackage
> i A xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx display 
> driver
...
> I guess these would be the same packages I was using with Jessie (if so,
> I suppose I would also have installed xserver-xorg-video-intel), but
> honestly, I don't have registered the ones I had installed then.

A default install of either Jessie or Stretch includes xserver-xorg-video-all,
and thus xserver-xorg-video-intel. Thus with your 3rd Gen Core, it's virtually
impossible that you weren't using the intel driver in Jessie, and unlikely in
Stretch.

It's simple enough to try the modeset(0) driver. Simply purge
xserver-xorg-video-intel, rename 20-intel.conf, and restart the xserver. Either
it's better, or it's not. If not, reinstall xserver-xorg-video-intel, restore
20-intel.conf (or not), and restart the xserver.

If nothing helps, try going into desktop settings and disabling compositing. If
that doesn't help either, ask on intel-...@lists.freedesktop.org which is a
hangout of Intel driver devs. Include 'lspci -nnk | grep -A3 VGA' output and
pastebin Xorg.0.log.
-- 
"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: Re: hwclock incorrectly set ?

2018-03-10 Thread Charles E. Blair
Thank you to Rick Thomas and the many others trying
to help me with my "hwclock incorrectly set".

--

According to aptitude, I do not have ntp installed.

--

My system is indeed a dual-boot (not counting recovery
options) of windows and linux.  However, I doubt I use
the windows partition more than two or three times a
year.  I used default options with the installer.
Perhaps these excerpts from grub.cfg will help:

menuentry 'Debian GNU/Linux' $menuentry_id_option 'gnulinux-simple
menuentry 'Windows 7 (on /dev/sda1)
menuentry 'Windows 7 (on /dev/sda2)'
menuentry 'Windows Recovery Environment (on /dev/sda3)'

--

The /etc/adjtime file:

0.009639 1512909359 0.00
1512909359
LOCAL

--



Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Daniel Bareiro
Hi, Felix.

On 10/03/18 19:11, Felix Miata wrote:

> Daniel Bareiro composed on 2018-03-10 13:42 (UTC-0500):
> ...
>> hardware: a Thinkpad T530.
> 
>> About five days ago, after researching the Internet, I tried adding this
>> configuration in Xorg:
> 
>> ---
>> viper@orion:~$ cat /usr/share/X11/xorg.conf.d/20-intel.conf
>> Section "Device"
>>Identifier  "Intel Graphics"
>>Driver  "intel"
>>#Option  "AccelMethod"  "sna"
>>Option  "TearFree""true"
>>Option  "DRI""3"
>> EndSection
>> ---

> Have you ever tried the default driver? Search tells me T530 has HD Graphics
> 4000 on Ivy Bridge, roughly 5-6 years old, which ought to work with it if not 
> be
> optimal. It's built into the Xorg server in Stretch. To use can take as little
> effort as not having xserver-xorg-video-intel installed, but in your case it
> will likely require eliminating or modifying 20-intel.conf.
> 
> I have multiple Intel gfx machines, all older or newer than Ivy Bridge. All 
> use
> the integrated modeset(0) driver with any server newer than 1.16.x.
> 
> The Intel gfx driver hasn't had a formal release in going on 4 years, nothing
> but cgit milestones since 2.99.917.
> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
> https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/intel-linux/886898-ubuntu-debian-abandon-intel-x-org-driver-for-most-hardware-moves-to-modesetting-ddx

I think that before adding the file with the configuration that I
mentioned (/usr/share/X11/xorg.conf.d/20-intel.conf), I was using the
default driver. At least I don't have a /etc/X11/xorg.conf file.

In essence the configuration I suppose that it will have been the same
one that I kept previously with Jessie and with which it was not having
problems with Jessie.

Currently I have these packages installed:

---
i  xorg - X.Org X Window System
i A xorg-docs-core - Core documentation for the X.org X Window System
i A xorg-sgml-doctools - Common tools for building X.Org SGML documentation
i A xserver-xorg - X.Org X server
i A xserver-xorg-core - Xorg X server - core server
i A xserver-xorg-input-all - X.Org X server -- input driver metapackage
i A xserver-xorg-input-libinput - X.Org X server -- libinput input driver
i A xserver-xorg-input-wacom - X.Org X server -- Wacom input driver
i A xserver-xorg-legacy - setuid root Xorg server wrapper
i A xserver-xorg-video-all - X.Org X server -- output driver metapackage
i A xserver-xorg-video-amdgpu - X.Org X server -- AMDGPU display driver
i A xserver-xorg-video-ati - X.Org X server -- AMD/ATI display driver
wrapper
i A xserver-xorg-video-fbdev - X.Org X server -- fbdev display driver
i A xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx
display driver
i A xserver-xorg-video-nouveau - X.Org X server -- Nouveau display driver
i A xserver-xorg-video-qxl - X.Org X server -- QXL display driver
i A xserver-xorg-video-radeon - X.Org X server -- AMD/ATI Radeon display
driver
i A xserver-xorg-video-vesa - X.Org X server -- VESA display driver
i A xserver-xorg-video-vmware - X.Org X server -- VMware display driver
---

I guess these would be the same packages I was using with Jessie (if so,
I suppose I would also have installed xserver-xorg-video-intel), but
honestly, I don't have registered the ones I had installed then.

Regarding hardware, here is some more information provided by lspci:

---
viper@orion:~$ lspci -s 00:02.0 -vvv
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
SERR- 
Kernel driver in use: i915
Kernel modules: i915
---

Note: I'm curious about the "" in Capabilities.

Meanwhile I am testing the workaround suggested by Bernd about changing
the composer.

Thanks for your interest.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


ACPI Error at boot time

2018-03-10 Thread Anil Duggirala
I am getting two errors almost always at boot time:
ACPI Error: Cannot release Mutex [PATM], not acquired (20160831/exmutex-393)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.ECDV._Q66] (Node 
8cf9129f5898), AE_AML_MUTEX_NOT_ACQUIRED (20160831/psparse-543)
I am dual booting Win 10 and am also getting errors about missing firmware 
(Atheros) which I believe is not related to this.
thanks for your help !



Re: hwclock incorrectly set ?

2018-03-10 Thread Anil Duggirala
On Sat, Mar 10, 2018, at 5:18 PM, Rick Thomas wrote:
> Hi Charles,
> 
> It would be helpful in diagnosing your problem if you could tell us a 
> little bit more about your configuration…
> 
> Questions:
> 
> 1) Do you have ntp installed?
> 
> 2) Is this a dual-boot system?  (Windows and Debian)
> 
> 3) What is the contents of /etc/adjtime?
> 
> 
> Enjoy!
> Rick

Dont know if I can intrude like this, but I am having getting the same 
notification at boot time, sometimes. I am on a dual-boot with Win 10. 
hwclock gives me:
2018-03-10 21:19:03.264101-0500
and date (less than a second later):
Sat Mar 10 21:19:16 -05 2018
So this is the opposite time difference than the OP.
My /etc/adjtime does contain the "LOCAL" flag.
ntp is not installed in my system and
timedatectl status outputs:
Local time: Sat 2018-03-10 21:31:18 -05
  Universal time: Sun 2018-03-11 02:31:18 UTC
RTC time: Sat 2018-03-10 21:31:07
   Time zone: America/Bogota (-05, -0500)
 Network time on: yes
NTP synchronized: no
 RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
 This mode can not be fully supported. It will create various problems
 with time zone changes and daylight saving time adjustments. The RTC
 time is never updated, it relies on external facilities to maintain it.
 If at all possible, use RTC in UTC by calling
 'timedatectl set-local-rtc 0'.

I appreciate any help,

thanks



Re: Starting powertop --auto-tune from systemd

2018-03-10 Thread David Wright
On Sat 10 Mar 2018 at 15:16:29 (-0500), bw wrote:
> On Sat, 10 Mar 2018, Rainer Dorsch wrote:
> 
> > I followed
> > 
> > https://wiki.archlinux.org/index.php/Powertop#Apply_settings
> > 
> > added
> > 
> > root@master:~# cat /etc/systemd/system/powertop.service 
> > [Unit]
> > Description=Powertop tunings
> > 
> > [Service]
> > ExecStart=/usr/bin/powertop --auto-tune
> 
> Yes, the arch wiki often has different paths for tools.  I have been 
> bitten by that several times.
> 
> # which powertop
> /usr/sbin/powertop

These links may help, and the references therein:

https://wiki.debian.org/UsrMerge

https://wiki.archlinux.org/index.php/Frequently_asked_questions#Does_Arch_follow_the_FHS.3F

Cheers,
David.



Re: Missing libGL.so.1 from ldconfig

2018-03-10 Thread The Wanderer
On 2018-03-10 at 19:52, Curt Howland wrote:

> Ok. Having some difficulty getting GL to work.
> 
> Stable, up to date. Running Wine32, the package libgl1-mesa-glx:i386
> is installed, but no matter what I do I keep getting
> 
> # ldconfig -p | grep libGL.so.1
> libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
> 
> On a different system, where I did nothing at all beyond install
> Wine32, the libraries are there just fine:
> 
> # ldconfig -p | grep libGL.so.1
> libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
> libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
> 
> I've tried "ldconfig", I've tried putting "/usr/lib32" in
> /etc/ld.so.conf.d/local.conf
> 
> I've even tried "dpkg-reconfigure libgl1-mesa-glx:i386" just to see if
> the install script needed to get kicked, nothing worked.
> 
> Any ideas?

At a first guess: what's the contents of /etc/ld.so.conf?

On my system, it just loads the /etc/ld.so.conf.d/*.conf snippets; what
snippets do you have there, and what directories they point to? In
particular, do any of them point to /usr/lib/i386-linux-gnu/ ?

(Also, have you checked that directory to confirm that libGL.so.1 is
actually present there?)

-- 
   The Wanderer

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



signature.asc
Description: OpenPGP digital signature


Missing libGL.so.1 from ldconfig

2018-03-10 Thread Curt Howland
Ok. Having some difficulty getting GL to work.

Stable, up to date. Running Wine32, the package libgl1-mesa-glx:i386
is installed, but no matter what I do I keep getting

# ldconfig -p | grep libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1

On a different system, where I did nothing at all beyond install
Wine32, the libraries are there just fine:

# ldconfig -p | grep libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1

I've tried "ldconfig", I've tried putting "/usr/lib32" in
/etc/ld.so.conf.d/local.conf

I've even tried "dpkg-reconfigure libgl1-mesa-glx:i386" just to see if
the install script needed to get kicked, nothing worked.

Any ideas?

Curt-

-- 
The secret of happiness is freedom,
and the secret of freedom is courage.
- Thucydides



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread G2PC


Le 11/03/2018 à 01:11, Ph. Gras a écrit :
> Hello!
>
>> Pourtant, j'arrive à me connecter en SSH à mon serveur VPS de OVH.
>> Bernard m'avait expliqué mais j'avoue ne pas comprendre, si ssh a besoin du 
>> port 22, et, qu'il n'est pas ouvert, comment ça se fait que j'arrive à me 
>> connecter à mon serveur VPS…
> Le port 22 peut être fermé et SSH configuré sur un autre port, mais peu 
> importe puisque tu es déjà
> dans un tunnel SSH.
>
> Par contre, tu n'es pas sur le port sur lequel le serveur MySQL distant 
> écoute, et qui est sans doute
> le port 3306.
>
> Quand, dans ton tunnel SSH, tu appelles un service sur un serveur distant, il 
> convient aussi que tu
> te branches le port sur lequel ce service écoute.
>
> Si le service est MySQL c'est vraisemblablement 3306 (mais ça peut être un 
> autre, on ne sait pas).
>
> Bonne réflexion,
>
> Ph. Gras

Pour mon VPS, j'utilise ssh root@IP -i /home/user/.ssh/id_rsa.pub et je
me connecte en SSH.
Ici, je ne précise aucun port et je me connecte avec passephrase puis
utilisateur root ( je sais ... )

Pour alwaysdata (mysql-base.alwaysdata.net) qui est un mutualisé sur
lequel je test la connexion distante, avec mon script, je n'arrive pas à
me connecter en SSH.
Je suppose que effectivement le port est 3306 pour mysql, et, de mon
côté, je ne sais pas, car, si le 22 est fermé ( sur la box ) je ne peux
pas indiquer mon port si je n'ai pas ouvert un port SSH sur la box ?


Je mélange un peu mais pourquoi sur le VPS, j'arrive à me connecter,
sans donner de port, en connaissant mon ip fixe et en ayant une clé
id-rsa.pub ?

Alors que sur alwaysdata, en tentant 22:3306 ça me dit que 22 n'est pas
accessible ou équivalent.

Je vais retenter, en indiquant uniquement le port 3306 pour mysql.


Je reste aussi dans le doute du fait de la réponse du service client qui
me dit que je confond ssh et ssl, le service client me dit d'ajouter
--ssl pour sécuriser la connexion, et, non pas SSH.



Install stretch problem......

2018-03-10 Thread Charlie

Hello Everyone

On an Acer Aspire 5720 installed Debian Stretch on
formatted hard drive, native Debian, no other operating system.

The only thing I have done different which I have never done
previously, is have only partitioned the hard drive with a root [/]
partition, a swap partition and a /home partition.

In other installs have /usr - /var as separate partitions as well.

Everything works well for the first few boots, then fails, this the last
message on the screen:

[31.689075] :00:02.0: fb0 inteldtmfb buffer device

Have installed twice and stops at the same point. Can't be forced on
from there.

The "intel" part might be a clue?

I have installed without doing anything with eufi or whatever, and also
forcing GRUB to make it's own eufi path.

No joy.

Any thoughts and help would be appreciated to attempt at the next
install.

TIA
Charlie

-- 
Registered Linux User:- 329524
***

Sometimes I lie awake at night, and ask, "Where have I gone
wrong?" Then a voice says to me, "This is going to take more
than one night." - Charlie Brown

***

Debian GNU/Linux - Magic indeed.

-



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread Ph. Gras
Hello!

> Pourtant, j'arrive à me connecter en SSH à mon serveur VPS de OVH.
> Bernard m'avait expliqué mais j'avoue ne pas comprendre, si ssh a besoin du 
> port 22, et, qu'il n'est pas ouvert, comment ça se fait que j'arrive à me 
> connecter à mon serveur VPS…

Le port 22 peut être fermé et SSH configuré sur un autre port, mais peu importe 
puisque tu es déjà
dans un tunnel SSH.

Par contre, tu n'es pas sur le port sur lequel le serveur MySQL distant écoute, 
et qui est sans doute
le port 3306.

Quand, dans ton tunnel SSH, tu appelles un service sur un serveur distant, il 
convient aussi que tu
te branches le port sur lequel ce service écoute.

Si le service est MySQL c'est vraisemblablement 3306 (mais ça peut être un 
autre, on ne sait pas).

Bonne réflexion,

Ph. Gras


Re: set default print options on printer

2018-03-10 Thread Brian
On Sat 10 Mar 2018 at 23:01:29 +, Brian wrote:

> You said
> 
>  > Unfortunately testing is still stuck at qt 5.9...
> 
> You did not say "I am using testing". You also did not pick up on
> the disparity between our observations on what the print dialog shows.
> Presumably you thought I was using the same distribution as you.
> 
> >there are lots of wikis.
> > Did you mean a Debian one, a KDE one, a CUPS one or a Tea4cups one? Even
> > within each subject there are often multiple wikis.
> 
> This is a Debian list, Debians's wiki is the obvious first place to
> look. If I had meant a wiki other than the Debian one I would have said.
> Besides, "tea4cups" is sufficient as a key term to get the correct page
> as the first hit. As I said - initiative.

I've got over this now. :) and would rather not detract from producing
an acceptable solution to the problem.

The issue of having an Advanced tab for changing a user's PageSize is
neither here nor there because it can be done with lpoptions on stretch.
On unstable and testing the situation is that A4 rules, ok!

https://forum.kde.org/viewtopic.php?f=251=109723

 > The removal of the "Advanced" tab in the print dialog is a known
 > issue in Qt. Apparently the Qt developers were unhappy with how
 > the dialog worked in Qt4 and removed it in Qt5. There were plans
 > to replace it with something better, but lack of time and money
 > have stalled this. Further information (including links to
 > relevant mailing list discussions) is available on the Qt
 > bugtracker: https://bugreports.qt.io/browse/QTBUG-54464

-- 
Brian.




Re: Connexion distante à une base de données MySQL

2018-03-10 Thread G2PC
Le 10/03/2018 à 14:40, Ph. Gras a écrit :
>>> J'ai pu tester avec succès cette commande :
>>> mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
>>> FROM TABLE'
>>>
>>> Je les ais contacté, et, ils me disent que je confond ssh et ssl, que je
>>> ne peux pas sécuriser la connexion à la base de données avec ssh.
>>> Ils m'ont conseillé de tester avec le paramètre --ssl mais je n'ai pas
>>> encore testé.
>>>
>> MySQL écoutant sur le port 3306, ne pas oublier d'appeler ce port quand tu 
>> lances ta requête
>> en SSH, qui est théoriquement sur le port 22.
> mysql --port=3306 -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 
> 'SELECT *
> FROM TABLE'
>
> # mysql --help
> […]
>   -p, --password[=name] 
>   Password to use when connecting to server. If password 
> is
>   not given it's asked from the tty.
>   -P, --port=#Port number to use for connection or 0 for default to, 
> in
>   order of preference, my.cnf, $MYSQL_TCP_PORT,
>   /etc/services, built-in default (3306).
> […]
>> Bonne journée,
>>
>> Ph. Gras

Bonsoir, et, merci Philippe.

MySQL écoutant sur le port 3306, ne pas oublier d'appeler ce port quand tu 
lances ta requête
en SSH, qui est théoriquement sur le port 22.


Oui, j'ai fais cela, et, ça me dit en erreur, que le port 22 n'est pas 
accessible ou à l'écoute.
Je n'ai pas ouvert le port 22 sur la nouvelle Box, enfin, il faut que son 
propriétaire le fasse mais cela fait des semaines que je demande cela.

Pourtant, j'arrive à me connecter en SSH à mon serveur VPS de OVH.
Bernard m'avait expliqué mais j'avoue ne pas comprendre, si ssh a besoin du 
port 22, et, qu'il n'est pas ouvert, comment ça se fait que j'arrive à me 
connecter à mon serveur VPS...


Bonsoir Daniel, merci pour ton retour.

ssh -gNL 1080::3306 user@ip distante
puis mysql -udbuser pdbpassword -h localhost -P 1080 -D dbname
devrait le faire


Dans mon cas, je n'ai pas d'ip pour le serveur distant mais son adresse de 
l'hébergeur mutualisé pour mysql. Je vais tout de même tenté, en tout cas, 
conserver ta proposition.

Merci à vous deux pour votre retour.




Re: set default print options on printer

2018-03-10 Thread Brian
On Sat 10 Mar 2018 at 17:26:05 -0500, Gary Dale wrote:

> On 2018-03-10 03:49 PM, Brian wrote:
> > On Sat 10 Mar 2018 at 15:07:55 -0500, Gary Dale wrote:
> > 
> > > On 2018-03-10 12:04 PM, Brian wrote:
> > > > On Sat 10 Mar 2018 at 09:52:27 -0500, Gary Dale wrote:
> > > > 
> > > > > On 2018-03-10 08:23 AM, Brian wrote:
> > > > > > BTW, it is possible to alter $HOME/.cups/lpoptions from within 
> > > > > > okular.
> > > > > > File/Print/Name/Properties/Advanced. Highlight Page Size and double-
> > > > > > click at the right side of the highlighted portion.
> > > > > > 
> > > > > > Perhaps you have encountered the bug in Qt that Curt pointed to.
> > > > > I can't get to the location you referred to. I get to File | Print 
> > > > > OK, but
> > > > > the Name is a pull down list. I can select any printer (they all show 
> > > > > A4
> > > > > paper as the default size) then click on the Properties button but 
> > > > > there is
> > > > > never an Advanced tab or button. I can't highlight Paper size nor the 
> > > > > paper
> > > > > pull down list. Double clicking on either does nothing.
> > > > On stretch I see two tabs: Page (for Page Size, Orientation and Margins)
> > > > and Advanced; I am using the PPD for your printer and Advanced options
> > > > are under JCL and General.
> > > On Buster I see Page and Job Options. Neither has an "Advanced Options".
> > Where have you ever mentioned you are using buster on the client? I
> > think that anyone responding to a mail asking for help is entitled to
> > assume the user is using Debian. Debian is not buster. It also isn't
> > unstable. wheezy and jessie are not Debian. The only Debian distribution
> > is stretch.
> > 
> > The onus is on the person asking the question to make it clear what is
> > being used. Only now do you reveal it. Not only are we not on the same
> > page in the hymn book, we are not in the same church. Much of the time
> > it might not a make difference, but it does with okular.
> > 
> > Regarding my single word response to your single word question in the
> > other part of this mail: if you cannot find the wiki and search, then
> > guiding you through any subsequent process seems fraught.
> > 
> > 
> I mentioned it two messages back. As for the wiki,

You said

 > Unfortunately testing is still stuck at qt 5.9...

You did not say "I am using testing". You also did not pick up on
the disparity between our observations on what the print dialog shows.
Presumably you thought I was using the same distribution as you.

>there are lots of wikis.
> Did you mean a Debian one, a KDE one, a CUPS one or a Tea4cups one? Even
> within each subject there are often multiple wikis.

This is a Debian list, Debians's wiki is the obvious first place to
look. If I had meant a wiki other than the Debian one I would have said.
Besides, "tea4cups" is sufficient as a key term to get the correct page
as the first hit. As I said - initiative.

-- 
Brian.



Re: set default print options on printer

2018-03-10 Thread Gary Dale

On 2018-03-10 03:49 PM, Brian wrote:

On Sat 10 Mar 2018 at 15:07:55 -0500, Gary Dale wrote:


On 2018-03-10 12:04 PM, Brian wrote:

On Sat 10 Mar 2018 at 09:52:27 -0500, Gary Dale wrote:


On 2018-03-10 08:23 AM, Brian wrote:

BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
File/Print/Name/Properties/Advanced. Highlight Page Size and double-
click at the right side of the highlighted portion.

Perhaps you have encountered the bug in Qt that Curt pointed to.

I can't get to the location you referred to. I get to File | Print OK, but
the Name is a pull down list. I can select any printer (they all show A4
paper as the default size) then click on the Properties button but there is
never an Advanced tab or button. I can't highlight Paper size nor the paper
pull down list. Double clicking on either does nothing.

On stretch I see two tabs: Page (for Page Size, Orientation and Margins)
and Advanced; I am using the PPD for your printer and Advanced options
are under JCL and General.

On Buster I see Page and Job Options. Neither has an "Advanced Options".

Where have you ever mentioned you are using buster on the client? I
think that anyone responding to a mail asking for help is entitled to
assume the user is using Debian. Debian is not buster. It also isn't
unstable. wheezy and jessie are not Debian. The only Debian distribution
is stretch.

The onus is on the person asking the question to make it clear what is
being used. Only now do you reveal it. Not only are we not on the same
page in the hymn book, we are not in the same church. Much of the time
it might not a make difference, but it does with okular.

Regarding my single word response to your single word question in the
other part of this mail: if you cannot find the wiki and search, then
guiding you through any subsequent process seems fraught.


I mentioned it two messages back. As for the wiki, there are lots of 
wikis. Did you mean a Debian one, a KDE one, a CUPS one or a Tea4cups 
one? Even within each subject there are often multiple wikis.




Re: hwclock incorrectly set ?

2018-03-10 Thread Rick Thomas
Hi Charles,

It would be helpful in diagnosing your problem if you could tell us a little 
bit more about your configuration…

Questions:

1) Do you have ntp installed?

2) Is this a dual-boot system?  (Windows and Debian)

3) What is the contents of /etc/adjtime?


Enjoy!
Rick


Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Felix Miata
Daniel Bareiro composed on 2018-03-10 13:42 (UTC-0500):
...
> hardware: a Thinkpad T530.

> About five days ago, after researching the Internet, I tried adding this
> configuration in Xorg:

> ---
> viper@orion:~$ cat /usr/share/X11/xorg.conf.d/20-intel.conf
> Section "Device"
>Identifier  "Intel Graphics"
>Driver  "intel"
>#Option  "AccelMethod"  "sna"
>Option  "TearFree""true"
>Option  "DRI""3"
> EndSection
> ---

Have you ever tried the default driver? Search tells me T530 has HD Graphics
4000 on Ivy Bridge, roughly 5-6 years old, which ought to work with it if not be
optimal. It's built into the Xorg server in Stretch. To use can take as little
effort as not having xserver-xorg-video-intel installed, but in your case it
will likely require eliminating or modifying 20-intel.conf.

I have multiple Intel gfx machines, all older or newer than Ivy Bridge. All use
the integrated modeset(0) driver with any server newer than 1.16.x.

The Intel gfx driver hasn't had a formal release in going on 4 years, nothing
but cgit milestones since 2.99.917.
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/intel-linux/886898-ubuntu-debian-abandon-intel-x-org-driver-for-most-hardware-moves-to-modesetting-ddx
-- 
"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: set default print options on printer

2018-03-10 Thread Brian
On Sat 10 Mar 2018 at 15:07:55 -0500, Gary Dale wrote:

> On 2018-03-10 12:04 PM, Brian wrote:
> > On Sat 10 Mar 2018 at 09:52:27 -0500, Gary Dale wrote:
> > 
> > > On 2018-03-10 08:23 AM, Brian wrote:
> > > > BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
> > > > File/Print/Name/Properties/Advanced. Highlight Page Size and double-
> > > > click at the right side of the highlighted portion.
> > > > 
> > > > Perhaps you have encountered the bug in Qt that Curt pointed to.
> > > I can't get to the location you referred to. I get to File | Print OK, but
> > > the Name is a pull down list. I can select any printer (they all show A4
> > > paper as the default size) then click on the Properties button but there 
> > > is
> > > never an Advanced tab or button. I can't highlight Paper size nor the 
> > > paper
> > > pull down list. Double clicking on either does nothing.
> > On stretch I see two tabs: Page (for Page Size, Orientation and Margins)
> > and Advanced; I am using the PPD for your printer and Advanced options
> > are under JCL and General.
>
> On Buster I see Page and Job Options. Neither has an "Advanced Options".

Where have you ever mentioned you are using buster on the client? I
think that anyone responding to a mail asking for help is entitled to
assume the user is using Debian. Debian is not buster. It also isn't
unstable. wheezy and jessie are not Debian. The only Debian distribution
is stretch.

The onus is on the person asking the question to make it clear what is
being used. Only now do you reveal it. Not only are we not on the same
page in the hymn book, we are not in the same church. Much of the time
it might not a make difference, but it does with okular.

Regarding my single word response to your single word question in the
other part of this mail: if you cannot find the wiki and search, then
guiding you through any subsequent process seems fraught.

-- 
Brian.



Re: Logiciel pour imprimer un Mh folder (fichier mail).

2018-03-10 Thread JF Straeten

Hello,


On Sat, Mar 10, 2018 at 10:09:42AM +0100, Benoit B wrote:

> Je recherche un logiciel pour imprimer des fichiers mail d'un Mh
> folder.
> 
> La fonction d'impression de mon client mail (Claws Mail) ,ne
> convient pas car, je devrais imprimer les mails un à un sans pouvoir
> les reformater.
[...]
> Quelqu'un a une idée ?
[...]
> La cerise sur le gâteau serait un logiciel en ligne de commande pour
> itérer ou utiliser des * par exemple...

Regarde à quoi tu arriverais avec muttprint, peut-être...

Je déduis de ton mail que tu as accès aux e-mails sous forme de
fichiers indépendants dans un Mh, juste ?

Je viens d'essayer en ligne de commande sur ton mail, mais dans un
folder Maildir et ça semble marcher.

muttprint -f 

Si je dis « semble », c'est parce que le « Bonjour à tous » devient
« Bonjour =C3=A0 tous » en ligne de commande, ce qui ne se produit pas
si c'est effectué depuis Mutt (c'est parfait dans ce cas).

Il y a donc des "séquences" dans le texte du mail (je soupçonne que ça
soit pour arriver à faire passer les accents dans de l'ASCII) qu'il
faudrait interpréter correctement d'abord avant d'imprimer.

À ta place, si muttprint convient, je regarderais à partir d'ici vers
des outils comme 'formail' pour voir si on peut trouver un
interpréteur à interfacer pour faire quelque chose comme :

for m in foldermh/*
do
  cat $m |  | muttprint

done

Tiens nous au courant si ça marche ;)

Bonne chance & A+,


-- 

JFS.



Re: instalar debian testing en HP con W10 (solucionado)

2018-03-10 Thread Ricardo Delgado
El día 10 de marzo de 2018, 13:02, Miguel Angel  escribió:
> Cuándo arranque el sistema presiona esc y luego f9 ahí arranca como disco
> duro portátil HG  Intro y aparecerá el grub donde podrás arrancar debian
>


Muchas Gracias!!  funciono! yo pense que me faltaba algo por instalar
pero no era asi.

La consulta ahora es, como hago para dejar el grub como gestor por
defecto? podras ayudarme con este punto?

Por otro lado, me gustaria, si no es abusar de tu generosidad,
indicarme algun link donde se detalle el porque de esta forma de
lograr acceder al grub? asi puedo aprender y tomar nota a futuro.

Muchas Gracias, nuevamente.

> El sáb., 10 de marzo de 2018 14:43, Ricardo Delgado
>  escribió:
>>
>> Buenos dias,
>>
>>   Les consulto lo siguiente
>>
>> me compre un equipo : Notebook Hp Pavilion 16gb 17 No Touch I5 7th Gen
>> 1tb Hdd Win
>>
>> este vino con un Windows10 Instalado, la idea es dejar conviviendo W10
>> junto a debian.
>>
>> para ello utilice la herramienta de W10 para dividir el disco y dejar
>> espacio para debian.
>>
>> Luego el instalador de debian realizo la tarea, escribio el sector de
>> arranque (al menos eso pense) el grub, finalizo la instalcion y
>> reinicio.
>>
>> aqui cuando reinicio, nunca aparecio GRUB, solo inicia en W10, para
>> esto deshabilite uefi y deje habilitado legacy mode.
>>
>> buscando lei que no deja W10 instalar otro SO
>>
>>
>> https://omicrono.elespanol.com/2015/03/instalar-windows-10-con-otro-sistema-operativo/
>>
>>  En concreto pareceria que todo esta bien pero no arranca el dual boot.
>>
>>  Alguna ayuda, si es posible?
>>
>>   Muchas Gracias
>>
>> --
>> "Windows? Reboot
>> Debian?  beRoot "
>>
>



-- 
"Windows? Reboot
Debian?  beRoot "



Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Brad Rogers
On Sat, 10 Mar 2018 16:55:03 -0300
Daniel Bareiro  wrote:

Hello Daniel,

>Thanks for letting me know this. I just checked the list archive because
>I had problems with this email account and had to re-subscribe. So there

Ah, I see.

Good to hear you're now back on track.

I'm sure people will be interested in your findings.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
I'd hate to look into those eyes and see an ounce of pain
Sweet Child O'Mine - Guns 'N' Roses


pgplLfk9QRGaf.pgp
Description: OpenPGP digital signature


Re: set default print options on printer

2018-03-10 Thread Brian
On Sat 10 Mar 2018 at 15:07:55 -0500, Gary Dale wrote:

> On 2018-03-10 12:04 PM, Brian wrote:
> > 
> > If you feel energetic, head over to the wiki and Tea4CUPS. The problem
> > can be worked roundLink? by enforcing media=Letter. Then it will not matter
> > what okular comes up with.
> > 
>
> Link?

Initiative.

-- 
Brian. 



Re: set default print options on printer

2018-03-10 Thread Gary Dale

On 2018-03-10 12:54 PM, David Wright wrote:

On Fri 09 Mar 2018 at 23:19:28 (-0500), Gary Dale wrote:

On 2018-03-09 07:13 AM, Brian wrote:

On Fri 09 Mar 2018 at 00:04:33 -0500, Gary Dale wrote:


On 2018-03-08 09:50 AM, Brian wrote:

The default size can be overridden by CUPS in a number of ways, usually
with the help of lpoptions. This new size is also "correct".

It is correct because that is what is in the paper tray. There is no default
paper size setting for this printer through the CUPS web interface. I know
that is unusual but it is the way that printer's CUPS driver seems to work.

Scroll down the page to reveal the Page Size option.

You're right. It is set to letter.


Do you have an lpoptions file in /etc/cups or $HOME/.cups?


There is no lpoptions file in /etc/cups and the one in $HOME/.cups is empty.

It is okular without KDE here and it honours lpoptions. Try
lpoptions -p Samsung_C410_Series -o PageSize=Letter


Does that require a restart because it doesn't seem to fix the
problem. After I entered the command, $HOME/.cups/lpoptions contains
"Dest Samsung_C410_Series PageSize=Letter" but Okular still wants to
use A4.

I just typed  okular paper size  into google and the first hit was
https://forums.linuxmint.com/viewtopic.php?t=188878
Is this any help, ie attack okular rather than CUPS?

Cheers,
David.


Didn't change Okular.



Debian 9.3 non free bogue d'installation

2018-03-10 Thread G2PC
Debian 9.3 non free bogue d'installation

Je viens de conseiller à un collègue de découvrir Debian 9.3 live
non-free sur Virtualbox.

Il rencontre le même problème que j'ai rencontré il y a 3 jours, sur mon
serveur.

Pouvez vous tester, et, remonter ce bogue :

- Lors de l'installation graphique, une fois arrivé sur le bureau, on
choisit d'afficher xfce par défaut. On redémarre. Au redémarrage, le
menu des logiciels, la barre xfce4-panel a disparue.

- De plus, alors que la langue FR a été choisie lors de l'installation,
c'est un clavier qwerty que l'on retrouve en utilisant le terminal.

- En relançant xfce4-panel avec l'utilisateur créé lors de
l'installation, on constate au niveau de l'icone du wifi que la langue
sélectionnée est l'anglais.


Dans son cas, nous avons fait la chose suivante :

Pour remédier à cela, clic droit sur le bureau, lancer un terminal,
lancer xfce4-panel, ok, le menu réapparait.

Cliquer sur l'icone à droite du wifi, et, changer la langue pour le
français. Supprimer les langues anglaises.


Dans mon cas,

J'ai aussi eu le problème de langue et de clavier, alors que j'avais
choisi le français.

J'ai aussi eu la disparition du xfce4-panel au redémarrage.

J'ai peut être relancé xfce4 *** quel paquet, je ne sais plus,
surement le xfce4-panel également, peut être en root  ( Surement avec un
clic droit , lancer un programme, et une recherche de xfce4 dans les
paquets proposés, ou alors, une fois le programme identifié, depuis le
terminal, en root ) ... bref, je ne sais plus.

Au redémarrage, j'avais une alerte, même plusieurs alertes, que une
instance était je crois déjà lancée pour xfce4  problème connu que
j'ai résolu en supprimant le cache de xfce4. En n'enregistrant pas les
sessions pour le bureau.


J'ai été surpris de voir que le même soucis est apparu pour mon collègue
avec la version Debian 9.3 LIVE non-free

Merci de vos avis, et, pour le retour aux développeurs.




Re: set default print options on printer

2018-03-10 Thread Gary Dale



On 2018-03-10 12:04 PM, Brian wrote:

On Sat 10 Mar 2018 at 09:52:27 -0500, Gary Dale wrote:


On 2018-03-10 08:23 AM, Brian wrote:

BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
File/Print/Name/Properties/Advanced. Highlight Page Size and double-
click at the right side of the highlighted portion.

Perhaps you have encountered the bug in Qt that Curt pointed to.

I can't get to the location you referred to. I get to File | Print OK, but
the Name is a pull down list. I can select any printer (they all show A4
paper as the default size) then click on the Properties button but there is
never an Advanced tab or button. I can't highlight Paper size nor the paper
pull down list. Double clicking on either does nothing.

On stretch I see two tabs: Page (for Page Size, Orientation and Margins)
and Advanced; I am using the PPD for your printer and Advanced options
are under JCL and General.
  

On Buster I see Page and Job Options. Neither has an "Advanced Options".


The bug does sound like the same one Curt refers to. Unfortunately testing
is still stuck at qt 5.9 and the bug isn't fixed until qt 5.11. It's been a
month & a half since the bug was supposedly fixed upstream so hopefully it
won't be long before they update Buster.

This bug does not prevent your printing in Letter size but it is very
annoying to have to change A4 to Letter each time. And, if you don't,
there is wasted paper and ink.

If you feel energetic, head over to the wiki and Tea4CUPS. The problem
can be worked roundLink? by enforcing media=Letter. Then it will not matter
what okular comes up with.


Link?



Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Daniel Bareiro
On 10/03/18 16:09, Brad Rogers wrote:

> Hello Daniel,

Hello, Brad. Thanks for your reply.

>> I would like to know if anyone had this problem and was able to solve it
>> in some way. If you have resolved it definitively, I would appreciate if

> Read the answers posted to the very similar question you asked on 1st
> March.
> 
> Did you try the suggestion that came from Bernd?

Thanks for letting me know this. I just checked the list archive because
I had problems with this email account and had to re-subscribe. So there
are messages that I didn't receive in my mailbox. In fact, I had doubts
that message with my question had reached the list and that's why I sent
this new message.

Thanks Curt and Bernd for your replies. Let me answer you here:

Curt:

> After looking briefly on the Network, searching for "KDE window
> flickering," you don't appear to be alone, from which fact a
> certain comfort can be derived (and help ideas too from others in the
> same blinking boat).
>
> Your problem seems "graphical" in nature.
>
> Maybe some aid and comfort here (if your driver's "intel"):
>
> https://bbs.archlinux.org/viewtopic.php?pid=1595276#p1595276

Yes, just that thread was the one that I read and from which I got the
configuration of Xorg that I applied although it does not seem to have
worked.

Bernd:

> Yes, I had a similar problem, not so serious, also intel graphics.
>
> I changed the composer from open-gl to Xrender and the problem was >
> gone.

Thank you for your suggestion. I'm going to try it and I'll report the
results.

Thank you both for your time.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Actualització BIOS [NOT SOLVED]

2018-03-10 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 10/03/18 a les 20:04, Robert Marsellés ha escrit:
> L'única suposició raonable és que per fer l'actualització de l'Intel ME,
> la màquina ha d'estar connectada a Internet. Pel que sembla, el programa
> d'actualització de MSI únicament serveix per anar a buscar els fitxers
> necessaris ves a saber on. Embolica que fa fort. Això no és fa! Per què
> després es demana que anem amb tant de compte amb els temes de seguretat?

L'explicació del sentit comú és ben senzilla: Perquè és mentida.
El programari privatiu de codi tancat sovint ho és cobrir mentides i
amagar males pràctiques o mala fe.



Re: Problems with KDE in Debian Stretch

2018-03-10 Thread Brad Rogers
On Sat, 10 Mar 2018 15:42:31 -0300
Daniel Bareiro  wrote:

Hello Daniel,

>I would like to know if anyone had this problem and was able to solve it
>in some way. If you have resolved it definitively, I would appreciate if

Read the answers posted to the very similar question you asked on 1st
March.

Did you try the suggestion that came from Bernd?

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Dream on white boy, dream on black girl
Original Sin - INXS


pgprs0IXPGPHw.pgp
Description: OpenPGP digital signature


Re: Actualització BIOS [NOT SOLVED]

2018-03-10 Thread Robert Marsellés
Hola,

Primer de tot, gràcies a tots per l'ajuda i la informació. Per si mai
algú li convingués, actualitzo l'estat del fil amb tot el que he fet i
trobat.

El 19/02/18 a les 23:14, Àlex ha escrit:
> Com tu dius, millor no actualitzar firmwares i BIOS si tot et va bé. Si
> falla el procés d'actualització et quedes sense equip.
> 

Bé, tots tenim un vici o altre que ens fa fer coses estranyes. Hi ha
gent que busca els límits saltant en paracaigudes, d'altres conduint
després de beure, d'altres deixant-se el sou al bingo, ...

>> 1.- El fet que aquesta eina contingui fitxers BAT, EXE, ... significa
>> que únicament ho han de fer la gent que té Windows com a sistema
>> operatiu en aquest equip?
> 
> Malgrat del fitxer que descarregues apareix un o dos fitxers .bin que
> contenen el nou firmware, el programa que l'actualitza és per Windows.
> 
> No cal que t'instal.lis Windows. Pots arrencar amb un LiveCD de Windows:
> el que anomenen WinPE.
> 

He utilitzat el procediment per "flaxejar" BIOS que hi ha a la wiki de
Debian [1]. El procés usa Grml per fer un USB amb FreeDOS i afegir-hi
l'eina d'actualització.

L'única diferència amb el procés descrit és que he hagut d'usar una
imatge FreeDOS més gran. En cas contrari, no no em cabien els fitxers de
l'actualització d'Intel ME. També està descrit al final. Cap problema aquí.

Com ja vaig explicar, els senyors d'Intel distribueixen un programa en
Python per analitzar la màquina i mostrar si s'ha de fer l'actualització
de l'Intel ME o no.

Per altra banda, els senyors de MSI distribueixen l'eina per fer
l'actualització de l'Intel ME (suposo que amb la informació que els
passa Intel).

Després de realitzar el procés d'actualització varies vegades segons
diuen els de MSI, sempre he comprovat si tot havia anat bé tornant a
utilitzar el programa Python d'Intel. El resultat sempre és que la
versió no havia canviat i la màquina continuava essent vulnerable.

Avorrit de buscar i provar coses durant un parell de caps de setmana, al
final he trobat un document per fer-ho amb una màquina amb Windows 10.
Hi fica en vermell i negreta:

CAUTION
Make sure to keep the network connection during
the whole update process.

L'única suposició raonable és que per fer l'actualització de l'Intel ME,
la màquina ha d'estar connectada a Internet. Pel que sembla, el programa
d'actualització de MSI únicament serveix per anar a buscar els fitxers
necessaris ves a saber on. Embolica que fa fort. Això no és fa! Per què
després es demana que anem amb tant de compte amb els temes de seguretat?

Així doncs, em rendeixo. No sé com fer que es connecti a Internet
arrencant des de un USB amb FreeDOS (i no vull aprendre'n, ja he perdut
prou temps).

Gràcies un altre cop a tots. Salut i peles,

robert

[1] https://wiki.debian.org/FlashBIOS



Problems with KDE in Debian Stretch

2018-03-10 Thread Daniel Bareiro
Hi all!

Some time ago I started to experience some problems in KDE. In a random
way, when I'm using any application like Firefox, Chromium or
Thunderbird, the window starts blinking incessantly and becomes
unusable. When that happens I have no choice but to close the
application and reopen it.

This also usually happens with minimized applications. The name starts
blinking in the lower bar and only stops when I click on that minimized
application. It is a somewhat annoying behavior.

This did not happen to me with Debian Jessie always using the same
hardware: a Thinkpad T530.

About five days ago, after researching the Internet, I tried adding this
configuration in Xorg:

---
viper@orion:~$ cat /usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier  "Intel Graphics"
   Driver  "intel"
   #Option  "AccelMethod"  "sna"
   Option  "TearFree""true"
   Option  "DRI""3"
EndSection
---

Then I rebooted the notebook and it seemed like that had solved the
problem. But yesterday I had this problem with Chromium and today I had
it several times with Firefox while watching some videos.

It's kind of annoying because I have to close the application and open
it again.

I would like to know if anyone had this problem and was able to solve it
in some way. If you have resolved it definitively, I would appreciate if
you could share the used solution.

Thanks in advance.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: (solved) Re: wireless fail after stretch installation

2018-03-10 Thread Brian
At some point Jude DaShiell Cc'ed -devel. This accounts for some of the
traffic in this thread. I am also Cc'ing -devel. You didn't, but I am
not trimming any of your post; nor am I replying to every portion in
it.


On Sat 10 Mar 2018 at 09:53:58 -0600, David Wright wrote:

> On Wed 07 Mar 2018 at 13:25:16 (+), Ian Jackson wrote:
> > bw writes ("Re: (solved) Re: wireless fail after stretch installation"):
> > > On Tue, 6 Mar 2018, Brian wrote:
> > > > One user calls it a "sick joke". After five years and with no attempt
> > > > to rectify the situation, I'm beginning to have sympathy with that view.
> > 
> > Debian, like all ordinary software, is full of bugs.  Many bugs
> > languish unfixed for years.  This is not malice, or a "sick joke".
> > It's just that there is too much to do and too few people to do it.
> 
> I'm afraid I've been misquoted. The exchange was (my lines are marked ★):
> 
> --✄
> 
> > How connectivity is re-established on a machine with only a wireless
> > interface is left as an exercise for the user.
> 
> This is some sort of sick joke. ★
> 
> --✄
> 
> https://lists.debian.org/debian-user/2018/02/msg00015.html

Many apologies for quoting out of context.

> > There are rare cases where horrible people deliberately sabotage
> > things.  They are very high profile because they are so outrageous,
> > but they are not the norm.  I see no evidence in relation to this bug
> > that anyone is sabotaging anything.
> 
> I made no accusations of sabotage. Again:
> 
> --✄
> 
> > > > So this must be intentioal, wouldn't you say?
> > > 
> > > No. ★
> 
> […]
> 
> > > > And this is also clearly intentional.
> > > 
> > > Intended to do what? ★
> > 
> > To leave the user without network connectivity after first boot? There
> > are at least three bug reports against netcfg on the matter. My
> > recollection is that no deeper intention is revealed there.
> 
> […]

The word "deliberately" was picked up and labelled as giving the message
an unfortunate tone and then linked with "deliberately breaking stuff".
A deliberate action need not be done with malice and there was nothing
in what I said which put ill-intent forward as a reason.

> Yes, I don't think the intentions are deeper, but just that simple ★
> cases have been overlooked, and overlooked for several years. ★
> 
> --✄
> 
> The thing that seemed odd to me when I examined the log was that the
> installer removed the wireless configuration right at the last moment,
> with no method of circumventing it.


> 
> On discovering the udeb package called netcfg and looking through its
> bugs, it seemed that the network connection was torn down (with good
> reason, to do with DHCP leases perhaps) but then the configuration
> itself was also torn down, and this was considered a good thing for
> reasons I couldn't fathom, and which seemed to forget the case of a
> wireless interface and its intended future use of ifupdown with /e/n/i
> after rebooting.
> 
> > The correct approach to this bug is to figure out how to fix it, and
> > send a patch.
> > 
> > > Brute forcing this thing with wifi to /e/n/i might not be the best 
> > > approach?  What about people who want a different config than the 
> > > installer?  What about people who don;t want to be UP (auto) on bootup?  
> > > What about static configs?  Wifi is by nature a mobile environment, what 
> > > about security or several devices?  Let's help the devs by hashing out 
> > > the 
> > > pros and cons and making a coherent proposal?
> > 
> > We are considering the situation where the user has installed a
> > barebones system, with no GUI network management tools.
> > 
> > Such a user will probably *expect* to edit a configuration file when
> > they want to change their network configuration, whether because their
> > needs change, or because their needs are different to those of the
> > majority of people.
> > 
> > Consequently, there is no problem in principle with setting up /e/n/i
> > to have the wifi configuration from the install.  That is what most
> > people who do this will want; and if it doesn't suit them, they can
> > change it.  (It is easier to change it or delete it, than it is to set
> > it up from scratch.)
> 
> Yes, that's just what I had originally expected, and would be great.
> 
> > AFAICT from reading #694068, the reason d-i currently strips this
> > information out of the installed system is because it contains the
> > wifi password in /e/n/i, a world-readable file.  That would obviously
> > be wrong.
> 
> The odd thing about this reasoning was that I seem to recall several
> generations ago (more than ten years?) finding that /e/n/i was not
> world-readable upon installation. (If this was when I was using ppp/
> mgetty/CHAPS etc, it would be pre-2004. I could be misremembering here.)
> 
> > Someone should implement and test the suggestion made by Trent Buck,
> > here,
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694068#47
> > 
> > 

Starting powertop --auto-tune from systemd

2018-03-10 Thread Rainer Dorsch
[Please follow-up to debian-user]

Hello,

I run

/usr/bin/powertop --auto-tune

to optimize the power consumption of my system. Running it manually works 
nicely. When I try to run from systemd, I see no effect :-/

I followed

https://wiki.archlinux.org/index.php/Powertop#Apply_settings

added

root@master:~# cat /etc/systemd/system/powertop.service 
[Unit]
Description=Powertop tunings

[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true

[Install]
WantedBy=multi-user.target
root@master:~# 

enabled it for systemd and got

root@master:~# systemctl status powertop.service 
● powertop.service - Powertop tunings
   Loaded: loaded (/etc/systemd/system/powertop.service; enabled; vendor 
preset: enabled)
   Active: active (exited) (Result: exit-code) since Sat 2018-03-10 18:29:53 
CET; 22min ago
  Process: 642 ExecStart=/usr/bin/powertop --auto-tune (code=exited, 
status=203/EXEC)
 Main PID: 642 (code=exited, status=203/EXEC)
Tasks: 0 (limit: 4915)
   CGroup: /system.slice/powertop.service

Mar 10 18:29:53 master systemd[1]: Started Powertop tunings.
Mar 10 18:29:53 master systemd[1]: powertop.service: Main process exited, 
code=exited, status=203/EXEC
root@master:~# 

powertop still report that the parameters are "Bad". Runnung

# powertop --auto-tune

makes them all good (and reduces the power consumption).

Any idea is welcome :-)

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/



Re: set default print options on printer

2018-03-10 Thread David Wright
On Fri 09 Mar 2018 at 23:19:28 (-0500), Gary Dale wrote:
> On 2018-03-09 07:13 AM, Brian wrote:
> >On Fri 09 Mar 2018 at 00:04:33 -0500, Gary Dale wrote:
> >
> >>On 2018-03-08 09:50 AM, Brian wrote:
> >>>The default size can be overridden by CUPS in a number of ways, usually
> >>>with the help of lpoptions. This new size is also "correct".
> >>It is correct because that is what is in the paper tray. There is no default
> >>paper size setting for this printer through the CUPS web interface. I know
> >>that is unusual but it is the way that printer's CUPS driver seems to work.
> >Scroll down the page to reveal the Page Size option.
> You're right. It is set to letter.
> 
> >>>Do you have an lpoptions file in /etc/cups or $HOME/.cups?
> >>>
> >>There is no lpoptions file in /etc/cups and the one in $HOME/.cups is empty.
> >It is okular without KDE here and it honours lpoptions. Try
> >lpoptions -p Samsung_C410_Series -o PageSize=Letter
> >
> Does that require a restart because it doesn't seem to fix the
> problem. After I entered the command, $HOME/.cups/lpoptions contains
> "Dest Samsung_C410_Series PageSize=Letter" but Okular still wants to
> use A4.

I just typed  okular paper size  into google and the first hit was
https://forums.linuxmint.com/viewtopic.php?t=188878
Is this any help, ie attack okular rather than CUPS?

Cheers,
David.



Re: set default print options on printer

2018-03-10 Thread Brian
On Sat 10 Mar 2018 at 09:52:27 -0500, Gary Dale wrote:

> On 2018-03-10 08:23 AM, Brian wrote:
> > 
> > BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
> > File/Print/Name/Properties/Advanced. Highlight Page Size and double-
> > click at the right side of the highlighted portion.
> > 
> > Perhaps you have encountered the bug in Qt that Curt pointed to.
>
> I can't get to the location you referred to. I get to File | Print OK, but
> the Name is a pull down list. I can select any printer (they all show A4
> paper as the default size) then click on the Properties button but there is
> never an Advanced tab or button. I can't highlight Paper size nor the paper
> pull down list. Double clicking on either does nothing.

On stretch I see two tabs: Page (for Page Size, Orientation and Margins)
and Advanced; I am using the PPD for your printer and Advanced options
are under JCL and General.
 
> The bug does sound like the same one Curt refers to. Unfortunately testing
> is still stuck at qt 5.9 and the bug isn't fixed until qt 5.11. It's been a
> month & a half since the bug was supposedly fixed upstream so hopefully it
> won't be long before they update Buster.

This bug does not prevent your printing in Letter size but it is very
annoying to have to change A4 to Letter each time. And, if you don't,
there is wasted paper and ink.

If you feel energetic, head over to the wiki and Tea4CUPS. The problem
can be worked round by enforcing media=Letter. Then it will not matter
what okular comes up with.

-- 
Brian.



Re: Multifunction (printer + scanner) recommendation?

2018-03-10 Thread Gary Dale

On 2018-03-07 12:00 AM, Kamil Jońca wrote:

I am not sure if it is best group for this question but I am tired with
searching over numerous web pages :(

I need to buy device to scan and print which:
- can scan with sane
- can print from my debian box (strongly prefer without binary/closed
drivers[1], I'm not sure about hplip[2])
- no bigger than ~ (H x D x W) 308 mm x 363 mm x 437 mm [3]
- can be shared to Windows machines (with HP 1120MFP I could not do that)


Any suggestions?

KJ

[1] - like Brother, but I heard that they give source code for driver too?
[2] - hplip has a lot of bloat in his dependecies
[3] - sizes of my current hp 1120 MFP device


I have had good luck with Epson products over the decades. I've been 
using an Epson XP-820 for a few years now and it works quite well as a 
printer/scanner/fax except that I can't print directly to a CD/DVD 
(previous Epson printers allowed me to do this without problem so I'm 
not sure why the XP-820 doesn't). However I can copy the image to a USB 
stick and print directly on the printer so it's not a fatal flaw.




Re: (solved) Re: wireless fail after stretch installation

2018-03-10 Thread David Wright
On Wed 07 Mar 2018 at 13:25:16 (+), Ian Jackson wrote:
> bw writes ("Re: (solved) Re: wireless fail after stretch installation"):
> > On Tue, 6 Mar 2018, Brian wrote:
> > > One user calls it a "sick joke". After five years and with no attempt
> > > to rectify the situation, I'm beginning to have sympathy with that view.
> 
> Debian, like all ordinary software, is full of bugs.  Many bugs
> languish unfixed for years.  This is not malice, or a "sick joke".
> It's just that there is too much to do and too few people to do it.

I'm afraid I've been misquoted. The exchange was (my lines are marked ★):

--✄

> How connectivity is re-established on a machine with only a wireless
> interface is left as an exercise for the user.

This is some sort of sick joke. ★

--✄

https://lists.debian.org/debian-user/2018/02/msg00015.html

> There are rare cases where horrible people deliberately sabotage
> things.  They are very high profile because they are so outrageous,
> but they are not the norm.  I see no evidence in relation to this bug
> that anyone is sabotaging anything.

I made no accusations of sabotage. Again:

--✄

> > > So this must be intentioal, wouldn't you say?
> > 
> > No. ★

[…]

> > > And this is also clearly intentional.
> > 
> > Intended to do what? ★
> 
> To leave the user without network connectivity after first boot? There
> are at least three bug reports against netcfg on the matter. My
> recollection is that no deeper intention is revealed there.

[…]

Yes, I don't think the intentions are deeper, but just that simple ★
cases have been overlooked, and overlooked for several years. ★

--✄

The thing that seemed odd to me when I examined the log was that the
installer removed the wireless configuration right at the last moment,
with no method of circumventing it.

On discovering the udeb package called netcfg and looking through its
bugs, it seemed that the network connection was torn down (with good
reason, to do with DHCP leases perhaps) but then the configuration
itself was also torn down, and this was considered a good thing for
reasons I couldn't fathom, and which seemed to forget the case of a
wireless interface and its intended future use of ifupdown with /e/n/i
after rebooting.

> The correct approach to this bug is to figure out how to fix it, and
> send a patch.
> 
> > Brute forcing this thing with wifi to /e/n/i might not be the best 
> > approach?  What about people who want a different config than the 
> > installer?  What about people who don;t want to be UP (auto) on bootup?  
> > What about static configs?  Wifi is by nature a mobile environment, what 
> > about security or several devices?  Let's help the devs by hashing out the 
> > pros and cons and making a coherent proposal?
> 
> We are considering the situation where the user has installed a
> barebones system, with no GUI network management tools.
> 
> Such a user will probably *expect* to edit a configuration file when
> they want to change their network configuration, whether because their
> needs change, or because their needs are different to those of the
> majority of people.
> 
> Consequently, there is no problem in principle with setting up /e/n/i
> to have the wifi configuration from the install.  That is what most
> people who do this will want; and if it doesn't suit them, they can
> change it.  (It is easier to change it or delete it, than it is to set
> it up from scratch.)

Yes, that's just what I had originally expected, and would be great.

> AFAICT from reading #694068, the reason d-i currently strips this
> information out of the installed system is because it contains the
> wifi password in /e/n/i, a world-readable file.  That would obviously
> be wrong.

The odd thing about this reasoning was that I seem to recall several
generations ago (more than ten years?) finding that /e/n/i was not
world-readable upon installation. (If this was when I was using ppp/
mgetty/CHAPS etc, it would be pre-2004. I could be misremembering here.)

> Someone should implement and test the suggestion made by Trent Buck,
> here,
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694068#47
> 
> Specifically:
> 
> |  If you don't want to udebify wpa_passphrase, you can do it by hand:
> |
> |  cat >"/etc/wpa_supplicant/wpa_supplicant-$iface.conf" < |  network={
> |  ssid="$ssid"
> |  psk="$passphrase"
> |  }
> |  EOF
> 
> This should be arranged in the appropriate bit of d-i, so that the
> installed system works the same way as the installer.

That would be a great improvement, and with least surprise.

BTW if you read right to the end of
https://lists.debian.org/debian-user/2018/02/msg00015.html
the last sentence is meant to be a reference to our
Great Leader's Orwellian press briefings.

Cheers,
David.



Re: Cryptic folders ...

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

On Sat, Mar 10, 2018 at 09:43:54AM -0500, Roberto C. Sánchez wrote:
> On Sat, Mar 10, 2018 at 03:36:57PM +0100, to...@tuxteam.de wrote:
> > 
> > I don't know where you received this email from, but perhaps you
> > could point that our to the email's author.
> > 
> The message was sent to the debian-announce mailing list today:
> https://lists.debian.org/debian-announce/2018/msg0.html
> 
> However, the email was perfectly clear that installation media are not
> yet ready while still explaining how to go about upgrading an existing
> Debian installation.

Thanks for the clarification.

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

iEYEARECAAYFAlqj/KAACgkQBcgs9XrR2kbUaQCdGqq17IluywUiA2cFtDzLTZ+0
QMQAn3sX57Ae5YNP/BJB81sGhGUYkwo/
=J3Xb
-END PGP SIGNATURE-



Re: set default print options on printer

2018-03-10 Thread Gary Dale



On 2018-03-10 08:23 AM, Brian wrote:

On Fri 09 Mar 2018 at 23:19:28 -0500, Gary Dale wrote:


On 2018-03-09 07:13 AM, Brian wrote:

It is okular without KDE here and it honours lpoptions. Try
lpoptions -p Samsung_C410_Series -o PageSize=Letter


Does that require a restart because it doesn't seem to fix the problem.
After I entered the command, $HOME/.cups/lpoptions contains "Dest
Samsung_C410_Series PageSize=Letter" but Okular still wants to use A4.

Neither okular nor cups needs a restart. After the command above,

   lpoptions -p Samsung_C410_Series -l

should show Letter as the default PageSize.

BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
File/Print/Name/Properties/Advanced. Highlight Page Size and double-
click at the right side of the highlighted portion.

Perhaps you have encountered the bug in Qt that Curt pointed to.
I can't get to the location you referred to. I get to File | Print OK, 
but the Name is a pull down list. I can select any printer (they all 
show A4 paper as the default size) then click on the Properties button 
but there is never an Advanced tab or button. I can't highlight Paper 
size nor the paper pull down list. Double clicking on either does nothing.


The bug does sound like the same one Curt refers to. Unfortunately 
testing is still stuck at qt 5.9 and the bug isn't fixed until qt 5.11. 
It's been a month & a half since the bug was supposedly fixed upstream 
so hopefully it won't be long before they update Buster.




Re: Cryptic folders ...

2018-03-10 Thread Roberto C . Sánchez
On Sat, Mar 10, 2018 at 03:36:57PM +0100, to...@tuxteam.de wrote:
> 
> I don't know where you received this email from, but perhaps you
> could point that our to the email's author.
> 
The message was sent to the debian-announce mailing list today:
https://lists.debian.org/debian-announce/2018/msg0.html

However, the email was perfectly clear that installation media are not
yet ready while still explaining how to go about upgrading an existing
Debian installation.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Cryptic folders ...

2018-03-10 Thread Roberto C . Sánchez
On Sat, Mar 10, 2018 at 01:55:20PM +, Agostinho Matos wrote:
> Hello,
> 
> I received your email about the latest version of Debian available at
> https://www.debian.org/mirror/list.  However trying to download anything
> from this web link seems to me impossible, unless I attend to a training
> course on how to download files from Debian website.
> 

The paragraph that contains that link starts, "Upgrading an existing
installation ..." That indicates that the link relates to upgrading an
existing Debian installation.

> Keep the good work, but try to make life easier to your users.
> 
The previous paragraph says, "New installation images will be available
soon at the regular locations." You can download installation media for
Debian 9.3 here: https://www.debian.org/distrib/

After installing with media for Debian 9.3 you can update using the
normal procedures described in the Debian documentation and you will
have an up to date system running Debian 9.4.

If you prefer media for Debian 9.4, you will have to wait for the
installation images to be made available at the same link I gave.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Cryptic folders ...

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

On Sat, Mar 10, 2018 at 01:55:20PM +, Agostinho Matos wrote:
> Hello,
> 
> I received your email about the latest version of Debian available
> at https://www.debian.org/mirror/list.  However trying to download
> anything from this web link seems to me impossible, unless I attend
> to a training course on how to download files from Debian website.

Yes, you're right, this link isn't the one you want if you "just"
plan to install Debian.

This one seems more relevant:

  https://www.debian.org/releases/stable/

Choose your architecture and work from there...

> Keep the good work, but try to make life easier to your users.

I don't know where you received this email from, but perhaps you
could point that our to the email's author.

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

iEYEARECAAYFAlqj7YkACgkQBcgs9XrR2kYHiQCeMJcbugkAXlVwEg+SCexiBYP0
nDMAnjy5UmkbMbjn/uC2Ir3hHm8icAnq
=AjGb
-END PGP SIGNATURE-



Cryptic folders ...

2018-03-10 Thread Agostinho Matos

Hello,

I received your email about the latest version of Debian available at 
https://www.debian.org/mirror/list.  However trying to download anything 
from this web link seems to me impossible, unless I attend to a training 
course on how to download files from Debian website.


Keep the good work, but try to make life easier to your users.

Regards,

A. Matos



Re: selectief upgraden

2018-03-10 Thread Paul van der Vlis
Op 10-03-18 om 13:27 schreef Justin van Steijn:
> Er vanuit gaande dat je stretch-backports in je /etc/apt/sources.list
> hebt staan (wat standaard zo is)

Jammer genoeg staat het er standaard niet in, dus je moet het toevoegen
in je /etc/apt/sources.list:
deb http://ftp.nl.debian.org/debian/ stretch-backports main

Groeten,
Paul



, is één opdracht genoeg om LibreOffice
> te upgraden:
> 
> sudo apt-get -t stretch-backports install libreoffice
> 
> Groeten, Justin
> 
> Op 10-03-18 om 12:33 schreef Fred:
>> Beste Lijst,
>>
>> Ik gebruik Debian Stretch (Stable) welke tijden de installatie Libre
>> office 5.2 heeft geinstalleerd.
>> Daar heb ik een probleempje mee wat wellicht opgelost is als ik hier een
>> nieuwere versie van gebruik.
>>
>> Nu weet ik niet of het handig is om van stable naar testing over te
>> stappen, maar is het ook mogelijk om testing in de repository toe te
>> voegen en hier selectief gebruik van te maken?
>>
>> Fred
>>
> 



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



instalar debian testing en HP con W10

2018-03-10 Thread Ricardo Delgado
Buenos dias,

  Les consulto lo siguiente

me compre un equipo : Notebook Hp Pavilion 16gb 17 No Touch I5 7th Gen
1tb Hdd Win

este vino con un Windows10 Instalado, la idea es dejar conviviendo W10
junto a debian.

para ello utilice la herramienta de W10 para dividir el disco y dejar
espacio para debian.

Luego el instalador de debian realizo la tarea, escribio el sector de
arranque (al menos eso pense) el grub, finalizo la instalcion y
reinicio.

aqui cuando reinicio, nunca aparecio GRUB, solo inicia en W10, para
esto deshabilite uefi y deje habilitado legacy mode.

buscando lei que no deja W10 instalar otro SO

https://omicrono.elespanol.com/2015/03/instalar-windows-10-con-otro-sistema-operativo/

 En concreto pareceria que todo esta bien pero no arranca el dual boot.

 Alguna ayuda, si es posible?

  Muchas Gracias

-- 
"Windows? Reboot
Debian?  beRoot "



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread Ph. Gras
>> 
>> J'ai pu tester avec succès cette commande :
>> mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
>> FROM TABLE'
>> 
>> Je les ais contacté, et, ils me disent que je confond ssh et ssl, que je
>> ne peux pas sécuriser la connexion à la base de données avec ssh.
>> Ils m'ont conseillé de tester avec le paramètre --ssl mais je n'ai pas
>> encore testé.
>> 
> 
> MySQL écoutant sur le port 3306, ne pas oublier d'appeler ce port quand tu 
> lances ta requête
> en SSH, qui est théoriquement sur le port 22.

mysql --port=3306 -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 
'SELECT *
FROM TABLE'

# mysql --help
[…]
  -p, --password[=name] 
  Password to use when connecting to server. If password is
  not given it's asked from the tty.
  -P, --port=#Port number to use for connection or 0 for default to, in
  order of preference, my.cnf, $MYSQL_TCP_PORT,
  /etc/services, built-in default (3306).
[…]
> 
> Bonne journée,
> 
> Ph. Gras



Re: télé [résolu]

2018-03-10 Thread Klaus Becker
Le samedi 10 mars 2018, 11:17:32 CET didier gaumet a écrit :
> Le 09/03/2018 à 20:27, Klaus Becker a écrit :
> [...]

J'ai trouvé comment regarder et enregistrer la télé allemande par mon antenne 
parabolique digitale.

J'ai un tuner de chez http://sundtek.com. Sur leur site, on peut télécharger 
des playlists pour la télé allemande. J'ouvre une telle liste avec vlc, j'ai 
la 1ère chaîne dans la liste.

J'avais déjà vu ça, mais il fallait découvrir qu'on trouve la liste des 
chaînes dans le menu "Vue", j'avais cherché ailleurs.

Et on peut facilement éditer et modifier la playlist selon ses besoins.

Evidemment il faut un tuner digital pour faire ça, je suppose que ça 
fonctionne seulement avec les tuners de chez Sundtek, à tester si qn s'y 
intéresse.

Merci de votre aide, je reviens vers vous en cas de besoin.

Klaus



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread daniel huhardeaux

Le 10/03/2018 à 14:10, Ph. Gras a écrit :

Attention !



Le 10/03/2018 à 11:16, Benoit B a écrit :

Bonjour,

Si je comprend bien tu veux créer un client lourd qui se connecte à
une db distante.
Je m'y suis essayé il y a quelques années, mais avec postgreSql, il y
a les options de connexions ssh.
Par contre si la DB est chez un hébergeur mutualisé, ça va se corser
pour l'ouverture du port de connexion

Qu'en est-il ?

Bonjour, merci de ta réponse.
La base de données est effectivement sur un mutualisé :
https://www.alwaysdata.com/fr/

J'ai pu tester avec succès cette commande :
mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
FROM TABLE'

Je les ais contacté, et, ils me disent que je confond ssh et ssl, que je
ne peux pas sécuriser la connexion à la base de données avec ssh.
Ils m'ont conseillé de tester avec le paramètre --ssl mais je n'ai pas
encore testé.


MySQL écoutant sur le port 3306, ne pas oublier d'appeler ce port quand tu 
lances ta requête
en SSH, qui est théoriquement sur le port 22.


ssh -gNL 1080::3306 user@ip distante

puis mysql -udbuser pdbpassword -h localhost -P 1080 -D dbname

devrait le faire

--
Daniel



Re: set default print options on printer

2018-03-10 Thread Brian
On Fri 09 Mar 2018 at 23:19:28 -0500, Gary Dale wrote:

> On 2018-03-09 07:13 AM, Brian wrote:
> > It is okular without KDE here and it honours lpoptions. Try
> > lpoptions -p Samsung_C410_Series -o PageSize=Letter
> > 
> Does that require a restart because it doesn't seem to fix the problem.
> After I entered the command, $HOME/.cups/lpoptions contains "Dest
> Samsung_C410_Series PageSize=Letter" but Okular still wants to use A4.

Neither okular nor cups needs a restart. After the command above,

  lpoptions -p Samsung_C410_Series -l

should show Letter as the default PageSize.

BTW, it is possible to alter $HOME/.cups/lpoptions from within okular.
File/Print/Name/Properties/Advanced. Highlight Page Size and double-
click at the right side of the highlighted portion.

Perhaps you have encountered the bug in Qt that Curt pointed to.

-- 
Brian.



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread Ph. Gras
Attention !


> Le 10/03/2018 à 11:16, Benoit B a écrit :
>> Bonjour,
>> 
>> Si je comprend bien tu veux créer un client lourd qui se connecte à
>> une db distante.
>> Je m'y suis essayé il y a quelques années, mais avec postgreSql, il y
>> a les options de connexions ssh.
>> Par contre si la DB est chez un hébergeur mutualisé, ça va se corser
>> pour l'ouverture du port de connexion
>> 
>> Qu'en est-il ?
> 
> Bonjour, merci de ta réponse.
> La base de données est effectivement sur un mutualisé :
> https://www.alwaysdata.com/fr/
> 
> J'ai pu tester avec succès cette commande :
> mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
> FROM TABLE'
> 
> Je les ais contacté, et, ils me disent que je confond ssh et ssl, que je
> ne peux pas sécuriser la connexion à la base de données avec ssh.
> Ils m'ont conseillé de tester avec le paramètre --ssl mais je n'ai pas
> encore testé.
> 

MySQL écoutant sur le port 3306, ne pas oublier d'appeler ce port quand tu 
lances ta requête
en SSH, qui est théoriquement sur le port 22.

Bonne journée,

Ph. Gras


Re: selectief upgraden

2018-03-10 Thread Justin van Steijn
Er vanuit gaande dat je stretch-backports in je /etc/apt/sources.list
hebt staan (wat standaard zo is), is één opdracht genoeg om LibreOffice
te upgraden:

sudo apt-get -t stretch-backports install libreoffice

Groeten, Justin

Op 10-03-18 om 12:33 schreef Fred:
> Beste Lijst,
> 
> Ik gebruik Debian Stretch (Stable) welke tijden de installatie Libre
> office 5.2 heeft geinstalleerd.
> Daar heb ik een probleempje mee wat wellicht opgelost is als ik hier een
> nieuwere versie van gebruik.
> 
> Nu weet ik niet of het handig is om van stable naar testing over te
> stappen, maar is het ook mogelijk om testing in de repository toe te
> voegen en hier selectief gebruik van te maken?
> 
> Fred
> 



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread G2PC
Le 10/03/2018 à 11:16, Benoit B a écrit :
> Bonjour,
>
> Si je comprend bien tu veux créer un client lourd qui se connecte à
> une db distante.
> Je m'y suis essayé il y a quelques années, mais avec postgreSql, il y
> a les options de connexions ssh.
> Par contre si la DB est chez un hébergeur mutualisé, ça va se corser
> pour l'ouverture du port de connexion
>
> Qu'en est-il ?

Bonjour, merci de ta réponse.
La base de données est effectivement sur un mutualisé :
https://www.alwaysdata.com/fr/

J'ai pu tester avec succès cette commande :
mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
FROM TABLE'

Je les ais contacté, et, ils me disent que je confond ssh et ssl, que je
ne peux pas sécuriser la connexion à la base de données avec ssh.
Ils m'ont conseillé de tester avec le paramètre --ssl mais je n'ai pas
encore testé.



Re: selectief upgraden

2018-03-10 Thread Koen Wybo

Op 10-03-18 om 12:33 schreef Fred:

Beste Lijst,

Ik gebruik Debian Stretch (Stable) welke tijden de installatie Libre 
office 5.2 heeft geinstalleerd.
Daar heb ik een probleempje mee wat wellicht opgelost is als ik hier 
een nieuwere versie van gebruik.


Nu weet ik niet of het handig is om van stable naar testing over te 
stappen, maar is het ook mogelijk om testing in de repository toe te 
voegen en hier selectief gebruik van te maken?


Fred



Beste Fred,


Mijn motto is: ofwel gebruik je stable ofwel testing. Mixen zou ik 
persoonlijk niet doen: de verschillen tussen de verschillende 
softwarepakketten is te groot.


Wat je in het geval van libreoffice wel kan doen: toevoegen van debian 
backports: Deze heeft de laatste nieuwe versie van libreoffice aan boord 
zonder je bestaande stable te breken (niet het geval voor hun 
linux-kernel: afblijven is de boodschap). Info over backports: 
https://backports.debian.org/Instructions/



vriendelijke groet,


Koen Wybo




Re: selectief upgraden

2018-03-10 Thread Geert Stappers
On Sat, Mar 10, 2018 at 12:33:13PM +0100, Fred wrote:
> Beste Lijst,
> 
> Ik gebruik Debian Stretch (Stable) welke tijden de installatie Libre
> office 5.2 heeft geinstalleerd.
> Daar heb ik een probleempje mee wat wellicht opgelost is als ik hier
> een nieuwere versie van gebruik.

Je wilt dus een stukje in de tijd vooruit.


> Nu weet ik niet of het handig is om van stable naar testing over te
> stappen, maar is het ook mogelijk om testing in de repository toe te
> voegen en hier selectief gebruik van te maken?

Versies gaan, net als de tijd, alleen maar vooruit.

Selectief van testing gebruik maken is lastig.


Ik heb voor je https://packages.debian.org/libreoffice
en kwam dan uit op https://packages.debian.org/search?keywords=libreoffice

Het blijkt dat er backports voor Libreoffice zijn.
Doe daar je voordeel mee.



Groeten
Geert Stappers
DD
-- 
Leven en laten leven



Re: Qt Designer pour Qt 5 et PyQt5

2018-03-10 Thread bruno volpi

salut,

comme j’utilise rarement designer ( je n'aime pas trop la manière de 
transformer de QT vers pyqt je préfères utiliser des canevas que j'ai 
créé ) je ne comprends pas trop l'intérêt de faire cohabiter les Qt 
designer sauf à vouloir continuer à développer en QT4 et encore !!


je supposes que tu peux reprendre les feuilles QT4 dans designer QT5 les 
différences entre les deux étant très faible.



Bruno


Le 10/03/2018 à 09:39, Benoit B a écrit :

Bonjour

Merci pour ta réponse ça fonctionne parfaitement.

Quel serait la meilleur façon de faire cohabiter Qt 5 et Qt 4 dans Designer ?
Je pourrais ré-installer Qt4 Designer, mais ça fait deux logiciels
installés est-ce bien nécessaire ?

Merci d'avance,

Benoit

Le 3 mars 2018 à 09:09, bruno volpi  a écrit :

salut,

pour  debian 9 de base :

libqt5core5a,
libqt5designer5,libqt5designercomponents5,pyqt5-dev,python-pyqt5,python3-pyqt5
+ toutes les dépendances.

le mieux est de passer par Synaptic et de voir quel sont les autres éléments
qui pourrai te servir (sql, quick, scintilla , webKit , doc, qml, opengl ,
etc  ).

si tu as les 2 versions de python 2.7 et 3.5 faire attention dans les
scripts à bien switcher sur la bonne version




Le 02/03/2018 à 22:19, Benoit B a écrit :

Bonjour

Quels sont les paquets à installer pour avoir Qt Designer avec Qt5
plutôt que QT4 par défaut ?

Merci d'avance








Re: télé

2018-03-10 Thread Klaus Becker
Le samedi 10 mars 2018, 11:03:35 CET didier gaumet a écrit :
> Le 09/03/2018 à 20:27, Klaus Becker a écrit :
> > Ca ne fonctionne pas :
> > 
> >  
> > 
> > $ mpv playlist-france.m3u --playlist-start=123
> > Playing: playlist-france.m3u
> > 
> > Playing:
> > rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1=1167
> > [ffmpeg/demuxer] rtsp: method SETUP failed: 461 Unsupported Transport
> > [lavf] avformat_open_input() failed
> > Failed to recognize file format.
> 
> [...]
> 
> 
> j'avais eu le même problème pour la TV Freebox, il faut préciser le mode
> de transport RTSP avec l'option adéquate:
>  --rtsp-transport=
> 
> (il me semble que j'avais utilisé lavf qui laisse ibavformat décider
> automatiquement quel est le meilleur transport)

Les 2 premières options (lavf et udp) fonctionnent pour la télé française, 
mais pas pour la télé allemande puisque c'est interdit.

merci

Klaus




selectief upgraden

2018-03-10 Thread Fred

Beste Lijst,

Ik gebruik Debian Stretch (Stable) welke tijden de installatie Libre 
office 5.2 heeft geinstalleerd.
Daar heb ik een probleempje mee wat wellicht opgelost is als ik hier een 
nieuwere versie van gebruik.


Nu weet ik niet of het handig is om van stable naar testing over te 
stappen, maar is het ook mogelijk om testing in de repository toe te 
voegen en hier selectief gebruik van te maken?


Fred



Re: hwclock incorrectly set ?

2018-03-10 Thread Curt
On 2018-03-10, Rick Thomas  wrote:
>
> If you have Internet access, you should probably install the “ntp”
> package, which will keep your system clock synchronized to standard
> time from your local national standards agency.  Also, read the
> hwclock(8) man page.  It will tell you all the details that I’m
> sliding over here.

If he only needs the client side there's also the option of installing
nothing and using systemd-timesyncd.

To enable (I believe you need elevated privileges):

 timedatectl set-ntp true 

To check status (no elevated privileges required):

 timedatectl status

https://wiki.archlinux.org/index.php/systemd-timesyncd

That is if the OP's running with systemd.

> Hope it helps!
> Rick
>
>
>


-- 
Bah, the latest news, the latest news is not the last.
Samuel Beckett



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread Benoit B
Et de la confiig de la db.

Le 10 mars 2018 à 11:16, Benoit B  a écrit :
> Bonjour,
>
> Si je comprend bien tu veux créer un client lourd qui se connecte à
> une db distante.
> Je m'y suis essayé il y a quelques années, mais avec postgreSql, il y
> a les options de connexions ssh.
> Par contre si la DB est chez un hébergeur mutualisé, ça va se corser
> pour l'ouverture du port de connexion
>
> Qu'en est-il ?
>
> @++
>
> --
> Benoit
>
> Le 2 mars 2018 à 11:49, G2PC  a écrit :
>> Le 01/03/2018 à 17:43, Jean-Michel OLTRA a écrit :
>>> Bonjour,
 En somme, ici, je voudrais créer une interface de saisie, vers une base
 de données, mais, ne pas pour autant laisser l'accès à la base.
>>> Tu peux créer une interface web avec le langage de ton choix contenant les
>>> formulaires adéquats. Dans la configuration de l'interface, tu vas
>>> paramétrer un utilisateur qui aura les droits sur la base de données et qui
>>> fera les opérations pour le compte des utilisateurs. Ainsi, tu ne donnes
>>> aucun mot de passe et tu n'ouvres pas ton serveur de bdd vers l'extérieur.
>>> Inconvénients : il faut coder l'ihm (bon, en php pour ne pas le nommer ce
>>> n'est pas forcément très compliqué), et lancer un serveur ouèbe pour servir
>>> les pages de saisie.
>>
>> Bonjour, merci, effectivement, en PHP, je saurais bricoler ça.
>>
>> Je cherchais à savoir si je pouvais le faire en bash / shell depuis que
>> j'ai avancé sur Zenity, et que j'ai vu qu'il est possible ( je n'ai pas
>> testé ) de rendre compatible le script sous Windows.
>>
>> L'idée serait donc plus de me tourner vers un outil " programme "
>> portable, en mode graphique.
>>



Re: télé

2018-03-10 Thread didier gaumet
Le 09/03/2018 à 20:27, Klaus Becker a écrit :
[...]
> Playing:
> rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1=1167
> [ffmpeg/demuxer] rtsp: method SETUP failed: 461 Unsupported Transport
> [lavf] avformat_open_input() failed
> Failed to recognize file format.
[...]
mais là je ne comprends plus: que vient faire ta Freebox dans cette
affaire? je croyais que tu voulais regarder des chaînes allemandes
captées via une parabole et un décodeur satellite?



Re: Connexion distante à une base de données MySQL

2018-03-10 Thread Benoit B
Bonjour,

Si je comprend bien tu veux créer un client lourd qui se connecte à
une db distante.
Je m'y suis essayé il y a quelques années, mais avec postgreSql, il y
a les options de connexions ssh.
Par contre si la DB est chez un hébergeur mutualisé, ça va se corser
pour l'ouverture du port de connexion

Qu'en est-il ?

@++

--
Benoit

Le 2 mars 2018 à 11:49, G2PC  a écrit :
> Le 01/03/2018 à 17:43, Jean-Michel OLTRA a écrit :
>> Bonjour,
>>> En somme, ici, je voudrais créer une interface de saisie, vers une base
>>> de données, mais, ne pas pour autant laisser l'accès à la base.
>> Tu peux créer une interface web avec le langage de ton choix contenant les
>> formulaires adéquats. Dans la configuration de l'interface, tu vas
>> paramétrer un utilisateur qui aura les droits sur la base de données et qui
>> fera les opérations pour le compte des utilisateurs. Ainsi, tu ne donnes
>> aucun mot de passe et tu n'ouvres pas ton serveur de bdd vers l'extérieur.
>> Inconvénients : il faut coder l'ihm (bon, en php pour ne pas le nommer ce
>> n'est pas forcément très compliqué), et lancer un serveur ouèbe pour servir
>> les pages de saisie.
>
> Bonjour, merci, effectivement, en PHP, je saurais bricoler ça.
>
> Je cherchais à savoir si je pouvais le faire en bash / shell depuis que
> j'ai avancé sur Zenity, et que j'ai vu qu'il est possible ( je n'ai pas
> testé ) de rendre compatible le script sous Windows.
>
> L'idée serait donc plus de me tourner vers un outil " programme "
> portable, en mode graphique.
>



Re: télé

2018-03-10 Thread jérémy prego

Le 10/03/2018 à 11:09, didier gaumet a écrit :

Klaus essaie d'utiliser une playlist contenant la liste des chaînes de
TV allemandes accessibles via un décodeur satellite, si j'ai bien saisi.
On a donc une playlist m3u comme quand on essaie de regarder la TV
Freebox mais son contenu est différent.


donc, si c'est pas de l'IPTV, je doute qu'un vpn change quelque chose...

possible d'avoir une partie de la playlist pour mieux comprendre ?

merci.

jerem.



Re: télé

2018-03-10 Thread didier gaumet
Le 10/03/2018 à 10:49, Klaus Becker a écrit :

> Je ne comprends pas, c'est quoi le fichier playlist de free
> .mafreebox.freebox.fr ?

Free met à disposition une playlist déjà générée au format m3u contenant
la liste des chaînes de la Freebox TV pour pouvoir les visionner sur un
ordinateur avec un logiciel



Re: télé

2018-03-10 Thread didier gaumet
Le 10/03/2018 à 10:33, jérémy prego a écrit :
> bonjour,
> 
> juste pour comprendre, vous utilisez le fichier playlist de free
> mafreebox.freebox.fr ? si oui, ça ne sert a rien d'utiliser un VPN, le
> contenue de ce fichier n'est pas accessible en dehors du réseau de Free...

Klaus essaie d'utiliser une playlist contenant la liste des chaînes de
TV allemandes accessibles via un décodeur satellite, si j'ai bien saisi.
On a donc une playlist m3u comme quand on essaie de regarder la TV
Freebox mais son contenu est différent.



Re: télé

2018-03-10 Thread didier gaumet
Le 09/03/2018 à 20:27, Klaus Becker a écrit :

> Ca ne fonctionne pas :
> 
>  
> 
> $ mpv playlist-france.m3u --playlist-start=123
> Playing: playlist-france.m3u
> 
> Playing:
> rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1=1167
> [ffmpeg/demuxer] rtsp: method SETUP failed: 461 Unsupported Transport
> [lavf] avformat_open_input() failed
> Failed to recognize file format.
[...]


j'avais eu le même problème pour la TV Freebox, il faut préciser le mode
de transport RTSP avec l'option adéquate:
 --rtsp-transport=

(il me semble que j'avais utilisé lavf qui laisse ibavformat décider
automatiquement quel est le meilleur transport)



Re: hwclock incorrectly set ?

2018-03-10 Thread Ben Caradoc-Davies

On 10/03/18 20:46, Rick Thomas wrote:

Based on your experiment, we can say that your hardware clock is running about 
47 seconds ahead of your system clock.  This can be corrected by running the 
command (as root) “hwclock ––systohc”.  If that gets rid of your problem, 
great!  If not, or if it goes away for a while then returns, your hardware 
clock may be drifting (i.e. running faster or slower than real time).  In that 
case, you will need to do “hwclock ––systohc ––update-drift” a few times each a 
day or two apart.


Note that these commands should have "--" double hyphens not "––" double 
en-dashes. Rick's email client (Mac OS X Mail 7.3?) has (un)helpfully 
converted the hyphens to en-dashes (0x96 in charset=windows-1252), which 
will not work when cut and pasted to a terminal.


Kind regards,

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



Re: télé

2018-03-10 Thread Klaus Becker
Le samedi 10 mars 2018, 10:33:17 CET jérémy prego a écrit :
> bonjour,
> 

Bonjour Jérémy,

> juste pour comprendre, vous utilisez le fichier playlist de free
> mafreebox.freebox.fr ? si oui, ça ne sert a rien d'utiliser un VPN, le
> contenue de ce fichier n'est pas accessible en dehors du réseau de Free...


Je ne comprends pas, c'est quoi le fichier playlist de free
.mafreebox.freebox.fr ?

Mon FAI est free.

Ciao

Klaus

> jerem
> 
> Le 10/03/2018 à 09:33, Klaus Becker a écrit :
> > Le samedi 10 mars 2018, 08:25:32 CET Bernard Schoenacker a écrit :
> >> - Mail original -
> >> j'ai trouvé une autre alternative :
> >> 
> >> http://vpndock.com/vpn-allemand/

C'est payant, il n'y a pas de solution à l'oeil?

Klaus



Re: Multifunction (printer + scanner) recommendation?

2018-03-10 Thread Ben Caradoc-Davies

On 10/03/18 19:09, Kamil Jońca wrote:

kjo...@poczta.onet.pl (Kamil Jońca) writes:

Thanks for everybodys' replies.
Now I think about brother  DCP-1510E.

I bought it, and have mixed feelings.
With brother's drivers I can scan and print (and Windows 7 machine too
via samba) but scans are "over exposed"
Is it possible to control scan lamp power or ccd sensivity?
KJ


In XSane you can set the gamma, brightness, and contrast. If you open 
the preview scan you can use a preview scan to set these automatically. 
If you want to use the same settings for all scans, you can save them 
with the "M" button. For more, see Help /XSane doc.


Kind regards,

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



Re: télé

2018-03-10 Thread jérémy prego

bonjour,

juste pour comprendre, vous utilisez le fichier playlist de free 
mafreebox.freebox.fr ? si oui, ça ne sert a rien d'utiliser un VPN, le 
contenue de ce fichier n'est pas accessible en dehors du réseau de Free...


jerem
Le 10/03/2018 à 09:33, Klaus Becker a écrit :

Le samedi 10 mars 2018, 08:25:32 CET Bernard Schoenacker a écrit :

- Mail original -
j'ai trouvé une autre alternative :

http://vpndock.com/vpn-allemand/

slt
bernard


Merci, je vais explorer ça

Klaus





Re: Help needed with home network configuration:[SOLVED]

2018-03-10 Thread Joe
On Fri, 9 Mar 2018 23:22:36 +0200
Johann Spies  wrote:

> Thanks again for all the inputs.
> 
> I have tried a third option: arno-iptables-firewall.
> 
> Now I can reach the internet from the local network.  I still don't
> understand why I could not
> get it working with Shorewall which I have used for many years.

If you have time, and the inclination, run Shorewall one more time,
then the command

iptables -S > shore.rules

Then run arno again, and do the same to make arno.rules. The listings
will be quite different, but really ought to do the same job, and you
may be able to see why they don't.

I tried a few firewall tools long ago, and gave up because they weren't
very transparent. If you write iptables commands directly, you can be
reasonably sure of what's going on.

-- 
Joe



Re: Help needed with home network configuration

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

On Sat, Mar 10, 2018 at 11:06:12AM +0200, Johann Spies wrote:
> I see I have broken the thread by adding [SOLVED] to the subject.

But only because gmail is a broken mail user agent: it seems to have
dropped the In-Reply-To header. The change of subject shouldn't
be a problem.

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

iEYEARECAAYFAlqjouwACgkQBcgs9XrR2kbI1gCfQ4BHqBySnJceooezmZfvp5if
S8cAmwQpiqhvXniIW/BOVUOocIVUODr5
=qfds
-END PGP SIGNATURE-



Logiciel pour imprimer un Mh folder (fichier mail).

2018-03-10 Thread Benoit B
Bonjour à tous,


Je recherche un logiciel pour imprimer des fichiers mail d'un Mh folder.

La fonction d'impression de mon client mail (Claws Mail) ,ne convient
pas car, je devrais imprimer les mails un à un sans pouvoir les
reformater.

J'aimerais modifier la mise en page avant d'imprimer (genre éviter
qu'un mail qui s'imprime sur deux pages pour une ligne).

Si j'utilise l'impression telle quelle (comme du texte) je vais avoir
toutes les entêtes non formatées sans pourvoir choisir celles que je
veux afficher.

Quelqu'un a une idée ?

Merci d'avance.

--
Benoit

Ps.
La cerise sur le gâteau serait un logiciel en ligne de commande pour
itérer ou utiliser des * par exemple...



Re: Help needed with home network configuration

2018-03-10 Thread Johann Spies
I see I have broken the thread by adding [SOLVED] to the subject.

Just to keep it in this thread:

I have tried a third option: arno-iptables-firewall.

Now I can reach the internet from the local network.  I still don't
understand why I could not
get it working with Shorewall which I have used for many years.

Johann

On 10 March 2018 at 11:04, Johann Spies  wrote:
> Thanks Bob.
>
> Regards
> Johann
>
> On 9 March 2018 at 23:50, Bob Weber  wrote:
>> On 3/9/18 2:52 PM, Johann Spies wrote:
>>
>> On 9 March 2018 at 17:31, Bob Weber  wrote:
>>
>> There are other things that you can do once you get the basics working.  I
>> have a caching DNS (with dns crypt to opendns to keep dns querys from being
>> forged) and ntp server on my router and I use the shorewall redirect command
>> to force all internal machines to use these servers instead of going outside
>> to the internet for each inside machine.
>>
>> Bob, can you share your dns setup please.  My bind9 now gives me problems:
>> e.g. named[25623]: error (network unreachable) resolving
>> 'activity-stream-icons.services.mozilla.com...'
>> but I can ping the outside world.
>>
>> Regards
>> Johann
>>
>> Answers from previous messages also.
>>
>> The eth0 port needs to be static.  If it wasn't and dchp changed the address
>> then all the local net machines couldn't connect to it to use it as a router
>> since they need to know its exact address.  My interfaces file is as
>> follows:
>>
>> #This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet static
>> address 172.16.0.1
>> netmask 255.255.0.0
>> network 172.16.0.0
>> broadcast 172.16.255.255
>> dns-nameservers 127.0.0.1
>> dns-search weberhome.net
>>
>> # auto eth1 -- dont need auto since using netplug
>> iface eth1 inet dhcp
>>
>> 
>> My internal net is 172.16.0.0/16 and is from the days I worked as net admin
>> for a local school so you will have to change these to 192.168 if you
>> use them (or keep the 172 net for your system).  Notice eth1 is DHCP since
>> it has to connect to the ISP via the ISP's routers and addresses.  I have a
>> pi3 that I have played with.  At one point I had a second ethernet port
>> attached through a usb adapter and I don't remember it being slow or the
>> main port being slow.  I even installed KDE and played with a 7" touch
>> display.  The only reservation I have about the pi is the flash drive.  I
>> just don't trust them... especially for something that just needs to work
>> all the time (that is why I use raid).
>>
>> I'll first post the pertinent  lines in my shorewall files (bingo is my
>> firewall machine .. a small form factor intel atom board running debian
>> testing with 2 sata drives in raid1 configuration):
>>
>>  interfaces
>> ###
>> ?FORMAT 2
>> ###
>> #ZONE   INTERFACE   OPTIONS
>> Ex  eth1
>> dhcp,tcpflags,nosmurfs,routefilter,logmartians,sourceroute=0
>>
>> Loc eth0dhcp,tcpflags,nosmurfs,routefilter,logmartians
>>
>>  zones
>> ###
>> #ZONE   TYPEOPTIONS IN  OUT
>> #   OPTIONS OPTIONS
>> Bingo   firewall# Bingo
>> Loc ipv4# Local 172 network
>> Ex  ipv4# The Internet
>>
>>
>>  policy
>> ###
>> #SOURCE><-->DEST<--><-->POLICY<><-->LOG LEVEL<->LIMIT:BURST
>> Bingo   Loc ACCEPT
>> Bingo   Ex  ACCEPT
>> Loc Ex  ACCEPT
>> Ex  all DROPinfo
>>
>> # THE FOLLOWING POLICY MUST BE LAST
>> all all REJECT  info
>>
>>
>> --- rules
>> 
>> #ACTION><-->SOURCE<><-->
>> DEST<-->PROTO<->DEST<-->SOURCE<><-->ORIGINAL<-->RATE<--><-->USER/<->MARK
>> #<-><--><--><--><--><-->
>> PORT<-->PORT(S)><-->DEST<--><-->LIMIT<-><-->GROUP
>> #
>> #SECTION ESTABLISHED
>> #
>> #SECTION RELATED
>> #
>> #
>> ?SECTION NEW
>> Ping/ACCEPT Loc all
>> #
>> allowBcast  Loc Bingo   all
>> HTTP/ACCEPT Loc:172.16.0.0/16   Bingo
>> ACCEPT  Loc:172.16.0.0/16   Bingo   tcp 3128
>> POP3/ACCEPT 

Re: grub après installation

2018-03-10 Thread Pierre L.


Le 10/03/2018 à 09:19, Pascal Hambourg a écrit :
> Le 10/03/2018 à 08:09, Pierre L. a écrit :
>>
>> Le 10/03/2018 à 00:24, Pascal Hambourg a écrit :
>>>
>>> Démarrer l'installateur en mode rescue.
>>> Exécuter un shell à la racine du système installé.
>>> Monter /boot/efi
>>> Exécuter grub-install --removable
>>>
>> Des commandes fiables à proposer ?
>
> - Démarrer l'installateur en mode rescue.
> - Exécuter un shell à la racine du système installé.
> Pas de commandes, cela ce fait dans l'installateur.
>
> mount /boot/efi
> grub-install --removable
>
> Et comme /boot/grub/grub.cfg sera probablement manquant,
>
> update-grub
>
Merci :)



signature.asc
Description: OpenPGP digital signature


Re: Qt Designer pour Qt 5 et PyQt5

2018-03-10 Thread Benoit B
Bonjour

Merci pour ta réponse ça fonctionne parfaitement.

Quel serait la meilleur façon de faire cohabiter Qt 5 et Qt 4 dans Designer ?
Je pourrais ré-installer Qt4 Designer, mais ça fait deux logiciels
installés est-ce bien nécessaire ?

Merci d'avance,

Benoit

Le 3 mars 2018 à 09:09, bruno volpi  a écrit :
> salut,
>
> pour  debian 9 de base :
>
> libqt5core5a,
> libqt5designer5,libqt5designercomponents5,pyqt5-dev,python-pyqt5,python3-pyqt5
> + toutes les dépendances.
>
> le mieux est de passer par Synaptic et de voir quel sont les autres éléments
> qui pourrai te servir (sql, quick, scintilla , webKit , doc, qml, opengl ,
> etc  ).
>
> si tu as les 2 versions de python 2.7 et 3.5 faire attention dans les
> scripts à bien switcher sur la bonne version
>
>
>
>
> Le 02/03/2018 à 22:19, Benoit B a écrit :
>>
>> Bonjour
>>
>> Quels sont les paquets à installer pour avoir Qt Designer avec Qt5
>> plutôt que QT4 par défaut ?
>>
>> Merci d'avance
>>
>>
>



Re: télé

2018-03-10 Thread Klaus Becker
Le samedi 10 mars 2018, 08:25:32 CET Bernard Schoenacker a écrit :
> - Mail original -

> 
> j'ai trouvé une autre alternative :
> 
> http://vpndock.com/vpn-allemand/
> 
> slt
> bernard


Merci, je vais explorer ça

Klaus



Re: grub après installation

2018-03-10 Thread Pascal Hambourg

Le 10/03/2018 à 08:09, Pierre L. a écrit :


Le 10/03/2018 à 00:24, Pascal Hambourg a écrit :


Démarrer l'installateur en mode rescue.
Exécuter un shell à la racine du système installé.
Monter /boot/efi
Exécuter grub-install --removable


Des commandes fiables à proposer ?


- Démarrer l'installateur en mode rescue.
- Exécuter un shell à la racine du système installé.
Pas de commandes, cela ce fait dans l'installateur.

mount /boot/efi
grub-install --removable

Et comme /boot/grub/grub.cfg sera probablement manquant,

update-grub