I am trying to mount a windows share using this command:
sudo mount -t cifs -o username=USERNAME,password=PASSWORD \\192.168.2.12\TestShare mnt/
But it is giving me this error:
mount.cifs: bad UNC (\192.168.2.12TestShare)
I have also tried these commands:
sudo mount -t cifs -o username=USERNAME,password=PASSWORD \\192.168.2.12\\TestShare mnt/
sudo mount -t cifs -o username=USERNAME,password=PASSWORD \\192.168.2.12:\TestShare mnt/
But they all give me the same error. The file is shared and the name and password are correct. I have also installed cifsutils.
Does anyone know what I am doing wrong? Does it have something to do with the WORKGROUP?