SMB problem: mounting a share on gutsy

David McGlone d.mcglone at att.net
Thu Dec 6 02:38:21 UTC 2007


----------  Forwarded Message  ----------

Subject: Fwd: Re: SMB problem: mounting a share on gutsy
Date: Wednesday 05 December 2007
From: David McGlone <d.mcglone at att.net>
To: david at davidcentral.localdomain


----------  Forwarded Message  ----------

Subject: Re: SMB problem: mounting a share on gutsy
Date: Wednesday 05 December 2007
From: "D. R. Evans" <doc.evans at gmail.com>
To: Kubuntu Help and User Discussions <kubuntu-users at lists.ubuntu.com>

O. Sinclair said the following at 12/05/2007 08:21 AM :

>> Can someone please post an example /etc/fstab line for either an smbfs or a
>> cifs mount that works on gutsy?
>>
>>   Doc
>>
>>
> I don't have one any more, I gave up after tampering for ever - got it 
> working and then forgot how. BUT I remember I had to use the ip-number 
> of the server in question instead of any computername.
> 
> That said (no I have no shares or so) I dropped all that after finding 
> that the Gutsy version of Smb4k does the job for me automagically.

The synopsis for smb4k says that it's for KDE -- unfortunately, this is one
of those (rare) occasions when I don't want a GUI tool; I want something
that will cause the system to mount the share so I can use command-line
tools without the need to start KDE.

Having googled at length, I see that lots of people have had similar
problems, and many of them never did find a good way to access Windows
shares with cifs.

I now have a command-line command that works, but nothing I can think of
has worked for /etc/fstab. I have collected quite a set of error messages,
though :-) It's a pity that none of them are any help (except to suggest
reading the man page, which of course I've done many times without the
magic penny dropping).

Sorry, I had to forward to my laptop to get you my fstab so here ya go:

//192.168.2.2/D /media/d cifs 
username=myusername,password=mypassword,uid=david,gid=david,auto,rw 0 0
//192.168.2.2/E /media/e cifs 
username=myusername,password=mypassword,uid=david,gid=david,auto,rw 0 0

I have to specify my username and password in fstab because a password file 
would not work for me for some reason. That might be another thing to look 
into on your machine.


-- 
David M.




More information about the kubuntu-users mailing list