Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Upgraded to 4.2 and now can't connect to NAS using cifs....

  1. #1

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts

    Upgraded to 4.2 and now can't connect to NAS using cifs....

    Upgraded our VU box from 4.1 > 4.2 and had to set it all up again. Managed to get it all setup apart from connecting to the NAS share.

    Had his working perfectly with openvix 4.1 and our NAS using cifs (nfs, afp, etc is not an option)

    Now have upgraded the VU box to 4.2.005 and can't get it to connect to the NAS share anymore - keeps saying "invalid location "when browsing to it.

    NAS setup hasn't changed

    Can view the share using our computers

    Using the right username / credentials for the share.


    A step by step cifs setup guide for openvix would be ideal like the one I found for nfs.

    Or open to other suggestions...





    Sent from my iPhone using Tapatalk

  2. #2
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Have you enabled samba?

  3. #3

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Quote Originally Posted by ccs View Post
    Have you enabled samba?
    Yes believe so - I'll double check again


    Sent from my iPhone using Tapatalk

  4. #4

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Confirmed - Samba is running

    strangely enough the mount shows up as green - indicating "connected" however I am now able to get the box to browse the file structure on the share.
    Last edited by imish; 02-10-16 at 21:52.

  5. #5
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by imish View Post
    Confirmed - Samba is running
    This isn't anything to do with you connecting to a NAS.
    The only Samba processes (smbd and nmbd) allow other system to mount your filesystems - you want to do the reverse.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  6. #6
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    How have you got access permissions set up on the NAS?
    e.g. do you have them set for specifc IP addresses.
    If so, have you set the correct IP address: static - or one specifically assigned by the DHCP server (in your router?)

    Telnet into the machine and run this (but use the IP address of your NAS, and change the "user%password" if you are usin passwords).

    Code:
    smbclient -g -s /dev/null -U guest%  -L //192.168.1.51
    You should get a |-separated list of available shares etc.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  7. The Following User Says Thank You to birdman For This Useful Post:

    imish (03-10-16)

  8. #7

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    I'll give that a try.

    User credentials for access Permissions, not limited / assigned to IP addresses.




    Sent from my iPhone using Tapatalk

  9. #8

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Quote Originally Posted by birdman View Post
    You should get a |-separated list of available shares etc.
    this is what I see.

    Disk|store|
    IPC|IPC$|IPC Service ()
    Disk|guest|Home Directories
    Server|NASDOCK|
    Server|VUSOLO2|OpenViX vusolo2 network services
    Workgroup|WORKGROUP|VUSOLO2

    NASDOCK is the name of the NAS and store is the name of the share.

    Still can't seem to connect to the share - shows up as "invalid location"
    Last edited by imish; 05-10-16 at 20:02.

  10. #9

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    OK

    When I type in the following command

    smbclient //192.168.20.2/store -U admin

    I successfully get the SMB prompt and can list the files in the directory.

    How do I go about mounting it using command line cause I have tried a lot of options via the GUI.

  11. #10
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by imish View Post
    this is what I see.

    Disk|store|
    ...

    Still can't seem to connect to the share - shows up as "invalid location"
    That's a start then. The box can see the NAS.
    How have you configured the box to connect to this?

    Which of "Mount Manager" or "Network Browser" in
    Main menu -> Setup -> System -> Network -> Mounts Setup
    have you used?
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  12. #11

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Quote Originally Posted by birdman View Post
    That's a start then. The box can see the NAS.
    How have you configured the box to connect to this?

    Which of "Mount Manager" or "Network Browser" in
    Main menu -> Setup -> System -> Network -> Mounts Setup
    have you used?
    tried both mount manager and network browser - as mentioned earlier when i go through mount manager it shows up as a successful mount. I see it under location however when i click on it to browse the share I get the message "invalid location"

    see my post above yours - using smbclient i can connect and view the directory.

    can I use command line to successfully execute a persistent mount?\

    i've tried the following linux command but it doesn't work - "invalid argument"
    mount -t cifs -o <username>,<password> //<servername>/<sharename> /mnt/point/

  13. #12
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    When I had NAS problems last week, I found (after I had got it working, oddly), that when I tried to add another mount point, network browser refused to expand/collapse the NAS when I selected it. I deleted everything and started again from scratch and it's now working ok.

  14. #13

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Quote Originally Posted by ccs View Post
    When I had NAS problems last week, I found (after I had got it working, oddly), that when I tried to add another mount point, network browser refused to expand/collapse the NAS when I selected it. I deleted everything and started again from scratch and it's now working ok.
    I deleted the mount (even though it didn't work) so now I have no mounts visible in the GUI

    yet under autofs I can see all my previous attempts there - nas / NASDOCK / store, etc....

    how do I get rid of those?

    i'd love to get this working and also understand why the hell its so difficult....

  15. #14
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    A reboot might be enough, but I'm sure a better way will be to stop enigma and delete/edit all the necessary files.

    Best wait for some expert advice.

  16. #15

    Title
    Senior Member
    Join Date
    Sep 2013
    Posts
    622
    Thanks
    202
    Thanked 65 Times in 54 Posts
    Quote Originally Posted by ccs View Post
    A reboot might be enough,
    done that plenty of times - no joy.
    Last edited by imish; 05-10-16 at 21:16.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.