[arch-general] Help mounting Windows drive
Figue
ffigue at gmail.com
Mon Sep 10 10:05:58 EDT 2012
On Mon, Sep 10, 2012 at 3:25 AM, Randy <gumper1034 at gmail.com> wrote:
>
> In the past I have been able to mount my Windows computer using the
> following command:
>
> "mount -t cifs -o username=USERNAME,password=PASSWORD
> //192.168.1.107/Users/gumper /mnt/share/"
>
> Now when I try this I receive the message:
>
> "Unable to find suitable address".
>
> I am able to ping the IP address without any problem.
>
> Any idea what I'm doing wrong here?
>
> Thanks,
>
>
> Randy
I use a plain text file for credentials, something like:
mount.cifs 192.168.1.107/Users/gumper /mnt/share -o
rw,noserverino,uid=1000,credentials=/etc/.cifs
where /etc/.cifs is:
username=myuser
password=mypass
domain=mydomain
In a single line would be:
mount.cifs 192.168.1.107/Users/gumper /mnt/share -o
rw,noserverino,uid=1000,username=myuser,password=mypass,domain=mydomain
PD: uid it's optional to your current user.
--
$(Figue)
More information about the arch-general
mailing list