logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 Re : Xfce » [Problème] Découverte partage réseau » 18-11-2023 09:14:16

dexter74
Bonjour,

Pour ceux qui veulent faire fonctionner la découverte réseau, il faut utilise Avahi (daemon) pour qu'il puisse se transmet les informations et GVFS pourras voir la machine ensuite !

Serveur


apt install -y avahi-daemon;
apt install -y samba;
apt install -y samba-common;
apt install -y wsdd;
 



Client

apt install -y avahi-daemon;
apt install -y avahi-discover;
apt install -y avahi-utils
apt install -y gvfs-backends;
apt install -y lightdm;
apt install -y xfce4;
apt install -y xorg;
apt install -y xinit;
 

#2 Re : Xfce » [Problème] Découverte partage réseau » 23-08-2023 14:03:07

dexter74
Bonjour,
Je souhaites pas utiliser de commande ou de fichier à modifier pour voir si Linux sur ce point est agréable et je penses que Thunar et ce qu'il utilises est à la traine par rapport à Windows qui peut faire du voisinage réseau pour un utilisateur lambda c'est bien mais d'un point de vu sécurité Linux est mieux .

#3 Re : Xfce » [Problème] Découverte partage réseau » 22-08-2023 06:59:42

dexter74
Bonjour Croutons,

Apparemment, en lisant le topic j'ai pu voir que sa marcherait pas.


Liens Utiles:
- serverfault
- samba Avahi
- Note

#4 Xfce » [Problème] Découverte partage réseau » 22-08-2023 06:12:57

dexter74
Réponses : 6
Bonjour,

Je suis sous Debian sous XFCE, dans l'application Thunar (Explorateur de fichier), je ne vois pas mes partages Windows et Linux.




Paquet installés:

apt install -y cifs-utils ntfs-3g smbclient



Journal d'événement

gvfsd: smbXcli_negprot_smb1_done: No compatible protocol selected by server.



Serveur Linux

apt install -y samba;
apt install -y WSDD;



#======================= Global Settings =======================
[global]
   workgroup = WORKGROUP
   log file = /var/log/samba/log.%m
   max log size = 1000
   logging = file
   panic action = /usr/share/samba/panic-action %d

   server role = standalone server
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   usershare allow guests = yes

#======================= Share Definitions =======================

[Proxmox]
comment        = Dossier Windows
path           = "/Data"
browseable     = yes
writable       = yes
read only      = no
valid users    = marc
force user     = root
create mask    = 0700
directory mask = 0700
guest ok       = no

#=================================================================
;   write list = root, @lpadmin

#5 Re : Xfce » [Résolu] Installation docklike » 16-08-2023 23:39:03

dexter74
Bonjour,
Pour ceux qui rencontres des problèmes de compilation.

clear;
apt install -y git                    1>/dev/null;
apt install -y xorg-dev               1>/dev/null;
apt install -y libglib2.0-dev         1>/dev/null;
apt install -y libgtk-3-dev           1>/dev/null;
apt install -y libwnck-3-dev          1>/dev/null;
apt install -y gir1.2-libxfce4ui-2.0  1>/dev/null;
apt install -y libxfce4ui-2-dev       1>/dev/null;
apt install -y libxfce4panel-2.0-dev  1>/dev/null;
apt install -y make                   1>/dev/null;
apt install -y g++                    1>/dev/null;


git clone https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin.git /tmp/xfce4-docklike;
cd /tmp/xfce4-docklike;
sed -i '22  s/Épingler/Désépingler/'  /tmp/xfce4-docklike/po/fr.po;
sed -i '177 s/Épingler/Désépingler/'  /tmp/xfce4-docklike/po/fr.po;
sed -i '26  s/Désépingler/Épingler/'  /tmp/xfce4-docklike/po/fr.po;
sed -i '190 s/Désépingler/Épingler/'  /tmp/xfce4-docklike/po/fr.po;
./autogen.sh --prefix=/usr;
make;
make install;


Problème de langue sur XFCE Docklike que je patch

#6 Xfce » [Résolu] Docklike sur Debian 11 » 16-08-2023 22:42:36

dexter74
Réponses : 0
Bonjour,

Suite à la réinstallation de mon Debian 11, je n'arrives plus à installer Docklike, pourriez vous m'aider. (Je souhaites docklike uniquement !)

Dépendance:

apt install -y git;
apt install -y build-essential;
apt install -y libglib2.0-dev;
apt install -y libgtk-3-dev;
apt install -y libwnck-3-dev;
apt install -y libxfce4ui-2-dev;
apt install -y libxfce4panel-2.0-dev;
apt install -y xfce4-dev-tools;
apt install -y xorg-dev;





git clone https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin.git /tmp/xfce4-docklike;
cd /tmp/xfce4-docklike;
sh autogen.sh;
make;
make install;





-------------------------------------------------------------------------------------------------------------------------------------------
sh autogen.sh;
Preparing package directory /tmp/xfce4-docklike...
Creating /tmp/xfce4-docklike/aclocal.m4...
Running glib-gettextize --force --copy...
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize --automake --copy --force
Patching file 'po/Makefile.in.in'
Running libtoolize --force --copy...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
Running aclocal -I /usr/share/aclocal...
Running automake --force-missing --add-missing --copy --gnu...
configure.ac:45: installing './compile'
configure.ac:30: installing './config.guess'
configure.ac:30: installing './config.sub'
configure.ac:37: installing './install-sh'
configure.ac:37: installing './missing'
src/Makefile.am: installing './depcomp'
Running autoconf...

Running /tmp/xfce4-docklike/configure --enable-maintainer-mode ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether gmake supports nested variables... (cached) yes
checking how to print strings... printf
checking whether gmake supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.32.1
checking for XML::Parser... ok
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gio-2.0 >= 2.58.0... 2.66.8
checking GIO_CFLAGS... -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking GIO_LIBS... -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.58.0... 2.66.8
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.24.0... 3.24.24
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking GTK_LIBS... -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cairo >= 1.16.0... 1.16.0
checking CAIRO_CFLAGS... -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
checking CAIRO_LIBS... -lcairo
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libwnck-3.0 >= 3.30.0... 3.36.0
checking WNCK_CFLAGS... -pthread -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking WNCK_LIBS... -lwnck-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x11 >= 1.6... 1.7.2
checking X11_CFLAGS...
checking X11_LIBS... -lX11
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-2 >= 4.14.0... 4.16.0
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UI_LIBS... -lxfce4ui-2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4util-1.0 >= 4.14.0... 4.16.0
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-2.0 >= 4.14.0... 4.16.2
checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4PANEL_LIBS... -lxfce4panel-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  bg ca da de el en_GB es fi fr he hr id ie it ja ko lt nb nl pl pt pt_BR ru sk sl sq sr sv tr uk zh_CN zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${prefix}/share/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking whether to build with debugging support... minimum
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Now type "make" to compile.

-------------------------------------------------------------------------------------------------------------------------------------------
Making all in src
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike/src »
  CXX      libdocklike_la-Hotkeys.lo
  CXX      libdocklike_la-Theme.lo
  CXX      libdocklike_la-AppInfos.lo
  CXX      libdocklike_la-Settings.lo
  CXX      libdocklike_la-Group.lo
  CXX      libdocklike_la-GroupMenu.lo
  CXX      libdocklike_la-GroupMenuItem.lo
  CXX      libdocklike_la-GroupWindow.lo
  CXX      libdocklike_la-Helpers.lo
  CXX      libdocklike_la-Plugin.lo
  CXX      libdocklike_la-Dock.lo
  CXX      libdocklike_la-Wnck.lo
  CXX      libdocklike_la-SettingsDialog.lo
  CC       libdocklike_la-register.lo
glib-compile-resources --generate-source --target _gresources.c _gresources.xml
  CC       libdocklike_la-_gresources.lo
  CXXLD    libdocklike.la
  ITMRG  docklike.desktop
make[1] : on quitte le répertoire « /tmp/xfce4-docklike/src »
Making all in po
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike/po »
  MSGFMT bg.gmo
  MSGFMT ca.gmo
  MSGFMT da.gmo
  MSGFMT de.gmo
  MSGFMT el.gmo
  MSGFMT en_GB.gmo
  MSGFMT es.gmo
  MSGFMT fi.gmo
  MSGFMT fr.gmo
  MSGFMT he.gmo
  MSGFMT hr.gmo
  MSGFMT id.gmo
  MSGFMT ie.gmo
  MSGFMT it.gmo
  MSGFMT ja.gmo
  MSGFMT ko.gmo
  MSGFMT lt.gmo
  MSGFMT nb.gmo
  MSGFMT nl.gmo
  MSGFMT pl.gmo
  MSGFMT pt.gmo
  MSGFMT pt_BR.gmo
  MSGFMT ru.gmo
  MSGFMT sk.gmo
  MSGFMT sl.gmo
  MSGFMT sq.gmo
  MSGFMT sr.gmo
  MSGFMT sv.gmo
  MSGFMT tr.gmo
  MSGFMT uk.gmo
  MSGFMT zh_CN.gmo
  MSGFMT zh_TW.gmo
make[1] : on quitte le répertoire « /tmp/xfce4-docklike/po »
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike »
make[1]: rien à faire pour « all-am ».
make[1] : on quitte le répertoire « /tmp/xfce4-docklike »

-------------------------------------------------------------------------------------------------------------------------------------------
make install
Making install in src
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike/src »
make[2] : on entre dans le répertoire « /tmp/xfce4-docklike/src »
make[2]: rien à faire pour « install-exec-am ».
 /usr/bin/mkdir -p '/usr/local/lib/xfce4/panel/plugins'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libdocklike.la '/usr/local/lib/xfce4/panel/plugins'
libtool: install: /usr/bin/install -c .libs/libdocklike.so /usr/local/lib/xfce4/panel/plugins/libdocklike.so
libtool: install: /usr/bin/install -c .libs/libdocklike.lai /usr/local/lib/xfce4/panel/plugins/libdocklike.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/xfce4/panel/plugins
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xfce4/panel/plugins

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/share/xfce4/panel/plugins'
 /usr/bin/install -c -m 644 docklike.desktop '/usr/local/share/xfce4/panel/plugins'
make[2] : on quitte le répertoire « /tmp/xfce4-docklike/src »
make[1] : on quitte le répertoire « /tmp/xfce4-docklike/src »
Making install in po
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike/po »
linguas="bg ca da de el en_GB es fi fr he hr id ie it ja ko lt nb nl pl pt pt_BR ru sk sl sq sr sv tr uk zh_CN zh_TW "; \
for lang in $linguas; do \
  dir=/usr/local/share/locale/$lang/LC_MESSAGES; \
  /bin/bash /tmp/xfce4-docklike/install-sh -d $dir; \
  if test -r $lang.gmo; then \
    /usr/bin/install -c -m 644 $lang.gmo $dir/xfce4-docklike-plugin.mo; \
    echo "installing $lang.gmo as $dir/xfce4-docklike-plugin.mo"; \
  else \
    /usr/bin/install -c -m 644 ./$lang.gmo $dir/xfce4-docklike-plugin.mo; \
    echo "installing ./$lang.gmo as" \
         "$dir/xfce4-docklike-plugin.mo"; \
  fi; \
  if test -r $lang.gmo.m; then \
    /usr/bin/install -c -m 644 $lang.gmo.m $dir/xfce4-docklike-plugin.mo.m; \
    echo "installing $lang.gmo.m as $dir/xfce4-docklike-plugin.mo.m"; \
  else \
    if test -r ./$lang.gmo.m ; then \
      /usr/bin/install -c -m 644 ./$lang.gmo.m \
        $dir/xfce4-docklike-plugin.mo.m; \
      echo "installing ./$lang.gmo.m as" \
           "$dir/xfce4-docklike-plugin.mo.m"; \
    else \
      true; \
    fi; \
  fi; \
done
installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/xfce4-docklike-plugin.mo
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/xfce4-docklike-plugin.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/xfce4-docklike-plugin.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/xfce4-docklike-plugin.mo
installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/xfce4-docklike-plugin.mo
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/xfce4-docklike-plugin.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/xfce4-docklike-plugin.mo
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/xfce4-docklike-plugin.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/xfce4-docklike-plugin.mo
installing he.gmo as /usr/local/share/locale/he/LC_MESSAGES/xfce4-docklike-plugin.mo
installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/xfce4-docklike-plugin.mo
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/xfce4-docklike-plugin.mo
installing ie.gmo as /usr/local/share/locale/ie/LC_MESSAGES/xfce4-docklike-plugin.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/xfce4-docklike-plugin.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/xfce4-docklike-plugin.mo
installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/xfce4-docklike-plugin.mo
installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/xfce4-docklike-plugin.mo
installing nb.gmo as /usr/local/share/locale/nb/LC_MESSAGES/xfce4-docklike-plugin.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/xfce4-docklike-plugin.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/xfce4-docklike-plugin.mo
installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/xfce4-docklike-plugin.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/xfce4-docklike-plugin.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/xfce4-docklike-plugin.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/xfce4-docklike-plugin.mo
installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/xfce4-docklike-plugin.mo
installing sq.gmo as /usr/local/share/locale/sq/LC_MESSAGES/xfce4-docklike-plugin.mo
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/xfce4-docklike-plugin.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/xfce4-docklike-plugin.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/xfce4-docklike-plugin.mo
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/xfce4-docklike-plugin.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/xfce4-docklike-plugin.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/xfce4-docklike-plugin.mo
make[1] : on quitte le répertoire « /tmp/xfce4-docklike/po »
make[1] : on entre dans le répertoire « /tmp/xfce4-docklike »
make[2] : on entre dans le répertoire « /tmp/xfce4-docklike »
make[2]: rien à faire pour « install-exec-am ».
make[2]: rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/xfce4-docklike »
make[1] : on quitte le répertoire « /tmp/xfce4-docklike »



Problème signaler ici : https://gitlab.xfce.org/panel-plugins/x … /issues/61


Solution:
Ne pas utiliser sh pour compiler mais BASH !

./autogen.sh --prefix=/usr;

#7 Re : Matériel » [Problème] Installation AMD GPU » 06-04-2023 20:45:36

dexter74
Bonjour,

après de nombreux test, le passage sous Bookworm est indispensable.

Note

deb https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal main
wget https://repo.radeon.com/amdgpu/latest/ubuntu/dists/focal/Release.gpg -O /etc/apt/trusted.gpg.d/amd_Release.gpg

#8 Matériel » [Problème] Installation AMD GPU » 06-04-2023 14:39:06

dexter74
Réponses : 3
Bonjour,

J'aimerai un coups de main, car je rencontre un problème d'installation de pilote Graphique.

Je suis sous Debian 11 avec une RX 6700XT.

Je souhaite installer le pilote propriétaire mais j'ai des problèmes de dépendances pour le paqUet rocm-llvm.

rocmm-llvm : dépend : libstdc++-5-dev mais il n'est pas installable ou  dépend : libstdc++-6-dev mais il n'est pas installable ou libstdc++-11-dev mais il n'est pas installable

Auriez vous une solution ?

#9 Re : Xfce » [Problème] Network-manager et nm-applet » 19-01-2023 16:42:50

dexter74
Poste à delete.

Solution:
NetworkManager will only handle interfaces not declared in /etc/réseau/interfaces (see README file).

> Commenter les interfaces et un relance du service voir du pc à corriger le problème .

#10 Xfce » [Problème] Network-manager et nm-applet » 19-01-2023 15:51:20

dexter74
Réponses : 1
Bonjour,

Je rencontre un problème sur nm-applet, quand je clique dessus, je vois juste "connexions vpn".

Pourriez vous m'aider ? (paquet manquant ?)



Debian 11 (bullseye)
GUI: XFCE4
 




apt install -y xfce4;
apt install -y lightdm lightdm-gtk-greeter;
apt install -y network-manager;
apt install -y network-manager-gnome;

systemctl enable --now lightdm;
systemctl enable --now NetworkManager;
 




2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:d4:c0:3e brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic enp0s3
       valid_lft 86318sec preferred_lft 86318sec
    inet6 fe80::a00:27ff:fed4:c03e/64 scope link
       valid_lft forever preferred_lft forever
 




systemctl status NetworkManager
● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-01-19 14:24:03 CET; 1h 26min ago
       Docs: man:NetworkManager(8)
   Main PID: 379 (NetworkManager)
      Tasks: 3 (limit: 4659)
     Memory: 13.5M
        CPU: 45ms
     CGroup: /system.slice/NetworkManager.service
             └─379 /usr/sbin/NetworkManager --no-daemon

janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9317] ifupdown: interface-parser: finished parsing file /etc/network/interfaces
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9327] ifupdown: guessed connection type (enp0s3) = 802-3-ethernet
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9348] device (lo): carrier: link connected
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9351] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9358] manager: (enp0s3): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9367] manager: NetworkManager state is now CONNECTED_GLOBAL
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9387] manager: startup complete
janv. 19 14:24:03 Debian NetworkManager[379]: <info>  [1674134643.9397] modem-manager: ModemManager available
janv. 19 15:49:59 Debian NetworkManager[379]: <info>  [1674139799.5613] device (enp0s3): carrier: link connected
janv. 19 15:50:15 Debian NetworkManager[379]: <info>  [1674139815.7602] agent-manager: agent[0ef54542af9de2be,:1.44/org.freedesktop.nm-applet/1000]: agent registered

journalctl -u NetworkManager.service -b0 -p warning
-- Journal begins at Thu 2023-01-19 13:24:13 CET, ends at Thu 2023-01-19 15:50:25 CET. --
janv. 19 14:24:03 Debian NetworkManager[379]: <warn>  [1674134643.9317] ifupdown: interfaces file /etc/network/interfaces.d/* doesn't exist
 

#11 Re : Xfce » [Résolu] Installation docklike » 18-01-2023 20:40:12

dexter74
Correctif  FR:


apt install -y xorg-dev
wget --inet4-only https://archive.xfce.org/src/panel-plugins/xfce4-docklike-plugin/0.4/xfce4-docklike-plugin-0.4.0.tar.bz2 -O /tmp/xfce4-docklike-plugin-0.4.0.tar.bz2 && tar xf /tmp/xfce4-docklike-plugin-0.4.0.tar.bz2 -C "/tmp"
sed -i '22  s/Épingler/Désépingler/'  /tmp/xfce4-docklike-plugin-0.4.0/po/fr.po;
sed -i '177 s/Épingler/Désépingler/'  /tmp/xfce4-docklike-plugin-0.4.0/po/fr.po;
sed -i '26  s/Désépingler/Épingler/'  /tmp/xfce4-docklike-plugin-0.4.0/po/fr.po;
sed -i '190 s/Désépingler/Épingler/'  /tmp/xfce4-docklike-plugin-0.4.0/po/fr.po;
cd /tmp/xfce4-docklike-plugin-0.4.0/
./configure
make
make install
 

#12 Jeux » [Problème] Jeu steam ne se lance pas » 16-05-2022 12:56:03

dexter74
Réponses : 0
Bonjour,

Après avoir installer steam via le deb du site officiel, je suis aller dans les paramètres de steam puis Steam Play puis cochés les 2 cases nécessaire pour la prise en charge des jeux via l'outil Proton.
Ensuite j'ai installer Subnautica et lors du lancement, rien.

Comment puis-je trouver le message d'erreur pour permettre de trouver une solution.


glxinfo -B:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 12288 MB
    Total available memory: 12288 MB
    Currently available dedicated video memory: 11555 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.103.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 470.103.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.103.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20


       _,met$$$$$gg.          marc@Drthrax
    ,g$$$$$$$$$$$$$$$P.       ------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) x86_64
 ,$$P'              `$$$.     Kernel: 5.16.0-0.bpo.4-amd64
',$$P       ,ggs.     `$$b:   Uptime: 25 mins
`d$$'     ,$P"'   .    $$$    Packages: 2217 (dpkg)
 $$P      d$'     ,    $$P    Shell: bash 5.1.4
 $$:      $$.   -    ,d$$'    Resolution: 3840x1080
 $$;      Y$b._   _,d$P'      DE: Xfce 4.16
 Y$$.    `.`"Y$$$$P"'         WM: Xfwm4
 `$$b      "-.__              WM Theme: Midnight-BlueNight
  `Y$$                        Theme: Midnight-BlueNight [GTK2/3]
   `Y$$.                      Icons: papyrus-red [GTK2/3]
     `$$b.                    Terminal: xfce4-terminal
       `Y$$b.                 Terminal Font: Monospace 12
          `"Y$b._             CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
              `"""            GPU: NVIDIA GeForce RTX 3060
                              Memory: 3511MiB / 32078MiB



Versiob

wine-7.0

#13 Re : Autres » [Résolu] Installation de Battle.net sur Debian11 (Wine) » 11-05-2022 00:35:46

dexter74
Bonjour,

Le problème était tout bête, les ajouts casse l'installation.

Wine + Battle.net = Installation OK
Wow + DXVK = Performance élevé

#14 Re : Xfce » [Résolu] Installation docklike » 06-05-2022 13:14:04

dexter74
Bonjour,

Je suis ravis de voir que mon topic a été une découverte pour certaines personne smile .

#15 Re : Autres » [Résolu] Installation de Battle.net sur Debian11 (Wine) » 06-05-2022 12:50:13

dexter74
Bonjour Tawal,

La version de Wine n'est pas à jour dans le dépôt de Debian, c'est pourquoi je prends le dépôt de Wine. (5.0 vs 7.0)

https://packages.debian.org/bullseye/wine64

#16 Autres » [Résolu] Installation de Battle.net sur Debian11 (Wine) » 05-05-2022 19:33:58

dexter74
Réponses : 6
Bonjour,

J'aimerai savoir si quelqu'un a réussi à installer Battle.net sous Debian 11 via Wine.

Prise en charge Architecture 32 Bits / x86

dpkg --add-architecture i386
apt update
apt install -y libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386


Installation de Fixe: (Evite des erreurs dans Wine)

apt install -y cabextract
apt install -y p11-kit:i386


Installation de Wine et Winetricks:

wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
echo 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main' > /etc/apt/sources.list.d/Wine.list
apt update
apt install --install-recommends -y winehq-stable
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -P /bin
chmod +x /bin/winetricks


Wine

#Purge Environnement:
rm -r /$HOME/.blizzard

#Déclaration Environnement:
export WINEARCH=win64 WINEPREFIX=/$HOME/.blizzard

#Préparation Environnement:
winetricks corefonts
winetricks winhttp
winetricks wininet
winetricks settings win10

#Package:
curl "https://eu.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe" --output /tmp/Battle.net-Setup.exe
wine /tmp/Battle.net-Setup.exe



Terminale

fixeme:uiautomation:UiaClient



Information:

wine: 7.0 (Stable)
Winetricks: 20220411-next

#17 Re : Autres » Pâte thermique » 05-05-2022 19:26:06

dexter74
Bonjour,
Pour de la pate thermique, ta la marque Grizzly qui est la meilleur du marché .

#18 Re : Xfce » [Résolu] Installation docklike » 05-05-2022 19:17:17

dexter74
Bonjour,
Je ne recherche pas un Dock mais une barre des taches. J'ai réussi ce que je souhaitais.

Dépendances:

apt install -y git;
apt install -y build-essential;

apt install -y xfce4-dev-tools;
apt install -y libglib2.0-dev;
apt install -y libgtk-3-dev;
apt install -y libwnck-3-dev;
apt install -y libxfce4ui-2-dev;
apt install -y libxfce4panel-2.0-dev;



DockLike

git clone https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin.git /tmp/xfce4-docklike
cd /tmp/xfce4-docklike
sh autogen.sh
make
make install



koAFk0A.png

#19 Re : Xfce » [Résolu] Installation docklike » 03-05-2022 17:46:07

dexter74
Bonjour,
Le dock de XFCE est pas terrible car la fenêtre n'est pas réouvrable depuis le même bouton

#20 Xfce » [Résolu] Installation docklike » 02-05-2022 21:08:22

dexter74
Réponses : 18
Bonjour,

Après avoir installé Debian 11 sous XFCE, j'aimerai installé Docklike pour avoir la barre des tâches en icônes mais j'y arrive pas.

Résolu, voir info de travaille en bas du topic

#21 Re : Installation et migration » [Résolu] Problème Debian 11 (ESP, LVM) » 02-05-2022 16:22:13

dexter74
Bonjour,
J'ai réussi à faire l'installation en mode "Install" au lieu de "Graphical install".

Je suppose que j'ai soit fait un mauvais choix ou c'est potentiellement un bug, le mystère est entier.

Topic en Résolu pour l'installaton

#22 Re : Installation et migration » [Résolu] Problème Debian 11 (ESP, LVM) » 01-05-2022 19:35:22

dexter74

C'est-à-dire ? Quel système ? L'installateur ? Le système installé ? Que se passe-t-il exactement ?
L'installateur a-t-il bien démarré en mode EFI ?



Dans le contenu de mon poste, j'ai préciser le système et le mode graphique précise l'installateur, si j'ai mis ESP sa sous entend EFI.
j'ai préciser que la partition ESP se monte pas donc j'ai expliquer la symptomatique et la méthodologie pour tenter de contourner le problème.

#23 Re : Installation et migration » [Résolu] Problème Debian 11 (ESP, LVM) » 01-05-2022 19:28:32

dexter74
Bonjour raleur,



As-tu regardé dans les logs de l'installateur (/var/log/syslog) et du noyau (dmesg) ?
Comment cette partition EFI a-t-elle été créée et formatée ?
As-tu essayé de la monter manuellement avec mount pour voir ce qui se passe ?
Qu'est-ce que le mode graphique vient faire là-dedans ?



J'ai pas regarder la log. (J'ai éteint comme un con)
La partition a été crée via l'interface graphique de l'installateur.
Le montage à la main a été fait si tu m'avais lu.
Le mode graphique est le mode utiliser lors de l'installation, j'ai voulu être précis.

Ça m'étonnerait car la numérotation des partitions commence à 1 et ça contredit le tableau suivant.


Tu dois avoir surement raison. Ce qui donneras:
mmcblk0p1: ESP
mmcblk0p2: LVM

C'est-à-dire ?


Je parlais de monté à la main via la commande mount les partitions.


C'est-à-dire ? Quel système ? L'installateur ? Le système installé ? Que se passe-t-il exactement ?
L'installateur a-t-il bien démarré en mode EFI ?


Merci de me lire correctement, j'ai tout précisé.

#24 Installation et migration » [Résolu] Problème Debian 11 (ESP, LVM) » 01-05-2022 18:50:01

dexter74
Réponses : 6
Bonjour,

Lors de l'installation de Debian 11, j'ai une erreur indiquant qu'il arrive pas à monter la partition ESP en mode Graphique.

J'ai ensuite tenté de faire à la main les partitions, mais le système refuse l'étape de Grub.


Auriez vous une solution ?


----------------------------------------------------------------------------------------

Système: Debian 11

ISO: debian-11.3.0-amd64-DVD-1.iso

Firmware: firmware-iwlwifi_20210315-3_all.deb

Partitionnement:

mmcblk0p0: ESP
mmcblk0p1: LVM



Point de Montage: (Discard : ON)


/dev/mmcblk0p1         /target/boot/efi (ESP  -  512M)
/dev/mapper/vg0-HOME   /target/home     (EXT4 -  16Go)
/dev/mapper/vg0-SWAP   ---------------- (SWAP -   8 G)
/dev/mapper/vg0-SYSTEM /target          (EXT4 -  32Go)
/dev/mapper/vg0-Temp   /target/tmp      (EXT4 -   6Go)
 

#25 Re : Installation et migration » Monter les LUN iSCSI » 04-06-2021 22:37:15

dexter74
Problème Résolu.

################################
# Script de montage des Cibles #
################################
# Déclaration des variables :
BLACK=iqn.2011-08.com.asustor:as5304t-8d5b27.black
JEUX=iqn.2011-08.com.asustor:as5304t-8d5b27.jeux
PROXMOX=iqn.2011-08.com.asustor:as5304t-8d5b27.proxmox
WS2016=iqn.2011-08.com.asustor:as5304t-8d5b27.ws2016

###############################
# Utilisateur et Mot de passe #
###############################

# Important: Le mot de passe doit être long sinon sa marche pas.

BLACK_USERNAME_CHAP=
BLACK_PASSWORD_CHAP=

BLACK_USERNAME_CHAP_MUTUEL=
BLACK_PASSWORD_CHAP_MUTUEL=

JEUX_USERNAME_CHAP=
JEUX_PASSWORD_CHAP=

PROXMOX_USERNAME_CHAP=
PROXMOX_PASSWORD_CHAP=
PROXMOX_USERNAME_CHAP_MUTUEL=
PROXMOX_PASSWORD_CHAP_MUTUEL=

WS2016_USERNAME_CHAP=
WS2016_PASSWORD_CHAP=

WS2016_USERNAME_CHAP_MUTUEL=
WS2016_PASSWORD_CHAP_MUTUEL=


############################
# Purge des configurations #
############################
iscsiadm --mode node --logoutall=all ;
rm -r /etc/iscsi/nodes/iqn.* ;
rm -r /mnt/* ;

#########################
# Découverte du Portail #
#########################
iscsiadm --mode discovery -t sendtargets --portal 192.168.1.2 | grep 192.168.1.2


###########################
# Nettoyage de la console #
###########################
clear ; #
#########


#########################################################################################################################################################
# Montage de la Cible BLACK #
#############################
echo "
###############################################################
#Auth Chap:
node.session.auth.username = $BLACK_USERNAME_CHAP
node.session.auth.password = $BLACK_PASSWORD_CHAP
#Auth Chap Mutuel:
node.session.auth.username_in = $BLACK_USERNAME_CHAP_MUTUEL
node.session.auth.password_in = $BLACK_PASSWORD_CHAP_MUTUEL
###############################################################" >>                                  "/etc/iscsi/nodes/$BLACK/192.168.1.2,3260,1/default"
sed -i 's/node.startup = manual/node.startup = automatic/g'                                          "/etc/iscsi/nodes/$BLACK/192.168.1.2,3260,1/default"
sed -i 's/node.session.auth.authmethod = None/node.session.auth.authmethod = CHAP/g'                 "/etc/iscsi/nodes/$BLACK/192.168.1.2,3260,1/default"
sed -i 's/node.session.timeo.replacement_timeout = 120/node.session.timeo.replacement_timeout = 5/g' "/etc/iscsi/nodes/$BLACK/192.168.1.2,3260,1/default"


#########################################################################################################################################################
# Montage de la Cible JEUX #
############################
echo "
###############################################################
#Auth Chap:
#node.session.auth.username = $JEUX_USERNAME_CHAP
#node.session.auth.password = $JEUX_PASSWORD_CHAP
###############################################################" >>                                  "/etc/iscsi/nodes/$JEUX/192.168.1.2,3260,1/default"
sed -i 's/node.startup = manual/node.startup = automatic/g'                                          "/etc/iscsi/nodes/$JEUX/192.168.1.2,3260,1/default"
sed -i 's/node.session.timeo.replacement_timeout = 120/node.session.timeo.replacement_timeout = 5/g' "/etc/iscsi/nodes/$JEUX/192.168.1.2,3260,1/default"




#########################################################################################################################################################
# Montage de la Cible Proxmox #
###############################
echo "
###############################################################
#Auth Chap:
#node.session.auth.username = $PROXMOX_USERNAME_CHAP
#node.session.auth.password = $PROXMOX_PASSWORD_CHAP
###############################################################
#Auth Chap Mutuel:
#node.session.auth.username_in = $PROXMOX_USERNAME_CHAP_MUTUEL
#node.session.auth.password_in = $PROXMOX_PASSWORD_CHAP_MUTUEL
###############################################################" >>                                  "/etc/iscsi/nodes/$PROXMOX/192.168.1.2,3260,1/default"
sed -i 's/node.startup = manual/node.startup = automatic/g'                                          "/etc/iscsi/nodes/$PROXMOX/192.168.1.2,3260,1/default"
sed -i 's/node.session.timeo.replacement_timeout = 120/node.session.timeo.replacement_timeout = 5/g' "/etc/iscsi/nodes/$PROXMOX/192.168.1.2,3260,1/default"



#########################################################################################################################################################
# Montage de la Cible WS2016 #
##############################
echo "
###############################################################
#Auth Chap:
node.session.auth.username = $WS2016_USERNAME_CHAP
node.session.auth.password = $WS2016_PASSWORD_CHAP
#Auth Chap Mutuel:
node.session.auth.username_in = $WS2016_USERNAME_CHAP_MUTUEL
node.session.auth.password_in = $WS2016_PASSWORD_CHAP_MUTUEL
###############################################################" >>                                  "/etc/iscsi/nodes/$WS2016/192.168.1.2,3260,1/default"
sed -i 's/node.startup = manual/node.startup = automatic/g'                                          "/etc/iscsi/nodes/$WS2016/192.168.1.2,3260,1/default"
sed -i 's/node.session.auth.authmethod = None/node.session.auth.authmethod = CHAP/g'                 "/etc/iscsi/nodes/$WS2016/192.168.1.2,3260,1/default"
sed -i 's/node.session.timeo.replacement_timeout = 120/node.session.timeo.replacement_timeout = 5/g' "/etc/iscsi/nodes/$WS2016/192.168.1.2,3260,1/default"



#########################################################################################################################################################
# Connexion aux Cibles #
########################
iscsiadm --mode node --targetname $BLACK   --portal 192.168.1.2 --login ;
iscsiadm --mode node --targetname $JEUX    --portal 192.168.1.2 --login ;
iscsiadm --mode node --targetname $PROXMOX --portal 192.168.1.2 --login ;
iscsiadm --mode node --targetname $WS2016  --portal 192.168.1.2 --login ;

#########################################################################################################################################################
# Déconnexion aux Cibles #
##########################
iscsiadm --mode node --logout 192.168.1.2:3260,1 $BLACK   ; # Deconnexion
iscsiadm --mode node --logout 192.168.1.2:3260,1 $JEUX    ; # Deconnexion
iscsiadm --mode node --logout 192.168.1.2:3260,1 $PROXMOX ; # Deconnexion
iscsiadm --mode node --logout 192.168.1.2:3260,1 $WS2016  ; # Deconnexion

#########################################################################################################################################################
# Suppression des Cibles #
##########################

iscsiadm --mode node --op delete --targetname $BLACK   ; # Suppresion
iscsiadm --mode node --op delete --targetname $JEUX    ; # Suppresion
iscsiadm --mode node --op delete --targetname $PROXMOX ; # Suppresion
iscsiadm --mode node --op delete --targetname $WS2016  ; # Suppresion

#########################################################################################################################################################
# Etats des sessions #
######################
iscsiadm -m session ; # Lister sessions

#########################################################################################################################################################
# Information sur les Volumes #
###############################
clear ;
echo '----------------------------------------'
ls -l /dev/disk/by-path ;
echo '----------------------------------------'
blkid
echo '----------------------------------------'

Pied de page des forums

Propulsé par FluxBB