This forum has been archived. All content is frozen. Please use KDE Discuss instead.

fstab and samba config

Tags: None
(comma "," separated)
milesnorth
Registered Member
Posts
3
Karma
0

fstab and samba config

Sat Apr 12, 2014 10:35 pm
Tried a first time netrunner install on old laptop. The os, steam beta, and mythtv frontend install went well, but have fstab and samba travails. Don't know too much about linux networking and permissions.


FSTAB:
To mount the Synology NAS, installed nfs-common and added /mnt/multimedia with rw for owner/group=root. Added following lines to fstab:

Code: Select all
# mount synology nas box - multimedia
10.0.0.60:/volume1/multimedia            /mnt/multimedia  nfs     rsize=8192,wsize=8192,timeo=14,intr


This fstab mount works on a kubuntu machine. The feedback is listed below:

Code: Select all
$ sudo mount -a
...
mount.nfs: access denied by server while mounting 10.0.0.60:/volume1/multimedia


Also get the following dolphin error:

An error occured while accessing '/volume1/multimedia on 10.0.0.60', the system responded: mount: only root can mount 10.0.0.60:/volume1/multimedia on /mnt/multimedia


SAMBA:
Netrunner Samba could not open LOFT workgroup. Made changes below, that worked on Kubuntu machine, now machines on LOFT LAN are found (usually), but no shares show up.

LOFT clients can see share on netrunner machine, but can't get past authorization dialog on netrunner machine.

smb.conf changes (the uncommented lines)

Code: Select all
# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = LOFT
   netbios name = zoro

# What naming service and in what order should we use to resolve host names
# to IP addresses
   name resolve order = lmhosts host wins bcast

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
   security = user

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Didn't notice any samba log errors, but not sure if I looked at all appropriate logs.

Any help prodding me back to a configured networked machine would be greatly appreciated.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: fstab and samba config

Thu Apr 17, 2014 10:12 am
I can't comment on the Samba issues, but in regards to the NFS mounting you need to check the settings on your NAS to ensure that the IP address of your machine is allowed to access the NFS mount in question.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]