Pages : 1
#1 Le 29/12/2024, à 10:58
- Tessa
RESOLU liaison avec le NAS
Bonujour,
désolé de demander encore votre aide, mais je suis dépassé
j'ai un pc tour dans mon bureau et un NAS dans une grange, le tout relier par des câbles
depuis le passage de la version 18.04 à 24.04 mon bak up ne se fait plus, lorsque je veut lire les fichiers du NAS, le pc me met une erreur
" impossible de monter le bak up. mount.cifs: permission denied"
si je vais avec le gestionnaire de fichier dans le réseau et que je rentre le mot de passe j'ai acces
merci pour votre aide
Modération : déplacé dans la section NAS.
Dernière modification par Tessa (Le 02/01/2025, à 12:00)
Hors ligne
#2 Le 29/12/2024, à 12:45
- geole
Re : RESOLU liaison avec le NAS
Bonjour
Au cas ou le nas serait monté automatiquement au démarrage de ubuntu, donne ce retour
grep cif /etc/fstab
Sinon, publie la commande de montage du nas de ton script de sauvegarde
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 29/12/2024, à 14:01
- Tessa
Re : RESOLU liaison avec le NAS
merci pour votre aide, voila la réponse
jcc@jcc-HP:~/Bureau$ grep cif /etc/fstab
//192.168.1.104/tamponSS /media/tamponSS cifs uid=jcc,credentials=/home/jcc/.smbcredentials,iocharset=utf8,sec=ntlm,vers=1.0 0 0
//192.168.1.104/backup /media/backup cifs uid=jcc,credentials=/home/jcc/.smbcredentials,iocharset=utf8,sec=ntlm,vers=1.0 0 0
par contre la commande du NAS , je suis totalement imcapable de répondre
Hors ligne
#4 Le 29/12/2024, à 14:30
- geole
Re : RESOLU liaison avec le NAS
Donc le montage se fait au démarrage de l'ordinateur
Peux-tu donner ces retours
ls -l /media
mount | grep media
id
journalctl --no-pager -b -p err -n 100
journalctl --no-pager -b -g cifs -n 100
journalctl --no-pager -b -g "192.168.1.104" -n 100
Je soupçonne ces options sec=ntlm,vers=1.0
Spécialement la version Mais peut-être aussi la méthode de gestion du mot de passe. Ce qui expliquerait pourquoi cela fonctionne en mode graphique
man mount.cifs | grep ntlm
• ntlm - Use NTLM password hashing
• ntlmi - Use NTLM password hashing and force packet signing
• ntlmv2 - Use NTLMv2 password hashing
• ntlmv2i - Use NTLMv2 password hashing and force packet signing
• ntlmssp - Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message
• ntlmsspi - Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message, and force packet signing
The default in mainline kernel versions prior to v3.8 was sec=ntlm. In v3.8, the default was changed to sec=ntlmssp.
Le premier essai serait
1) Démonter le nas
sudo umount -v /media/backup
2) Modifier le fichier /etc/fstab pour supprimer l'expression sec=ntlm,vers=1.0
3) Remonter le nas et donnant la trace dans le journal
systemctl daemon-reload
sudo mount -av
journalctl --no-pager -b -n 100
4) Vérifier si les fichiers sont présents
ls -l /media/backup
5) Vérifier le protocole utilisé.
cat /proc/mounts | grep cifs
Dernière modification par geole (Le 30/12/2024, à 09:20)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#5 Le 29/12/2024, à 23:26
- Tessa
Re : RESOLU liaison avec le NAS
Merci pour la réponse,
voici les premiers retour, je continue demain
jcc@jcc-HP:~/Bureau$ ls -l /media
total 676
drwxr-xr-x 2 root root 4096 déc 23 2018 backup
drwxrwxr-x 1 jcc jcc 679936 déc 17 00:26 hdd_ext
drwxr-x---+ 2 root root 4096 déc 23 22:17 jcc
drwxr-xr-x 2 root root 4096 déc 23 2018 tamponSS
jcc@jcc-HP:~/Bureau$ mount | grep media
/dev/sdc2 on /media/hdd_ext type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,user)
jcc@jcc-HP:~/Bureau$ id
uid=1000(jcc) gid=1000(jcc) groupes=1000(jcc),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),118(lpadmin),120(scanner),121(saned),126(sambashare)
jcc@jcc-HP:~/Bureau$ journalctl --no-pager -b -p err -n 100
déc 29 13:15:55 jcc-HP kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:15:55 jcc-HP kernel: ima: Error Communicating to TPM chip
déc 29 13:17:07 jcc-HP systemd[1]: Failed to start postfix@-.service - Postfix Mail Transport Agent (instance -).
déc 29 13:17:08 jcc-HP kernel: bad security option: ntlm
déc 29 13:17:08 jcc-HP kernel: CIFS: VFS: bad security option: ntlm
déc 29 13:17:08 jcc-HP kernel: bad security option: ntlm
déc 29 13:17:08 jcc-HP kernel: CIFS: VFS: bad security option: ntlm
déc 29 13:17:08 jcc-HP systemd[1]: Failed to mount media-backup.mount - /media/backup.
déc 29 13:17:08 jcc-HP systemd[1]: Failed to mount media-tamponSS.mount - /media/tamponSS.
déc 29 13:30:31 jcc-HP hpfax[2476]: [2476]: error: Failed to create /var/spool/cups/tmp/.hplip
jcc@jcc-HP:~/Bureau$ journalctl --no-pager -b -g "192.168.1.104" -n 100
-- No entries --
jcc@jcc-HP:~/Bureau$
Hors ligne
#6 Le 29/12/2024, à 23:38
- iznobe
Re : RESOLU liaison avec le NAS
Bonjour ,
@geole cifs vers=1 n ' est plus supporté par ubuntu si ?
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#7 Le 30/12/2024, à 08:57
- geole
Re : RESOLU liaison avec le NAS
Bonjour.
Il me semble que les dernières mises à jour de windows ont supprimé le protocole v1.0.
Pour le moment cela râle à cause d'un autre paramètre.
Je propose un essai sans le paramètre en question.
De plus, il me semble inutile de préciser le protocole à utiliser. Le dialogue commence avec le protocole le plus récent, si pas de réponse du serveur, nouvelle tentative avec la version immédiatement inférieure. etc.... Ce serait dommage d'imposer la version 1.0 si une 2.0 fonctionne car.
Microsoft a publié SMB 2.0 (ou SMB2) en 2006 avec Windows Vista. Cette version SMB est plus fiable que SMB 1.0/CIFS et ce n'est pas CIFS. Le nombre de commandes nécessaires pour transférer des fichiers est réduit de plus de 100 à 20. Les performances sont plus élevées grâce aux mécanismes de traitement du pipeline, c'est-à-dire la possibilité d'envoyer une requête supplémentaire avant d'obtenir la réponse à la précédente. Le regroupement de plusieurs actions dans une seule requête réduit le nombre de requêtes adressées à un client, ce qui améliore les performances.
Dernière modification par geole (Le 30/12/2024, à 09:29)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#8 Le 30/12/2024, à 11:51
- Tessa
Re : RESOLU liaison avec le NAS
Bonjour,
je suis un peux perdu dans vos explications, et je ne sais que faire
est il possible de réparer ?
faut il remplacer par du Neuf
merci pour votre aide
Hors ligne
#9 Le 30/12/2024, à 11:59
- geole
Re : RESOLU liaison avec le NAS
Bonjour
C'est un problème de communication entre logiciels et pas un problème matériel.
1er essai
1) Modifier le fichier /etc/fstab pour supprimer l'expression sec=ntlm,vers=1.0
sudo sed -i 's/,sec=ntlm,vers=1.0/ /' /etc/fstab
2) Remonter le nas et donner la trace dans le journal
systemctl daemon-reload
sudo mount -av
journalctl --no-pager -b -n 100
3) Vérifier si les fichiers sont présents
ls -l /media/backup
4) Vérifier le protocole utilisé.
cat /proc/mounts | grep cifs
Dernière modification par geole (Le 30/12/2024, à 12:03)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#10 Le 30/12/2024, à 12:17
- Tessa
Re : RESOLU liaison avec le NAS
voila deja le début
jcc@jcc-HP:~/Bureau$ sudo sed -i 's/,sec=ntlm,vers=1.0/ /' /etc/fstab
[sudo] Mot de passe de jcc :
Désolé, essayez de nouveau.
[sudo] Mot de passe de jcc :
jcc@jcc-HP:~/Bureau$ sudo sed -i 's/,sec=ntlm,vers=1.0/ /' /etc/fstab
jcc@jcc-HP:~/Bureau$ systemctl daemon-reload
Reload daemon failed: Method call timed out
jcc@jcc-HP:~/Bureau$ systemctl daemon-reload
Reload daemon failed: Method call timed out
jcc@jcc-HP:~/Bureau$ systemctl daemon-reload
Reload daemon failed: Method call timed out
jcc@jcc-HP:~/Bureau$ systemctl daemon-reload
jcc@jcc-HP:~/Bureau$ sudo mount -av
/ : ignoré
none : ignoré
/media/hdd_ext : déjà monté
mount.cifs kernel mount options: ip=192.168.1.104,unc=\\192.168.1.104\tamponSS,iocharset=utf8,uid=1000,user=admin,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount.cifs kernel mount options: ip=192.168.1.104,unc=\\192.168.1.104\backup,iocharset=utf8,uid=1000,user=admin,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
jcc@jcc-HP:~/Bureau$ journalctl --no-pager -b -n 100
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:18 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:19 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:19 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:30 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:30 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:30 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:06:30 jcc-HP rtkit-daemon[1417]: Supervising 10 threads of 7 processes of 1 users.
déc 30 12:07:06 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:06 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:07:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:19 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:19 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:20 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:20 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:35 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:08:35 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:09:17 jcc-HP systemd[1382]: Started snap.firefox.firefox-9dea79bb-99c8-4f17-9db9-4a9f53357d6e.scope.
déc 30 12:09:17 jcc-HP kernel: audit: type=1400 audit(1735556957.014:185): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/proc/11987/maps" pid=11987 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
déc 30 12:09:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:09:18 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:09:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:09:23 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:10:34 jcc-HP systemd[1382]: snap.thunderbird.thunderbird-e473343d-1acd-4b93-93ba-081b881df6ee.scope: Consumed 1min 12.159s CPU time.
déc 30 12:11:08 jcc-HP rtkit-daemon[1417]: Supervising 8 threads of 5 processes of 1 users.
déc 30 12:11:08 jcc-HP rtkit-daemon[1417]: Supervising 8 threads of 5 processes of 1 users.
déc 30 12:11:08 jcc-HP rtkit-daemon[1417]: Successfully made thread 12170 of process 8767 owned by '1000' RT at priority 10.
déc 30 12:11:08 jcc-HP rtkit-daemon[1417]: Supervising 9 threads of 6 processes of 1 users.
déc 30 12:11:50 jcc-HP sudo[12159]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/0 ruser=jcc rhost= user=jcc
déc 30 12:12:04 jcc-HP sudo[12159]: jcc : TTY=pts/0 ; PWD=/home/jcc/Bureau ; USER=root ; COMMAND=/usr/bin/sed -i 's/,sec=ntlm,vers=1.0/ /' /etc/fstab
déc 30 12:12:04 jcc-HP sudo[12159]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
déc 30 12:12:04 jcc-HP sudo[12159]: pam_unix(sudo:session): session closed for user root
déc 30 12:12:25 jcc-HP sudo[12222]: jcc : TTY=pts/0 ; PWD=/home/jcc/Bureau ; USER=root ; COMMAND=/usr/bin/sed -i 's/,sec=ntlm,vers=1.0/ /' /etc/fstab
déc 30 12:12:25 jcc-HP sudo[12222]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
déc 30 12:12:25 jcc-HP sudo[12222]: pam_unix(sudo:session): session closed for user root
déc 30 12:12:43 jcc-HP polkitd[902]: Registered Authentication Agent for unix-process:12234:350585 (system bus name :1.288 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
déc 30 12:12:43 jcc-HP polkitd[902]: Identity `unix-group:admin' is not valid, ignoring: No UNIX group with name admin: Success
déc 30 12:13:08 jcc-HP polkitd[902]: Unregistered Authentication Agent for unix-process:12234:350585 (system bus name :1.288, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
déc 30 12:13:08 jcc-HP polkitd[902]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.systemd1.reload-daemon for system-bus-name::1.289 [<unknown>] (owned by unix-user:jcc)
déc 30 12:13:39 jcc-HP polkitd[902]: Registered Authentication Agent for unix-process:12276:356253 (system bus name :1.290 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
déc 30 12:13:39 jcc-HP polkitd[902]: Identity `unix-group:admin' is not valid, ignoring: No UNIX group with name admin: Success
déc 30 12:13:58 jcc-HP polkit-agent-helper-1[12289]: pam_unix(polkit-1:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=jcc rhost= user=jcc
déc 30 12:14:04 jcc-HP polkitd[902]: Unregistered Authentication Agent for unix-process:12276:356253 (system bus name :1.290, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
déc 30 12:14:04 jcc-HP polkitd[902]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.systemd1.reload-daemon for system-bus-name::1.291 [<unknown>] (owned by unix-user:jcc)
déc 30 12:14:20 jcc-HP polkitd[902]: Registered Authentication Agent for unix-process:12302:360326 (system bus name :1.293 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
déc 30 12:14:20 jcc-HP polkitd[902]: Identity `unix-group:admin' is not valid, ignoring: No UNIX group with name admin: Success
déc 30 12:14:45 jcc-HP polkitd[902]: Unregistered Authentication Agent for unix-process:12302:360326 (system bus name :1.293, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
déc 30 12:14:45 jcc-HP polkitd[902]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.systemd1.reload-daemon for system-bus-name::1.294 [<unknown>] (owned by unix-user:jcc)
déc 30 12:14:55 jcc-HP polkitd[902]: Registered Authentication Agent for unix-process:12332:363851 (system bus name :1.295 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
déc 30 12:14:55 jcc-HP polkitd[902]: Identity `unix-group:admin' is not valid, ignoring: No UNIX group with name admin: Success
déc 30 12:15:01 jcc-HP CRON[12346]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
déc 30 12:15:01 jcc-HP CRON[12347]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
déc 30 12:15:01 jcc-HP CRON[12346]: pam_unix(cron:session): session closed for user root
déc 30 12:15:08 jcc-HP polkitd[902]: Operator of unix-session:c1 successfully authenticated as unix-user:jcc to gain TEMPORARY authorization for action org.freedesktop.systemd1.reload-daemon for system-bus-name::1.296 [systemctl daemon-reload] (owned by unix-user:jcc)
déc 30 12:15:08 jcc-HP systemd[1]: Reloading requested from client PID 12332 ('systemctl') (unit session-c1.scope)...
déc 30 12:15:08 jcc-HP systemd[1]: Reloading...
déc 30 12:15:09 jcc-HP systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
déc 30 12:15:09 jcc-HP systemd[1]: /etc/systemd/system/teamviewerd.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/teamviewerd.pid → /run/teamviewerd.pid; please update the unit file accordingly.
déc 30 12:15:09 jcc-HP systemd[1]: Reloading finished in 1369 ms.
déc 30 12:15:09 jcc-HP polkitd[902]: Unregistered Authentication Agent for unix-process:unknown (system bus name :1.295, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
déc 30 12:15:09 jcc-HP systemd[1]: Starting plocate-updatedb.service - Update the plocate database...
déc 30 12:15:10 jcc-HP smartd[905]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 122 to 120
déc 30 12:15:27 jcc-HP sudo[12470]: jcc : TTY=pts/0 ; PWD=/home/jcc/Bureau ; USER=root ; COMMAND=/usr/bin/mount -av
déc 30 12:15:27 jcc-HP sudo[12470]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
déc 30 12:15:27 jcc-HP kernel: CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
déc 30 12:15:27 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:27 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/tamponSS
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
déc 30 12:15:28 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:28 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/backup
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
déc 30 12:15:28 jcc-HP sudo[12470]: pam_unix(sudo:session): session closed for user root
déc 30 12:15:40 jcc-HP systemd[1]: plocate-updatedb.service: Deactivated successfully.
déc 30 12:15:40 jcc-HP systemd[1]: Finished plocate-updatedb.service - Update the plocate database.
déc 30 12:15:40 jcc-HP systemd[1]: plocate-updatedb.service: Consumed 4.607s CPU time.
déc 30 12:15:45 jcc-HP NetworkManager[997]: <info> [1735557345.1761] dhcp4 (eno1): state changed new lease, address=192.168.1.54
déc 30 12:15:45 jcc-HP dbus-daemon[874]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.12' (uid=0 pid=997 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
déc 30 12:15:45 jcc-HP systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
déc 30 12:15:45 jcc-HP dbus-daemon[874]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
déc 30 12:15:45 jcc-HP
Hors ligne
#11 Le 30/12/2024, à 12:19
- Tessa
Re : RESOLU liaison avec le NAS
et le reste
jcc@jcc-HP:~/Bureau$ ls -l /media/backup
total 0
jcc@jcc-HP:~/Bureau$ cat /proc/mounts | grep cifs
jcc@jcc-HP:~/Bureau$
merci
Hors ligne
#12 Le 30/12/2024, à 12:27
- geole
Re : RESOLU liaison avec le NAS
Le temps de comprendre le message d'erreur
déc 30 12:15:27 jcc-HP kernel: CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
déc 30 12:15:27 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:27 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/tamponSS
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
déc 30 12:15:28 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:28 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/backup
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#13 Le 30/12/2024, à 12:35
- geole
Re : RESOLU liaison avec le NAS
On va d'abord retenter avec la version 2.0.
sudo sed -i 's/utf8/utf8,vers=2.0/' /etc/fstab
grep cif /etc/fstab
sudo mount -av
journalctl --no-pager -b -g CIFS -n 20
ls -l /media/backup
cat /proc/mounts | grep cifs
Dernière modification par geole (Le 30/12/2024, à 12:37)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#14 Le 30/12/2024, à 12:56
- Tessa
Re : RESOLU liaison avec le NAS
merci, voila le retrour
jcc@jcc-HP:~/Bureau$ sudo sed -i 's/utf8/utf8,vers=2.0/' /etc/fstab
[sudo] Mot de passe de jcc :
jcc@jcc-HP:~/Bureau$ grep cif /etc/fstab
//192.168.1.104/tamponSS /media/tamponSS cifs uid=jcc,credentials=/home/jcc/.smbcredentials,iocharset=utf8,vers=2.0 0 0
//192.168.1.104/backup /media/backup cifs uid=jcc,credentials=/home/jcc/.smbcredentials,iocharset=utf8,vers=2.0 0 0
jcc@jcc-HP:~/Bureau$ sudo mount -av
/ : ignoré
none : ignoré
/media/hdd_ext : déjà monté
mount.cifs kernel mount options: ip=192.168.1.104,unc=\\192.168.1.104\tamponSS,iocharset=utf8,vers=2.0,uid=1000,user=admin,pass=********
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.
/media/tamponSS : successfully mounted
mount.cifs kernel mount options: ip=192.168.1.104,unc=\\192.168.1.104\backup,iocharset=utf8,vers=2.0,uid=1000,user=admin,pass=********
/media/backup : successfully mounted
jcc@jcc-HP:~/Bureau$ journalctl --no-pager -b -g CIFS -n 20
déc 30 12:54:30 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/backup
déc 30 12:54:30 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:54:28 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/tamponSS
déc 30 12:54:28 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:28 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/backup
déc 30 12:15:28 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: cifs_mount failed w/return code = -95
déc 30 12:15:28 jcc-HP kernel: CIFS: VFS: \\192.168.1.104 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
déc 30 12:15:27 jcc-HP kernel: CIFS: Attempting to mount //192.168.1.104/tamponSS
déc 30 12:15:27 jcc-HP kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
déc 30 12:15:27 jcc-HP kernel: CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
déc 30 11:15:49 jcc-HP kernel: CIFS: VFS: bad security option: ntlm
déc 30 11:15:49 jcc-HP kernel: CIFS: VFS: bad security option: ntlm
jcc@jcc-HP:~/Bureau$ ls -l /media/backup
total 0
drwxr-xr-x 2 jcc root 0 déc 30 12:36 daily.0
drwxr-xr-x 2 jcc root 0 déc 29 12:36 daily.1
drwxr-xr-x 2 jcc root 0 déc 28 12:36 daily.2
drwxr-xr-x 2 jcc root 0 déc 27 12:36 daily.3
drwxr-xr-x 2 jcc root 0 déc 26 12:36 daily.4
drwxr-xr-x 2 jcc root 0 déc 25 12:36 daily.5
drwxr-xr-x 2 jcc root 0 déc 24 12:36 daily.6
drwxr-xr-x 2 jcc root 0 jun 23 2024 monthly.0
drwxr-xr-x 2 jcc root 0 avr 21 2024 monthly.1
drwxr-xr-x 2 jcc root 0 déc 17 2023 monthly.2
drwxr-xr-x 2 jcc root 0 déc 10 2023 monthly.3
drwxr-xr-x 2 jcc root 0 nov 5 2023 monthly.4
drwxr-xr-x 2 jcc root 0 sep 17 2023 monthly.5
drwxr-xr-x 2 jcc root 0 mar 15 2021 sites
drwxr-xr-x 2 jcc root 0 déc 22 12:36 weekly.0
drwxr-xr-x 2 jcc root 0 déc 15 12:35 weekly.1
drwxr-xr-x 2 jcc root 0 déc 8 12:35 weekly.2
drwxr-xr-x 2 jcc root 0 déc 1 12:35 weekly.3
drwxr-xr-x 2 jcc root 0 nov 24 12:36 weekly.4
drwxr-xr-x 2 jcc root 0 nov 17 12:34 weekly.5
drwxr-xr-x 2 jcc root 0 sep 23 12:37 weekly.6
drwxr-xr-x 2 jcc root 0 sep 15 12:35 weekly.7
jcc@jcc-HP:~/Bureau$ cat /proc/mounts | grep cifs
//192.168.1.104/tamponSS /media/tamponSS cifs rw,relatime,vers=2.0,cache=strict,username=admin,uid=1000,forceuid,gid=0,noforcegid,addr=192.168.1.104,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1 0 0
//192.168.1.104/backup /media/backup cifs rw,relatime,vers=2.0,cache=strict,username=admin,uid=1000,forceuid,gid=0,noforcegid,addr=192.168.1.104,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1 0 0
jcc@jcc-HP:~/Bureau$
Hors ligne
#15 Le 30/12/2024, à 13:02
- geole
Re : RESOLU liaison avec le NAS
Cela me semble donc résolu correctement.
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#16 Le 30/12/2024, à 14:50
- iznobe
Re : RESOLU liaison avec le NAS
De plus, il me semble inutile de préciser le protocole à utiliser. Le dialogue commence avec le protocole le plus récent, si pas de réponse du serveur, nouvelle tentative avec la version immédiatement inférieure. etc.... Ce serait dommage d'imposer la version 1.0 si une 2.0 fonctionne
il semble donc qu ' il faille " forcer " une version de protocole cifs au fstab lorsque le support n 'accepte pas la version par " defaut " utilisé par ubuntu .
Bon à savoir .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#17 Le 31/12/2024, à 01:07
- Tessa
Re : RESOLU liaison avec le NAS
Cela me semble donc résolu correctement.
mille merci pour votre aide
si j'ai le temps je vérifie si le bak up se réalise cette apres midi
comment vous remercier ?
jc
Hors ligne
Pages : 1