You are not logged in.

#1 2017-01-12 17:44:02

joaocandre
Member
Registered: 2013-02-23
Posts: 146

Connecting to Samba share on old distro

I'm trying to connect to an old Ubuntu PC using 9.10 (Karmic Koala) using my Arch laptop distro, however my mount command keeps throwing erros. Could it be because of the version mismatch (3.4 vs 4.5) or should it work out-of-the-box and the problem is how I try to mount it?

 sudo mount -t cifs darwin.local /mnt/darwin -o user=darwin,password=XXXX,ip=192.168.197.191,iocharset=utf8

show the output

mount.cifs: bad UNC (darwin.local)

What could be wrong'?

Offline

#2 2017-01-12 18:01:46

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Connecting to Samba share on old distro

I think it's your command. I've never seen the share specified without host. And if I modify a working mount.cifs command to look like yours, I get the same error:

# mount -t cifs //10.157.1.22/operations /mnt/test/ -o credentials=/home/ccreds
# umount /mnt/test
# mount -t cifs operations /mnt/test/ -o credentials=/home/ccreds,addr=10.157.1.22
mount.cifs: bad UNC (operations)

But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2017-01-12 18:03:19

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Connecting to Samba share on old distro

You haven't specified the name of the share you want to connect to. The relevant command would be...

sudo mount -t cifs //darwin.local/<sharename> /mnt/darwin -o user=darwin,password=XXXX,ip=192.168.197.191,iocharset=utf8

Last edited by Slithery (2017-01-12 18:04:05)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB