Wiki GeRgOsNet Notes d’administration système, réseau et domotique

Vous consultez une ancienne version, enregistrée le 16 juin 2019 par GreG. Voir la version actuelle.

Monter un partage windows ou samba sous linux

Migration depuis l’ancien wiki MediaWiki

To test if your Linux machine sees the shares on the Windows box:

smbclient -L <windows-box> -U <username> 

1.Make a directoy for the mountpoint:

mkdir /mnt/<name-of-mount-point> 

2.Mount the share:

mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint> Note: The syntax -username=<username>,password=<password> saves the password. 

3.Create a symbolic link to the mounted drive:

ln -s /mnt/<name-of-mount-point> /<path-of-symlink>