Commands to reach the Windows network in LİNUX (Windows computer mount )
id
and
sudo mount -t cifs //192.168.7.247/idare2 /mnt/paylasilan -o username=windowsuser,password=,uid=1000,gid=1000,iocharset=utf8,vers=3.0
*****
Commands to reach the Windows network in Debian -based distribution:
Commands:
apt-get install samba
apt-get install samba-client
sudo mkdir /media/MOUNTNAME
sudo apt-get install libnss-winbind winbind
nano /etc/nsswitch.conf
sudo service networking restart
sudo cp /etc/fstab /etc/fstab.old
-- RESORE USING: sudo mv /etc/fstab /etc/fstab.old
nano /home/USERNAME/.smbcred
id user name and find id and gid number
sudo nano /etc/fstab
-- //windows_local_ip/windows_shared_folder /media/MOUNTNAME cifs credentials=/home/USERNAME/.smbcred,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
sudo mount -a
You can use this program to find the address of the computer on the Windows network.
No comments