Re: Broken kernel?

2018-03-11 Thread Gene Heskett
On Sunday 11 March 2018 21:10:16 Eike Lantzsch wrote:

> On Sunday, March 11, 2018 7:47:13 PM -03 Gene Heskett wrote:
> > On Sunday 11 March 2018 19:36:37 John ff wrote:
> > > i have an Intel Atom CPU N2600 @ 1.60GHz that I fairly recently
> > > upgraded from Whezzy to Jessie, but I cannot boot the kernel(s)
> > > that came with Jessie.
> > >
> > > All is OK with vmlinuz-3.2.0-4-amd64, but both 3.16.0-4-amd64 and
> > > 3.16.0-5-amd64 fail to load. When equipped with a screen I see it
> > > says Loading .. but it does not complete with no disk activity.
> > > The 3.2.0-4-amd64 kernel gives the same loading message followed
> > > shortly by saying the /dev/sda2 disk partition is clean and it
> > > continues to boot. Sorry I cannot remember the exact words after
> > > "Loading" but this m/c usually runs headless as my firewall and
> > > server.
> > >
> > > I am looking for any clues as how to continue the upgrade to
> > > Stretch.
> > >
> > > ==John ffitch
> > >
> > >
> > > ⁣Sent from Blue ​
> >
> > First and obvious question: Its an intel atom, so why are you trying
> > to load and exec a kernel that was built to run on an amd64?
>
> because that would be the right kernel to load?
>
AMD64 would be like its built for an AMD phenom or newer. You want a 
kernel built for an intel cpu.

> This might be related:
> Debian Bug report logs - #794410
> debian-installer: Installer hangs during 'select and install software'
> Otherwise I didn't find any similar scenarios with Jessie.
> At this point I'm afraid you maneuvered yourself into a corner and you
> better install Debian Stretch from scratch. This may save time instead
> of trying to figure out what is wrong, fixing and following the
> upgrade-path further. You might want to try a live-DVD (put on a
> USB-stick) first but then don't install from the live-os but use
> netinstall instead.
> Booting the live-os will give you the opportunity to save data and
> config files before starting the install from scratch.
> All the best
> Eike



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



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

2018-03-11 Thread Jude DaShiell
Bash has some ability to handle hex.  I don't know that it can convert a 
string into hex though.  If wpa_passphrase gets included it may be 
possible for the installation script to strip the wpa_psk line out and 
turn the psk value into hex and replace it in the /etc/network/interfaces 
file it creates for wifi users.  I can understand not wanting to leave an 
/etc/network/interfaces file on a newly installed system without a secured 
passphrase though.




--



Persistent naming rules - consulta

2018-03-11 Thread remgasis remgasis
Saludos a todos.

Les escribo en esta oportunidad ya que he tratado de configurar una regla
udev para cambiar la denominación de un disco duro virtual scsi (sin
particiones) y la misma no ha funcionado. El archivo fstab está configurado
con UUIDs; sin problemas.

*Pasos: denominación del dispositivo /dev/sdc a denominación /dev/sdd.*


*Paso 1. *Se obtuvo la información necesaria del dispositivo agregado:

#udevadm info -a /sys/dev/block/X:X


*Paso 2*. Se siguió el orden lógico para configurar la regla en
/etc/udev/rules.d/98-persistent-disk.rules

KERNEL=="sdc", ACTION=="add", KERNELS=="0:0:2:0", NAME="sdd"


*Paso 3*. Se guardó la regla.


*Paso 4. *Se recarga la configuración:

#udevadm control --reload-rules

Resultado: fdisk -l /dev/sd? como /dev/sdc


*Paso 5.* Se verifica el error:

#udevadm test /sys/dev/block/8\:32

Resultado: NAME="sdd" ignored, kernel device nodes cannot be renamed;
please fix it in /etc/udev/rules.d/98-persistent-disk-rules:1


*Paso 4.* Se cambia la regla:

KERNEL=="sdc", NAME="sdd"

Se guardó la misma en dos momentos longitudinales en /lib/udev/rules.d y
/etc/udev/rules.d.

*Paso 6.* Se ejecuta:

#udevadm test /sys/dev/block/8\:32

Resultado: NAME="sdd" ignored, kernel device nodes cannot be renamed;
please fix it in /etc/udev/rules.d/98-persistent-disk-rules:1

*Paso 7.* Se reformula el problema y se crea un link en el archivo de
configuración:

KERNEL=="sdc", SYMLINK+="sdd"

Resultado: todo bien.

*Paso 8.*  Se cambia la regla:

KERNEL=="sdc", ACTION=="add|change", NAME="sdd"

Resultado:  NAME="sdd" ignored, kernel device nodes cannot be renamed;


*?Por qué no puedo cambiar el nombre del dispositivo?*


Re: Broken kernel?

2018-03-11 Thread Eike Lantzsch
On Sunday, March 11, 2018 7:47:13 PM -03 Gene Heskett wrote:
> On Sunday 11 March 2018 19:36:37 John ff wrote:
> > i have an Intel Atom CPU N2600 @ 1.60GHz that I fairly recently
> > upgraded from Whezzy to Jessie, but I cannot boot the kernel(s) that
> > came with Jessie.
> > 
> > All is OK with vmlinuz-3.2.0-4-amd64, but both 3.16.0-4-amd64 and
> > 3.16.0-5-amd64 fail to load. When equipped with a screen I see it
> > says Loading .. but it does not complete with no disk activity. The
> > 3.2.0-4-amd64 kernel gives the same loading message followed shortly
> > by saying the /dev/sda2 disk partition is clean and it continues to
> > boot. Sorry I cannot remember the exact words after "Loading" but this
> > m/c usually runs headless as my firewall and server.
> > 
> > I am looking for any clues as how to continue the upgrade to Stretch.
> > 
> > ==John ffitch
> > 
> > 
> > ⁣Sent from Blue ​
> 
> First and obvious question: Its an intel atom, so why are you trying to
> load and exec a kernel that was built to run on an amd64?
because that would be the right kernel to load?

This might be related:
Debian Bug report logs - #794410
debian-installer: Installer hangs during 'select and install software'
Otherwise I didn't find any similar scenarios with Jessie.
At this point I'm afraid you maneuvered yourself into a corner and you better 
install Debian Stretch from scratch. This may save time instead of trying to 
figure out what is wrong, fixing and following the upgrade-path further.
You might want to try a live-DVD (put on a USB-stick) first but then don't 
install from the live-os but use netinstall instead.
Booting the live-os will give you the opportunity to save data and config files 
before starting the install from scratch.
All the best
Eike
-- 
Eike Lantzsch ZP6CGE



Re: Broken kernel?

2018-03-11 Thread Gene Heskett
On Sunday 11 March 2018 19:36:37 John ff wrote:

> i have an Intel Atom CPU N2600 @ 1.60GHz that I fairly recently
> upgraded from Whezzy to Jessie, but I cannot boot the kernel(s) that
> came with Jessie.
>
> All is OK with vmlinuz-3.2.0-4-amd64, but both 3.16.0-4-amd64 and
> 3.16.0-5-amd64 fail to load. When equipped with a screen I see it
> says Loading .. but it does not complete with no disk activity. The
> 3.2.0-4-amd64 kernel gives the same loading message followed shortly
> by saying the /dev/sda2 disk partition is clean and it continues to
> boot. Sorry I cannot remember the exact words after "Loading" but this
> m/c usually runs headless as my firewall and server.
>
> I am looking for any clues as how to continue the upgrade to Stretch.
>
> ==John ffitch
>
>
> ⁣Sent from Blue ​

First and obvious question: Its an intel atom, so why are you trying to 
load and exec a kernel that was built to run on an amd64?


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



Broken kernel?

2018-03-11 Thread John ff


i have an Intel Atom CPU N2600 @ 1.60GHz that I fairly recently
upgraded from Whezzy to Jessie, but I cannot boot the kernel(s) that
came with Jessie.

All is OK with vmlinuz-3.2.0-4-amd64, but both 3.16.0-4-amd64 and
3.16.0-5-amd64 fail to load. When equipped with a screen I see it
says Loading .. but it does not complete with no disk activity. The
3.2.0-4-amd64 kernel gives the same loading message followed shortly by
saying the /dev/sda2 disk partition is clean and it continues to boot.
Sorry I cannot remember the exact words after "Loading" but this m/c
usually runs headless as my firewall and server.

I am looking for any clues as how to continue the upgrade to Stretch.

==John ffitch


⁣Sent from Blue ​

Re: Troubles with my thinkpad e560 ev0

2018-03-11 Thread floris

stuv schreef op 2018-03-11 18:22:

Hi everyone,

i've installed debian 9 stable and everything is working so far..

one of the troubles is the graphics - it has an intel and an amd radeon
card installed and at boot time (after grub) i've to enter my
username/pw to procceed (just hitting enter does the thing also)..

i tried everything like firmware-amd-graphics or firmware-misc-nonfree
and other stuff but i'm not able to get rid of the login nor do i get
the 3d card working :X

here the data you need to help me to resolve the issue(s): (http://past
e.debian.net/1013384/)



Maybe there are some clues in your Xorg.*.log file?
You can find this log in ~/.local/share/xorg/ or in /var/log/

---
Floris



Re: Starting powertop --auto-tune from systemd

2018-03-11 Thread David Wright
On Sun 11 Mar 2018 at 14:36:09 (-0400), bw wrote:
> 
> 
> On Sun, 11 Mar 2018, Rainer Dorsch wrote:
> 
> > Am Samstag, 10. März 2018, 15:16:29 CET schrieb bw:
> > > 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
> > 
> > Many thanks, that indeed solves the problem.
> > 
> > Rainer
> > 
> > -- 
> > Rainer Dorsch
> > http://bokomoko.de/
> > 
> > 
> 
> I don't understand why powertop would be in /bin on arch even after 
> reading David's links about usrmerge.  If I saw something like this in 
> debian's wiki, I'd probably look into it and let someone know.

Ahem—arch has no /bin, /sbin or /usr/sbin to put anything into.
So it's hardly surprising that they put powertop into /usr/bin.

Cheers,
David.



Re: Starting powertop --auto-tune from systemd

2018-03-11 Thread Michael Biebl
Am 10.03.2018 um 18:55 schrieb 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)

systemct tells you there was a problem trying to execute the binary.
Possibly because it's the wrong path?
$ whereis powertop
powertop: /usr/sbin/powertop /usr/share/man/man8/powertop.8.gz

(note bin vs sbin)
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2018-03-11 Thread JF Straeten

Re,


On Sun, Mar 11, 2018 at 08:19:52PM +0100, Benoit B wrote:

[...]
> Mais le problème c'est que muttprint imprime des pages de caractères
> du Contennt-Transfer-Encoding: base 64 au lieux de le voir comme une
> pièce jointe...
> 
> Et là je ne trouves pas d'option dans la doc.
> 
> Qlq a une idée ?

Une chaîne de pipes, jusqu'à obtenir exactement ce que tu veux pour ne
passer que cela à muttprint en fin de chaîne...

A priori, il est conçu pour être appelé depuis un mailer, ce qui
laisse penser que l'interprétation mime est déjà faite et qu'il ne
reçoit que le texte du corps du message pour l'imprimer. Il faudrait
donc arriver à reproduire ça en ligne de commande...

Je vois 2-3 paquets tout fait qui seraient à tester dans les archives
Debian :

mailtextbody - tool to return the body of an email message
ripmime - Extract attachments out of MIME encoded emails
maildrop - mail delivery agent with filtering abilities (contient reformail)

et sinon, écrire un outil spécifique en Perl avec les nombreux modules
de gestion d'emails qui existent, faire le décodage et le passer à
muttprint ensuite ?

Hih,



-- 

JFS.



Re: Install stretch problem......

2018-03-11 Thread Abdullah Ramazanoglu
> 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

It is related to intel frame buffer (video) device. Can't speculate on
the culprit. If single user mode works, from there on you can debug
this further.

-- 
Abdullah Ramazanoglu




Re: Troubles with my thinkpad e560 ev0

2018-03-11 Thread stuv

lspci -v shows me:
http://paste.debian.net/1014259/

Am Sonntag, den 11.03.2018, 20:55 +0100 schrieb stuv:
> When booting knoppix i've compiz 3d support and the system runs
> faster
> than the installed one .. :X
> 
> best regards,
> steve
> 
> Am Sonntag, den 11.03.2018, 18:22 +0100 schrieb stuv:
> > Hi everyone,
> > 
> > i've installed debian 9 stable and everything is working so far..
> > 
> > one of the troubles is the graphics - it has an intel and an amd
> > radeon
> > card installed and at boot time (after grub) i've to enter my
> > username/pw to procceed (just hitting enter does the thing also)..
> > 
> > i tried everything like firmware-amd-graphics or firmware-misc-
> > nonfree
> > and other stuff but i'm not able to get rid of the login nor do i
> > get
> > the 3d card working :X
> > 
> > here the data you need to help me to resolve the issue(s): (http://
> > pa
> > st
> > e.debian.net/1013384/)
> > 
> > System:Host: walkstation Kernel: 4.9.0-4-amd64 x86_64 (64 bit
> > gcc:
> > 6.3.0)
> >    Desktop: Cinnamon 3.2.7 (Gtk 3.22.11) dm: lightdm
> > Distro:
> > Debian GNU/Linux 9 (stretch)
> > Machine:   Device: laptop System: LENOVO product: 20EV003EGE v:
> > ThinkPad E560 Chassis: type: 10
> >    Mobo: LENOVO model: 20EV003EGE v: SDK0J40697 WIN UEFI:
> > LENOVO v: R00ET54W (1.29 ) date: 05/18/2017
> > BatteryBAT0: charge: 43.6 Wh 100.0% condition: 43.6/47.5 Wh
> > (92%)
> > volts: 12.4/10.8
> >    model: SANYO LNV-45N1 serial: 1352 status: Discharging
> > CPU:   Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
> >    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
> > bmips:
> > 10368
> >    clock speeds: min/max: 400/3100 MHz 1: 438 MHz 2: 437
> > MHz
> > 3:
> > 400 MHz 4: 459 MHz
> > Graphics:  Card-1: Intel HD Graphics 520 bus-ID: 00:02.0 chip-ID:
> > 8086:1916
> >    Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD
> > 8670A/8670M/8750M]
> >    bus-ID: 02:00.0 chip-ID: 1002:6600
> >    Display Server: X.org 1.19.2 drivers: modesetting
> > (unloaded:
> > fbdev,vesa)
> >    tty size: 191x22 Advanced Data: N/A for root
> > Audio: Card Intel Sunrise Point-LP HD Audio driver:
> > snd_hda_intel
> > bus-ID: 00:1f.3 chip-ID: 8086:9d70
> >    Sound: Advanced Linux Sound Architecture v: k4.9.0-4-
> > amd64
> > Network:   Card: Intel Ethernet Connection I219-V driver: e1000e v:
> > 3.2.6-k bus-ID: 00:1f.6 chip-ID: 8086:1570
> >    IF: enp0s31f6 state: up speed: 100 Mbps duplex: full
> > mac:
> > 
> > Drives:HDD Total Size: 2256.5GB (41.5% used)
> >    ID-1: /dev/sda model: SAMSUNG_MZ7TY256 size: 256.1GB
> > serial:
> > S307NB0HB17811 temp: 36C
> >    ID-2: USB /dev/sdb model: Expansion size: 2000.4GB
> > serial:
> > S362J9BH904243 temp: 0C
> > Partition: ID-1: / size: 96G used: 11G (12%) fs: ext4 dev:
> > /dev/sda2
> >    ID-2: /media/stuv/Data size: 129G used: 27G (22%) fs:
> > ext4
> > dev: /dev/sda4
> >    ID-3: /boot/efi size: 511M used: 132K (1%) fs: vfat dev:
> > /dev/sda1
> >    ID-4: /media/stuv/backup_linux size: 1.5T used: 809G
> > (57%)
> > fs: ext4 dev: /dev/sdb1
> >    ID-5: /media/stuv/backup_windows size: 333G used: 19G
> > (6%)
> > fs: fuseblk dev: /dev/sdb2
> >    ID-6: swap-1 size: 8.47GB used: 0.00GB (0%) fs: swap
> > dev:
> > /dev/sda3
> > Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
> >    Fan Speeds (in rpm): cpu: 0
> > Repos: Active apt sources in file: /etc/apt/sources.list
> >    deb http://ftp.debian.org/debian/ stretch main non-free
> >    deb-src http://ftp.debian.org/debian/ stretch main non-
> > free
> >    deb http://security.debian.org/debian-security
> > stretch/updates main contrib non-free
> >    deb-src http://security.debian.org/debian-security
> > stretch/updates main contrib non-free
> >    deb http://debian.inode.at/debian/ stretch-updates main
> > contrib non-free
> >    deb-src http://debian.inode.at/debian/ stretch-updates
> > main
> > contrib non-free
> >    deb http://ppa.launchpad.net/webupd8team/java/ubuntu
> > xenial
> > main
> >    deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu
> > xenial main
> > Info:  Processes: 204 Uptime: 34 min Memory: 2378.5/7871.1MB
> > Init:
> > systemd v: 232 runlevel: 5 Gcc sys: 6.3.0
> >    Client: Shell (bash 4.4.121 running in gnome-terminal-)
> > inxi: 2.3.5
> >  
> > 
> > 
> > best regards,
> > Steven
> 
> 



Re: Troubles with my thinkpad e560 ev0

2018-03-11 Thread stuv
When booting knoppix i've compiz 3d support and the system runs faster
than the installed one .. :X

best regards,
steve

Am Sonntag, den 11.03.2018, 18:22 +0100 schrieb stuv:
> Hi everyone,
> 
> i've installed debian 9 stable and everything is working so far..
> 
> one of the troubles is the graphics - it has an intel and an amd
> radeon
> card installed and at boot time (after grub) i've to enter my
> username/pw to procceed (just hitting enter does the thing also)..
> 
> i tried everything like firmware-amd-graphics or firmware-misc-
> nonfree
> and other stuff but i'm not able to get rid of the login nor do i get
> the 3d card working :X
> 
> here the data you need to help me to resolve the issue(s): (http://pa
> st
> e.debian.net/1013384/)
> 
> System:Host: walkstation Kernel: 4.9.0-4-amd64 x86_64 (64 bit
> gcc:
> 6.3.0)
>    Desktop: Cinnamon 3.2.7 (Gtk 3.22.11) dm: lightdm Distro:
> Debian GNU/Linux 9 (stretch)
> Machine:   Device: laptop System: LENOVO product: 20EV003EGE v:
> ThinkPad E560 Chassis: type: 10
>    Mobo: LENOVO model: 20EV003EGE v: SDK0J40697 WIN UEFI:
> LENOVO v: R00ET54W (1.29 ) date: 05/18/2017
> BatteryBAT0: charge: 43.6 Wh 100.0% condition: 43.6/47.5 Wh (92%)
> volts: 12.4/10.8
>    model: SANYO LNV-45N1 serial: 1352 status: Discharging
> CPU:   Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
>    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
> bmips:
> 10368
>    clock speeds: min/max: 400/3100 MHz 1: 438 MHz 2: 437 MHz
> 3:
> 400 MHz 4: 459 MHz
> Graphics:  Card-1: Intel HD Graphics 520 bus-ID: 00:02.0 chip-ID:
> 8086:1916
>    Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD
> 8670A/8670M/8750M]
>    bus-ID: 02:00.0 chip-ID: 1002:6600
>    Display Server: X.org 1.19.2 drivers: modesetting
> (unloaded:
> fbdev,vesa)
>    tty size: 191x22 Advanced Data: N/A for root
> Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
> bus-ID: 00:1f.3 chip-ID: 8086:9d70
>    Sound: Advanced Linux Sound Architecture v: k4.9.0-4-amd64
> Network:   Card: Intel Ethernet Connection I219-V driver: e1000e v:
> 3.2.6-k bus-ID: 00:1f.6 chip-ID: 8086:1570
>    IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac:
> 
> Drives:HDD Total Size: 2256.5GB (41.5% used)
>    ID-1: /dev/sda model: SAMSUNG_MZ7TY256 size: 256.1GB
> serial:
> S307NB0HB17811 temp: 36C
>    ID-2: USB /dev/sdb model: Expansion size: 2000.4GB serial:
> S362J9BH904243 temp: 0C
> Partition: ID-1: / size: 96G used: 11G (12%) fs: ext4 dev: /dev/sda2
>    ID-2: /media/stuv/Data size: 129G used: 27G (22%) fs: ext4
> dev: /dev/sda4
>    ID-3: /boot/efi size: 511M used: 132K (1%) fs: vfat dev:
> /dev/sda1
>    ID-4: /media/stuv/backup_linux size: 1.5T used: 809G (57%)
> fs: ext4 dev: /dev/sdb1
>    ID-5: /media/stuv/backup_windows size: 333G used: 19G (6%)
> fs: fuseblk dev: /dev/sdb2
>    ID-6: swap-1 size: 8.47GB used: 0.00GB (0%) fs: swap dev:
> /dev/sda3
> Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
>    Fan Speeds (in rpm): cpu: 0
> Repos: Active apt sources in file: /etc/apt/sources.list
>    deb http://ftp.debian.org/debian/ stretch main non-free
>    deb-src http://ftp.debian.org/debian/ stretch main non-
> free
>    deb http://security.debian.org/debian-security
> stretch/updates main contrib non-free
>    deb-src http://security.debian.org/debian-security
> stretch/updates main contrib non-free
>    deb http://debian.inode.at/debian/ stretch-updates main
> contrib non-free
>    deb-src http://debian.inode.at/debian/ stretch-updates
> main
> contrib non-free
>    deb http://ppa.launchpad.net/webupd8team/java/ubuntu
> xenial
> main
>    deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu
> xenial main
> Info:  Processes: 204 Uptime: 34 min Memory: 2378.5/7871.1MB
> Init:
> systemd v: 232 runlevel: 5 Gcc sys: 6.3.0
>    Client: Shell (bash 4.4.121 running in gnome-terminal-)
> inxi: 2.3.5
>  
> 
> 
> best regards,
> Steven



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

2018-03-11 Thread Benoit B
J'ai pu tester muttprint avec les sources.

Quant à LaTeX, je me suis fait ma propre installation sans les paquets debian.
Il y a de chouettes outils dans la distribution TeX Live pour le faire
aisément et
ensuite installer uniquement les classes dont on a besoin à partir du
CTAN (ctan.org).

Donc pour les dépendances du paquet debian c'est comme si je n'avais rien.

Mais apparemment muttprint  peut utiliser la distribution LaTeX qui
est installée.

D'après le README.Latex des sources il faut juste ça :

· array.sty
· babel.sty
· fancyhdr.sty
· fancyvrb.sty
· fontenc.sty
· graphicx.sty
· inputenc.sty
· lastpage.sty
· marvosym.sty
· textcomp.sty

Il me manquait juste lastpage.sty que j'ai installé.

Donc de ce côté ca va,

Mais le problème c'est que muttprint imprime des pages de caractères
du Contennt-Transfer-Encoding: base 64 au lieux de le voir comme une
pièce jointe...

Et là je ne trouves pas d'option dans la doc.

Qlq a une idée ?

Merci d'avance.

--
Benoit



Le 11 mars 2018 à 17:24, JF Straeten  a écrit :
>
> Re,
>
>
> On Sun, Mar 11, 2018 at 11:10:49AM +0100, Benoit B wrote:
>
>> Merci pour l'info, c'est une super idée, j'étais enthousiaste de
>> tester muttprint, mais je ne suis pas parvenu à l'installer, car je
>> n'ai passez de place sur mon disque.
>> Le paquet muttprint a plus d'un 1.3 Go de dépendances avec texlive.
>
>> Comme j'ai toujours été horrifié par le volume du paquet
>> texlive-latex-extra, j'ai pris l'habitude d'installer moi même les
>> classes LaTeX dont j'avais besoin dans ce paquet...
>
> Tu es sûr que c'est celui-là ? Aptitude me dit ± 52 Mb décompressé
> ici, ce qui n'est pas le Pérou...
>
> Ou bien tu n'avais rien du tout de LaTeX sur cette machine, ce qui a
> entraîné une installation de paquets massive ?
>
>
>> Tu as une idée pour contourner ce problème ?
>
> Pour l'évaluer uniquement, il te suffirait de télécharger les sources
> ici http://muttprint.sf.net/, décompresser le .tar.gz, puis de tester
> comme ceci depuis le répertoire d'extraction :
>
> perl ./muttprint -f 
>
> Il devrait imprimer le mail sur l'imprimante par défaut du système.
>
> Ensuite, si ça te botte, il faudra sévir : soit faire de la place pour
> une install orthodoxe, soit se résoudre à des trucs qui bypassent
> APT...
>
> Hih,
>
> --
>
> JFS.
>



Re: AppArmor permissions to create a specific directory

2018-03-11 Thread Bob Weber

On 3/11/18 2:13 PM, André Rodier wrote:

On 11/03/18 17:56, André Rodier wrote:

Hello,

I am working on a project to help self hosting emails with Debian.

I reached a point I am satisfied, but I have an issue with AppArmor some
experts may know how to solve.

I have set the rules with Dovecot and AppArmor, and it works very well
so far, except when the mail folder is not existing yet.

Is there any way to write a permission for AppArmor, that will let
dovecot create the maildir folder when it is not exists.

This is the error I have, the first time a user tries to access his mail
box:

Mar 11 17:45:05 homebox kernel: [  356.357353] audit: type=1400 audit(1520790305.235:176): apparmor="DENIED" operation="mkdir" 
profile="/usr/lib/dovecot/imap" name="/home/users/andre/mails/" pid=32645 comm="imap" requested_mask="c" 
denied_mask="c" fsuid=1001 ouid=1001

Obviously, I don't want to add a rule to let dovecot to write in the
home directory!

Thanks for your help,
André


OK, I am now creating the mail folders before the deployment of Dovecot,
for each user.

Actually, this make more sense. The only issue is when creating new users.


Check out /etc/skel.  useradd with the -m option copies that directory to the 
created user directory changing permissions and ownership to the new user.


--


*...Bob*


An FYI Re: AppArmor permissions to create a specific directory

2018-03-11 Thread Richard Owlett

On 03/11/2018 12:56 PM, André Rodier wrote:
[snip] 
I reached a point I am satisfied, but I have an issue with AppArmor some

experts may know how to solve.
[snip]


There is also an AppArmor mailing list 



In April 2016 I had sent an email to apparmor-ow...@lists.ubuntu.com on 
an administrative issue


The answer I received said in part:>

It's both for user questions and developer discussion. Traffic is
sometimes bursty. That said, just because you are not a developer, does
NOT mean that you can't and don't have useful things to contribute. Bug
reports, finding unclear or missing documentation and suggesting
improvements, testing, answering others' questions are all valuable
contributions that do not require being a developer to do. 


HTH








Re: stretch security updates

2018-03-11 Thread Daniel Bareiro

On 11/03/18 14:38, Felix Natter wrote:

> hi,

Hi, Felix.

> I had a wrong configuration in sources.list (for about half a year :-():
> 
> deb http://security.debian.org/ stretch/updates main contrib non-free
> deb-src http://security.debian.org/ stretch/updates main contrib non-free

I am using this configuration without problems. In fact, yesterday I got
the update to Stretch 9.4 with this configuration.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Starting powertop --auto-tune from systemd

2018-03-11 Thread Rainer Dorsch
Am Samstag, 10. März 2018, 15:16:29 CET schrieb bw:
> 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

Many thanks, that indeed solves the problem.

Rainer

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



Re: Deleted two partitions, system does not boot anymore

2018-03-11 Thread Rainer Dorsch
Am Sonntag, 11. März 2018, 15:38:37 CET schrieb Rainer Dorsch:
> Hi,
> 
> I deleted two partitions (or better their content)
> 
> dd if=/dev/urandom of=/dev/sdXn
> 
> in order to set them up encrypted (see http://www.andreas-janssen.de/
> cryptodisk.html, sorry for the German)
> 
> I commented both in /etc/fstab (after the first reboot failed).
> 
> Both partitions did not contain any relevant data, I am not aware that they
> have been used in the system beyond the fstab.
> 
> After rebooting the system decided not to boot anymore (hangs right at the
> beginning). The system comes up in the recovery mode and I can even login
> remotely using
> 
> systemctl start network-manager
> systemctl. start ssh
> systemctl default
> 
> >From what I can see in grub.cfg, the only difference for the recovery mode
> >is
> that the boot process stops in single user mode.
> 
> Is there a good way to start unit by unit to get from single user mode to
> normal (multiuser?) mode and check which part is failing?
> 
> Any input is welcome.
> 

Solved: my rc.local script was the causing the issue.

Sorry for the noise.

Rainer


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



Re: stretch security updates

2018-03-11 Thread Roberto C . Sánchez
On Sun, Mar 11, 2018 at 06:38:56PM +0100, Felix Natter wrote:
> hi,
> 
> I had a wrong configuration in sources.list (for about half a year :-():
> 
> deb http://security.debian.org/ stretch/updates main contrib non-free
> deb-src http://security.debian.org/ stretch/updates main contrib non-free
> 
> which I corrected now:
> 
> deb http://security.debian.org/debian-security/ stretch/updates main contrib 
> non-free
> deb-src http://security.debian.org/debian-security/ stretch/updates main 
> contrib non-free
> 
I think that either form is fine. I have some cloud systems that use the
first form and I received all the expected security updates.

> 
> But I still do not get the stretch 9.4 security updates, like
> firefox-esr for example [1].
> 
> However, looking at the package status for firefox-esr [2], there does
> not seem to be a [security] update (but maybe it's just designated
> differently since stretch?). In any case, that version
> (52.6.0esr-1~deb9u1) is installed.
> 
> Is that because the 9.4 release pulls in all sec updates in the regular
> update channel?
> 

Debian 9.4 constitutes a point release [0]. When a point release is made
the packages in the main archive are updated, usually from those that
have updated to the security suite, but also with additional
non-security updates that have been proposed by package maintainers
and/or release managers.

So, those updates, including firefox-esr, would be expected from the
standard archive sources instead of the security sources. You can tell
if you are updated to Debian 9.4 by looking at the output of any of
these commands:

$ cat /etc/debian_version 
$ lsb_release -a
$ apt-cache policy base-files 

Regards,

-Roberto

[0] https://wiki.debian.org/DebianReleases/PointReleases
-- 
Roberto C. Sánchez



stretch security updates

2018-03-11 Thread Felix Natter
hi,

I had a wrong configuration in sources.list (for about half a year :-():

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

which I corrected now:

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

Now I see when doing apt-get update:
OK:1 http://ftp.debian.org/debian stretch-updates InRelease
OK:2 http://download.virtualbox.org/virtualbox/debian stretch InRelease 
  
OK:3 http://linux.teamviewer.com/deb stable InRelease   
  
Ign:4 http://ftp.de.debian.org/debian stretch InRelease 
  
OK:5 http://linux.teamviewer.com/deb preview InRelease   
OK:6 http://ftp.de.debian.org/debian unstable InRelease
OK:7 http://ftp.de.debian.org/debian stretch Release 
Holen:8 http://security.debian.org/debian-security stretch/updates InRelease 
[63,0 kB]
Holen:10 http://security.debian.org/debian-security stretch/updates/non-free 
Sources [772 B]
Holen:11 http://security.debian.org/debian-security stretch/updates/main 
Sources [125 kB]
Holen:12 http://security.debian.org/debian-security stretch/updates/contrib 
Sources [1.384 B]
Holen:13 http://security.debian.org/debian-security stretch/updates/main i386 
Packages [341 kB]
Holen:14 http://security.debian.org/debian-security stretch/updates/main amd64 
Packages [340 kB]
Holen:15 http://security.debian.org/debian-security stretch/updates/main 
Translation-en [151 kB]
Holen:16 http://security.debian.org/debian-security stretch/updates/contrib 
i386 Packages [1.776 B]
Holen:17 http://security.debian.org/debian-security stretch/updates/contrib 
amd64 Packages [1.776 B]
Holen:18 http://security.debian.org/debian-security stretch/updates/contrib 
Translation-en [1.759 B]
Holen:19 http://security.debian.org/debian-security stretch/updates/non-free 
i386 Packages [1.268 B]
Holen:20 http://security.debian.org/debian-security stretch/updates/non-free 
amd64 Packages [1.268 B]
Holen:21 http://security.debian.org/debian-security stretch/updates/non-free 
Translation-en [481 B]
Es wurden 1.030 kB in 1 s geholt (664 kB/s). 
Paketlisten werden gelesen... Fertig

But I still do not get the stretch 9.4 security updates, like
firefox-esr for example [1].

However, looking at the package status for firefox-esr [2], there does
not seem to be a [security] update (but maybe it's just designated
differently since stretch?). In any case, that version
(52.6.0esr-1~deb9u1) is installed.

Is that because the 9.4 release pulls in all sec updates in the regular
update channel?

[1] https://www.debian.org/News/2018/20180310
[2] https://packages.debian.org/search?searchon=sourcenames=firefox-esr

Many Thanks and Best Regards,
-- 
Felix Natter
debian/rules!



Re: SOLVED Re: Missing libGL.so.1 from ldconfig

2018-03-11 Thread The Wanderer
On 2018-03-11 at 13:10, Curt Howland wrote:

> Good questions:
> 
> The Wanderer  wibbled:

>> (Also, have you checked that directory to confirm that libGL.so.1 is
> actually present there?)
> 
> No, its not.
> 
> $ dir /usr/lib/i386-linux-gnu/libGL*
> lrwxrwxrwx 1 root root 15 Sep 13  2015
> /usr/lib/i386-linux-gnu/libGLU.so.1 -> libGLU.so.1.3.1
> 
> # find /usr -name libGL.so.1
> ./lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
> ./lib/mesa-diverted/i386-linux-gnu/libGL.so.1
> ./lib/x86_64-linux-gnu/libGL.so.1
> 
> # ls -al lib/mesa-diverted/i386-linux-gnu/libGL.so.1
> lrwxrwxrwx 1 root root 14 Mar 21  2017
> lib/mesa-diverted/i386-linux-gnu/libGL.so.1 -> libGL.so.1.2.0
> 
> So why would "mesa-diverted" be here, and nothing pointing to it?

If I'm not mistaken, that directory pattern is put in place by the
glx-diversions package. I'm not terribly familiar with what that package
does in any detail, but if you want to find out, that might be the place
to start looking.

Based on that file pattern, I'd guess (and this is *only* a guess) that
at some point a different (non-mesa) GLX stack got installed, but only
in amd64 form, and glx-diversions diverted both architectures' files
because combining incompatible stacks isn't a good idea.

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


Troubles with my thinkpad e560 ev0

2018-03-11 Thread stuv
Hi everyone,

i've installed debian 9 stable and everything is working so far..

one of the troubles is the graphics - it has an intel and an amd radeon
card installed and at boot time (after grub) i've to enter my
username/pw to procceed (just hitting enter does the thing also)..

i tried everything like firmware-amd-graphics or firmware-misc-nonfree
and other stuff but i'm not able to get rid of the login nor do i get
the 3d card working :X

here the data you need to help me to resolve the issue(s): (http://past
e.debian.net/1013384/)

System:Host: walkstation Kernel: 4.9.0-4-amd64 x86_64 (64 bit gcc:
6.3.0)
   Desktop: Cinnamon 3.2.7 (Gtk 3.22.11) dm: lightdm Distro:
Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: LENOVO product: 20EV003EGE v:
ThinkPad E560 Chassis: type: 10
   Mobo: LENOVO model: 20EV003EGE v: SDK0J40697 WIN UEFI:
LENOVO v: R00ET54W (1.29 ) date: 05/18/2017
BatteryBAT0: charge: 43.6 Wh 100.0% condition: 43.6/47.5 Wh (92%)
volts: 12.4/10.8
   model: SANYO LNV-45N1 serial: 1352 status: Discharging
CPU:   Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
   flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips:
10368
   clock speeds: min/max: 400/3100 MHz 1: 438 MHz 2: 437 MHz 3:
400 MHz 4: 459 MHz
Graphics:  Card-1: Intel HD Graphics 520 bus-ID: 00:02.0 chip-ID:
8086:1916
   Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD
8670A/8670M/8750M]
   bus-ID: 02:00.0 chip-ID: 1002:6600
   Display Server: X.org 1.19.2 drivers: modesetting (unloaded:
fbdev,vesa)
   tty size: 191x22 Advanced Data: N/A for root
Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
bus-ID: 00:1f.3 chip-ID: 8086:9d70
   Sound: Advanced Linux Sound Architecture v: k4.9.0-4-amd64
Network:   Card: Intel Ethernet Connection I219-V driver: e1000e v:
3.2.6-k bus-ID: 00:1f.6 chip-ID: 8086:1570
   IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac:

Drives:HDD Total Size: 2256.5GB (41.5% used)
   ID-1: /dev/sda model: SAMSUNG_MZ7TY256 size: 256.1GB serial:
S307NB0HB17811 temp: 36C
   ID-2: USB /dev/sdb model: Expansion size: 2000.4GB serial:
S362J9BH904243 temp: 0C
Partition: ID-1: / size: 96G used: 11G (12%) fs: ext4 dev: /dev/sda2
   ID-2: /media/stuv/Data size: 129G used: 27G (22%) fs: ext4
dev: /dev/sda4
   ID-3: /boot/efi size: 511M used: 132K (1%) fs: vfat dev:
/dev/sda1
   ID-4: /media/stuv/backup_linux size: 1.5T used: 809G (57%)
fs: ext4 dev: /dev/sdb1
   ID-5: /media/stuv/backup_windows size: 333G used: 19G (6%)
fs: fuseblk dev: /dev/sdb2
   ID-6: swap-1 size: 8.47GB used: 0.00GB (0%) fs: swap dev:
/dev/sda3
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
   Fan Speeds (in rpm): cpu: 0
Repos: Active apt sources in file: /etc/apt/sources.list
   deb http://ftp.debian.org/debian/ stretch main non-free
   deb-src http://ftp.debian.org/debian/ stretch main non-free
   deb http://security.debian.org/debian-security
stretch/updates main contrib non-free
   deb-src http://security.debian.org/debian-security
stretch/updates main contrib non-free
   deb http://debian.inode.at/debian/ stretch-updates main
contrib non-free
   deb-src http://debian.inode.at/debian/ stretch-updates main
contrib non-free
   deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial
main
   deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu
xenial main
Info:  Processes: 204 Uptime: 34 min Memory: 2378.5/7871.1MB Init:
systemd v: 232 runlevel: 5 Gcc sys: 6.3.0
   Client: Shell (bash 4.4.121 running in gnome-terminal-)
inxi: 2.3.5
 


best regards,
Steven

Flash player for opera browser

2018-03-11 Thread Marc Hodgson
The IP my vpn uses is banned from accessing the Debian Wiki, and I need 
to install a flash player in Opera browser. Does anyone have current 
instructions for Debian Stretch (9.3)?


Thanks



SOLVED Re: Missing libGL.so.1 from ldconfig

2018-03-11 Thread Curt Howland
Good questions:

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

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

> what snippets do you have there, and what directories they point to?

$ dir /etc/ld.so.conf.d/
total 24
-rw-r--r-- 1 root root  38 Jan 16  2017 fakeroot-x86_64-linux-gnu.conf
-rw-r--r-- 1 root root 108 Jan 14 05:39 i386-linux-gnu.conf
-rw-r--r-- 1 root root  44 Mar 20  2016 libc.conf
-rw-r--r-- 1 root root  92 Jan 16  2016 trinitylibs.conf
-rw-r--r-- 1 root root  68 May 28  2017 x86_64-linux-gnu.conf
-rw-r--r-- 1 root root  56 Jun 15  2017 zz_i386-biarch-compat.conf

> In particular, do any of them point to /usr/lib/i386-linux-gnu/ ?

$ cd /etc/ld.so.conf.d/
/etc/ld.so.conf.d
$ grep i386 *
i386-linux-gnu.conf:/lib/i386-linux-gnu
i386-linux-gnu.conf:/usr/lib/i386-linux-gnu

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

No, its not.

$ dir /usr/lib/i386-linux-gnu/libGL*
lrwxrwxrwx 1 root root 15 Sep 13  2015
/usr/lib/i386-linux-gnu/libGLU.so.1 -> libGLU.so.1.3.1

# find /usr -name libGL.so.1
./lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
./lib/mesa-diverted/i386-linux-gnu/libGL.so.1
./lib/x86_64-linux-gnu/libGL.so.1

# ls -al lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 14 Mar 21  2017
lib/mesa-diverted/i386-linux-gnu/libGL.so.1 -> libGL.so.1.2.0

So why would "mesa-diverted" be here, and nothing pointing to it? Let
me try adding the mesa-diverted directory to the ld.so.conf.d and see
what happens.

# cat local.conf
/usr/lib/mesa-diverted/i386-linux-gnu
# ldconfig
# 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/mesa-diverted/i386-linux-gnu/libGL.so.1

Thank you that worked. Now why on one system and not another, both
Debian stable, that is the great mystery.

Curt-

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



Re: hwclock incorrectly set ?

2018-03-11 Thread David Wright
On Sat 10 Mar 2018 at 21:19:00 (-0800), Rick Thomas wrote:
> 
> 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.

Why? Windows has made big strides with supporting UTC in the RTC,
so this view is real just a legacy view.

Take a look at the Date and Time Settings page in Windows, and
set the option there for RTC is UTC. Unset options for DST
adjustments and any time adjustments, and if it concerns you
set a TimeZone for Windows to display.

It's taken years for the penny to drop, but I think MS has
actually realised that running a RTC on local time is
fundamentally broken (spelled impossible). As usual, many of
their problems along the way have been caused by a reluctance
to bite the bullet in one go.

> 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…

Which can be enough to screw up the work that ntp does (see below).

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

My experience with ntp has been: install and forget.
As for any messages at startup, these might take a while to disappear.
AIUI they can be caused by fsck when it checks the root filesystem.

At this time, the system clock's only handle on time is the RTC.
The system can correct this for drift, but only after it knows what
the drift rate is, and that obviously requires running ntp over a
sufficient time period *with no interference from other well-meaning
software (or human) intervention.* Hence the importance of making
Windows leave the clock alone.

Cheers,
David.



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

2018-03-11 Thread JF Straeten

Re,


On Sun, Mar 11, 2018 at 11:10:49AM +0100, Benoit B wrote:

> Merci pour l'info, c'est une super idée, j'étais enthousiaste de
> tester muttprint, mais je ne suis pas parvenu à l'installer, car je
> n'ai passez de place sur mon disque.
> Le paquet muttprint a plus d'un 1.3 Go de dépendances avec texlive.

> Comme j'ai toujours été horrifié par le volume du paquet
> texlive-latex-extra, j'ai pris l'habitude d'installer moi même les
> classes LaTeX dont j'avais besoin dans ce paquet...

Tu es sûr que c'est celui-là ? Aptitude me dit ± 52 Mb décompressé
ici, ce qui n'est pas le Pérou...

Ou bien tu n'avais rien du tout de LaTeX sur cette machine, ce qui a
entraîné une installation de paquets massive ?


> Tu as une idée pour contourner ce problème ?

Pour l'évaluer uniquement, il te suffirait de télécharger les sources
ici http://muttprint.sf.net/, décompresser le .tar.gz, puis de tester
comme ceci depuis le répertoire d'extraction :

perl ./muttprint -f 

Il devrait imprimer le mail sur l'imprimante par défaut du système.

Ensuite, si ça te botte, il faudra sévir : soit faire de la place pour
une install orthodoxe, soit se résoudre à des trucs qui bypassent
APT...

Hih,

-- 

JFS.



Re: Actualitzacio BIOS [NOT SOLVED]

2018-03-11 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 11/03/18 a les 12:25, Robert Marsellés ha escrit:
> En qualsevol cas, el darrer missatge era per deixar constància que també
> es podia fer d'aquesta manera (encara que jo no me'n sortís). El que
> certament no m'esperava era haver d'estar connectat per actualitzar una
> cosa que se suposa que funciona abans que el sistema operatiu hagi posat
> la màquina al 100% (és una contradicció independentment del SO que
> s'utilitzi).

Intel, com tants altres fabricants amb controladors privatius, pot
suposar que la immensa majoria d'usuaris faran l'actualització des de la
mateixa instal·lació de Microsoft Windows que utilitzen al dia a dia.
Amb això, aquesta mena de fabricants sol aprofitar per instal·lar
programari «extra», com ara un suposat servei de suport, lector de
manuals o monitoritzador de l'estat del maquinari (tipic també amb
NVidia, Hewlett Packard, etc.)

Aquest programari (de necessitat dubtosa) és una forma troiana de tenir
un millor accés al teu sistema, identitat i informació.



Deleted two partitions, system does not boot anymore

2018-03-11 Thread Rainer Dorsch
Hi,

I deleted two partitions (or better their content)

dd if=/dev/urandom of=/dev/sdXn

in order to set them up encrypted (see http://www.andreas-janssen.de/
cryptodisk.html, sorry for the German)

I commented both in /etc/fstab (after the first reboot failed).

Both partitions did not contain any relevant data, I am not aware that they 
have been used in the system beyond the fstab.

After rebooting the system decided not to boot anymore (hangs right at the 
beginning). The system comes up in the recovery mode and I can even login 
remotely using 

systemctl start network-manager
systemctl. start ssh
systemctl default

>From what I can see in grub.cfg, the only difference for the recovery mode is 
that the boot process stops in single user mode.

Is there a good way to start unit by unit to get from single user mode to 
normal (multiuser?) mode and check which part is failing?

Any input is welcome.

Thanks
Rainer

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



Re: HS: Virtualisation côté serveur

2018-03-11 Thread Raphaël POITEVIN
Bonjour Chistophe,

Tout d’abord merci pour le décryptage.

Christophe De Natale  writes:
> * une partition "boot" de 300 Mo

Perso je suis dubitatif avec la partition boot qui se remplit vite avec
les maj noyau. Il faut penser à nettoyer régulièrement et j’ai réussi à
faire quelques bêtises et à ne plus pouvoir booter mon système.

> * le reste du disque en lvm nommé "lvm-pool" dans lequel on met :
> # 20 Go pour la racine
> # le reste pour "home"

On mets les VM dans home je suppose ; mais j’anticipe, je n’ai pas
encore tout lu.

> # 5 Go libre pour d'éventuels snapshot

Pour pouvoir agrandir une des partitions c’est ça ?

Cordialement,
-- 
Raphaël POITEVIN



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

2018-03-11 Thread daniel huhardeaux

Le 11/03/2018 à 14:14, G2PC a écrit :


[...]
Pour SSH :
ssh -gNL 1080:mysql-base.alwaysdata.net:3306
utilisateur_de_ma_b...@mysql-base.alwaysdata.net
ssh: connect to host mysql-base.alwaysdata.net port 22: Network is
unreachable
zsh: exit 255   ssh -gNL 1080:mysql-base.alwaysdata.net:3306
utilisateur_de_ma_b...@mysql-base.alwaysdata.net

dh@deex:~$ nmap -A -T4 mysql-base.alwaysdata.net

Starting Nmap 7.01 ( https://nmap.org ) at 2018-03-11 14:45 CET
Nmap scan report for mysql-base.alwaysdata.net (185.31.40.55)
Host is up (0.053s latency).
Other addresses for mysql-base.alwaysdata.net (not scanned): 
2a00:b6e0:1:100:11::1

rDNS record for 185.31.40.55: mysql11.paris1.alwaysdata.com
Not shown: 998 closed ports
PORT STATE SERVICE    VERSION
110/tcp  open  pop3-proxy Astaro firewall pop3 proxy
3306/tcp open  mysql  MySQL 5.5.5-10.1.31-MariaDB
| mysql-info:
|   Protocol: 53
|   Version: .5.5-10.1.31-MariaDB
|   Thread ID: 7176412
|   Capabilities flags: 65535
|   Some Capabilities: IgnoreSigpipes, SwitchToSSLAfterHandshake, 
SupportsTransactions, Speaks41ProtocolNew, FoundRows, LongPassword, 
InteractiveClient, Support41Auth, LongColumnFlag, Speaks41ProtocolOld, 
SupportsLoadDataLocal, IgnoreSpaceBeforeParenthesis, 
DontAllowDatabaseTableColumn, ODBCClient, ConnectWithDatabase, 
SupportsCompression

|   Status: Autocommit
|_  Salt: ]=Vz#>LCK.EPC?R\W!https://nmap.org ) at 2018-03-11 14:49 CET
Nmap scan report for mysql-base.alwaysdata.net (185.31.40.55)
Host is up (0.093s latency).
Other addresses for mysql-base.alwaysdata.net (not scanned): 
2a00:b6e0:1:100:11::1

rDNS record for 185.31.40.55: mysql11.paris1.alwaysdata.com
Not shown: 64534 closed ports

Pas de port ssh ouvert, uniquement 110 et 3306.

--
Daniel



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

2018-03-11 Thread G2PC
Le 11/03/2018 à 13:25, Ph. Gras a écrit :
> Moi, j'y arrive quand bien même mon tunnel SSH n'est pas sur le port 22 :
>
> # mysql -u root -p mysql-base.alwaysdata.net
> Enter password: 
> ERROR 1049 (42000): Unknown database 'mysql-base.alwaysdata.net'
> # mysql -u user -p mysql-base.alwaysdata.net
> Enter password: 
> ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using 
> password: YES)
> # mysql -u user -h mysql-base.alwaysdata.net
> ERROR 1045 (28000): Access denied for user 'user'@'MON IP' (using password: 
> NO)
> # mysql -u user -p -h mysql-base.alwaysdata.net
> Enter password: 
> ERROR 1045 (28000): Access denied for user 'user'@'MON IP' (using password: 
> NO)
> # 
>
> Logique, puisque l'utilisateur user n'existe pas et je n'ai pas le password.
>
> Mais le serveur mysql-base.alwaysdata.net répond ;-)
>
> Je pense que c'est ton script qui déconne quelque part.
>
> Bonne pioche,
>
> Ph. Gras

Pour la simple connexion mysql, ça fonctionne parfaitement avec mon script :
mysql -uUTILISATEUR -pPASSWORD -hSERVEUR -D BASEDEDONNEES -e 'SELECT *
FROM TABLE'

Exemple si j'intérroge une table ici :

mysql: [Warning] Using a password on the command line interface can be
insecure.
++
| Tables_in_base_affiliation |
++
| table_affiliation  |
| table_canalweb |
| table_langue   |
| table_partenariat  |
| table_pays |
++

Allé, j'ai tenté, avec le paramètre --ssl comme conseillé par
l'hébergeur, j'obtiens ceci :

mysql: [Warning] Using a password on the command line interface can be
insecure.
WARNING: --ssl is deprecated and will be removed in a future version.
Use --ssl-mode instead.
++
| Tables_in_base_affiliation |
++
| table_affiliation  |
| table_canalweb |
| table_langue   |
| table_partenariat  |
| table_pays |
++


Pour SSH :
ssh -gNL 1080:mysql-base.alwaysdata.net:3306
utilisateur_de_ma_b...@mysql-base.alwaysdata.net
ssh: connect to host mysql-base.alwaysdata.net port 22: Network is
unreachable
zsh: exit 255   ssh -gNL 1080:mysql-base.alwaysdata.net:3306
utilisateur_de_ma_b...@mysql-base.alwaysdata.net





signature.asc
Description: OpenPGP digital signature


Re: Boot hangs after upgrade to 9.4 at sp5100_tco I/0 address 0x0cd6 already in use

2018-03-11 Thread Curt
On 2018-03-11, Curt  wrote:


It seems that on this AMD machine I would have been better advised to
blacklist the 'i2c_piix4' module rather than the sp5100_tco watchdog.

I wonder what the canonical procedure for this should be?  A file in
/etc/modprobe.d? A kernel command line parameter?

> Hi there,
>
> So, intrepid me (not really) I upgrade my Stretch to 9.4 and (re)booted this
> morning without success (boot hangs at or with the line "sp5100_tco I/0
> address 0x0cd6 already in use").
>
> Now, I'm impatient by nature, and after five or ten minutes staring at the
> "sp5100" line I rebooted into recovery mode, whereupon a fsck was
> performed. At which point I entered the "systemctl default" command and
> the machine booted up fine into my LXDE desktop.
>
> I blacklisted the 'sp5100_tco module.' Apparently there is a conflict
> between that module and the i2c_piix4 module. It appears I can have one
> or the other but not both at the same time.
>
> I'm unclear about the implications of my blacklisting sp5100 but after
> having done so I rebooted successfully with no hangs.
>
> BTW, I've had the sp5100 warning message at boot ever since I converted
> to systemd. But with only a ten second delay or so. Not sufficient to try my
> patience.
>
> So here I am without a watchdog. 
>


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



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

2018-03-11 Thread Ph. Gras
Salut,

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

Moi, j'y arrive quand bien même mon tunnel SSH n'est pas sur le port 22 :

# mysql -u root -p mysql-base.alwaysdata.net
Enter password: 
ERROR 1049 (42000): Unknown database 'mysql-base.alwaysdata.net'
# mysql -u user -p mysql-base.alwaysdata.net
Enter password: 
ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: 
YES)
# mysql -u user -h mysql-base.alwaysdata.net
ERROR 1045 (28000): Access denied for user 'user'@'MON IP' (using password: NO)
# mysql -u user -p -h mysql-base.alwaysdata.net
Enter password: 
ERROR 1045 (28000): Access denied for user 'user'@'MON IP' (using password: NO)
# 

Logique, puisque l'utilisateur user n'existe pas et je n'ai pas le password.

Mais le serveur mysql-base.alwaysdata.net répond ;-)

Je pense que c'est ton script qui déconne quelque part.

Bonne pioche,

Ph. Gras


Re: Debian 9.3 non free bogue d'installation

2018-03-11 Thread Haricophile
Le Sun, 11 Mar 2018 10:45:07 +0100,
didier gaumet  a écrit :

> je n'arrive pas à retrouver un lien mais il me semble bien avoir vu
> quelque part un commentaire officiel de l'équipe Debian indiquant que
> les versions Live ne bénéficient pas des mêmes soins que les versions
> normales et que si la situation ne s'améliorait pas les versions Live
> seraient tout simplement supprimées car trop buguées

Je ne sais pas, mais c'est certain que ce n'est pas leur priorité. Pour une
live, soit je considérerais que la Debian est une base pour construire sa
propre live, il y a tous les outils, soit j'utiliserais une des nombreuses
dérivée bien paufinées genre Linux Mint ou autre (dont des spécialisées comme
Librazik).





Re: Actualització BIOS [NOT SOLVED]

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

El 11/03/18 a les 10:11, Àlex ha escrit:
> 
 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ó.
> 
> Robert, a mi em continua semblant que els programes de flashejar que
> distribuia intel eren per Windows, no per FreeDOS o MSDOS.
> 

No dic que no. Dic que no ho sé. Ja vaig explicar que mai ho havia fet
abans. Com a usuari, els meus coneixements tècnics i les relacions
"hardware-software" són certament limitats. Per això vaig preguntar a la
llista. Gràcies novament per la vostra paciència.

Per altra banda, com a client de MSI crec que he d'anar a ells per
demanar-los explicacions i solucions. Jo no tinc rés a veure amb Intel
llevat el processador que conté. De fet, MSI proporciona el codi per fer
l'actualització de l'Intel ME com també per la BIOS.

Des del meu punt de vista d'usuari, no hi ha diferència entre les 2
actualitzacions. Per això, jo pensava que funcionaria com les
actualitzacions de BIOS. Es descarreguen, es copien a un USB, s'arrenca
des de l'USB, i després de fer córrer el codi, BIOS actualitzada. També
soc nou en aquest camp però no vaig tenir cap problema més enllà del
temor irracional a fer coses per primer cop.

En qualsevol cas, el darrer missatge era per deixar constància que també
es podia fer d'aquesta manera (encara que jo no me'n sortís). El que
certament no m'esperava era haver d'estar connectat per actualitzar una
cosa que se suposa que funciona abans que el sistema operatiu hagi posat
la màquina al 100% (és una contradicció independentment del SO que
s'utilitzi).

> Crec que hi ha versions legals de Live Windows a la xarxa , que et
> deixen arrencar amb un CD o USB de Windows sense instal.lar-se al USB,
> el que anomenen Windows PE (portable edition)
> 

Si. En les meves cerques, he trobat informació sobre això també. Estem
en un cas similar. Jo no em dedico a això, jo no uso Win en un ordinador
on hi havia la possibilitat de no usar Win. Si ningú (de +- confiança)
m'ho explica abans (com esteu fent vosaltres), per què hauria de fer cas
a aquesta opció en particular entre la multitud d'opcions que he trobat?

Un altre exemple, he descobert un problema de "harware" relacionat amb
el fet d'usar Linux. Tinc 2 ventiladors. Un se suposa que és per la
targeta gràfica. Mai funciona inclús quan la utilitzo per fer els
gràfics resultants de modelitzacions i simulacions. A més, just quant
tot es fica en marxa, als "logs" apareix sempre un parell de línies
d'error relacionades amb ACPI i no trobar algun fitxer o recurs.

Jo suposo que les 2 coses estan relacionades però després de cercar
molt, ho he deixat estar com alguns heu suggerit abans per les BIOS ja
que tot el que trobo cal MSI és pels propietaris que usen Win i quelcom
relacionat amb el "Gaming ...". En això, no he volgut molestar perquè
penso que no es tant important (= no he trobat cap conseqüència dolenta)
i el problema és molt particular. Els temes de seguretat em semblen més
importants (ves per on).

> Ara mateix el primer que trobo es un Windows 8 PE i Windows 10 PE que un
> senyor, Strelec, ha omplert de software pirata. N'ha d'haver de legals.
> T'envio l'enllaç en privat.
> 

Merci a tots novament.

robert



Boot hangs after upgrade to 9.4 at sp5100_tco I/0 address 0x0cd6 already in use

2018-03-11 Thread Curt

Hi there,

So, intrepid me (not really) I upgrade my Stretch to 9.4 and (re)booted this
morning without success (boot hangs at or with the line "sp5100_tco I/0
address 0x0cd6 already in use").

Now, I'm impatient by nature, and after five or ten minutes staring at the
"sp5100" line I rebooted into recovery mode, whereupon a fsck was
performed. At which point I entered the "systemctl default" command and
the machine booted up fine into my LXDE desktop.

I blacklisted the 'sp5100_tco module.' Apparently there is a conflict
between that module and the i2c_piix4 module. It appears I can have one
or the other but not both at the same time.

I'm unclear about the implications of my blacklisting sp5100 but after
having done so I rebooted successfully with no hangs.

BTW, I've had the sp5100 warning message at boot ever since I converted
to systemd. But with only a ten second delay or so. Not sufficient to try my
patience.

So here I am without a watchdog. 

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



Re: Debian 9.3 non free bogue d'installation

2018-03-11 Thread Pierre L.
Bonjour,

pas suivis tout le fil, mais j'aperçois une 9.4 qui a pointé le bout de
son nez, les bugs sont probablement fixed ;)



Le 11/03/2018 à 10:45, didier gaumet a écrit :
> (désolé G2PC, je t'ai répondu par inadvertance en privé)
>
> je n'arrive pas à retrouver un lien mais il me semble bien avoir vu
> quelque part un commentaire officiel de l'équipe Debian indiquant que
> les versions Live ne bénéficient pas des mêmes soins que les versions
> normales et que si la situation ne s'améliorait pas les versions Live
> seraient tout simplement supprimées car trop buguées
>
> donc les médias Live à la grande rigueur pour tester (mais de nos jours
> c'est vraiment facile de tester dans une machine virtuelles ou
> d'installer une version normale sur une clé USB...) mais pour installer,
> privilégier les médias d'installation...
>




signature.asc
Description: OpenPGP digital signature


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

2018-03-11 Thread Benoit B
Bonjour,

Merci pour l'info, c'est une super idée, j'étais enthousiaste de
tester muttprint, mais je ne suis pas parvenu à l'installer, car je
n'ai passez de place sur mon disque.
Le paquet muttprint a plus d'un 1.3 Go de dépendances avec texlive.

Comme j'ai toujours été horrifié par le volume du paquet
texlive-latex-extra, j'ai pris l'habitude d'installer moi même les
classes LaTeX dont j'avais besoin dans ce paquet...

Tu as une idée pour contourner ce problème ?

Merci d'avance.

Merci d'avance.

--
Benoit


Le 10 mars 2018 à 21:28, JF Straeten  a écrit :
>
> 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: télé [résolu]

2018-03-11 Thread Klaus Becker
Le dimanche 11 mars 2018, 10:41:46 CET didier gaumet a écrit :
> Le 10/03/2018 à 14:34, Klaus Becker a écrit :
> > J'ai trouvé comment regarder et enregistrer la télé allemande par mon
> > antenne parabolique digitale.
> 
> prépare les bières et les amuse-gueule, on arrive ;-)
> (faut aussi que tu paramètres les sous-titres français: j'ai bien peur
> que mes deux ans d'allemand scolaire soient très largement insuffisants
> et quasi-oubliés)
> 
> > 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.
> 
> c'est plus pratique, mais si jamais tu pers le fichier et qu'ils ne le
> proposent plus au téléchargement, tu peux faire un scan avec les outils
> précédemment mentionnés pour le constituer
> 
> [...]
> 
> > je suppose que ça
> > fonctionne seulement avec les tuners de chez Sundtek,
> 
> [...]
> 
> je ne pense pas? ça doit plutôt recenser les canaux accessibles via un
> satellite sur toute sa zone de couverture terrestre quel que soit
> l'adaptateur DVB-S?


Peut-être, à tester.

Vlc est une solution, mais avec MythTV j'arrive toujours pas.

Bon dimanche

Klaus



Re: Debian 9.3 non free bogue d'installation

2018-03-11 Thread didier gaumet
(désolé G2PC, je t'ai répondu par inadvertance en privé)

je n'arrive pas à retrouver un lien mais il me semble bien avoir vu
quelque part un commentaire officiel de l'équipe Debian indiquant que
les versions Live ne bénéficient pas des mêmes soins que les versions
normales et que si la situation ne s'améliorait pas les versions Live
seraient tout simplement supprimées car trop buguées

donc les médias Live à la grande rigueur pour tester (mais de nos jours
c'est vraiment facile de tester dans une machine virtuelles ou
d'installer une version normale sur une clé USB...) mais pour installer,
privilégier les médias d'installation...



Re: télé [résolu]

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

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

prépare les bières et les amuse-gueule, on arrive ;-)
(faut aussi que tu paramètres les sous-titres français: j'ai bien peur
que mes deux ans d'allemand scolaire soient très largement insuffisants
et quasi-oubliés)

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

c'est plus pratique, mais si jamais tu pers le fichier et qu'ils ne le
proposent plus au téléchargement, tu peux faire un scan avec les outils
précédemment mentionnés pour le constituer

[...]
> je suppose que ça 
> fonctionne seulement avec les tuners de chez Sundtek, 
[...]

je ne pense pas? ça doit plutôt recenser les canaux accessibles via un
satellite sur toute sa zone de couverture terrestre quel que soit
l'adaptateur DVB-S?



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

2018-03-11 Thread Eric Degenetais
Le 11 mars 2018 01:46, "G2PC"  a écrit :



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.

Il y a deux techniques différentes :
_faire passer la connexion mysql par un tunnel SSH
_activer SSL sur la connexion mysql

Cordialement

Éric Dégenètais


Re: Actualització BIOS [NOT SOLVED]

2018-03-11 Thread Àlex

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

Robert, a mi em continua semblant que els programes de flashejar que
distribuia intel eren per Windows, no per FreeDOS o MSDOS.

Crec que hi ha versions legals de Live Windows a la xarxa , que et
deixen arrencar amb un CD o USB de Windows sense instal.lar-se al USB,
el que anomenen Windows PE (portable edition)

Ara mateix el primer que trobo es un Windows 8 PE i Windows 10 PE que un
senyor, Strelec, ha omplert de software pirata. N'ha d'haver de legals.
T'envio l'enllaç en privat.

T'envio l'enllaç en privat,