Table des matières
- 2026:
- 2025:
8 billet(s) pour mars 2026
| Notes conteneurs oras artifact OCI | 2026/03/23 21:13 | Jean-Baptiste |
| Notes podman secret | 2026/03/23 15:10 | Jean-Baptiste |
| Notes ansible podman | 2026/03/23 14:08 | Jean-Baptiste |
| Notes podman volume | 2026/03/23 14:00 | Jean-Baptiste |
| Find list - Trouver des fichiers à partir d'une liste | 2026/03/18 14:32 | Jean-Baptiste |
| AWX inventaire vault | 2026/03/17 18:04 | Jean-Baptiste |
| AWX - Configuration git en local (sans serveur web) | 2026/03/05 16:24 | Jean-Baptiste |
| OpenSMTP | 2026/03/03 16:58 | Jean-Baptiste |
Notes Yggdrasil Network
Voir :
[Yggdrasil address miner in Golang]
Maintainer: @tdemin Git: https://git.tdem.in/tdemin/syg_go/ Wiki: http://[222:a8e4:50cd:55c:788e:b0a5:4e2f:a92c]/doku.php?id=yggdrasil:simpleygggen_go
[Yggdrasil address miner written in C++]
Yggdrasil 0.4 and higher
Git: https://notabug.org/acetone/SimpleYggGen-CPP/ Wiki: http://[222:a8e4:50cd:55c:788e:b0a5:4e2f:a92c]/doku.php?id=yggdrasil:simpleygggen_cpp
Debian: :
sudo apt-get install libsodium
yggdrasil -genconf > yggdrasil.conf
yggdrasil network peers public Changer peers
yggdrasil -useconf > yggdrasil.conf
Chercher yggdrasil internal services
Notes Xorg
Voir aussi Wayland
PID de gnome-session /tmp/.X0-lock
Générer /root/xorg.conf.new
#Xorg :1 -configure Xorg -configure
Pour désactiver une carte GPU
lspci echo 1 > /sys/bus/pci/devices/[card device id]/remove
Voir https://github.com/dglt1/optimus-switch/issues/17
X -config /root/xorg.conf.new -retro sudo Xorg -verbose -config /root/Xorg.conf
nvidia-xconfig --mode nvidia-auto-select
Pb
X: user not authorized to run the X server, aborting.
Solution
/etc/X11/Xwrapper.config
#allowed_users=console allowed_users=anybody
Valeurs possibles pour allowed_users :
- root
- anybody
- console
# dpkg-reconfigure x11-common
startx
Trouver le VendorName
Xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
lspci -vmm
systemd-logind returned paused fd for drm node
Xorg fail at boot But start if : “ctrl+alt+f3” and “ctrl+alt+f1”
Solution 1 - nolapic
# lspci 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e98]
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet nolapic"
update-grub
Mais le nolapic crée des problèmes sur une des cartes réseaux
Solution 2 - décaler d'une second le démarrage de GDM
/etc/systemd/system/gdm3.service.d/gdm.conf
[Service] ExecStartPre=/usr/bin/bash -c 'sleep 1'
Notes Wine
Voir aussi :
- winetricks
- PlayOnLinux
- ./play.it
Voir également la version commerciale : https://www.codeweavers.com/products/crossover-linux Ce n'est pas libre, mais ca aide Wine qui lui est libre.
dpkg --add-architecture i386 && apt-get update apt-get install wine32
~/.PlayOnLinux/
apt-get install mono-runtime wine playonlinux winetricks apt-get install mono-complete apt-get install cabextract
WINEARCH=win32 WINEPREFIX=/$HOME/.win32 winecfg # ln -s /usr/bin/wine32 /usr/bin/wine export WINEPREFIX=$HOME/.win32 export WINEARCH=win32 # export WINEDEBUG=warn+all # export WINEDEBUG=fixme-all ## Perf # export WINEDEBUG=-all
Voir https://doc.ubuntu-fr.org/wine_profils
winetricks --gui env WINEARCH=win32 WINEPREFIX=/$HOME/.win32 winetricks list-installed
Installer un paquet MSI
wine msiexec /i wine-mono-4.7.3.msi
Install de Wine Mono
export WINEPREFIX=$HOME/.win32 export WINEARCH=win32 wine msiexec /i wine-mono-4.7.3.msi
Pb
Exemple de cas tordu
http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/SilaeClient.exe.manifest http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/SilaeClient.exe
$ file SilaeClient.exe SilaeClient.exe: PE32 executable (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
Donc 32 bits
$ strings SilaeClient.exe |grep -i \.net |head Paint.NET v3.5.100 Paint.NET v3.5.100
Il faut le .NET v3.5
Avec Wine Mono
$ wine SilaeClient.exe Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' $ mono SilaeClient.exe WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies. File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null'
Il manquait les dépendances suivantes :
- DevComponents.DotNetBar.dll
- ExcelLibrary.dll
http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/DevComponents.DotNetBar.dll http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/ExcelLibrary.dll
Autres
Voir depends.exe http://www.dependencywalker.com/
Mono
mono --runtime=v4.0 application.exe
https://bugs.winehq.org/show_bug.cgi?id=30410
echo 0 |sudo tee /proc/sys/kernel/yama/ptrace_scope
DLL
#!/bin/sh # # Lanceur NetMeeting /usr/bin/wine Rundll32.exe msconf.dll,OpenConfLink $1
Notes windows
Charset lang
Source https://superuser.com/questions/482018/how-to-set-default-charset-in-windows-cmd
Get default charset in Windows cmd
chcp
How to set default charset in Windows cmd ?
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] "AutoRun"="chcp 1251"
Cmd - Get the System-locale setting for the current computer
systeminfo | findstr /B /C:"System Locale"
PowerShell - Get the System-locale setting for the current computer
Get-WinSystemLocale
Recourci clavier changement layout keyboard
[shift] + [ctrl]
ou selon la version :
[ctrl] + [alt]
wmic
Voir : dell_service_tag
OS Architecture 32 64 bits
wmic os get osarchitecture
wmic computersystem get model
If a folder called C:\Program Files (x86)\ exists it also confirms it’s 64Bit
Pb réseau entreprise
ipconfig /flushdns timeout 30 ipconfig /release timeout 30 ipconfig /renew timeout 30 gpupdate /force
Notes batch .bat cmd.exe
Le code de retour est renvoyé par la variable ERRORLEVEL (équivalent à RC)
Désactiver Menu Démarrer Arrêter HideShutDown
Eviter d'arrêter un hôte distant
HideShutDown
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown] "value"=dword:00000001
Registre windows GNU+Linux
Voir : virt-win-reg
Shutdown
shutdown.exe /f /s /t 0
restart-computer -force
