Re: virtualisation facile

2022-12-22 Thread Pierre Couderc
En effet.. Mais c'est une solution : monter le disque sur l’hôte et le 
partager avec la VM.


Le 12/22/22 à 23:06, Dethegeek a écrit :
Dans ce cas on ne monte plus un volume, mais un partage. Ce n'est plus 
la même chose.


Le jeu. 22 déc. 2022 à 23:05, Pierre Couderc  a écrit :


Le 12/22/22 à 20:05, Dethegeek a écrit :
> Petite remarque sur le partage de disque entre l'hôte et la VM.
Fais
> TRES attention a ne pas monter les volumes de ton disque partagé
sur
> les 2 systèmes d'exploitations a la fois. Sinon tu cours à la
> catastrophe pour son contenu.
>
>
Cela dépend du type de montage... Si c'est un montage de type réseau
(samba, sshfs... par exemple) c'est possible.


Re: virtualisation facile

2022-12-22 Thread Pierre Couderc



Le 12/22/22 à 20:05, Dethegeek a écrit :
Petite remarque sur le partage de disque entre l'hôte et la VM. Fais 
TRES attention a ne pas monter les volumes de ton disque partagé sur 
les 2 systèmes d'exploitations a la fois. Sinon tu cours à la 
catastrophe pour son contenu.



Cela dépend du type de montage... Si c'est un montage de type réseau 
(samba, sshfs... par exemple) c'est possible.




Re: virtualisation facile

2022-12-21 Thread Pierre Couderc



Le 12/21/22 à 14:03, Dethegeek a écrit :

La virtualisation ne sert pas qu'à résoudre des problématiques réseau.

Elle permet aussi de concentrer sur une seule machine physique 
plusieurs rôles qui ne sont pas compatibles entre eux (requérant des 
os totalement différents)


Elle permet aussi de réduire l'impact de pannes. Si un service est 
impacté dans une VM, il a peu de chance de propager des effets de bord 
à un autre service (mais l'hôte reste un point de faiblesse).


Le cloisonnement par VM peut aussi être une solution pour ralentir ou 
limiter l'impact d'un intrus. Une fois dans une VM, si le réseau est 
bien configuré, on peut ralentir ou stopper l'étendue de l'attaque.


Une VM avec un seul service, en panne, peut se reconstruire plus 
facilement qu'un système avec 5 services "entremêlés dans une unique 
instance du système d'exploitation. La restauration par sauvegarde 
peur aussi aller plus vite.



Enfin, une machine virtuelle peut être capturée dans un état 
instantané, un Snapshot, avant de faire un upgrade risqué. Si ça se 
assez mal, on revient à l'étendue limitée de panne. Une restauration 
d'un Snapshot prend quelques secondes a quelques minutes. C'est bien 
plus rapide que  restaurer un backup. Il faut compter le même ordre de 
rapidité pour créer un Snapshot. C'est un confort incomparable avec 
une sauvegarde traditionnelle de précaution.


Enfin la portabilité d'une VM d'un hôte a un autre est plus facile à 
assurer car le matériel virtualisé est invariable tant que 
l'hyperviseur reste le même. Et encore, entre les différents produits, 
le matériel émulé ne change pas énormément.




Mmm, c'est exact, mais il faut séparer deux problématiques bien distinctes :

1- la virtualisation proprement dite, quand on a besoin de machines (VM 
Windows, ARM...) complètement différentes pour lequel QEMU est sûrement 
le plus adapté.


2- l'isolement des fonctions, les containers, pour laquelle un outil 
linux m’apparaît comme bien plus efficace et génial, tant que les VMs 
restent en linux  : LXD...


La description de la virtualisation de Dethegeek ci-dessus  me semble 
s’appliquer plus à l'isolement des fonction qu'à la virtualisation 
proprement dite. Le deux outils sont magiques mais chacun à sa place.




Re: virtualisation facile

2022-12-21 Thread Pierre Couderc



Le 12/21/22 à 11:21, Basile Starynkevitch a écrit :


Mais j'aimerais bien comprendre dans quels buts les gens veulent une 
VM système.



Pour ma part, je trouve que c'est un gaspillage de resource.

Un Linux convenablement configuré (ie. iptables et schroot) devrait la 
plupart du temps suffire.





Pour ma part, pour développer et surtotu tester sous linux (mon 
environnement de base)  pour un autre environnement  tel que :


- Windows

- Rapberry pi...

Peut-être aussi pour certains pour jouer sous Windows

Wine est parfois, mais parfois seulement, une alternative.

(Mais je n'ai peut -être pas bien interprété le mot "VM système")



Re: virtualisation facile

2022-12-21 Thread Pierre Couderc

Le 12/21/22 à 11:15, benoit a écrit :

Bonjour,

Virtualbox, n'est pas dans les paquets debian, est-ce parce que ça 
contrevient à la charte ?

Y-a-t-il des choses non libres dans Virtualbox ?

Je recherche un moyen facile et entièrement libre de mettre en place 
un VM.




QEMU me semble la référence, éprouvé, entièrement libre...

Facile...? Les paramètres sont très nombreux.

Il faut prendre un tutorial qui fonctionne et le suivre pas a pas.

Exemple d'un fichier bash startxp  qui fonctionne pour un xp, mais qui 
est loin d'être optimisé :


#!/bin/sh
# Batch d'execution XP
qemu-system-x86_64  -enable-kvm   -uuid 
564d6522-2227-cda9-d1c7-390c71f68dba -dr
ive driver=qcow2,file=/home/nous/qemu/xp/TOLL-XPVM.qcow2   -net 
nic,model=rtl813

9,macaddr=52:54:89:F6:8D:BE    -net user  -vga vmware -m 2G

Je me le mets dans un fichier xp.desktop /usr/local/share/applications :

[Desktop Entry]
Version=1.0
Name=XP qemu
Exec=/home/nous/projets/root/usr/local/bin/startxp
Icon=/home/nous/projets/root/icons/qemu-xp.svg
Terminal=false
Type=Application
Categories=Development;
Keywords=;

De sorte que je le lance en cliquant sur l’icône...


Re: Re : Re: Re : Éditeur collaboratif

2022-12-19 Thread Pierre Couderc


Le 12/19/22 à 19:53, benoit a écrit :


... l’égalité qu’elle prône ?

--
Il n'y a pas égalité entre l'homme et la femme, il y a différence, et 
c'est une merveille !. Il n'est pas question de supériorité de l'un ou 
de l'autre mais de jubilation devant la diversité. Et en ce qui me 
concerne d’émerveillement devant les femmes... Vive le sexe, laissons le 
genre à la grammaire.

Re: Re : Re: Re : Éditeur collaboratif

2022-12-19 Thread Pierre Couderc

L'Académie française le dira mieux que moi :

https://www.academie-francaise.fr/actualites/lettre-ouverte-sur-lecriture-inclusive


Le 12/19/22 à 19:53, benoit a écrit :

--- Original Message ---
On lundi 19 décembre 2022 à 19:40, Pierre Couderc  
wrote:



Aussi antifrançais (écriture inclusive)...


En quoi l'écriture inclusive serait-elle nuisible au français ?

La langue française est révisée chaque année par l'Académie française.

Ce n’est pas une langue morte, elle en constante élution.

Courriel est par exemple un nouveau mot accepté par cette dernière.

Si vous voulez que plus rien ne change, révoquez l'Académie française 
et brûlez tous les dictionnaires datant de moins de deux siècles.


Brûler les livres non conformes, ça ne vous rappelle rien ?

Ce qui vous dérange dans l’écriture inclusive, est-ce sa nouveauté ou 
l’égalité qu’elle prône ?


--
Benoît

Re: Éditeur collaboratif

2022-12-10 Thread Pierre Couderc

https://www.dokuwiki.org/dokuwiki ?

Yeswiki, ce n'est pas possible, ils utilisent l'anti français (écriture 
dite inclusive) !



On 12/11/22 07:14, Erwann Le Bras wrote:


bonsoir

au vu de ce que j'ai lu comme besoin :

  * un wiki, avec une page par enfant, puis une page par intervenant,
préparé par l'admin
le wiki n'autorise que l'auteur à modifié sa page mais tout est en
lecture pour tout le monde
mediawiki, (le moteur le Wikipedia) très riche et très suivi ou
YesWiki, issu de Wikini, très simple d'utilisation
  * comme évoqué, un CMS genre SPIP ou Drupal,

amitiés

Erwann

Le 10/12/2022 à 17:04, Alex PADOLY a écrit :


Bonsoir à tous,


Connaissez-vous un éditeur collaboratif ou un utilisateur ne peut 
effacer uniquement ce qu'il a écrit.


Merci beaucoup pour vos conseils



Re: pb wifi en installant sur Asus vivobook 14

2022-12-04 Thread Pierre Couderc

On 12/4/22 11:24, Haricophile wrote:

Le Fri, 2 Dec 2022 12:19:53 +0100,
Pierre Couderc  a écrit :


Merci, en fait , je n'en suis pas  encore là, j'en suis à comprendre
pouruqoi mon interface que je trouve dans lspci, n'est pas listé par
iwlist...

Je prefere ne pas utiliser network-manager mais seulement
wpa-supplicant.

Mais il fuat que j'arrive à detecter cette santée interface...

Au fait, je ne sais pas si c'est résolu, mais il existe des PC avec un
bouton ou une touche Fn+quelquechose qui coupe le wifi, pas toujours en
amont de la carte. Ça peut faire une carte détectée en hardware mais
pas en software selon la manière dont c'est bidouillé (je ne suis pas
dans la tête des fabricants).

Si je regarde le nouveau PC pro de ma femme, c'est plutôt le contraire,
le wifi ne se coupe pas et... il n'y a plus de carte ethernet, il faut
brancher une base pour être en filaire.


Mmm, j'ai un peu honte...

J'avais lu quelque part qu'il fallait un noyau plus récent. Je le 
builde... Ca ne marche toujours pas...


Je décide d'installer la "testing", et pendant qu'elle se charge 
d'installer Arch, par curiosité intellectuelle, pour essayer Arch 
installe sans problème et reconnait ma carte !


Pour l'instant ce PC est  toujours sous Arch...

Ce n'est pas une position de principe, toute mon infrastructure est en 
debian et pour de bonnes raisons :  je me souviens du WE où le serveur 
ubuntu mis à jour le vendredi soir avait planté toute la téléphonie de 
l'entreprise(asterix) et provoqué mon passage à debian durant  le WE...





Re: pb wifi en installant sur Asus vivobook 14

2022-12-02 Thread Pierre Couderc



Le 02/12/2022 à 09:42, didier gaumet a écrit :
Pour complémenter la réponse de Steve, lorsqu'un bureau (Gnome, KDE, 
etc...) la gestion du wifi est assurée par un gestionnaire du wifi en 
GUI (network-manager-gnome, cmst, etc...) qui est installé en 
dépendance du bureau.


Quand on installe Debian sans interface graphique, sauf erreur seule 
la gestion du réseau ethernet est installée. Il faut installer le 
paquet iw (l'équivalent de ip pour le wifi) qui est normalement 
installé en dépendance par les paquets (ici tâches) task-desktop et 
task-laptop.


Si on veut un gestionnaire wifi en CLI il y a nmcli, si on en veut un 
en TUI il y a nmtui, tous deux inclus dans network-manager, 
network-manager qui ne nécessite pas le bureau Gnome, c'est 
network-manager-gnome (le gestionnaire wifi en GUI) qui nécessite 
quelques bibliothèques gnome (peu nombreuses, network-manager-gnome 
est conçu pour travailler avec à peu près n'importe quel bureau).
Je n'évoque pas tout ça pour faire la promotion de network-manager, 
simplement pour essayer de dissiper les fréquentes erreurs 
d'interprétation qui l'accompagnent.


Merci, en fait , je n'en suis pas  encore là, j'en suis à comprendre 
pouruqoi mon interface que je trouve dans lspci, n'est pas listé par 
iwlist...


Je prefere ne pas utiliser network-manager mais seulement wpa-supplicant.

Mais il fuat que j'arrive à detecter cette santée interface...



Re: pb wifi en installant sur Asus vivobook 14

2022-12-02 Thread Pierre Couderc



Le 02/12/2022 à 07:59, steve a écrit :

Le 02-12-2022, à 07:32:37 +0100, Pierre Couderc a écrit :


Je veux essayer rfkill mais je ne le trouve pas...
Mais je ne comprends toujours pas pourquoi rfkill n'est pas 
installé...


rfkill est un paquet optionnel donc il n'est installé que si d'autres
paquets le demande. Les commandes suivantes peuvent t'aider à comprendre
pourquoi. (Le fait que tu n'as pas installé de *DE explique probablement
cela).

apt-cache rdepends rfkill
rfkill
Reverse Depends:
  acpi-support
  tlp
  sxmo-utils
  laptop-mode-tools
  freedombox
  aircrack-ng


aptitude -v why rfkill
i   acpi-support-base Suggère    acpi-support
p   acpi-support  Recommande rfkill
i   acpi-support-base Suggère    acpi-support
p   acpi-support  Recommande rfkill
i   powertop  Suggère    laptop-mode-tools
p   laptop-mode-tools Recommande rfkill
i   powertop  Suggère    laptop-mode-tools
p   laptop-mode-tools Recommande rfkill

Avec ' aptitude -vv why rfkill', tu auras encore davantage de détails.

En espérant t'avoir mis sur quelques pistes…


Merci !




Re: pb wifi en installant sur Asus vivobook 14

2022-12-01 Thread Pierre Couderc



Le 02/12/2022 à 01:36, Bernard Schoenacker a écrit :


- Mail original -

De: "Pierre Couderc" 
À: "duf" 
Envoyé: Jeudi 1 Décembre 2022 23:41:31
Objet: pb wifi en installant sur Asus vivobook 14

Bonjour,

J'ai installé  sans problème un syteme bullseye  basique (sans gui),
rajouté le firware wifi, mis le wifi n'apparait pas dans ip a.

Je veux essayer rfkill mais je ne le trouve pas...

Qu'est ce que j'oublie ?

Merci

PC


Bonjour,

Merci beaucoup d'avoir posé la question, néanmoins tout le monde
ne souhaite pas faire des recherches archéologiques concernant
la composition matérielle de ton ordi...

En premier que donne cette instruction :

lspci |grep Network

réponse d'après la doc:

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac 
PCIe Wireless Network Adapter

documentation :
https://forum.ubuntu-fr.org/viewtopic.php?id=2055508

Le module ne figure pas dans le noyau Debian...

Installer le module rtl8821ce :

https://github.com/hackson99/rtl8821ce-for-debian10

https://github.com/usernament/rtl8821ce-on-linux

tutoriel vidéo d'installation du module :

https://www.systranbox.com/how-to-install-rtl8821ce-linux/


Remarque, puisque tu affirmes une chose et qu'il serait
sage d'en avoir le cœur net :

sudo find /lib/modules -name "rtl8821*.ko"

réponse "classique" :

/lib/modules/6.0.0-2-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
/lib/modules/6.0.0-4-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko


solution répertoriée par Linux Harware :
https://linux-hardware.org/?id=pci:10ec-c821-17aa-c024


Navré pour le fouillis, mais je viens de faire les recherches
et ce n'est pas à la portée d'un "novice"...


Merci pour ton aimable attention

Bien à toi

Bernard



Merci, il est vrai que à 23h41, je n'étais pas très frais...

J'avais déjà rajouté le firmware Mediatek (indiqué par lspci), mais 
peut-être pas le bon, je repars plus frais sur le Mediatek 7961


Mais je ne comprends toujours pas pourquoi rfkill n'est pas installé...




pb wifi en installant sur Asus vivobook 14

2022-12-01 Thread Pierre Couderc

Bonjour,

J'ai installé  sans problème un syteme bullseye  basique (sans gui), 
rajouté le firware wifi, mis le wifi n'apparait pas dans ip a.


Je veux essayer rfkill mais je ne le trouve pas...

Qu'est ce que j'oublie ?

Merci

PC




Re: Certificats RGS**

2022-02-15 Thread Pierre Couderc



On 2/15/22 18:32, Basile Starynkevitch wrote:


On 15/02/2022 17:04, Pierre Couderc wrote:
Il faudrait créer une association qui se fasse reconnaître 
légalement, u peu comme let's encrypt...




Ça existe déjà, non?


Par exemple l'APRIL   https://april.org/ (dont je suis membre 
cotisant, mais peu actif, depuis fort longtemps.)



Ah oui...? l'APRIL délivre des certificats légaux...? reconnus par la 
loi...?


Envoyez moi vite le lien !




Re: Certificats RGS**

2022-02-15 Thread Pierre Couderc

On 2/15/22 17:48, mathieu.ro...@r4m.fr wrote:


« /Quand je génère des clefs ssh / gnupg / x509 j'ai besoin de 
personne et c'est gratuit/ »


Certes, c’est gratuit. Mais si tu me chiffres un mail avec cette clé 
en me disant que tu me dois 100 000 euros, même si je vais devant un 
tribunal, je n’aurai jamais gain de cause, juste parce que tout le 
monde me dira : comment peux-tu prouver que c’est Wallace l’auteur ? A 
qui s’est-il présenté et avec quelle pièce d’identité pour garantir 
que ce n’est pas quelqu’un d’autre qui a usurpé son identité ?


80€ par an pour garantir que je vais toucher les 100 000€, c’est pas 
si cher finalement comme assurance 


*Mathieu ROSSI*

Tél. 06 80 95 66 82



Mmm, cette objection est légère...

Un simple courrier une première fois peut dire : "je reconnais comme ma 
signature la clé publique ".


Ou même, affichée sur le site WEB, ou déposé par le propriétaire chez un 
huissier...




Re: Certificats RGS**

2022-02-15 Thread Pierre Couderc
Il faudrait créer une association qui se fasse reconnaître légalement, u 
peu comme let's encrypt...


On 2/15/22 16:19, Olivier wrote:

Le mar. 15 févr. 2022 à 13:06, Wallace  a écrit :

Les entreprises doivent de plus en plus dépenser des sommes inutiles à des 
rentiers pour des services quasi nuls.

+1000 ;-)))





Re: Environnement de bureau léger pour personnes venant de Windows

2022-02-13 Thread Pierre Couderc
J'utilise enlightenment ... C'est sûrement le meilleur rapport 
sexy/performances...


On 2/13/22 14:31, benoit wrote:

Bonjour à toutes et tous,

J’ai été invité à participer à une démonstration de logiciels libre, 
mais je n’utilise qu’openbox et ce n’est pas très sexy pour personne 
qui découvre GNU/Linux.


Quel serait l’environnement de bureau *léger* disponible en paquet 
Debian qui dépayserait le moins des personnes venant du monde Windows ?


Il faudrait que ça reste fluide sur un Intel Core i3-3110M @ 2.40GHz 
 
4Go de RAM.


Un des thèmes c’est aussi de démontrer l’emprunte du numérique et donc 
de faire une démo de réutilisation d’un vieux PC grâce à GNU/Linux.




Sent with ProtonMail  Secure Email.


Re: Test unitaire de réseau

2022-02-07 Thread Pierre Couderc
LXD peut être sympa pour cela, en regroupant plusieurs VM dans une 
machine,  même s'il passe - sous debian - par le discutable snap...


On 2/7/22 14:56, Olivier wrote:

Bonjour,

Il m'arrive souvent de livrer des équipements réseau (serveurs Debian,
routeurs, ...) dont l'assemblage doit satisfaire à des règles du type:
- une machine du VLAN11 doit pouvoir communiquer avec une machine du VLAN12
- une machine du VLAN11 doit pas pouvoir communiquer avec une machine du VLAN13


Pour ce faire j'utilise deux ou trois PC connectés aux différents
équipements et je lance à la main quelques commandes du type ping,
iperf3, nc ou wget.

J'aimerai mécaniser tout ce cela, à la manière des tests unitaires en
développement logiciel principalement pour éviter les régressions et
avoir une plus grande confiance.

Plutôt qu'utiliser plusieurs machines, j'aimerai n'en utiliser qu'une
seule (j'imagine qu'il est plus simple de lancer les tests et lire
leurs résultats sur une seule machine), dotée de plusieurs interfaces
réseau, et de lancer un script unique lançant chaque test unitaire
mais s'il faut en utiliser plusieurs, j'en utiliserai plusieurs.

Qui a déjà essayé un truc équivalent ?

Slts





Re: How do I change disk ?

2022-01-12 Thread Pierre Couderc

Sorry to insist... but even for  btrfs RAID1 disks of différent size ?

OK, I shall try but I am surprised it is so simple... ;)


On 1/11/22 20:01, Hans wrote:

Am Dienstag, 11. Januar 2022, 17:22:08 CET schrieb Pierre Couderc:
Yes, should be so by default.

Good luck!

Hans

Thank you. I am surprised;  update-grub is enough to install grub
correctly on all drives...??

On 1/11/22 11:24, Hans wrote:

Am Dienstag, 11. Januar 2022, 04:38:36 CET schrieb Pierre Couderc:

My way:


- Boot with a live cd with clonezilla on it (i.e. clonezilla live)


- clone the complete harddrive to the new one. Pay attentention, that
the new one must be equal or bigger than the source.


- Use another live cd with gparted on it and move or resize the
partitions.





Second way (more work and more complicated):


- Boot with a linux live system (debian live, Knoppix whatever)


- mount the old one to a new mountpoint in root, like /disk1


- partition the new drive to your needs manually


- mount the new one to a new mountpoint in root, like /disk2


- use rsync for transferring data to the new one


- reboot to your old system with the connected new harddrive


- install grub on the new harddrive (grub --install /dev/sdb or
update-grub might do it)





Have fun



Best


Hans


I have a btrfs RAID1 system. I did install it with /dev/sda disk (efs on

sda1, btrfs on sda2). Then, after install,  I added  a sdb disk (vfat on

sdb1, btrfs on sdb2) and I did  btrfs balance.



As /dev/sda is now old, I want to change it. I know btrfs procedures but

I do not know grub procedures.



I suppose I should install "some grub thing" on sdb1 and inform the

system to boot on sdb1. How to do that ?



Is there a good tutorial that I have not found ?



Is it possible to have a system booting automatically on sdb1 if sda1

fails ?



In fact I did add later an identical sdc disk...








Re: How do I change disk ?

2022-01-11 Thread Pierre Couderc
Thank you. I am surprised;  update-grub is enough to install grub 
correctly on all drives...??



On 1/11/22 11:24, Hans wrote:


Am Dienstag, 11. Januar 2022, 04:38:36 CET schrieb Pierre Couderc:

My way:


- Boot with a live cd with clonezilla on it (i.e. clonezilla live)


- clone the complete harddrive to the new one. Pay attentention, that 
the new one must be equal or bigger than the source.



- Use another live cd with gparted on it and move or resize the 
partitions.






Second way (more work and more complicated):


- Boot with a linux live system (debian live, Knoppix whatever)


- mount the old one to a new mountpoint in root, like /disk1


- partition the new drive to your needs manually


- mount the new one to a new mountpoint in root, like /disk2


- use rsync for transferring data to the new one


- reboot to your old system with the connected new harddrive


- install grub on the new harddrive (grub --install /dev/sdb or 
update-grub might do it)






Have fun



Best


Hans

> I have a btrfs RAID1 system. I did install it with /dev/sda disk (efs on

> sda1, btrfs on sda2). Then, after install,  I added  a sdb disk (vfat on

> sdb1, btrfs on sdb2) and I did  btrfs balance.

>

> As /dev/sda is now old, I want to change it. I know btrfs procedures but

> I do not know grub procedures.

>

> I suppose I should install "some grub thing" on sdb1 and inform the

> system to boot on sdb1. How to do that ?

>

> Is there a good tutorial that I have not found ?

>

> Is it possible to have a system booting automatically on sdb1 if sda1

> fails ?

>

> In fact I did add later an identical sdc disk...




How do I change disk ?

2022-01-10 Thread Pierre Couderc
I have a btrfs RAID1 system. I did install it with /dev/sda disk (efs on 
sda1, btrfs on sda2). Then, after install,  I added  a sdb disk (vfat on 
sdb1, btrfs on sdb2) and I did  btrfs balance.


As /dev/sda is now old, I want to change it. I know btrfs procedures but 
I do not know grub procedures.


I suppose I should install "some grub thing" on sdb1 and inform the 
system to boot on sdb1. How to do that ?


Is there a good tutorial that I have not found ?

Is it possible to have a system booting automatically on sdb1 if sda1 
fails ?


In fact I did add later an identical sdc disk...



Re: Postgresql ODBC driver not found

2021-09-25 Thread Pierre Couderc



On 9/25/21 3:46 PM, Henning Follmann wrote:


have you tried to use the odbc lib from unixodbc instead of
libiodbc?



I think you are right on many other points...

But particularly on this one !

I did remove libodbc2-dev and install unixodbc-dev and now it is OK...!!

Wow !

Thank you very much.

Let us have a Sunday without any odbc...

PC



Re: Postgresql ODBC driver not found

2021-09-25 Thread Pierre Couderc



On 9/24/21 5:31 PM, Henning Follmann wrote:


and I see you do not do any error checking.
This would be a first step to find out where it fails.

I added some code...



You hare fully right, I have corrected, but I have the same result and 
no more idea.. :


nous@pcouderc:~/projets//build$ ./ttest
D  0.0:ln 19:main(): Start  : Compile time : Sep 25 2021 09:03:28

0x55cee70a5ed0



nous@pcouderc:~/projets//build$ cat ../main.cpp
#include 
#include 
#include 
#pragma GCC diagnostic ignored "-Wendif-labels"
#pragma GCC diagnostic ignored "-Wwrite-strings"


#define TDBG clock_t ttdbg=clock();float 
ftdbg=((float)ttdbg)/CLOCKS_PER_SEC;
#define DBG_(fmt, args...) {TDBG fprintf(stdout,string( 
string("D%5.1f:ln %d:%s(): ")+fmt).c_str(),ftdbg,__LINE__, __func__, 
##args);fflush(stdout);}


using namespace std;
extern "C"
{
#include 
#include 
}
int main(int argc, char **argv)
{
    DBG_("Start  : Compile time : " __DATE__" " __TIME__"\n");
    SQLHENV env;
    SQLCHAR driver[256];
    SQLCHAR attr[256];
    SQLSMALLINT driver_ret;
    SQLSMALLINT attr_ret;
    SQLUSMALLINT direction;
    SQLRETURN ret;

    ret=SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, );
    if (ret != SQL_SUCCESS && ret != SQL_SUCCESS_WITH_INFO) {
        cerr << "Failed to allocate handle" << endl;
        return -1;
    }
    ret=SQLSetEnvAttr(env, SQL_ATTR_ODBC_VERSION, (void *) 
SQL_OV_ODBC3, 0);

    if (ret != SQL_SUCCESS && ret != SQL_SUCCESS_WITH_INFO) {
        cerr << "Failed SQLSetEnvAttr" << endl;
        return -1;
    }
    cout << env<                driver, sizeof(driver), 
_ret,

                attr, sizeof(attr), _ret);
        if(ret==SQL_NO_DATA) break;
        printf("%s - %s\n", driver, attr);
        if (ret == SQL_SUCCESS_WITH_INFO) printf("\tdata 
truncation\n");

        direction = SQL_FETCH_NEXT;
    }
    return 0;
}





Re: Postgresql ODBC driver not found

2021-09-23 Thread Pierre Couderc

Thenk you, Henning, thank you Gregory .

On 9/23/21 5:49 PM, Gregory Seidman wrote:

On Thu, Sep 23, 2021 at 08:18:45AM -0400, Henning Follmann wrote:



I don't see where you ask for the PostgreSQL ODBC connection in particular.
Maybe I'm the one missing something?
You are right, I am not trying to connect (not soon) but trying to get 
the list of available drivers !
   


isql "PostgreSQL Unicode"  

and perform a minimum check like:
select 1;



SQL> select 1
++
| ?column?   |
++
| 1  |
++
SQLRowCount returns 1
1 rows fetched

SQL> quit


unixodbc seems to work...

I put here the full c++ source and the full result :


#include 
#include 
#include 
#pragma GCC diagnostic ignored "-Wendif-labels"
#pragma GCC diagnostic ignored "-Wwrite-strings"

#define TDBG clock_t ttdbg=clock();float 
ftdbg=((float)ttdbg)/CLOCKS_PER_SEC;
#define DBG_(fmt, args...) {TDBG fprintf(stdout,string( 
string("D%5.1f:ln %d:%s(): ")+fmt).c_str(),ftdbg,__LINE__, __func__, 
##args);fflush(stdout);}


using namespace std;
extern "C"
{
#include 
#include 
}
int main(int argc, char **argv)
{
    DBG_("Start  : Compile time :  __DATE__ __TIME__\n");
    SQLHENV env;
    SQLCHAR driver[256];
    SQLCHAR attr[256];
    SQLSMALLINT driver_ret;
    SQLSMALLINT attr_ret;
    SQLUSMALLINT direction;
    SQLRETURN ret;

    SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, );
    SQLSetEnvAttr(env, SQL_ATTR_ODBC_VERSION, (void *) SQL_OV_ODBC3, 0);

    cout << env<                driver, sizeof(driver), 
_ret,
                attr, sizeof(attr), 
_ret))) {

        direction = SQL_FETCH_NEXT;
        printf("%s - %s\n", driver, attr);
        if (ret == SQL_SUCCESS_WITH_INFO) printf("\tdata 
truncation\n");

    }
    return 0;
}


Result :

nous@pcouderc:~/projets//build$ ./ttest
D  0.0:ln 33:main(): Start  : Compile time :  __DATE__ __TIME__
0x55b0948ffed0
nous@pcouderc:~/projets//build$

and meson.build for completeness :

project('ttest','cpp', default_options : ['cpp_std=c++17'],
    version : '0.1')
cpp = meson.get_compiler('cpp')
libiodbc_dep = cpp.find_library('libiodbc')
incdirs = include_directories('/usr/include/iodbc')
executable('ttest', 'main.cpp', dependencies : [libiodbc_dep], 
include_directories : incdirs)






Re: Postgresql ODBC driver not found

2021-09-23 Thread Pierre Couderc

Thank you very much!

See below :

On 9/22/21 3:37 PM, Henning Follmann wrote:

On Wed, Sep 22, 2021 at 11:07:28AM +0200, Pierre Couderc wrote:

It is here I see it/them with:

odbcinst -q -d

but not with :

   SQLHENV env;
   SQLCHAR driver[256];
   SQLCHAR attr[256];
   SQLSMALLINT driver_ret;
   SQLSMALLINT attr_ret;
   SQLUSMALLINT direction;
   SQLRETURN ret;
   SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, );
   SQLSetEnvAttr(env, SQL_ATTR_ODBC_VERSION, (void *) SQL_OV_ODBC3, 0);

   direction = SQL_FETCH_FIRST;
   while(SQL_SUCCEEDED(ret = SQLDrivers(env, direction,
    driver, sizeof(driver), _ret,
    attr, sizeof(attr), _ret))) {
     direction = SQL_FETCH_NEXT;
     printf("%s - %s\n", driver, attr);
     if (ret == SQL_SUCCESS_WITH_INFO) printf("\tdata truncation\n");
   }

What do I miss...?


The ability to clearly describe your problem!

Sorry I tried to be minimum... But here are more details?


What did you do?
   I assume you wrote some c code.

Yes, this  code above is written in c (c++ in fact but I have simplified).

   Did you compile it? And if so, how?

Yes, with default tools (gcc under debian bulllseye linked with libodbc)

   You installed odbcunix I assume.
   How did you configure it?

Correctly.

   What is the output of "odbcinst -q -d"?


Correct :

[PostgreSQL ANSI]
[PostgreSQL Unicode]


What did you expect?

That my c program produces the same list


What did not work?
  Include logs, error messages.


Logs and error messages : none (This is the heart of the problem)



What did you do to solve your problem so far?

I have reduced my problem - which is much more complex - to the simplest 
test prograam.


And I ask for help, as I have no more idea after many hours.




Postgresql ODBC driver not found

2021-09-22 Thread Pierre Couderc

It is here I see it/them with:

odbcinst -q -d

but not with :

  SQLHENV env;
  SQLCHAR driver[256];
  SQLCHAR attr[256];
  SQLSMALLINT driver_ret;
  SQLSMALLINT attr_ret;
  SQLUSMALLINT direction;
  SQLRETURN ret;
  SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, );
  SQLSetEnvAttr(env, SQL_ATTR_ODBC_VERSION, (void *) SQL_OV_ODBC3, 0);

  direction = SQL_FETCH_FIRST;
  while(SQL_SUCCEEDED(ret = SQLDrivers(env, direction,
   driver, sizeof(driver), _ret,
   attr, sizeof(attr), _ret))) {
    direction = SQL_FETCH_NEXT;
    printf("%s - %s\n", driver, attr);
    if (ret == SQL_SUCCESS_WITH_INFO) printf("\tdata truncation\n");
  }

What do I miss...?

(under debian bulllseye linked with libodbc)

Thanks in advance

PC




Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-17 Thread Pierre Couderc



On 7/11/21 12:29 AM, Felix Miata wrote:

Pierre Couderc composed on 2021-07-10 23:07 (UTC+0200):
  

see :https://paste.debian.net/1203999/
  

for( .local/share/xorg/Xorg.0.log)



What does xrandr -q report booted this way?

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis 
y axis) 309mm x 174mm panning 1920x1080+0+0

   1920x1080 60.05 +  60.01    59.97    59.96*   59.93
   1680x1050 59.95    59.88
   1600x1024 60.17
   1400x1050 59.98
   1600x900  59.99    59.94    59.95    59.82
   1280x1024 60.02
   1440x900  59.89
   1400x900  59.96    59.88
   1280x960  60.00
   1440x810  60.00    59.97
   1368x768  59.88    59.85
   1360x768  59.80    59.96
   1280x800  59.99    59.97    59.81    59.91
   1152x864  60.00
   1280x720  60.00    59.99    59.86    59.74
   1024x768  60.04    60.00
   960x720   60.00
   928x696   60.05
   896x672   60.01
   1024x576  59.95    59.96    59.90    59.82
   960x600   59.93    60.00
   960x540   59.96    59.99    59.63    59.82
   800x600   60.00    60.32    56.25
   840x525   60.01    59.88
   864x486   59.92    59.57
   800x512   60.17
   700x525   59.98
   800x450   59.95    59.82
   640x512   60.02
   720x450   59.89
   700x450   59.96    59.88
   640x480   60.00    59.94
   720x405   59.51    58.99
   684x384   59.88    59.85
   680x384   59.80    59.96
   640x400   59.88    59.98
   576x432   60.06
   640x360   59.86    59.83    59.84    59.32
   512x384   60.00
   512x288   60.00    59.92
   480x270   59.63    59.82
   400x300   60.32    56.34
   432x243   59.92    59.57
   320x240   60.05
   360x202   59.51    59.13
   320x180   59.84    59.32
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y 
axis) 697mm x 392mm panning 1920x1080+1920+0

   1920x1080 30.00*   29.97
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)


https://wiki.archlinux.org/title/Backlight  may warrant a read.

I have to suspect acpi_backlight=vendor on kernel command line is not taken
well by the 3840x2160 screen.


I have tried to remove acpi_backlight=vendor, but

https://paste.debian.net/1204642/

shows no significant difference with https://paste.debian.net/1203999


Whatever caused [ 313.732] (WW) modeset(0): Option "PreferredMode" is not used
I can't tell.


My idea is that this reason is that the limitation to 30Hz is not 
described by



Section "Monitor"
    Identifier  "HDMIcon"
    HorizSync   30-135
    VertRefresh 29-31
    Option  "PreferredMode" "3840x2160"
EndSection

So, I have used gtf to create a 3840 2160 30 Modeline. As i have read 
the cvt is more "modern", I trie now with


Modeline "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 
2200 -hsync +vsync

 And...

It fails too with :

https://paste.debian.net/1204643/

With the following result :

- eDP-1 is dislayed correctly

- HDMI seems to remain as before startx is executed, but a cursor, 
certainly a X cursor appears in the high left corner of the screen. This 
cursor seems to move a little when I move the mouse but returns 
immediately to the corner. I have to kill kill the session with another 
console.


I think that either I have not found hye good "Modeline" either it is a 
bug (maybe in the driver), but it is surprising that I am the 1rst to 
have this problem as this monitor is available since 2019...






Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-16 Thread Pierre Couderc



On 7/16/21 9:52 AM, Felix Miata wrote:

Pierre Couderc composed on 2021-07-16 08:34 (UTC+0200):


Before reporting a bug, maybe it could be too a question of driver...?



There are two X drivers for Intel IGPs capable at least theoretically of
supporting 3840x2160:

Intel DDX, provided by xserver-xorg-video-intel
Modesetting DIX, provided by xserver-xorg-core

The Intel driver has been essentially in maintenance mode for the past 7 years,
its main reason for keeping it maintained being it is the only driver available
supporting ancient Intel IGPs. The only way to tell if it works better on newer
hardware is to try it. Don't expect much from anything as new as yours using the
Intel DDX instead of the Modesetting DIX.

Either of the two drivers can be specifically selected via a .conf file in
/etc/X11/xorg.conf.d/, e.g., assuming xserver-xorg-video-intel is installed:

# file: 15-ddxdrv.conf
Section "Device"
  Identifier "DDX"
Driver "intel"
#   Driver "modesetting"
EndSection

selects the Intel DDX, blocking X from attempting use of the Modesetting DIX.


I have tried intel driver which does not work but does not crashes.

I come back to "modesetting" driver.



Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-16 Thread Pierre Couderc



On 7/16/21 8:31 AM, Pierre Couderc wrote:


On 7/12/21 10:11 AM, Felix Miata wrote:

Felix Miata composed on 2021-07-10 18:29 (UTC-0400):

I only had a 4K display for 3 weeks 3 years ago, so it's hard for me 
to be very
helpful by trying to match behavior, or construct a configuration 
file free of

errors.


I forgot something important to this thread. I got a broken 55" 4K LG TV
for free 8 weeks ago. I spent $40US on parts to fix it.

I just tried connecting it to a Kaby Lake Intel PC (HD 620, not UHD 620)
via direct HDMI, along with an ordinary 1920x1080 Samsung HDTV via 
DisplayPort
to HDMI adapter, using openSUSE 15.2. With only the LG connected, X 
opened up
in 3840x2160@30 automatically. With both connected, both come up in 
1920x1080@60.
However, xrandr --output HDMI-2 --primary --mode 3840x2160 --output 
DP-1 --mode 1920x1080 --above HDMI-2
worked a charm to set 3840x2160@30 on the LG and set the small 
Samsung above

the big LG.

Rebooting to Bullseye to try the same, I can't get the Samsung HDTV 
out of
unsupported mode, even though xrandr reports the Samsung is using its 
native
mode, or trying with any other supported mode selected. This smells 
like a

Bullseye bug waiting to be reported.

Next I tried openSUSE Tumbleweed. It works as expected there too:
# xrandr --output HDMI-2 --primary --mode 3840x2160 --output DP-1 
--mode 1920x1080 --above HDMI-2

# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 3840 x 3240, maximum 16384 x 16384
HDMI-2 connected primary 3840x2160+0+1080 (normal left inverted right 
x axis y axis) 1600mm x 900mm
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y 
axis) 160mm x 90mm

    3840x2160 30.00*   25.00    24.00    29.97    23.98
    1920x1080 60.00*+  59.94    30.00    24.00    29.97 23.98
# inxi -SGay
System:
   Host: ab250 Kernel: 5.12.9-1-default x86_64 bits: 64 compiler: gcc 
v: 11.1.1

   parameters:...
   Desktop: Trinity R14.0.10 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 
vt: 7

   dm: TDM Distro: openSUSE Tumbleweed 20210611
Graphics:
   Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: 
kernel

   bus-ID: 00:02.0 chip-ID: 8086:5912 class-ID: 0300
   Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
   unloaded: fbdev,vesa alternate: intel display-ID: :0 screens: 1
   Screen-1: 0 s-res: 3840x3240 s-dpi: 144 s-size: 678x572mm 
(26.7x22.5")

   s-diag: 887mm (34.9")
   Monitor-1: DP-1 res: 1920x1080 hz: 60 dpi: 305 size: 160x90mm 
(6.3x3.5")

   diag: 184mm (7.2")
   Monitor-2: HDMI-2 res: 3840x2160 hz: 30 dpi: 61
   size: 1600x900mm (63.0x35.4") diag: 1836mm (72.3")
   OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (KBL GT2)
   v: 4.6 Mesa 21.1.2 compat-v: 3.0 direct render: Yes



Before reporting a bug, maybe it could be too a question of driver...?



Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-16 Thread Pierre Couderc



On 7/12/21 10:11 AM, Felix Miata wrote:

Felix Miata composed on 2021-07-10 18:29 (UTC-0400):


I only had a 4K display for 3 weeks 3 years ago, so it's hard for me to be very
helpful by trying to match behavior, or construct a configuration file free of
errors.



I forgot something important to this thread. I got a broken 55" 4K LG TV
for free 8 weeks ago. I spent $40US on parts to fix it.

I just tried connecting it to a Kaby Lake Intel PC (HD 620, not UHD 620)
via direct HDMI, along with an ordinary 1920x1080 Samsung HDTV via DisplayPort
to HDMI adapter, using openSUSE 15.2. With only the LG connected, X opened up
in 3840x2160@30 automatically. With both connected, both come up in 
1920x1080@60.
However, xrandr --output HDMI-2 --primary --mode 3840x2160 --output DP-1 --mode 
1920x1080 --above HDMI-2
worked a charm to set 3840x2160@30 on the LG and set the small Samsung above
the big LG.

Rebooting to Bullseye to try the same, I can't get the Samsung HDTV out of
unsupported mode, even though xrandr reports the Samsung is using its native
mode, or trying with any other supported mode selected. This smells like a
Bullseye bug waiting to be reported.

Next I tried openSUSE Tumbleweed. It works as expected there too:
# xrandr --output HDMI-2 --primary --mode 3840x2160 --output DP-1 --mode 
1920x1080 --above HDMI-2
# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 3840 x 3240, maximum 16384 x 16384
HDMI-2 connected primary 3840x2160+0+1080 (normal left inverted right x axis y 
axis) 1600mm x 900mm
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 
90mm
3840x2160 30.00*   25.0024.0029.9723.98
1920x1080 60.00*+  59.9430.0024.0029.9723.98
# inxi -SGay
System:
   Host: ab250 Kernel: 5.12.9-1-default x86_64 bits: 64 compiler: gcc v: 11.1.1
   parameters:...
   Desktop: Trinity R14.0.10 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 vt: 7
   dm: TDM Distro: openSUSE Tumbleweed 20210611
Graphics:
   Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
   bus-ID: 00:02.0 chip-ID: 8086:5912 class-ID: 0300
   Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
   unloaded: fbdev,vesa alternate: intel display-ID: :0 screens: 1
   Screen-1: 0 s-res: 3840x3240 s-dpi: 144 s-size: 678x572mm (26.7x22.5")
   s-diag: 887mm (34.9")
   Monitor-1: DP-1 res: 1920x1080 hz: 60 dpi: 305 size: 160x90mm (6.3x3.5")
   diag: 184mm (7.2")
   Monitor-2: HDMI-2 res: 3840x2160 hz: 30 dpi: 61
   size: 1600x900mm (63.0x35.4") diag: 1836mm (72.3")
   OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (KBL GT2)
   v: 4.6 Mesa 21.1.2 compat-v: 3.0 direct render: Yes




Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-11 Thread Pierre Couderc



On 7/11/21 12:29 AM, Felix Miata wrote:

Pierre Couderc composed on 2021-07-10 23:07 (UTC+0200):
  


Thank your for your precious help.

I quit this big 4k for a week of holidays without any monitor...

And come back to it nextweek !



Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-10 Thread Pierre Couderc


On 7/10/21 2:17 AM, Felix Miata wrote:

Pierre Couderc composed on 2021-07-09 09:05 (UTC+0200):  > > >> Yes, EDID is wrong and does not show 3840x2160 warranted by 
Samsung >> for UR59C 32". > > > > With dual displays, setup is more 
complicated, instead of > /etc/X11/xorg.conf.d/50-monitor.conf try 
/etc/X11/xorg.conf with the > following content: > > Section "Device" 
Identifier "UHD620" Driver "modesetting" Option > "monitor-eDP-1" 
"eDPcon" Option "monitor-HDMI-1" "HDMIcon" > EndSection > > Section 
"Monitor" Identifier "HDMIcon" HorizSync 30-135 VertRefresh > 29-31 
Option "PreferredMode" "3840x2160" EndSection > > Section "Monitor" 
Identifier "eDPcon"Section "Monitor" Identifier > "HDMIcon" HorizSync 
30-135 VertRefresh 29-31 ModeLine > "3840x2160_30.00" 339.57 3840 4080 
4496 5152 2160 2161 2164 2197 > -HSync +Vsync Option "PreferredMode" 
"3840x2160_30.00" EndSection > > Section "Monitor" > > Option "Primary" 
"true" EndSection > > Section "Screen" Identifier "extScreen" Device 
"UHD620" Monitor > "HDMIcon" EndSection > > Section "Screen" Identifier 
"intScreen" Device "UHD620" Monitor > "eDPcon" EndSection > > Also, make 
sure your HDMI cable is up to specs for 4K.


The HDMI cable was provided with the Samsung display.

I have tried your solution which starts the 2 displays in  1920x1080

see : https://paste.debian.net/1203999/

for( .local/share/xorg/Xorg.0.log)


Then I have tried  with : (please remind that the 4K display is 
specified 30hz for 3840x2160).


Section "Monitor"
    Identifier  "HDMIcon"
    HorizSync   30-135
    VertRefresh 29-31
    ModeLine "3840x2160_30.00"  339.57  3840 4080 4496 5152 2160 
2161 2164 2197  -HSync +Vsync

    Option  "PreferredMode" "3840x2160_30.00"
EndSection

The result is  : https://paste.debian.net/1204000

It does not strictly crashes but only the first monitor is displayed in 
X mode, the second monitor (HDMI) remains as in non X mode, and the 
mouse does not want to quit the high left corner of the HDMI monitor.


I feel as if  there is some driver problem...

Than you very much, Felix, I progress !
















Re: Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-09 Thread Pierre Couderc

On 7/8/21 11:34 PM, Felix Miata wrote:



the PC crashes (all is black, need to power off).




You should have no need of gtf or mode creation with 620 graphics. Mode creation
via xrandr is an anachronism. X knows very well how to auto generate modes when
provided with needed specs. If EDID, the usual source for the data, is broken,
then provide the specs via:


Yes, EDID is wrong and does not show 3840x2160 warranted by Samsung for UR59C 
32".
 


/etc/X11/xorg.conf.d/50-monitor.conf
containing the horizontal sync and vertical refresh rates for your display, 
e.g.:

Section "Monitor"
Identifier  "Default Monitor"
HorizSync   28-85
VertRefresh 50-100

Option  "PreferredMode"   "3840x2160"

EndSection



This has no effect but I suppose the problem is due to the 2 screen 
configuration. So I have tried replacing Identifier with :


 Identifier    "HDMI-1"

But it is not better...

I have put in https://paste.debian.net/1203873/
the content of  .local/share/xorg/Xorg.0.log

It seems that the Modeline 3840x2160 is recognized, but the 30hz 
limitation is not expressed.


Acer swift5 specifies 3840x2160 but with a 30hz limitation, no more 
frequency.


Thanks you very much

PC



Failure to use 3840x2160 30hz with Intel 620 chipset

2021-07-08 Thread Pierre Couderc
I have a problem when trying a 4K display with Acer swift5. They say 
that 3840x2160 30hz is supported...


When I try (under bullseye) :

gtf  3840 2160 30

xrandr --newmode  "3840x2160_30.00"  339.57  3840 4080 4496 5152 2160 
2161 2164 2197  -HSync +Vsync

xrandr --addmode HDMI-1   3840x2160_30.00
xrandr --output HDMI-1 --mode "3840x2160_30.00"

the PC crashes (all is black, need to power off).

Did anyone success in similar case..?

Thnaks for any help.

PC




Re: Boost version

2021-02-24 Thread Pierre Couderc



On 2/24/21 9:29 PM, Sébastien Dinot wrote:

Pierre Couderc a écrit :

Y-a-t-il une méthode pour éviter ce build ?

Le problème vient du fait que vous avez installé le paquet
libboost-xxx-dev, qui a automatiquement installé sa dépendance, le
paquet libboost-xxx1.62-dev. Or, la dépendance du premier vers le second
évolue avec le temps. Il faut donc supprimer le paquet libboost-xxx-dev
(ou plus exactement tous les paquets libboost-*-dev) et installer
explicitement à sa place le paquet libboost-xxx1.62-dev. Cela vous
apportera la stabilité attendue.


merci, cela devrait marcher mais ce n'est pas une solution satisfaisante 
, en particulier si je "livre" ce programme sur un autre PC  (où je 
n'aurai pas besoin libboost-xxx-dev).


J'espère que le problème est dans mon build (meson) ou j'ai rajouté 
"version>=1.62", j'espère que cela fonctionnera au prochaine "apt 
upgrade"





Re: Boost version

2021-02-24 Thread Pierre Couderc
merci, cela devrait marcher mais ce n'est pas une solution satisfaisante 
, en particulier si je livre ce programme


J'espère que le problème est dans mon build (meson) ou j'ai rajouté 
"version>=1.62", j'espère que cela fonctionneraa au prochaine "apt 
upgrade"


On 2/24/21 5:49 PM, Cyrille wrote:

Bonsoir
A tout hasard

geler le paquet dans sa version libboost_x.1.62 (donc réinstaller
cette version, elle doit encore être dans le cache d'apt)

apt hold 
Afin qu'il ne se mette plus à jour


Ou un lien symbolique de la nouvelle version vers la 1.62


Mes 2 sous, mais je ne suis pas un pro.. .mais ça peut ouvrir des pistes


?

++
Cyrille


Le Wed, 24 Feb 2021 09:22:43 +0100,
Pierre Couderc  a écrit :


Bonjour,

J'utilise un "main" C++ avec boost

avec par exemple libboost_x (quelle que soit la librairie).

Lors du build, libboost_x.1.62     a été "linké".


Mais au prochain "apt upgrade",  libboost_x.1.62 est remplacé par
libboost_x.1.71 et mon application refuse de s’exécuter faute de
libboost_x.1.62

Ce qui oblige à refaire un build dont je ne veux point.

Y-a-t-il une méthode pour éviter ce build ?

Merci.

PC









Boost version

2021-02-24 Thread Pierre Couderc

Bonjour,

J'utilise un "main" C++ avec boost

avec par exemple libboost_x (quelle que soit la librairie).

Lors du build, libboost_x.1.62     a été "linké".


Mais au prochain "apt upgrade",  libboost_x.1.62 est remplacé par 
libboost_x.1.71 et mon application refuse de s’exécuter faute de 
libboost_x.1.62


Ce qui oblige à refaire un build dont je ne veux point.

Y-a-t-il une méthode pour éviter ce build ?

Merci.

PC




Re: [HS] Recherche Développeur pour interview

2021-02-23 Thread Pierre Couderc



On 2/23/21 12:17 PM, Sylvain Caselli wrote:

Le 23/02/2021 à 07:13, Pierre Couderc a écrit :
Quand un développe avec un langage efficace (C ou C++), il n'y a 
aucune raison a priori d'utiliser l'assembleur.
je ne sais pas si c'est encore vrai, mais lors de l’échantillonnage 
d'une valeur (du son par exemple) l'utilisation du convertisseur (ou 
tout device du microcontrôleur) ce faisait en assembleur (dans le pgm 
C à) car en C c'est beaucoup trop lent. Logique car il reconfigure 
tout à chaque fois. Je n'ai plus le choix maintenant mais pour lire un 
bouton ou un capteur et allumer une led ou faire tourner un moteur les 
langages évolués m'ont finalement semblé bien compliqués pour faire de 
la robotique. Maintenant qu'il faut les connecter et des interfaces 
tactiles c'est effectivement plus simple (mais est-ce bien utile ?).


Je ne sais pas non plus, mais je sais que les  parties critiques en 
temps sont - par nature - des boucles extrêmement courtes, et ce sont 
les seules où on peut être amené à utiliser de l'assembleur...




Re: [HS] Recherche Développeur pour interview

2021-02-22 Thread Pierre Couderc



On 2/22/21 5:35 PM, Yoann LE BARS wrote:

Salut à tous !

Le 22/02/2021 à 16:51, Gaëtan PERRIER a écrit :

Il y a aussi des cas où le compilo ne fait pas une optim qui vu d'un humain est
pourtant évidente ... Mais ok c'est assez rare.

Oui, de plus en plus rare. Tellement rare que de toute façon un
compilateur bien utilisé produit désormais de toute façon un code bien
plus efficace qu’un code réalisé immédiatement en assembleur.


Quand un développe avec un langage efficace (C ou C++), il n'y a aucune 
raison a priori d'utiliser l'assembleur.


Ce n'est que a posteriori si on constate un besoin d’accélérer une 
portion de code que l'on pourra utiliser un passage en asm...


Ceci était vrai il y a 40 ans, et l'est peut-être un peu encore avec des 
raspberry pi, mais cela ne m'est plus arrivé ce siècle-ci...


En 1973, on s'interrogeait pour savoir s'il fallait acheter un 
ordinateur professionnel (HP2100) avec 16k de mémoire ou 24k...




Re: [HS] Recherche Développeur pour interview

2021-02-22 Thread Pierre Couderc



On 2/22/21 10:28 AM, Erwann Le Bras wrote:


bonjour

Tiens, je croyais que l'asm et le C/C++ étaient passés de mode ; je 
constate avec plaisir qu'ils sont toujours enseignés...


amitiés,


Il me semble que le C++  avec Boost est un choix tout à fait "moderne"...

J'utilise cppcms avec Bootstrap comme élégant GUI d'un raspberry pi sous 
raspbian...





Re: Problèmes d'imprimante en recto-verso

2021-02-14 Thread Pierre Couderc



On 2/14/21 6:56 PM, Jérôme (haricophile.org) wrote:

Le samedi 13 février 2021 à 19:01 +0100, Pierre Couderc a écrit :

Bonjour

J'ai un problème d'imprimante (XP620 Epson) en recto-verso sur
buster,

Moi  JE BOYCOTTE TOTALLEMENT EPSON


Ne mélangeons pas tout...

Epson a une politique de faire un scanner/imprimante à très bon marché 
(dans les 50€) et se rattrape en faisant payer l'encre !


J'en prends acte et j'achète de l'encre compatible à bas prix : j'ai un 
beau message clignotant me conseillant d'acheter du Epson et puis je 
continue...




Re: Re : Problèmes d'imprimante en recto-verso

2021-02-14 Thread Pierre Couderc

Merci beaucoup.

- XP620 est une imprimante recto-verso, et elle imprime (tête-bêche) 
recto-verso sous buster.


- de quelle configuration parles-tu ? la configuration est dans mon "lp" 
ci-dessous?


- et oui, sous evince, je coche sur la bonne case avant de poster ici ;)

- et oui, sous bullseye il me demande de changer de papier pour mettre 
du A4...!



On 2/14/21 12:52 AM, k6dedi...@free.fr wrote:

Bonjour,
Je ne pense pas que l'on te demande de mettre du papier A4, mais de remettre la 
feuille imprimée à l'envers pour imprimer l'autre côté.
Cette imprimante peut imprimer du recto/verso en manuel ou en automatique.
As-tu bien lu la configuration pour cocher la bonne case ?
Présence du module recto/verso ou quelque chose identique.

Bon courage,
Cassis




- Mail d'origine -
De: Pierre Couderc 
À: debian-user-french@lists.debian.org
Envoyé: Sat, 13 Feb 2021 19:01:10 +0100 (CET)
Objet: Problèmes d'imprimante en recto-verso

Bonjour

J'ai un problème d'imprimante (XP620 Epson) en recto-verso sur buster,
il me traite :

lp -o media=a4  -o sides=two-sided-long-edge xxx.pdf

ainsi que :

lp -o media=a4  -o sides=two-sided-short-edge xxx.pdf

comme :

lp -o media=a4  -o sides=two-sided-long-edge xxx.pdf


En d'autre termes, il m'imprime mon A4 tête-bêche... j'ai le même
problème avec evince.

J'ai essayé avec un autre PC sous bullseye, et là j'ai un arrêt à chaque
page en fin d'impression (lp ou evince) avec un message m'invitant a
mettre du papier A4 au lieu du papier courant (qui est en A4 bien sûr).

Le driver sous bullseye est standard (non téléchargé chez Epson). Sous
buster, il doit être Epson, mais il a eu fonctionné...

Je dois préciser que mon document est un assemblage de pages collectées
par pdftk. Chaque page isolée s'imprime correctement, mais j'en ai 100++
recto-verso...

Merci pour tout tuyau.

PC









Problèmes d'imprimante en recto-verso

2021-02-13 Thread Pierre Couderc

Bonjour

J'ai un problème d'imprimante (XP620 Epson) en recto-verso sur buster, 
il me traite :


lp -o media=a4  -o sides=two-sided-long-edge xxx.pdf

ainsi que :

lp -o media=a4  -o sides=two-sided-short-edge xxx.pdf

comme :

lp -o media=a4  -o sides=two-sided-long-edge xxx.pdf


En d'autre termes, il m'imprime mon A4 tête-bêche... j'ai le même 
problème avec evince.


J'ai essayé avec un autre PC sous bullseye, et là j'ai un arrêt à chaque 
page en fin d'impression (lp ou evince) avec un message m'invitant a 
mettre du papier A4 au lieu du papier courant (qui est en A4 bien sûr).


Le driver sous bullseye est standard (non téléchargé chez Epson). Sous 
buster, il doit être Epson, mais il a eu fonctionné...


Je dois préciser que mon document est un assemblage de pages collectées 
par pdftk. Chaque page isolée s'imprime correctement, mais j'en ai 100++ 
recto-verso...


Merci pour tout tuyau.

PC






Re: Problem with munin under buster (updated)

2020-01-12 Thread Pierre Couderc

On 1/10/20 11:21 AM, Pierre Couderc wrote:
I have installed "apt install munin", (which installs munin-node), and 
I have no result in  /var/cache/munin/www/ (!)


This is not the case in stretch, where every 5 minutes data is generated.

Has someone successed to install munin under buster ?

/usr/share/doc/munin gives no help...

Thanks for any help

PC



I answer myself : it is a bug somewhere, the workaround being to install 
a mailer such as exim...!




Re: Problem with munin under buster (updated)

2020-01-10 Thread Pierre Couderc

On 1/10/20 11:46 AM, Curt wrote:

On 2020-01-10, Pierre Couderc  wrote:

Maybe this bug report might be of help:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934246
Thank you but this is not the case, munin and munin-node services are 
started correctly







Problem with munin under buster (updated)

2020-01-10 Thread Pierre Couderc
I have installed "apt install munin", (which installs munin-node), and I 
have no result in  /var/cache/munin/www/ (!)


This is not the case in stretch, where every 5 minutes data is generated.

Has someone successed to install munin under buster ?

/usr/share/doc/munin gives no help...

Thanks for any help

PC





Problem with munin under buster

2020-01-10 Thread Pierre Couderc
I have installed "apt install munin", (which installs munin-node), and I 
have no result in debian-user@lists.debian.org.


This is not the case in stretch, where every 5 minutes data is generated.

Has someone successed to install munin under buster ?

/usr/share/doc/munin gives no help...

Thanks for any help

PC




Re: How to slow more copying of files ?

2019-03-19 Thread Pierre Couderc



On 3/19/19 11:40 AM, Kevin DAGNEAUX wrote:

Le 19/03/2019 à 11:29, Pierre Couderc a écrit :

Big copy operations (with cp) may be slow, but it is not my problem.

But too,  they slow the full computer !

Is there a way to slow the copy which is not a priority task to let 
the computer breath ?


I have tried to use "nice" but without effect.


Make a try with ionice too.



Yes, as it is not a CPU problem, it is a IO poblem.

Thnk you



Re: How to slow more copying of files ?

2019-03-19 Thread Pierre Couderc



On 3/19/19 11:39 AM, to...@tuxteam.de wrote:

On Tue, Mar 19, 2019 at 11:29:36AM +0100, Pierre Couderc wrote:

Big copy operations (with cp) may be slow, but it is not my problem.

But too,  they slow the full computer !

Is there a way to slow the copy which is not a priority task to let
the computer breath ?

This is more complicated than you might wish :-)

The problem centers around the definition of "slow": clearly, some
resource is being hogged by your 'cp', but which one(s) will depend
much on your hardware.
in fact, in this case, it is a copy of mailboxes (many small files) from 
a location to another, the whole on a brtfs RAID1 device...


Since you have tried 'nice' with no effect, let's assume that this
resource isn't CPU.

Yes, top, shows it (what it is  allowed to run ;)

  Then, you might have a look at 'ionice' (from
the package util-linux). But too little RAM might be as well a
problem.

Another avenue might be using rsync, which offer a rate-limiting
option (--bwlimit).


Thank you, sure I shold use rsync or ionice.

Anyway, it not a reptitive tasks, but it was yo understand...



How to slow more copying of files ?

2019-03-19 Thread Pierre Couderc

Big copy operations (with cp) may be slow, but it is not my problem.

But too,  they slow the full computer !

Is there a way to slow the copy which is not a priority task to let the 
computer breath ?


I have tried to use "nice" but without effect.

Thanks in advance.

PC



Re: Why /usr/sbin is not in my root $PATH ?

2019-02-21 Thread Pierre Couderc



On 2/21/19 9:15 AM, Reco wrote:

Hi.

On Thu, Feb 21, 2019 at 09:07:09AM +0100, Pierre Couderc wrote:

Hi

Why /usr/sbin is not in my root $PATH ?


xxx@server:~$ su root

Because you did exactly this. su(1) says:

The optional argument - may be used to provide an environment similar to
what the user would expect had the user logged in directly.

Make a habit of using 'su -', as this behaviour is here to stay.



Is it a bug somewhere in debian ? Installing snap ?

It's a change in Debian, see #833256.
There are two su utilities, from 'shadow' and from 'util-linux'.
Preserving user's environment unless '-' is specified is a feature of
util-linux's su.

Reco


Thnk you very much. This is the answer I needed. Sorry for the noise ;)



Why /usr/sbin is not in my root $PATH ?

2019-02-21 Thread Pierre Couderc

Hi

Why /usr/sbin is not in my root $PATH ?


xxx@server:~$ su root
Password:
root@server:/home/nous# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin

Why /usr/sbin is not in my root $PATH ?

Is it a bug somewhere in debian ? Installing snap ?

Or is my system corrupted ?

Thanks for any explanation

PC



Re: Impossible to migrate to buster

2018-10-20 Thread Pierre Couderc



On 10/20/18 10:02 AM, Pierre Couderc wrote:

.
Need to get 182 MB of archives.
After this operation, 417 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
root@server:~#

The upgrade is aborted without I have keyed anything !!!

What am I missing ?

Thanks

PC


Thnk you for all your answers.

I have not found this option -y in apt, but it works and buster is 
installed!


apt dist-upgrade and apt autoremove  have the same problem worked aroun 
by -y option.



Anyway,  have found that the problem occurs only in a ssh session not 
directly on the local console !!


I do not understand why ?





Impossible to migrate to buster

2018-10-20 Thread Pierre Couderc

I have updated my sources.list from stretch :

root@server:~# cat  /etc/apt/sources.list

deb http://debian.proxad.net/debian/ buster main contrib
deb-src http://debian.proxad.net/debian/ buster main contrib

deb http://security.debian.org buster/updates main contrib
deb-src http://security.debian.org buster/updates main contrib

# buster-updates, previously known as 'volatile'
deb http://debian.proxad.net/debian/ buster-updates main contrib
deb-src http://debian.proxad.net/debian/ buster-updates main contrib
root@server:~#apt update

root@server:~# apt update
Hit:1 http://debian.proxad.net/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://debian.proxad.net/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
295 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@server:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer 
required:
  dh-python libbind9-140 libdns162 libgmime-2.6-0 libicu57 libisc160 
libisccc140 libisccfg140 liblwres141 libnotmuch4 libperl5.24
  libpython3.5-minimal libpython3.5-stdlib libtalloc2 python3-distutils 
python3-lib2to3 python3.5 python3.5-minimal rename sgml-base

  tcpd xml-core
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  apparmor dirmngr e2fsprogs-l10n fdisk gcc-8-base gnupg-l10n 
gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
  grub-efi-amd64-signed libargon2-1 libbind9-160 libcap2-bin 
libcom-err2 libcryptsetup12 libdns-export1102 libdns1102 libext2fs2
  libfstrm0 libgdbm-compat4 libgdbm6 libgpg-error-l10n libgraphite2-3 
libharfbuzz0b libicu-le-hb0 libicu60 libisc-export169
  libisc169 libisccc160 libisccfg160 libjson-c3 liblmdb0 liblwres160 
libncurses6 libncursesw6 libnss-systemd libpam-cap libperl5.26
  libprocps7 libprotobuf-c1 libpython2-stdlib libpython3.6-minimal 
libpython3.6-stdlib libtinfo6 libunistring2 libzstd1
  linux-image-4.18.0-2-amd64 perl-modules-5.26 python2 python2-minimal 
python3-certifi python3-debconf python3-distutils

  python3-idna python3-lib2to3 python3.6 python3.6-minimal
The following packages will be upgraded:
  adduser apt apt-listchanges apt-utils base-files base-passwd bash 
bash-completion bind9-host bridge-utils bsdmainutils bsdutils
  btrfs-progs busybox bzip2 ca-certificates console-setup 
console-setup-linux coreutils cpio cron dash dbus debconf debconf-i18n
  debian-archive-keyring debianutils dh-python dictionaries-common 
diffutils discover distro-info-data dmidecode dmsetup dpkg
  e2fslibs e2fsprogs efibootmgr emacsen-common file findutils 
gcc-6-base geoip-database gettext-base gnupg gnupg-agent gpgv grep
  groff-base grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common 
gzip hdparm hostname iamerican ibritish ienglish-common
  ifupdown init init-system-helpers initramfs-tools 
initramfs-tools-core installation-report iproute2 iptables iputils-ping
  irqbalance isc-dhcp-client isc-dhcp-common iso-codes ispell kbd 
keyboard-configuration klibc-utils kmod krb5-locales laptop-detect
  less libapparmor1 libapt-inst2.0 libapt-pkg5.0 libassuan0 
libaudit-common libaudit1 libblkid1 libbsd0 libbz2-1.0 libc-bin
  libc-l10n libc6 libcap-ng0 libcap2 libclass-isa-perl libcomerr2 
libcurl3-gnutls libdb5.3 libdbus-1-3 libdebconfclient0
  libdevmapper1.02.1 libdiscover2 libedit2 libefiboot1 libefivar1 
libelf1 libestr0 libexpat1 libfastjson4 libfdisk1 libffi6
  libfreetype6 libfuse2 libgcc1 libgcrypt20 libgeoip1 libglib2.0-0 
libglib2.0-data libgmime-2.6-0 libgmp10 libgnutls-openssl27
  libgnutls30 libgpg-error0 libgpgme11 libgpm2 libgssapi-krb5-2 
libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0
  libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 
libldap-2.4-2 libldap-common liblocale-gettext-perl
  liblockfile-bin liblogging-stdlog0 liblognorm5 liblz4-1 liblzma5 
liblzo2-2 libmagic-mgc libmagic1 libmount1 libmpdec2 libncurses5
  libncursesw5 libnetfilter-conntrack3 libnettle6 libnewt0.52 
libnfnetlink0 libnghttp2-14 libnpth0 libnuma1 libp11-kit0
  libpam-modules libpam-modules-bin libpam-runtime libpam-systemd 
libpam0g libpcre3 libpipeline1 libpng16-16 libpopt0 libpsl5
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib 
libpython3-stdlib libreadline7 librtmp1 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common 
libsemanage1 libsepol1 libslang2 libsmartcols1 libsqlite3-0 libss2
  libssh2-1 libssl1.0.2 libssl1.1 libstdc++6 libsystemd0 libtalloc2 
libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtinfo5
  libtokyocabinet9 libudev1 libusb-0.1-4 libusb-1.0-0 libuuid1 libwrap0 
libx11-6 libx11-data libxapian30 libxau6 libxcb1 libxml2
  libxtables12 linux-image-amd64 locales login logrotate lsb-base 
lsb-release 

Re: making console font legible (was How to"apt upd...)

2018-07-12 Thread Pierre Couderc

On 07/12/2018 08:41 PM, Felix Miata wrote:

Pierre Couderc composed on 2018-07-12 12:20 (UTC+0200):


The point too is the font is very small on these Acer Swift when nothing
is installed, and as I am a bit old I have difficults to see characters...

While dpkg-reconfigure console-setup would be the preferred way to make console
text bigger, it takes time and effort to set up. Last century I found a simpler
approach that works well to produce bigger console text: tell the kernel to use
a video mode that reduces screen resolution via cmdline option at boot time.
This method can be applied temporarily with Grub2 using the e key at its menu.

I don't find anything objectionable to using reduced resolution in fullscreen
framebuffers, so this simplicity works well compared to finding, selecting and
installing a different console font, and having to do it all over again when I
use another PC or display. In fact, I've yet to find a console font I like as
well as the one the kernel uses by default, so the third thing I do on a fresh
install is dpkg-reconfigure console-setup to employ FONTFACE="" & FONTSIZE="" in
/etc/default/console-setup (#2 is apt install mc following apt update).

To illustrate, if a screen with native mode 1920x1080 is in use and its console
text is too small, I append video=1440x900 to make the text slightly larger,
video=1280x720 to make it larger still, or video=1000x600 to make it really
large. On a video=3840x2160 screen I use video=2560x1440 or video=1920x1080,
depending on display size and viewing distance. If using really old video
hardware or or nomodeset, I append vga=791 or vga=788 instead or in addition.
Grub complains, but the kernel doesn't disclose any objection.

Thank you very much, I had not problrm with dpkg-reconfigure...



Re: making console font legible [was Re: How to"apt update" from an USB key ?]

2018-07-12 Thread Pierre Couderc

On 07/12/2018 07:33 PM, davidson wrote:
The point too is the font is very small on these Acer Swift when 
nothing is installed, and as I am a bit old I have difficults to see 
characters...


Have you tried experimenting with different font faces?

 # dkpg-reconfigure console-setup

Different faces permit different sizes, which you can read about[1] in

  $ man 5 console-setup

under OPTIONS, in the section on FONTFACE and FONTSIZE:

| FONTFACE and FONTSIZE

| Valid font faces are: VGA (sizes 8x8, 8x14, 8x16, 16x28 and 16x32),
| Terminus (sizes 6x12, 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32),
| TerminusBold (sizes 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32),
| TerminusBoldVGA (sizes 8x14 and 8x16), and Fixed (sizes 8x13, 8x14,
| 8x15, 8x16 and 8x18).  If however CODESET=Ethiopian, then the
| available font faces are Goha and GohaClassic, each in sizes 8x12,
| 8x14 and 8x16.

I don't know about your particular device, but FWIW the Terminus
fontface frequently proves helpful for me.


I had not. And on your advice, I have changed to terminus 10x20 and it 
is very fine for me now !

Thank you very much.

PC



Re: How to"apt update" from an USB key ?

2018-07-12 Thread Pierre Couderc

On 07/12/2018 12:47 PM, Brian wrote:


You can now access packages on DVD-1. But what about DVD-2, DVD-3 etc?
If not having a network connection is to be a feature of this machine,
you could consider having as many DVDs as you want on the hard disk or
on a USB stick. You might find the Installation section of the wiki
gives a relatively easy way to do this with a single entry in the
sources.list, rather than with separate entries.
Thank you very much. Sorry, I cannot explore this way these days,  I 
have lost too much time now !


I'll also mention that you should really ammend the comment you made in
bug #872543 to point out it was the result of a user error.


Sure !



Re: How to"apt update" from an USB key ?

2018-07-12 Thread Pierre Couderc

On 07/12/2018 11:45 AM, Brian wrote:

On Wed 11 Jul 2018 at 23:53:59 +0200, Pierre Couderc wrote:


On 07/11/2018 03:14 PM, Curt wrote:

On 2018-07-11, Pierre Couderc  wrote:

On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
I have installed stretch (without GUI) from the USB key, and now I want
to install connman, but I do not success to apt-cdrom on an USB.
I have googled but did not find a correct howto to do that...

Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
you're trying to use apt-cdrom with the stick and the machine has no
internet connection and you installed from the stick this is my
assumption.

Yes, your assumption is right. I have created the USB stick  with dd .iso
->usb.
I thank very much John, Darac y Roberto, but it is not my problem.

Others seem to have assumed other things. As I have a very
low assumption batting average lately I hesitate slightly to join the
fray.)

(copied from a post by UK Brian--I think there's only one over there)

   First adjust sources.list to only have

 deb [ trusted=yes ] file:/media/DVD-1/ stretch main

("trusted" avoids warnings about unauthenticated packages--you trust
the iso on the stick, we assume.)

   Make the DVD-1 directory:

 mkdir /media/DVD-1/

   and insert the USB stick. Obtain the device name from dmesg or lsblk.
   Then (for example)

 mount /dev/sdg1 /media/DVD-1/

apt update; apt install connman


Merci  beucoup, Curt I had seen this kind of solution, but it did not work
as I had not discovered the "trusted" option.
Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

URI parse - apt does not understand the URI you have in sources.list.


when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main

Did you type this into your mail or was it a copy and paste? (The URI
above works for me).


And if I remove the , I get the message about file not signed...
  [trusted=yes

If you get this message then apt finds the URI acceptable. If the URI
is not ok, it won't get this far.

I doubt that bug #872543 has anthing to do with your issue.


I cannot copy paste as I have not access to lan/wan
So I typed this in my mail..

As you point me in the good direction, I have removed the full line and 
typed it again.

And now it works !
I suppose that I did key some bad character somewhere...
The point too is the font is very small on these Acer Swift when nothing 
is installed, and as I am a bit old I have difficults to see characters...


Thnak you very much, Brian !



Re: apt does not honor trusted=yes from sources.list

2018-07-12 Thread Pierre Couderc




On 07/12/2018 11:09 AM, Curt wrote:

On 2018-07-12, Pierre Couderc  wrote:

It is know as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872543

But the workaround proposed here does not work for me : I have no

   /var/lib/apt/lists/archive.cloudera.com_* file

Any idea...?


I don't see exactly how that bug explains your malformed line error;
there is also the  '--allow-unauthenticated' flag to apt-get that you
might try if [ trusted=yes ] is truly the problem.

  apt-get --allow-unauthenticated ...



No apt works as source.list seems wrong.

But as you point me in the good direction, I have removed the full line 
and typed it again.

And now it works !
I suppose that I did key some bad character somewhere...
The point too is the font is very small on these Acer Swift when nothing 
is installed, and as I am a bit old I have difficults to see characters...


Merci beaucoup, Curt.



apt does not honor trusted=yes from sources.list

2018-07-11 Thread Pierre Couderc

It is know as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872543

But the workaround proposed here does not work for me : I have no

 /var/lib/apt/lists/archive.cloudera.com_* file

Any idea...?

PC



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc




On 07/12/2018 05:05 AM, davidson wrote:

On Wed, 11 Jul 2018, Pierre Couderc wrote:


brackets.  For example, one sees

  deb [ someoption=somevalue ] uri stretch main

but never

  deb [someoption=somevalue] uri stretch main

So maybe the spaces following '[' and preceding ']' are important.


I had traces with and without spaces...
Sorry, my post was very confusing...



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc

On 07/11/2018 11:53 PM, Pierre Couderc wrote:

Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main


I think that I have found an answer in :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872543

But the workaroud does not work for me.



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc



On 07/11/2018 03:14 PM, Curt wrote:

On 2018-07-11, Pierre Couderc  wrote:

On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
I have installed stretch (without GUI) from the USB key, and now I want
to install connman, but I do not success to apt-cdrom on an USB.
I have googled but did not find a correct howto to do that...

Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
you're trying to use apt-cdrom with the stick and the machine has no
internet connection and you installed from the stick this is my
assumption.
Yes, your assumption is right. I have created the USB stick  with dd 
.iso ->usb.

I thank very much John, Darac y Roberto, but it is not my problem.

   Others seem to have assumed other things. As I have a very
low assumption batting average lately I hesitate slightly to join the
fray.)

(copied from a post by UK Brian--I think there's only one over there)

  First adjust sources.list to only have

deb [ trusted=yes ] file:/media/DVD-1/ stretch main

("trusted" avoids warnings about unauthenticated packages--you trust
the iso on the stick, we assume.)

  Make the DVD-1 directory:

mkdir /media/DVD-1/

  and insert the USB stick. Obtain the device name from dmesg or lsblk.
  Then (for example)

mount /dev/sdg1 /media/DVD-1/

apt update; apt install connman

Merci  beucoup, Curt I had seen this kind of solution, but it did not 
work as I had not discovered the "trusted" option.

Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main

And if I remove the , I get the message about file not signed...
 [trusted=yes]







How to"apt update" from an USB key ?

2018-07-10 Thread Pierre Couderc

On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
I have installed stretch (without GUI) from the USB key, and now I want 
to install connman, but I do not success to apt-cdrom on an USB.

I have googled but did not find a correct howto to do that...

Thanks in advance
PC





Re: How to disable V6 DHCP ?

2018-01-16 Thread Pierre Couderc


On 01/15/2018 05:48 PM, Darac Marjal wrote:

On Mon, Jan 15, 2018 at 05:40:54PM +0100, Pierre Couderc wrote:

I have tried to comment INTERFACESv6 in /etc/default/isc-dhcp-server
but systemd  tries to start dhcp server ipV6, fails as it is not 
initiliased and remains in failed status, even if DSCP ipv4 is welle 
started.

But it refuses to start at next power on.


Have you tried setting INTERFACESv6=""?

Yes, thank you, it was the default after installation :
INTERFACESv4=""
INTERFACESv6=""





So how should I start DHCP v4 only... ?

Thanks in advance
PC









How to disable V6 DHCP ?

2018-01-15 Thread Pierre Couderc

I have tried to comment INTERFACESv6 in /etc/default/isc-dhcp-server
but systemd  tries to start dhcp server ipV6, fails as it is not 
initiliased and remains in failed status, even if DSCP ipv4 is welle 
started.

But it refuses to start at next power on.

So how should I start DHCP v4 only... ?

Thanks in advance
PC





Re: texlive font not found ?

2017-10-15 Thread Pierre Couderc



On 10/14/2017 10:36 PM, Tim wrote:

On Sat, 2017-10-14 at 20:08 +0200, Pierre Couderc wrote:

On 10/14/2017 03:10 PM, Tim wrote:

[snip]

Do you have the PostScript Type 1 fonts installed in
/usr/share/texlive/texmf-
dist/fonts/type1/public/libertine/LinBiolinumT*.pfb?


Yes,

nous@pcouderc:~/projets$ locate  LinBiolinumT | grep pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumT.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTB.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTBO.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTI.pfb

I add the full log here, eve if it is a bit verbose :

This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) (format=lualatex
2017.10.14)  14 OCT 2017 19:56

Ah, I see you're using LuaLaTex to compile the document instead of
pdfLaTeX. The .tex file you're using uses the T1 font encoding
(“\usepackage[T1]{fontenc}”) which is incompatible with the LuaTeX
engine. If you do not load the fontenc package, you should be able
compile the file using `lualatex`.
So either compile using `pdflatex` or using `lualatex`, but then remove
the line “\usepackage[T1]{fontenc}”.


Oh yes, this is the point. By removing fontenc, all is good.
Thank you  and thank you all.



Re: texlive font not found ?

2017-10-14 Thread Pierre Couderc



On 10/14/2017 03:10 PM, Tim wrote:

On Sat, 2017-10-14 at 12:29 +0200, Pierre Couderc wrote:

I have installed texlive-full and tried to test it by
http://www.tug.dk/FontCatalogue/biolinum/biolinum.tex

Bur the font is not found :



LaTeX Font Warning: Font shape `T1/LinBiolinum(0)/m/n' undefined
(Font)  using `T1/cmr/m/n' instead on input line 14.


but it seems to be present :

fc-list | grep -i biolin
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_R.otf: Linux
Biolinum O:style=Regular
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_RI.otf: Linux
Biolinum O:style=Italic
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_RB.otf: Linux
Biolinum O:style=Bold
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_K.otf: Linux
Biolinum Keyboard O:style=Regular


What am I missing ?

I believe you have the OTF font installed, but pdfLaTeX cannot use OTF
font. (However, LuaLaTeX and XeLaTeX can be used to compile documents
using any OTF font.)
I've installed `texlive-fonts-extra` and could compile the LaTeX file.
However, that package should already be installed on you PC since
you've installed `texlive-full`.
Do you have the PostScript Type 1 fonts installed in
/usr/share/texlive/texmf-
dist/fonts/type1/public/libertine/LinBiolinumT*.pfb?


Yes,

nous@pcouderc:~/projets$ locate  LinBiolinumT | grep pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumT.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTB.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTBO.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinBiolinumTI.pfb

I add the full log here, eve if it is a bit verbose :

This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) (format=lualatex 
2017.10.14)  14 OCT 2017 19:56

 restricted system commands enabled.
**biolinum.tex
(./biolinum.tex
LaTeX2e <2017/01/01> patch level 3
Lua module: luaotfload-main 2016/06/16 2.70003 OpenType layout system.
Lua module: lualibs 2016-04-06 2.4 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2016-04-06 2.4 ConTeXt Lua libraries -- 
extended co
llection.(using write cache: 
/home/nous/.texlive2016/texmf-var/luatex-cache/gene
ric)(using read cache: /var/lib/texmf/luatex-cache/generic 
/home/nous/.texlive20

16/texmf-var/luatex-cache/generic)
luaotfload | conf : Root cache directory is 
/home/nous/.texlive2016/texmf-var/lu

atex-cache/generic/names.
luaotfload | init : Loading fontloader “fontloader-2016-06-16.lua” from kpse
-resolved path 
“/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/fontloader

-2016-06-16.lua”.
Lua-only attribute luaotfload@state = 1
Lua-only attribute luaotfload@noligature = 2
Lua-only attribute luaotfload@syllabe = 3
luaotfload | init : Context OpenType loader version “3.023”
Inserting `luaotfload.node_processor' at position 1 in 
`pre_linebreak_filter'.

Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua-only attribute luaotfload_color_attribute = 4
luaotfload | conf : Root cache directory is 
/home/nous/.texlive2016/texmf-var/lu

atex-cache/generic/names.
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in 
`luaotfload.patch_

font'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 2 in 
`luaotfload.patch

_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in 
`luaotfload.patch_fon

t_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 3 in 
`luaotfload.patch_font

'.
Inserting `luaotfload.rewrite_fontname' at position 4 in 
`luaotfload.patch_font'

.
luaotfload | main : initialization completed in 0.108 seconds
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2016/06/14 v3.21 KOMA-Script document class 
(article)

(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2016/06/14 v3.21 KOMA-Script package 
(KOMA-Script-dependent ba

sics and keyval usage)

(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2016/06/14 v3.21 KOMA-Script package 
(KOMA-Script-independent b

asics and keyval usage)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2016/06/14 v3.21 KOMA-Script package (loading files)

Package scrlfile, 2016/06/14 v3.21 KOMA-Script package (loading files)
  Copyright (C) Markus Kohm

))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2016/06/14 v3.21 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip41
\scr@dte@tocline@numbox=\box26
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' availab

texlive font not found ?

2017-10-14 Thread Pierre Couderc
I have installed texlive-full and tried to test it by 
http://www.tug.dk/FontCatalogue/biolinum/biolinum.tex


Bur the font is not found :



LaTeX Font Warning: Font shape `T1/LinBiolinum(0)/m/n' undefined
(Font)  using `T1/cmr/m/n' instead on input line 14.


but it seems to be present :

fc-list | grep -i biolin
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_R.otf: Linux 
Biolinum O:style=Regular
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_RI.otf: Linux 
Biolinum O:style=Italic
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_RB.otf: Linux 
Biolinum O:style=Bold
/usr/share/fonts/opentype/linux-libertine/LinBiolinum_K.otf: Linux 
Biolinum Keyboard O:style=Regular



What am I missing ?


Thanks




Re: How to use zram ?

2017-09-28 Thread Pierre Couderc


On 09/28/2017 04:09 PM, Gene Heskett wrote:

On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:


On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote:

On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:

I have found no howto for zram under debian,  nor even the word
"zram" in the archives of this list !

I have tried to use zramctl but it refuses with :

A better question from me might be, what is it?

It seems to be a way to swap out to "compressed RAM"[1] (sloppy, I
know, but you hopefully get the idea).


I do have the kernel module, but not the zramctl. One is not useful w/o
the other. But I learned something from this thread. Thanks.

zramctl is delivered in basic stretch (ot I did install it witohut 
knowing...) but see my other post for its use.





Re: How to use zram ?

2017-09-28 Thread Pierre Couderc



On 09/28/2017 03:51 PM, Gene Heskett wrote:

On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:


I have found no howto for zram under debian,  nor even the word "zram"
in the archives of this list !

I have tried to use zramctl but it refuses with :


A better question from me might be, what is it?



https://en.wikipedia.org/wiki/Zram



Re: How to use zram ?

2017-09-28 Thread Pierre Couderc

On 09/28/2017 02:11 PM, David Baron wrote:


... But It seems to work :

root@nous:~# modprobe zram num_devices=2
root@nous:~# zramctl --find --size 1024M
/dev/zram0
root@nous:~# zramctl --find --size 1024M
/dev/zram1
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 146M3.5G
Swap:0B  0B  0B
Total: 3.8G 73M3.6G
root@nous:~# mkswap /dev/zram0
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=66e3aa01-a4b8-4308-b317-608c6a072810
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 146M3.5G
Swap:0B  0B  0B
Total: 3.8G 73M3.6G
root@nous:~# swapon /dev/zram0
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 147M3.5G
Swap:  1.0G  0B1.0G
Total: 4.8G 73M4.6G
root@nous:~# mkswap /dev/zram1
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=69b8070b-3b8d-4234-a773-a59812e54552
root@nous:~# swapon /dev/zram1
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 74M3.6G5.5M 147M3.5G
Swap:  2.0G  0B2.0G
Total: 5.8G 74M5.6G
root@nous:~#

Now I suppose I shouls put that in a systemd script...

Thank you very much.

PC

Did all this.
All my free -th results looked the same.
Could it be it was already there?

Assuming there is an advantage to this, how does one get it going on startup.
I HAD a sysinit script for it at one time, before the new days of systend.


I have decided to use the following script and it seems to work :

git  clone https://github.com/Jiab77/systemd-zram
cd systemd-zram
./install.sh

You can the remove systemd-zram directory.

Here you can modify /etc/systemd/zram.conf from 33% to 50 for next 
reboot… But it is only to adopt the same policy as Ubuntu,  but the 
original prefers 33%...








Re: How to use zram ?

2017-09-28 Thread Pierre Couderc

On 09/28/2017 11:56 AM, to...@tuxteam.de wrote:

On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote:

I have found no howto for zram under debian,  nor even the word
"zram" in the archives of this list !

I have tried to use zramctl but it refuses with :

root@nous:~# zramctl --find --size 1024M
zramctl: no free zram device found

I suppose I should init something somewere, but what ?

On the contrary ubuntu has a dedicated zram-config to make the job.

Thanks for any help.

I didn't even know what it is -- but the zram(8) man page and a little
guesswork at least leads in some direction.

I assume you'd want to load the zram kernel module (sudo modprobe zram,
I'd guess) to be in in the fun.

There's some doc about the Linux kernel module itself (just follow the
link in the above man page).

Let us know how it works out and... make a backup first!


Thank you very much. I have not found "the zram(8) man page "... But It 
seems to work :


root@nous:~# modprobe zram num_devices=2
root@nous:~# zramctl --find --size 1024M
/dev/zram0
root@nous:~# zramctl --find --size 1024M
/dev/zram1
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 146M    3.5G
Swap:    0B  0B  0B
Total: 3.8G 73M    3.6G
root@nous:~# mkswap /dev/zram0
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=66e3aa01-a4b8-4308-b317-608c6a072810
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 146M    3.5G
Swap:    0B  0B  0B
Total: 3.8G 73M    3.6G
root@nous:~# swapon /dev/zram0
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 147M    3.5G
Swap:  1.0G  0B    1.0G
Total: 4.8G 73M    4.6G
root@nous:~# mkswap /dev/zram1
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=69b8070b-3b8d-4234-a773-a59812e54552
root@nous:~# swapon /dev/zram1
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 74M    3.6G    5.5M 147M    3.5G
Swap:  2.0G  0B    2.0G
Total: 5.8G 74M    5.6G
root@nous:~#

Now I suppose I shouls put that in a systemd script...

Thank you very much.

PC





How to use zram ?

2017-09-28 Thread Pierre Couderc
I have found no howto for zram under debian,  nor even the word "zram" 
in the archives of this list !


I have tried to use zramctl but it refuses with :

root@nous:~# zramctl --find --size 1024M
zramctl: no free zram device found

I suppose I should init something somewere, but what ?

On the contrary ubuntu has a dedicated zram-config to make the job.

Thanks for any help.

PC



Re: How to enable SSH root access with password in jessie or stretch?

2017-02-04 Thread Pierre Couderc

On 02/04/2017 10:08 AM, Joe wrote:

On Sat, 4 Feb 2017 09:18:34 +0100
Pierre Couderc <pie...@couderc.eu> wrote:


I know it is not secure.

I have soon set "PermitRootLogin yes" and restarted. In fact
PermitRootLogin was not soon present in my ssh_config file.

Thank you.


I think that ought to be enough, but clearly it isn't. It's a long time
since I used passwords in ssh.

One thing: is that a typo? The file you should have modified is
sshd_config, ssh_config is for connections from that machine to others.


Thank you very much...
It is not a typo : it is my mistake and the problem I have been looking 
from months




How to enable SSH root access with password in jessie or stretch?

2017-02-04 Thread Pierre Couderc

I know it is not secure.

I have soon set "PermitRootLogin yes" and restarted. In fact 
PermitRootLogin was not soon present in my ssh_config file.


Thank you.


PC



Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-02-01 Thread Pierre Couderc

On 02/01/2017 11:00 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Feb 01, 2017 at 07:56:32AM +0100, Pierre Couderc wrote:


On 02/01/2017 02:28 AM, Patrick Bartek wrote:

On Tue, 31 Jan 2017 18:20:29 +0100 Pierre Couderc <pie...@couderc.eu>
wrote:

[...]


Thank you Patrick, but it is not a hardware problem.

Try it anyway.  If it doesn't work, it doesn't work.

The reason I suggested it was years ago I had the same problem -- old
computer, modern USB keyboard [...]

Well, this is not my problem, as the USB keyboard works for Windows
AND in the BIOS !
Anyway, you are right, I shall try that (if I can find an old PS2
keyboard !) in case it solves the problem without further searching
: this computer is a gift to an non profit association.
But, I do not like to not understand !

Again: nobody is suggesting it's a hardware problem. Just that we
suspect that you *can* convince your BIOS to "simulate" a traditional
keyboard, just for GRUB. Once the full linux is up and running,
USB is not that much of a problem.

So the questions there ("BIOS?", "PS/2 interface?") are not because
people here don't know what they are doing, but rather to get a feeling
on what kind of machine we have.

Machines having USB *and* PS/2 keyboard interface almost surely have
a way to set "legacy peripherals" in BIOS (this was the transition
period) *except* the very first ones. But if the BIOS itself works
with USB, then... nearly sure.

But if you want to know, here are some links for you:

  https://ubuntuforums.org/showthread.php?t=2226621
  https://bugs.launchpad.net/ubuntu/+source/grub/+bug/60177
  http://askubuntu.com/questions/423036/grub-not-responding-to-keyboard
  http://askubuntu.com/questions/59372/grub-loader-and-usb-keyboard
  https://www.mail-archive.com/bug-grub@gnu.org/msg05653.html
  
http://www.linuxquestions.org/questions/debian-26/usb-keyboard-not-working-no-bios-no-grub-menu-selection-4175518913/
  
http://www.linuxquestions.org/questions/linux-software-2/grub-and-usb-keyboards-432135-print/
  https://ubuntuforums.org/showthread.php?t=2269776

Enjoy :-)

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

iEYEARECAAYFAliRsaMACgkQBcgs9XrR2kaJNgCfaFq82sUfXuH3cADkeQ/mAWCW
cDEAn3O2PlhgcUocOUBtWpYrtKUtcta8
=nB0Y
-END PGP SIGNATURE-

I am obliged to stop the search to not spend my life on this problem...
I did use the workaround given by Patrick : I did success finding an old 
PS2 keyboard (it is not so easy in a small town...) and now I can install...
I think that the legacy option may be a solution, but now I do not 
success to enter the BIOS again...
Anyway, I do not understand why the BIOS is  able to work with this USB 
keyboard and the iso debian install disk is not...

But, I can live without understanding.

Thank you all, now I can install...
PC



Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-31 Thread Pierre Couderc



On 02/01/2017 02:28 AM, Patrick Bartek wrote:

On Tue, 31 Jan 2017 18:20:29 +0100 Pierre Couderc <pie...@couderc.eu>
wrote:



On 01/31/2017 05:49 PM, Patrick Bartek wrote:

On Tue, 31 Jan 2017 13:34:20 +0100 Pierre Couderc
<pie...@couderc.eu> wrote:


Thank you. The computer is old, I do not see this option...

If its an old computer ...  You're using a USB keyboard, right?  It
probably has as "dedicated" keyboard port, probably circular.  (As
well as one for the mouse.)  Get an adapter and plug the keyboard
into that port. Or find an old keyboard with that type of port.
See what happens.

B

Thank you Patrick, but it is not a hardware problem.

Try it anyway.  If it doesn't work, it doesn't work.

The reason I suggested it was years ago I had the same problem -- old
computer, modern USB keyboard.  The computer seemingly was designed to
use the keyboard in the dedicated keyboard port only.  Fortuantely, the
keyboard had come with the appropriate adapter.  I plugged it in and
everything worked.  FWIW: the keyboard NEVER worked using the USB port.
even after I installed Linux.  Have forgotten which distro.

B

Well, this is not my problem, as the USB keyboard works for Windows AND 
in the BIOS !
Anyway, you are right, I shall try that (if I can find an old PS2 
keyboard !) in case it solves the problem without further searching : 
this computer is a gift to an non profit association.

But, I do not like to not understand !



Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-31 Thread Pierre Couderc

On 01/31/2017 11:49 PM, Mark Fletcher wrote:

If you can get the computer to respond to that,
then your BIOS supports USB ...


In my first post - that I thank you to have answered -, I reproduce it 
here :


The keyboard is not active (but it works fine in the bios !).

A similar problem is described in 
http://www.kasploosh.com/weblog/14000/14016-debian_jessie_usb_keyboard.html


I did explain that the keyboard works under the BIOS !
(Anyway, I am nearly sure that linux does not use bios after booting...)


and we can forget about this and get back to
figuring out why the early stages of the install aren't happy (please
note, they work fine for others, including myself, so whatever it is it
isn't a straightforward "Debian doesn't work" problem).
Yes, I do not like the "Debian doesn't work"answer.. But it is not 
because it has worked for you that it works for all.
Anyway, I cannot says anything else that "when I put debian install 
disk, it does not work"

In this case,
the suggestion I made about kernel boot parameters is the best idea we
have so far to work with and would bear further research.
Yes, but I do not know how to change boot parameters. I put my CD in the 
reader and it boots before I can change anything...

Should I build my own install disk...?
I am still googling and have not soon found.



Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-31 Thread Pierre Couderc



On 01/31/2017 05:49 PM, Patrick Bartek wrote:

On Tue, 31 Jan 2017 13:34:20 +0100 Pierre Couderc <pie...@couderc.eu>
wrote:


Thank you. The computer is old, I do not see this option...

If its an old computer ...  You're using a USB keyboard, right?  It
probably has as "dedicated" keyboard port, probably circular.  (As well
as one for the mouse.)  Get an adapter and plug the keyboard into that
port. Or find an old keyboard with that type of port.  See what happens.

B

Thank you Patrick, but it is not a hardware problem.

This PC was under XP and did work fine. It is a debian (or linux ..?) 
problem but more probably a problem of the ISO debian install disk.



On 31/01/2017 09:42, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Jan 30, 2017 at 07:53:56PM +0100, Pierre Couderc wrote:

On an old computer, with an USB keyboard, the install stops on the
first screen.

The keyboard is not active (but it works fine in the bios !).

A similar problem is described in
http://www.kasploosh.com/weblog/14000/14016-debian_jessie_usb_keyboard.html

Is there a workaround ?

Besides Mark's hints, there might be a setting in BIOS which
more or less lets your OS believe there are traditional keyboard
and mice. Search for something something "legacy".

Good luck




Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-31 Thread Pierre Couderc

Thank you. The computer is old, I do not see this option...


On 31/01/2017 09:42, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Jan 30, 2017 at 07:53:56PM +0100, Pierre Couderc wrote:

On an old computer, with an USB keyboard, the install stops on the
first screen.

The keyboard is not active (but it works fine in the bios !).

A similar problem is described in 
http://www.kasploosh.com/weblog/14000/14016-debian_jessie_usb_keyboard.html

Is there a workaround ?

Besides Mark's hints, there might be a setting in BIOS which
more or less lets your OS believe there are traditional keyboard
and mice. Search for something something "legacy".

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

iEYEARECAAYFAliQTg4ACgkQBcgs9XrR2kY0xgCeJYRHIvyQl804/QBY/xfHimKh
aZAAmwaf/hWTza35rCcWiJedaXg2NCwK
=j3Pm
-END PGP SIGNATURE-





Re: Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-31 Thread Pierre Couderc

Thank you very much. I search more...


On 01/30/2017 11:50 PM, Mark Fletcher wrote:

On Mon, Jan 30, 2017 at 07:53:56PM +0100, Pierre Couderc wrote:

On an old computer, with an USB keyboard, the install stops on the first
screen.

The keyboard is not active (but it works fine in the bios !).

A similar problem is described in
http://www.kasploosh.com/weblog/14000/14016-debian_jessie_usb_keyboard.html

Is there a workaround ?


I have a feeling someone else faced a similar problem somehwat recently
(say in the last 6-12 months) and there was a boot parameter that sorted
it for them. I'm afraid I don't remember details. The closest I have
personally come to this is finding a Bluetooth keyboard not working at
that stage, but a wired USB keyboard did work. That was a release or two
of Jessie ago.

I'd suggest that Google will make short work of searching the archives
of this list to find the answer.

Mark





Impossible to install debian-8.7.1-i386-netinst.iso

2017-01-30 Thread Pierre Couderc
On an old computer, with an USB keyboard, the install stops on the first 
screen.


The keyboard is not active (but it works fine in the bios !).

A similar problem is described in 
http://www.kasploosh.com/weblog/14000/14016-debian_jessie_usb_keyboard.html


Is there a workaround ?


Thanks

PC



Re: boot fails on jessie on Acer Travelmate

2014-12-05 Thread Pierre Couderc

Le 02/12/2014 23:27, Pierre Couderc a écrit :

Hello

I have a problem with  jessie : my Acer Travelmate (P253) refuses to 
boot.



After many unsuccessful trials...
After a break of 2 days (in a monastery)...
After  a  new trial of install, it miraculously boots and works very fine!
I suppose some bug that was fixed meanwhile (maybe around systemd ?).


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5482b23d.80...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-05 Thread Pierre Couderc

Le 04/12/2014 09:30, Pascal Hambourg a écrit :

Pierre Couderc a écrit :

jessie :

Model: ATA Crucial_CT480M50 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   EndSizeFile system Name  Flags
   1  1049kB  538MB  537MB   fat32
   2  538MB   467GB  467GB   ext4
   3  467GB   480GB  12.8GB  linux-swap(v1)

In parted on a GPT disk, the boot flag identifies an EFI system
partition. An alias is esp. As Simon suggested, you can toggle the
flag (with parted, not fdisk) and check whether the system can boot again.

parted /dev/sda set 1 boot on



As I explained elsewhere, it now boots without problem.
But the gtp remains exactly as on above with no boot flag


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5482b308.7070...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-03 Thread Pierre Couderc
One big difference is that after jessie installation boot flag has 
disappeared : gpt :


wheezy :

Model: ATA Crucial_CT480M50 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   EndSizeFile system Name  Flags
 1  1049kB  512MB  511MB   fat32 boot
 2  512MB   467GB  467GB   ext4
 3  467GB   480GB  12.8GB  linux-swap(v1)



jessie :


Model: ATA Crucial_CT480M50 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   EndSizeFile system Name  Flags
 1  1049kB  538MB  537MB   fat32
 2  538MB   467GB  467GB   ext4
 3  467GB   480GB  12.8GB  linux-swap(v1)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547ee39d.5030...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-03 Thread Pierre Couderc

Le 03/12/2014 10:07, Curt a écrit :

On 2014-12-02, Pierre Couderc pie...@couderc.eu wrote:
A Secure Boot and Fast Boot in the UEFI problem, perhaps? Did you say
whether you were dual booting? Anything here that helps?

I said No alternate OS... ;)
It is smallest installation possible.

Thank you

PC


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547ee8c7.4080...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-03 Thread Pierre Couderc

Le 03/12/2014 20:45, Simon Hollenbach a écrit :

In fact, it seems  to me that the disk is not read, but it tries to net

boot.

Why do you think it tries to boot from a network?

Because it is displayed.

Again, I don't think filing a bug without any info but it doesn't

work will get your problem solved.


I am not able to find the bug myself. I am ready to spend hours to fix
it, but I need the help of someone to tell me where to search...

I think we got a differing understanding here. I think you just
encountered a bug, or you did something really stupid, which shouldn't
happen if you sanely try to install Debian. We got to describe the bug
now, so it can be fixed.
If some software let its user make someting really stupid, the problem 
is not with the user but with the software. And after 40 years in 
computing and a full week in trying to install jessie, I know I can have 
done someting stupid. But there is too some probability that there is 
some bug in grub...

So, as you say, the point is to well describe it.


Now my solution attempt, it worked for me once (but like 3 years ago)


# fdisk /dev/sda


Thank you, anyway fdisk cannot be used, I must use parted.
And I need the solution at long term, I cannot accept a that next 
aptitude upgrade breaks my boot...



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547f83c9.1060...@couderc.eu



Re: Debian sur ACER Travelmate ne boote pas

2014-12-02 Thread Pierre Couderc

J'ai compris ce qui se passe.
L'installation sous wheezy se passe bien.
Je boote et je reboote sans problème.

Puis, je fais une migration à jessie (en suivant les instructions 
officielles), puis une série de

aptitude upgrade
jusqu'à ce tout soit à jour.

Je tente de rebooter et mon boot n'est pas reconnu (il ne trouve aucun 
périphérique de boot).


.?

PC


Le 01/12/2014 19:33, Pierre Couderc a écrit :
J'ai réussi à installer en UEFI de base. Je n'ai pas compris pourquoi 
j'avais échoué précédemment, mais ça a l'air de fonctionner...

Merci à tous.

Le 01/12/2014 12:27, Pierre Couderc a écrit :

Bonjour,

J'ai un problème en installant une debian sur un Acer Travelmate 
(sans aucun OS alternatif).
J'ai fait une installation minimum (laptop, utilitaire système), 
après avoir désactivé le boot EFI (Legacy Bios).

Et il refuse de booter.

Il passe en :

grub rescue 
en déplorant l'absence de /mnt/boot/grub/i386pc/normal.mod

En bootant avec un CD live, le disque a une bonne tête, avec une 
arborescence semble-ril normale.


Merci pour votre aide.

PC





--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547dee29.9070...@couderc.eu



Re: Debian sur ACER Travelmate ne boote pas

2014-12-02 Thread Pierre Couderc
Mmm, je suis prêt à résinstaller wheezy et à recommencer si ça fait 
avancer le schmillblick...
Pour l'instant je vais voir si je peux trouver le grub.cfg avec un 
rescue CD.


Le 02/12/2014 18:24, andre_deb...@numericable.fr a écrit :

On Tuesday 02 December 2014 17:51:53 Pierre Couderc wrote:

J'ai compris ce qui se passe.
L'installation sous wheezy se passe bien.
Je boote et je reboote sans problème.
Puis, je fais une migration à jessie (en suivant les instructions
officielles), puis une série de aptitude upgrade jusqu'à ce tout
soit à jour.
Je tente de rebooter et mon boot n'est pas reconnu (il ne trouve aucun
périphérique de boot).

Si boot Wheezy = OK et Jessie, non,
quelle(s) application(s) est (sont) responsable(s) ?

Grub ?
(il aurait fallu garder le grub.cfg de Wheezy...)

André



--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547dfe4d.2010...@couderc.eu



Re: Debian sur ACER Travelmate ne boote pas

2014-12-02 Thread Pierre Couderc

Voici le grub.cfg tel qu'il est actuellement, après migration sous jessie

Le 02/12/2014 18:24, andre_deb...@numericable.fr a écrit :

On Tuesday 02 December 2014 17:51:53 Pierre Couderc wrote:

J'ai compris ce qui se passe.
L'installation sous wheezy se passe bien.
Je boote et je reboote sans problème.
Puis, je fais une migration à jessie (en suivant les instructions
officielles), puis une série de aptitude upgrade jusqu'à ce tout
soit à jour.
Je tente de rebooter et mon boot n'est pas reconnu (il ne trouve aucun
périphérique de boot).

Si boot Wheezy = OK et Jessie, non,
quelle(s) application(s) est (sont) responsable(s) ?

Grub ?
(il aurait fallu garder le grub.cfg de Wheezy...)

André



#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ ${next_entry} ] ; then
   set default=${next_entry}
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default=0
fi

if [ x${feature_menuentry_id} = xy ]; then
  menuentry_id_option=--id
else
  menuentry_id_option=
fi

export menuentry_id_option

if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
insmod all_video
  else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  
932275bb-e7c0-407f-a259-5384a7d93a7f
else
  search --no-floppy --fs-uuid --set=root 932275bb-e7c0-407f-a259-5384a7d93a7f
fi
font=/usr/share/grub/unicode.pf2
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ ${recordfail} = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload=${1}
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu 
--class os $menuentry_id_option 
'gnulinux-simple-932275bb-e7c0-407f-a259-5384a7d93a7f' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  
932275bb-e7c0-407f-a259-5384a7d93a7f
else
  search --no-floppy --fs-uuid --set=root 
932275bb-e7c0-407f-a259-5384a7d93a7f
fi
echo'Loading Linux 3.16.0-4-amd64 ...'
linux   /boot/vmlinuz-3.16.0-4-amd64 
root=UUID=932275bb-e7c0-407f-a259-5384a7d93a7f ro  quiet
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-3.16.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-932275bb-e7c0-407f-a259-5384a7d93a7f' {
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.16.0-4-amd64-advanced-932275bb-e7c0-407f-a259-5384a7d93a7f' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  
932275bb-e7c0-407f-a259-5384a7d93a7f
else
  search --no-floppy --fs-uuid --set=root 
932275bb-e7c0-407f-a259-5384a7d93a7f
fi
echo'Loading Linux 3.16.0-4-amd64 ...'
linux   /boot/vmlinuz-3.16.0-4-amd64 
root=UUID=932275bb-e7c0-407f-a259-5384a7d93a7f ro  quiet
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-3.16.0-4

Re: Debian sur ACER Travelmate ne boote pas

2014-12-02 Thread Pierre Couderc
Merci, la réponse est que dans la doc officielle, il est écrit qu'il 
faut passer par wheezy pour installer sid...
Je ne connaissais pas cet installer, je vais essayer mais je suis 
inquiet de  prendre le risque que mon PC brutalement ne veuille pas 
démarrer un jour de mise à jour.


J'essaye et rendrai compte.



Le 02/12/2014 19:55, Luc Novales a écrit :

Bonjour,

Le 02/12/2014 17:51, Pierre Couderc a écrit :

J'ai compris ce qui se passe.
L'installation sous wheezy se passe bien.
Je boote et je reboote sans problème.

Puis, je fais une migration à jessie (en suivant les instructions 
officielles), puis une série de

aptitude upgrade
Une migration sur un serveur, avec beaucoup de configuration..., 
encore passe, mais là, une install from scratch,  sur un portable, 
pourquoi pas directement avec l'installeur jessie 
https://www.debian.org/devel/debian-installer/index.fr.html ? Avec 
toutes les modifications y compris dans le démarrage (systemd...), je 
ne vois pas l'intérêt de passer par une installation wheezy suivie 
d'un upgrade.


Bonne soirée,
Luc.



--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547e0cac.9050...@couderc.eu



boot fails on jessie on Acer Travelmate

2014-12-02 Thread Pierre Couderc

Hello

I have a problem with  jessie : my Acer Travelmate (P253) refuses to boot.

I have used 2 methods :
1- install wheezy, all is ok, I boot and boot again.  I change it to 
jessie (following standard instructions) : I can boot no more
2- I have used net installer debian-jessie-DI-b2-amd64-netinst.iso . 
Same problem.


There is no message, but it seems that the HDD is not seen and the PC 
tries to boot on the network.


I have repeated many times the problem, so I suppose it is not a mistake 
of mine.
I think that it did boot correctly with wheezy, but a regression in 
jessie creates the problem.


1- what am I missing ?
2- if it is a bug, in what package should I declare it ?

I am willing to help to fix the bug, if any.

Thank you in advance

Pierre Couderc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547e3cc1.5030...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-02 Thread Pierre Couderc

Le 03/12/2014 01:17, Charlie a écrit :


Thank you very much  !

On Tue, 02 Dec 2014 23:27:13 +0100 Pierre Couderc sent:


1- install wheezy, all is ok, I boot and boot again.  I change it to
jessie (following standard instructions)

This may not help at all because things may have changed in the last
couple of months, but I'll give it a larrup.

I don't know what the standard instructions are?

This is exactly what you say above.


If you can install wheezy with a minimum install, no packages other
than what you need to get a bootable system, and you're doing a net
install.
I did that : only standard utilities. Boot  and reboot, and rereboot to 
be well sure.

By only installing the minimum packages on the install of wheezy, you
don't get a lot of stuff left behind from the change to jessie.

On the reboot ***after*** removing the CD/USB stick or whatever, just go
into your /etc/apt/sources.list and change every instance of wheezy to
jessie.

I did that.

Save the file and the do an apt-get update  and  apt-get upgrade. When
this is complete and everything is configured.
I did that. But I had to repeat the upgrade operation many times until I 
get a clear system with no more packet loaded with the last upgrade.



  Reboot.

:(

Should then be fine.

:(   :(


Like I say: if nothing has changed in the last couple of months since I
installed a jessie system on a clean machine. This way has always worked
for me in the past, but your mileage may vary.
As I imagine this has been tested thousand times in the world , I thnk 
this may be a problem due my particular computer.
And I would like to report it as a bug. But I do not know in which 
package : grub-common ?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547e6f90.5060...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-02 Thread Pierre Couderc

Le 03/12/2014 06:24, Charlie a écrit :

On Wed, 03 Dec 2014 03:04:00 +0100 Pierre Couderc sent:


Save the file and the do an apt-get update  and  apt-get upgrade.
When this is complete and everything is configured.

I did that. But I had to repeat the upgrade operation many times
until I get a clear system with no more packet loaded with the last
upgrade.

Strange indeed.



Thank you Charlie,
But as I did all on correctly - I hope -, I think that this is a bug 
linked to my own computer.

So I want to declare it and my question is : where ?
If I get no better  answer, I sall declare it in grub-common


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547ea8c0.9010...@couderc.eu



Re: boot fails on jessie on Acer Travelmate

2014-12-02 Thread Pierre Couderc

Le 03/12/2014 07:58, Simon Hollenbach a écrit :

Sent this to Pierre's private mail first. Sorry.

Hi Pierre,

you might want to dig further into this,

Mmm, what is my other choice ? W8 ?  Ubuntu ?
as I can't see how a developer could fix the error you are 
experiencing without more information.

But I am ready to spend hours to fix that !
Wht is needed ?
Have you tried chrooting into the unbootable system from an install 
cd's rescue mode? Is there anything suspicious in the logs?

Yes, I can read files from a mive CD. What log shold I search ?


When exactly does the boot-up stall? You don't even see the GRUB menu, 
do you?
I am not sure what is the grub menu, but if it is the blue menu asking 
which debian version to load. I do not arrive there.
In fact, it seems  to me that the disk is not read, but it tries to net 
boot.


Have you tried with another boot loader? Last time I installed, LILO 
was still available for selection from expert install iirc. If the 
system boots with LILO, you would have narrowed down the problem quite 
a bit.
No, sorry, I am not enough expert. If this is a regression in GRUB, it 
must be solved, one way or another.
Debian wheezy works fine on this computer. Jessie has worked too, but no 
more today.


If you do get to GRUB but booting fails afterwards, you can try adding 
debug flags to your kernel options, see:
https://wiki.archlinux.org/index.php/boot_debugging This link is for 
Arch, so be careful, not every last bit also applies to Debian, but it 
was the most comprehensive guide I could find now.
I do noth think I go up to grub, but I thnk that something is grub 
broken by the installation of jessie.


Again, I don't think filing a bug without any info but it doesn't 
work will get your problem solved.


I am not able to find the bug myself. I am ready to spend hours to fix 
it, but I need the help of someone to tell me where to  search...


Thank you Simon
PC


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/547ec225.7070...@couderc.eu



Debian sur ACER Travelmate ne boote pas

2014-12-01 Thread Pierre Couderc

Bonjour,

J'ai un problème en installant une debian sur un Acer Travelmate (sans 
aucun OS alternatif).
J'ai fait une installation minimum (laptop, utilitaire système), après 
avoir désactivé le boot EFI (Legacy Bios).

Et il refuse de booter.

Il passe en :

grub rescue 
en déplorant l'absence de /mnt/boot/grub/i386pc/normal.mod

En bootant avec un CD live, le disque a une bonne tête, avec une 
arborescence semble-ril normale.


Merci pour votre aide.

PC

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547c509a.3060...@couderc.eu



Re: Debian sur ACER Travelmate ne boote pas

2014-12-01 Thread Pierre Couderc

Le 01/12/2014 18:05, BERTRAND Joël a écrit :


Merci.


Pierre Couderc a écrit :

Bonjour,



J'ai un problème en installant une debian sur un Acer Travelmate (sans
aucun OS alternatif).
J'ai fait une installation minimum (laptop, utilitaire système), après
avoir désactivé le boot EFI (Legacy Bios).
Et il refuse de booter.

Il passe en :

grub rescue 
en déplorant l'absence de /mnt/boot/grub/i386pc/normal.mod

En bootant avec un CD live, le disque a une bonne tête, avec une
arborescence semble-ril normale.


Le /mnt me fait légèrement tiquer...



Ben, moi  z'aussi !
J'ai essayé de réinstaller en ayant tout effacé, y compris la GPT, et 
sans l'empêcher cette fois de créer la partition UEFI.
Dans ce cas, il ne boote pas sur le disque et essaye de booter sur le 
réseau (legacy boot ou UEFI boot)...


Je galère depuis deux jours à essayer d'installer un système bootable, 
UEFI ou non.

Mais c'est possible car j'ai déjà réussi une fois sur ce PC.
Je me demande s'il n'y a pas des instabilités dans grub.


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547ca85b.7020...@couderc.eu



Re: Debian sur ACER Travelmate ne boote pas

2014-12-01 Thread Pierre Couderc


Le 01/12/2014 18:33, Pierre TOUZEAU a écrit :

Question candide :

Merci

- je vois ACER TRAVELMATE et boot UEFI désactivé.
- je vois ...grub/i386pc/...

Je me pose la question d'un PC sous 32 ou 64 bits ?
 UEFI = machine moderne sous 64bits.
 i386 = veille machine sous 16/32bits.

Peut-être rien à voir avec tout cela, sorry pour le bruit dans ce cas.


Mmm, cela à peut-être à voir.
Il s'agit d'une machine moderne 64bits. Mais je ne sais pas booter en 
UEFI un CD debian, donc je l'ai booté en legacy BIOS.
et je l'ai installé en modifiant manuellement pour supprimmer la 
partition UEFI qu'il avait tendance à me rajouter.

C'est là que j'ai eu ce message.
Puis j'ai retenté une install en le laissant mettre sa partition UEFI 
mais là il n'essaye même plus de charger sur le DD (legacy BIOS  ou UEFI).




Pierre


Le 01/12/2014 12:27, Pierre Couderc a écrit :

Bonjour,

J'ai un problème en installant une debian sur un Acer Travelmate 
(sans aucun OS alternatif).
J'ai fait une installation minimum (laptop, utilitaire système), 
après avoir désactivé le boot EFI (Legacy Bios).

Et il refuse de booter.

Il passe en :

grub rescue 
en déplorant l'absence de /mnt/boot/grub/i386pc/normal.mod

En bootant avec un CD live, le disque a une bonne tête, avec une 
arborescence semble-ril normale.


Merci pour votre aide.

PC



--
Pro. Signature

Pierre Touzeau

--
Chargé de mission/Préfecture de region Basse-Normandie
SGAR/rue Daniel HUET/14038 CAEN CEDEX/Tel: +33 231 306 306
pierre.touz...@basse-normandie.pref.gouv.fr / Fax: ... 564
--





Re: Debian sur ACER Travelmate ne boote pas

2014-12-01 Thread Pierre Couderc
J'ai réussi à installer en UEFI de base. Je n'ai pas compris pourquoi 
j'avais échoué précédemment, mais ça a l'air de fonctionner...

Merci à tous.

Le 01/12/2014 12:27, Pierre Couderc a écrit :

Bonjour,

J'ai un problème en installant une debian sur un Acer Travelmate (sans 
aucun OS alternatif).
J'ai fait une installation minimum (laptop, utilitaire système), après 
avoir désactivé le boot EFI (Legacy Bios).

Et il refuse de booter.

Il passe en :

grub rescue 
en déplorant l'absence de /mnt/boot/grub/i386pc/normal.mod

En bootant avec un CD live, le disque a une bonne tête, avec une 
arborescence semble-ril normale.


Merci pour votre aide.

PC



--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/547cb48b.90...@couderc.eu



  1   2   >