Re: Help mounting Windows drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Sep 10, 2012 at 3:25 AM, Randy <gumper1034@xxxxxxxxx> 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)


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux