Since a mount -a works later, it is most likely that the network is not up yet when this command is run. In KDE you could add this command to your after.local file in /etc/init.d as root after a sleep 20 command before and see if that works. I must say that while I do use Samba, I don’t find it necessary to mount such drives. You can just as easily browse the network and find this share. That’s what I do, but I am looking for other PC’s and not a NAS. I just create a URL link on the desktop like smb://workgroup/ that shows all PC shares in the same workgroup name. I have a tutorial on Samba SWAT that you might find interesting here:
>
> Here are some things to look at re cifs mounts on a slow network:
> ‘Samba: HowTo Mount a CIFS Network Share [AKA Map Network Drive] in
> openSUSE 11 plus FAQs’
> (http://opensuse.swerdna.org/susesambacifs.html#netbios) (look for
> segment titled “A permanent mount fails at boot time”). The tip to use
> “mount -a” in the file /etc/init.d/after.local should solve the problem.
>
>
bkv1;
On Sun January 8 2012 04:06 pm, jdmcdaniel3 wrote:
>
> venzkep;2428057 Wrote:
<snip>
>
> The OP says he is using openSUSE 11.4 and not 12.1 and so a fstab
> comment that says it is using systemd does not apply I would think.
>
> Thank You,
>
>
James;
You are correct,I missed that simple fact.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
That is OK venzkep as we only ask that you try to help. We all miss little details as I can attest to, that is for sure. Every message you read is another chance to get it right and shine. And learn a little more along the way.
I have a real problem with this one P.V. I have two 12.1 installations on my LAN, and a NAS that mounts in both by using “mount -a” in after.local. If I turn that off in after.local and place the code “comment=systemd.automount” in fstab instead, it does not work in either of the two installationa of 12.1 (whereas mount -a does work). I know that it does work for some people, witness your link, but it seems to be hit and miss.
I have a real problem with this one P.V. I have two 12.1 installations on my LAN, and a NAS that mounts in both by using “mount -a” in after.local. If I turn that off in after.local and place the code “comment=systemd.automount” in fstab instead, it does not work in either of the two installationa of 12.1 (whereas mount -a does work). I know that it does work for some people, witness your link, but it seems to be hit and miss.
I wonder if wired verses wireless networking matters as the latter may take more time as well as other issues.
On Mon January 9 2012 06:06 am, jdmcdaniel3 wrote:
>
>> I have a real problem with this one P.V. I have two 12.1 installations
>> on my LAN, and a NAS that mounts in both by using “mount -a” in
>> after.local. If I turn that off in after.local and place the code
>> “comment=systemd.automount” in fstab instead, it does not work in either
>> of the two installationa of 12.1 (whereas mount -a does work). I know
>> that it does work for some people, witness your link, but it seems to be
>> hit and miss.
>
> I wonder if wired verses wireless networking matters as the latter may
> take more time as well as other issues.
>
> Thank You,
>
Swerdna;
Is there anything in var/log/boot.msg or var/log/messages that might shed any
light on the failure to mount? (As if you didn’t know, I’m grasping at
straws here.)
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
@ jdmcdaniel3 : Creating smb: links is how I have been doing it so far. I created them in Dolphin. Unfortunately this is not the same as mounting. For instance, LibreOffice cant work on these linked shares.
Yes the after.local worked, but only when I in the fstab entry also added “username=guest,password=”, Furthermore, to get write-privelege I had to enter uid and gid also. I don’t find it ok using gid and uid in fstab on a machine thsat is used by several people.
I do find it complicated to set up a Linux machine as a samba client
…
-Bjorn