PDA

View Full Version : Mount external samba share on Vortexbox (Fedora 20)



cliver
2017-03-10, 13:01
Does anyone know how to mount an external network drive on the vortexbox?
I have a 3Tb USB drive connected to my router with a samba share on it which I can see from all my network clients through their desktop gui's but dammed if I can get it to mount from the vortexbox. Either from the GUI or using etc/fstab.
Anyone know how to do it?
I'd like to set it up as a permanent mount if possible but I'd be happy if I can get it working via the command line for starters. I can't make either happen. :(

chrissy
2017-03-10, 15:16
Hi ,

the entry for /etc/fstab would be the following:

//192.168.178.xxx/yyy /media/zzz cifs username=user,password=passwd 0 0

Replace xxx with the correct IP-Number of your server, yyy with the directory you want to mount, user with the correct user on your router and passwd with the password of this user. Works for me on a suse-linux server and a fritz-box router.

Greets
Chris

bakker_be
2017-03-12, 01:28
Hi ,

the entry for /etc/fstab would be the following:

//192.168.178.xxx/yyy /media/zzz cifs username=user,password=passwd 0 0

Replace xxx with the correct IP-Number of your server, yyy with the directory you want to mount, user with the correct user on your router and passwd with the password of this user. Works for me on a suse-linux server and a fritz-box router.

Greets
Chris

A couple of additional points:

IRC Vortexbox doesn't have the software for connecting to samba shares. install cifsutils: "sudo dnf install cifs-utils"
"/media/zzz" must exist, or nothing will happen

cliver
2017-03-12, 03:18
Thanks Chris and Bakker,
I have now installed cifs-utils :rolleyes:
Still had trouble getting it to recognise my share.
Turns out I had to use the escape code \040 for spaces in the share name
So for anyone else wanting to do this my fstab line is as follows.


//xxx.yyy.zzz.aaa/Media\040(at\040fileserver1) /mnt/media cifs username=*****,password=*****

Thanks for the help guys.