What's new

Can't Mount a samba share from USB HD connected to RT-AC68U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

cliver

Regular Contributor
I have another thread on this but am starting another because it's lokking like I may have a problem with my USB Samba setup on my router.

I have a 3TB USB drive attached and Samba set up as per attached screenshot.
I can browse the share from both windows and Linux PC's and open files on it without problems.
I am trying to mount the Media share on 2 Linus boxes. One is a Fedora box running vortexbox media server, this is headless so I only have access to the command line via putty. The other is a VU+ Duo2 Set Top Box wich runs OpenVix which is Linux based.
On the Fedora box I keep getting errors so I decided to try and set a mount up on the VU+ box.
On the VU+ I can use the menu to browse the network and set up a mount ok, but when I try to access the contents I get nothing.
So, as I have problems with both I'm wondering if there is something wrong with the setup on my router.
I'm no Linux expert but not a complete novice. However, this has me at a loss.
So, is there anything I need to change/check on my samba setup in attached.
Or should I go NFS?
Again, any help greatly appreciated.
 

Attachments

  • Capture1.JPG
    Capture1.JPG
    58.8 KB · Views: 1,269
Hi,

I have given up on Samba with username and password - I share the disks and USB thumb drives with "Allow guest login" and this works without problems. Maybe you give it also a try? :rolleyes:
 
Finally got to the bottom of this. So here's my solution for anyone wanting to do similar..
1. I had to install cifs-utils which wasn't there by default on my system so check yours.
It's amazing what happens when you install the right software :oops:.
2. When I ran "smbclient -L myservername" I got "Media (at fileserver1)" for the share name I was after.
As it contains spaces I had to use the escape code \040 for the spaces.
So my fstab line now looks like this
Code:
//xxx.yyy.zzz.aaa/Media\040(at\040fileserver1) /mnt/media cifs username=*****,password=*****
My Plex server on the vortexbox is now happily updating my library from the drive on the router.

Sent from my Nexus 6P using Tapatalk
 
Well, I have the same problem and can access shares only with enabled Guest Login which IS NOT acceptable for me.
I read that Windows user and user on the samba server should be the same with the same pass. Can we explicitly specify user in Windows for accessing shares? When I try to add my Windows user to router I cannot do this

0EixARH.png


Can we omit/edit this restriction to 16 symbols?

Even with smbclient I cannot see the shares, only root folder:

Code:
polo@bodhi-v:~$ smbclient -L \\\\CHIAPAS\\OTHER -U Zapatista
Enter Zapatista's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (CHIAPAS)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

        Server               Comment
        ---------            -------
        CHIAPAS              CHIAPAS

        Workgroup            Master
        ---------            -------
        WORKGROUP            CHIAPAS

However, I specify user explicitly to smbclient.

Merlin version: 380.66
 
Last edited:
Okay, got it. However, as for me it's a HUGE security flaw and almost a gift for attackers. Besides, we have to keep the same user/password for both shares and client machine, we also have to keep those passes VERY weak. Such a shame.
 
If you are that concerned about that level of security inside your LAN than you are using the wrong equipment! At the very least you should disable Samba altogether and switch to a NAS that enforces SMB3.

P.S. Your keyboard appears to be faulty. Your Caps Lock key keeps getting stuck.
 
I've never met anyone who types a password longer than 16 characters to log onto their computer. If you are, you are doing security wrong IMHO.
 
You can still mount a share using a different username (and therefore password) tho.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top