Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#126 Le 23/09/2014, à 21:03

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maxire a écrit :

Bonsoir,

Une manière de voir les partitions accessibles:

ssh christine@192.168.1.95 lsblk -l

Commande à passer à partir du portable.
Je suppose que le nom d'utilisateur de la tour est christine et son adresse ip 192.168.1.95


la réponse est :

NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0 232,9G  0 disk 
sda1   8:1    0    60G  0 part 
sda2   8:2    0     1K  0 part 
sda5   8:5    0 150,9G  0 part /mnt/data
sda6   8:6    0  20,5G  0 part /
sda7   8:7    0   1,5G  0 part [SWAP]
sr0   11:0    1  1024M  0 rom  

Hors ligne

#127 Le 23/09/2014, à 21:04

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

meremichel a écrit :

salut maxire
merci je l'avais  oublie celle ci

pour maminou si cd ..  ne marche pas tu tappe cd /


il me marque

bash: cd/: aucun fichier ou dossier de ce type

Hors ligne

#128 Le 23/09/2014, à 21:07

michel_04

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

Bonjour,

cd à la place de cd..

cd /
ls -a
cd mnt
sudo mkdir windows
cd
cd etc 
sudo nano fstab

et on ajoute la ligne
/dev/sda1  /mnt/windows ntfs-3g defaults,locale=fr_FR.utf8 0 0 

ctrl+x   o  pour confirmer

A+

Hors ligne

#129 Le 23/09/2014, à 21:11

Compte anonymisé

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

cd espace /
salut michel

Dernière modification par meremichel (Le 23/09/2014, à 21:21)

#130 Le 23/09/2014, à 21:24

maxire

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

Attention,

Quelle est la taille de la partiton perdue?
Maminou1 a indiqué 163GB, ce qui correspond plutôt à la taille de /dev/sda5 150,9 G.
Donc pas la peine de monter /dev/sda1.
Que donne:

ssh christine@192.168.1.95 ls -lh /mnt/data

Dernière modification par maxire (Le 23/09/2014, à 21:28)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#131 Le 23/09/2014, à 21:28

michel_04

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

Re,

meremichel a écrit :

cd espace /
salut michel

Je faisais référence à ça :

sudo mkdir windows
cd
cd etc

A+

Dernière modification par michel_04 (Le 23/09/2014, à 21:29)

Hors ligne

#132 Le 23/09/2014, à 21:32

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

michel_04 a écrit :

Bonjour,

cd à la place de cd..

cd /
ls -a
cd mnt
sudo mkdir windows
cd
cd etc 
sudo nano fstab

et on ajoute la ligne
/dev/sda1  /mnt/windows ntfs-3g defaults,locale=fr_FR.utf8 0 0 

ctrl+x   o  pour confirmer

A+

j'i fait cela, je n'ai plus aucune partition sur le nautilus, plus accès aux données

Hors ligne

#133 Le 23/09/2014, à 21:37

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maxire a écrit :

Attention,

Quelle est la taille de la partiton perdue?
Maminou1 a indiqué 163GB, ce qui correspond plutôt à la taille de /dev/sda5 150,9 G.
Donc pas la peine de monter /dev/sda1.
Que donne:

ssh christine@192.168.1.95 ls -lh /mnt/data

la partition 162GB

et ce que tu me demandes:

total 893M
drwxrwxrwx 1 root root  16K nov.  28  2010 4d92038c0a295eb7e264e436f452
drwxrwxrwx 1 root root 4,0K nov.  11  2010 606c71fcf14e533f2d
drwxrwxrwx 1 root root 4,0K nov.  11  2010 b8d3a4f8a5da955445
-rwxrwxrwx 1 root root 337K avril 27  2011 Capture-MVI_0346.avi-1.png
-rwxrwxrwx 1 root root 510K avril 27  2011 Capture-MVI_0361.avi-1.png
-rwxrwxrwx 1 root root 410K avril 12  2013 Capture-MVI_2692.AVI-1.png
drwxrwxrwx 1 root root  28K juin  18 16:07 Docu Christine
-rwxrwxrwx 1 root root 7,1M juin  21 13:33 DSC00159.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 13:34 DSC00161.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 13:36 DSC00163.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 18:53 DSC00165.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 18:53 DSC00166.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 18:54 DSC00167.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 18:54 DSC00168.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 18:55 DSC00169.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 18:55 DSC00170.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 18:56 DSC00171.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 18:57 DSC00172.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:00 DSC00173.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:04 DSC00177.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:05 DSC00178.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:10 DSC00180.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:10 DSC00181.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:11 DSC00182.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:11 DSC00183.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:11 DSC00184.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:12 DSC00185.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:12 DSC00186.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:13 DSC00187.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:13 DSC00188.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:13 DSC00189.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:14 DSC00190.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:14 DSC00191.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:15 DSC00192.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:15 DSC00193.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:15 DSC00194.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:16 DSC00195.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:16 DSC00196.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:16 DSC00197.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:17 DSC00198.JPG
-rwxrwxrwx 1 root root 7,4M juin  21 19:18 DSC00199.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:21 DSC00200.JPG
-rwxrwxrwx 1 root root 6,8M juin  21 19:22 DSC00201.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:24 DSC00202.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:25 DSC00203.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:25 DSC00204.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:26 DSC00205.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:27 DSC00206.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:27 DSC00207.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:28 DSC00208.JPG
-rwxrwxrwx 1 root root 7,0M juin  21 19:29 DSC00209.JPG
-rwxrwxrwx 1 root root 7,0M juin  21 19:29 DSC00210.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:30 DSC00211.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:30 DSC00212.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:31 DSC00213.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:31 DSC00214.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:31 DSC00215.JPG
-rwxrwxrwx 1 root root 7,0M juin  21 19:32 DSC00216.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:32 DSC00217.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:32 DSC00218.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:33 DSC00219.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:33 DSC00220.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:34 DSC00221.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:34 DSC00222.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:34 DSC00223.JPG
-rwxrwxrwx 1 root root 6,8M juin  21 19:35 DSC00224.JPG
-rwxrwxrwx 1 root root 7,0M juin  21 19:35 DSC00225.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 19:36 DSC00226.JPG
-rwxrwxrwx 1 root root 6,8M juin  21 19:36 DSC00227.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 19:37 DSC00228.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:37 DSC00229.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:37 DSC00230.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:38 DSC00231.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:38 DSC00232.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:38 DSC00233.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:39 DSC00234.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:39 DSC00235.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:39 DSC00236.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:40 DSC00237.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 19:40 DSC00238.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:40 DSC00239.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:41 DSC00240.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:41 DSC00241.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:43 DSC00242.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:43 DSC00243.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:43 DSC00244.JPG
-rwxrwxrwx 1 root root 7,4M juin  21 19:43 DSC00245.JPG
-rwxrwxrwx 1 root root 7,4M juin  21 19:44 DSC00246.JPG
-rwxrwxrwx 1 root root 6,7M juin  21 19:44 DSC00247.JPG
-rwxrwxrwx 1 root root 6,5M juin  21 19:45 DSC00248.JPG
-rwxrwxrwx 1 root root 6,6M juin  21 19:45 DSC00249.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:46 DSC00250.JPG
-rwxrwxrwx 1 root root 7,4M juin  21 19:46 DSC00251.JPG
-rwxrwxrwx 1 root root 7,4M juin  21 19:47 DSC00252.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 19:48 DSC00253.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 19:48 DSC00254.JPG
-rwxrwxrwx 1 root root 6,8M juin  21 19:49 DSC00255.JPG
-rwxrwxrwx 1 root root 6,9M juin  21 19:49 DSC00256.JPG
-rwxrwxrwx 1 root root 7,5M juin  21 19:50 DSC00257.JPG
-rwxrwxrwx 1 root root 7,7M juin  21 19:52 DSC00258.JPG
-rwxrwxrwx 1 root root 7,7M juin  21 19:53 DSC00259.JPG
-rwxrwxrwx 1 root root 7,6M juin  21 19:54 DSC00260.JPG
-rwxrwxrwx 1 root root 7,7M juin  21 19:55 DSC00261.JPG
-rwxrwxrwx 1 root root 7,6M juin  21 19:57 DSC00262.JPG
-rwxrwxrwx 1 root root 7,6M juin  21 19:58 DSC00263.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:59 DSC00264.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:59 DSC00265.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:59 DSC00266.JPG
-rwxrwxrwx 1 root root 7,2M juin  21 19:59 DSC00267.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 19:59 DSC00268.JPG
-rwxrwxrwx 1 root root 7,3M juin  21 20:00 DSC00269.JPG
-rwxrwxrwx 1 root root 7,1M juin  21 20:49 DSC00270.JPG
-rwxrwxrwx 1 root root 7,1M juin  22 13:48 DSC00271.JPG
-rwxrwxrwx 1 root root 6,9M juin  22 13:49 DSC00272.JPG
-rwxrwxrwx 1 root root 6,9M juin  22 13:50 DSC00273.JPG
-rwxrwxrwx 1 root root 7,0M juin  22 15:37 DSC00274.JPG
-rwxrwxrwx 1 root root 7,0M juin  22 15:37 DSC00275.JPG
-rwxrwxrwx 1 root root 6,8M juin  22 15:37 DSC00276.JPG
-rwxrwxrwx 1 root root 6,6M juin  22 15:38 DSC00277.JPG
-rwxrwxrwx 1 root root 6,5M juin  22 15:38 DSC00278.JPG
-rwxrwxrwx 1 root root 6,8M juin  22 15:38 DSC00279.JPG
-rwxrwxrwx 1 root root 7,0M juin  22 15:39 DSC00280.JPG
-rwxrwxrwx 1 root root 7,2M juil.  5 12:19 DSC00284.JPG
-rwxrwxrwx 1 root root 7,6M juil.  5 12:19 DSC00285.JPG
-rwxrwxrwx 1 root root 7,7M juil.  5 12:20 DSC00286.JPG
-rwxrwxrwx 1 root root 7,5M juil.  5 12:20 DSC00287.JPG
-rwxrwxrwx 1 root root 7,5M juil.  5 12:21 DSC00288.JPG
-rwxrwxrwx 1 root root 7,1M juil.  5 12:22 DSC00289.JPG
-rwxrwxrwx 1 root root 7,1M juil.  5 12:22 DSC00290.JPG
-rwxrwxrwx 1 root root 1,3M août  16  2013 Firefox_wallpaper.png
drwxrwxrwx 1 root root  24K sept. 30  2013 Gallery
-rwxrwxrwx 1 root root 2,1M mai   13  2013 IMG_2813.JPG
-rwxrwxrwx 1 root root 2,1M mai   13  2013 IMG_2814.JPG
-rwxrwxrwx 1 root root 2,3M mai   13  2013 IMG_2815.JPG
-rwxrwxrwx 1 root root 2,2M mai   13  2013 IMG_2816.JPG
-rwxrwxrwx 1 root root 2,2M mai   13  2013 IMG_2817.JPG
-rwxrwxrwx 1 root root 1,7M mai   13  2013 IMG_2818.JPG
-rwxrwxrwx 1 root root 2,2M mai   13  2013 IMG_2819.JPG
-rwxrwxrwx 1 root root 2,1M sept. 30  2013 IMG_3249.JPG
-rwxrwxrwx 1 root root 2,2M sept. 30  2013 IMG_3250.JPG
-rwxrwxrwx 1 root root 1,9M sept. 30  2013 IMG_3251.JPG
-rwxrwxrwx 1 root root 1,8M sept. 30  2013 IMG_3252.JPG
drwxrwxrwx 1 root root    0 nov.  11  2010 RECYCLER
drwxrwxrwx 1 root root 4,0K nov.  27  2010 sauvegarde de lionel
drwxrwxrwx 1 root root 4,0K nov.  11  2010 System Volume Information

Hors ligne

#134 Le 23/09/2014, à 21:43

maxire

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

/mnt/data/Docu Christine, ne serait-ce pas le répertoire contenant tes documents?


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#135 Le 23/09/2014, à 21:51

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maxire a écrit :

/mnt/data/Docu Christine, ne serait-ce pas le répertoire contenant tes documents?

je ne sais pas, les doc ne sont pas dans le home

Hors ligne

#136 Le 23/09/2014, à 21:55

voxpopuli

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maminou1 a écrit :
maxire a écrit :

/mnt/data/Docu Christine, ne serait-ce pas le répertoire contenant tes documents?

je ne sais pas, les doc ne sont pas dans le home

Le point de montage que tu as créé se situe dans /mnt/data, il est donc normal qu'il ne soit pas dans /home/
Essaye d'accéder aux données pour voir si ça marche (je vois qu'il faut un accès root se qui est étrange)


« Si la destinée ne nous aide pas, nous l'aiderons nous même à se réaliser !  »
$Wold.Action.Boot();

Hors ligne

#137 Le 23/09/2014, à 22:01

maxire

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

L'accès root n'a aucune importance, le répertoire est en accès universel rwxrwxrwx.

Pour accéder facilement à Docu Cristine à partir du portable:

nautilus sftp://192.168.1.95/mnt/data/Docu\ Christine &

Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#138 Le 23/09/2014, à 22:06

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maxire a écrit :

L'accès root n'a aucune importance, le répertoire est en accès universel rwxrwxrwx.

Pour accéder facilement à Docu Cristine à partir du portable:

nautilus sftp://192.168.1.95/mnt/data/Docu\ Christine &

je suis dans le bon dossier.

comment l'avoir en permanence dans mon nautilus?

Hors ligne

#139 Le 23/09/2014, à 22:20

maxire

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

Enfin!

Avoir le dossier en permanence dans le Nautilus du portable, pour l'instant non, il faudrait réfléchir à une configuration de ta tour en serveur (ip fixe).
Par sécurité copies les fichiers qui t'intéressent dans l'immédiat sur le portable.

Aux autres intervenants, il existe plus simple et plus rapide pour accéder à la tour, utiliser ce bon viel xdmcp en l'activant dans la configuration de lightdm puis un coup de:

X -query 192.168.1.95 :100 vt12 -audit 0 -terminate &

Et Maminou1 utilises la tour, le portable ne servant alors que de terminal.

:100 = Numéro d'affichage X suffisament élevé pour ne pas entrer en conflit avec l'instance lightdm du portable
vt12 = console 12


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#140 Le 23/09/2014, à 22:25

maminou1

Re : [Résolu] mettre 2 pc en "relation" sous ubuntu 14.04lts, via box sfr

maxire a écrit :

Enfin!

Avoir le dossier en permanence dans le Nautilus du portable, pour l'instant non, il faudrait réfléchir à une configuration de ta tour en serveur (ip fixe).
Par sécurité copies les fichiers qui t'intéressent dans l'immédiat sur le portable.

Aux autres intervenants, il existe plus simple et plus rapide pour accéder à la tour, utiliser ce bon viel xdmcp en l'activant dans la configuration de lightdm puis un coup de:

X -query 192.168.1.95 :100 vt12 -audit 0 -terminate &

Et Maminou1 utilises la tour, le portable ne servant alors que de terminal.

:100 = Numéro d'affichage X suffisament élevé pour ne pas entrer en conflit avec l'instance lightdm du portable
vt12 = console 12

je ne t'avais pas encore repondu que je transférais déja les dossiers.

Merci à tous et je verrais plus demain pour le reste

Bonne nuit

Hors ligne