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.

View Entry Info: samba again not working

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
6.001.3
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
Yes
Attachments
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33

Thread: samba again not working

  1. #16
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    That doesn't really make sense, "disable netbios = No" is an optional parameter, so including it shouldn't make any difference to getting it installed.

    And it doesn't really explain why a flash without restoring settings/plugins didn't work either.

    Was that the only difference between /etc/samba on the 2 boxes?

  2. #17
    bellejt's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2013
    Posts
    1,862
    Thanks
    64
    Thanked 344 Times in 299 Posts
    did not look further.Just copied files from duo2 to octagon SF8008 and after reboot is was working again.
    VU+ DUO2 quad tuner with HDD 1 TB + Latest Openvix and VU+ DUO2 FB tuner + Octagon SF8008 FB tuner
    Triax 88 cm rotor single LNB 30 E- 40 W
    1 Gibertini 1.00 m fixed - 3 quad LNB 19E-23.5E-28.2E

  3. #18
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    That's a shame, this is what /etc/samba should look like, all the directories/files should have dates similar to the release, apart from those I've highlighted.

    Code:
    root@et10000:~# ls -lR /etc/samba
    /etc/samba:
    drwxr-xr-x    2 root     root           528 Mar 27 22:20 distro
    -rw-r--r--    1 root     root            20 Mar 27 22:20 lmhosts
    drwxr-xr-x    2 root     root           376 Mar 28 21:36 private
    -rw-r--r--    1 root     root           772 Dec 31  2020 smb-user.conf #User changes should only be added here.
    -rw-r--r--    1 root     root            95 Mar 27 22:20 smb.conf
    
    /etc/samba/distro:
    -rw-r--r--    1 root     root            61 Mar 27 22:20 smb-branding.conf
    -rw-r--r--    1 root     root          1516 Mar 27 22:20 smb-global.conf
    -rw-r--r--    1 root     root           586 Mar 27 22:20 smb-shares.conf
    lrwxrwxrwx    1 root     root            13 Mar 27 22:20 smb-vmc.conf -> smb-vmc.samba
    -rw-r--r--    1 root     root            29 Mar 27 22:20 smb-vmc.samba
    
    /etc/samba/private:
    -rw-------    1 root     root        430080 Dec 31  2020 secrets.tdb
    -rw-------    1 root     root           204 Jan  6 18:39 smbpasswd
    -rw-r--r--    1 root     root            80 Dec 31  2020 users.map
    root@et10000:~#
    I'll remove the option and see what happens later.
    Last edited by ccs; 03-04-22 at 10:16.

  4. #19
    bellejt's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2013
    Posts
    1,862
    Thanks
    64
    Thanked 344 Times in 299 Posts
    this is what I have :
    samba.jpg
    Attached Images Attached Images
    Last edited by bellejt; 03-04-22 at 10:31.
    VU+ DUO2 quad tuner with HDD 1 TB + Latest Openvix and VU+ DUO2 FB tuner + Octagon SF8008 FB tuner
    Triax 88 cm rotor single LNB 30 E- 40 W
    1 Gibertini 1.00 m fixed - 3 quad LNB 19E-23.5E-28.2E

  5. #20
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    They'll all have today's date because you copied them. I can't read the second attachment.

  6. #21
    bellejt's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2013
    Posts
    1,862
    Thanks
    64
    Thanked 344 Times in 299 Posts
    is the same as first.this is original from duo2 :

    samba.jpg
    Last edited by bellejt; 03-04-22 at 11:02.
    VU+ DUO2 quad tuner with HDD 1 TB + Latest Openvix and VU+ DUO2 FB tuner + Octagon SF8008 FB tuner
    Triax 88 cm rotor single LNB 30 E- 40 W
    1 Gibertini 1.00 m fixed - 3 quad LNB 19E-23.5E-28.2E

  7. #22
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Flashing 6.1.003 still works ok for me after removing "disable netbios = No".

    I looks like there was something else "wrong" with /etc/samba on your sf8008.

    Was samba actually working on that box when you took a settings backup ?

    If it was then 6.1 is picking up something 6.0 didn't. Debug logs might show something.

  8. #23
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by bellejt View Post
    is the same as first.this is original from duo2 :

    samba.jpg
    Thanks, it shows that you changed smb-user.conf a few weeks ago. Did you do the same on the sf8008 ?

    All other files look ok.

  9. #24
    bellejt's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2013
    Posts
    1,862
    Thanks
    64
    Thanked 344 Times in 299 Posts
    no I did not change anything.Long ago I had the same problem on duo 2 and there was given a solution but do not find that anymore.Next tim I take a copy before updating
    VU+ DUO2 quad tuner with HDD 1 TB + Latest Openvix and VU+ DUO2 FB tuner + Octagon SF8008 FB tuner
    Triax 88 cm rotor single LNB 30 E- 40 W
    1 Gibertini 1.00 m fixed - 3 quad LNB 19E-23.5E-28.2E

  10. #25

    Title
    Junior Member
    Join Date
    Feb 2018
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Willo3092 View Post
    Have you tried installing via putty?

    Code:
    opkg update

    Code:
    opkg install packagegroup-base-smbfs-server
    This worked for me, ended up doing a fresh install, and not using the backup wizard on first boot.

    Installing Samba via interface didn't work, it looked to work, but on reboot it keeps asking for Samba to be installed. Installing via putty using these commands worked.

    Don't forget to set the root password, Samba doesn't seem to like password-less login.

    Then restore settings afterwards

  11. #26

    Title
    Forum Supporter
    Donated Member
    Join Date
    Apr 2013
    Posts
    306
    Thanks
    132
    Thanked 58 Times in 38 Posts
    I had the same problem and this worked for me - info from this thread and also another post here

    1. Stop and uninstall SAMBA using remote control on the ViX install

    2. Reinstall from feeds using putty per above info in this thread....

    When logged using Putty type:
    opkg update

    Then type:
    opkg install packagegroup-base-smbfs-server

    3. Stop Samba as it starts with opkg install

    4. Next the contents of smbpasswd file here: /etc/samba/private/smbpasswd needed to be reset. You can use this attached exhibit to replace the one in the private folder smbpasswd.txt

    The first two lines must be reset to defaults to (or just use attached exhibit and delete ".txt" suffix)
    root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:NOPASSWORD XXXXXXXXXXXXXXXXXXXXXX:
    kids:500:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:NOPASSWO RDXXXXXXXXXXXXXXXXXXXXXX:

    5. Restart Samba on the ViX install
    6. Next reset the Samba Password using Putty again

    Type:
    smbpasswd -a root

    You will be prompted to enter and repeat the new password per below in the Putty window
    New SMB password:
    Retype new SMB password:

    7. Finally Stop and restart Samba using remote on the ViX installation. You should now be able to access the Samba share from you computer explorer

    I followed this procedure twice and it worked both times. It was a process of discovery reading the posts from everyone in the threads

  12. #27

    Title
    Member
    Join Date
    Aug 2023
    Posts
    43
    Thanks
    3
    Thanked 3 Times in 3 Posts
    What OS are you using to view shares? Windows?
    If so is SMB installed and enabled in Programs and Features?
    In services make sure both Function Discovery services are set automatic-delayed start and start them. A cold reboot will be needed.
    My osmio4k shows in Network with root and the hdd directories r/w

  13. #28

    Title
    Forum Supporter
    Donated Member
    Join Date
    Apr 2013
    Posts
    306
    Thanks
    132
    Thanked 58 Times in 38 Posts
    Quote Originally Posted by ArloGuthrie View Post
    What OS are you using to view shares? Windows?
    If so is SMB installed and enabled in Programs and Features?
    In services make sure both Function Discovery services are set automatic-delayed start and start them. A cold reboot will be needed.
    My osmio4k shows in Network with root and the hdd directories r/w
    With the greatest of respect you may not have the issues: it seems clean installs are fine, but updates and restore not so (perhaps depending on how long you have an image installed and version upgrades - mine is from 3 years ago with all minor/major upgrades, and clearly others have this problem). You have gone down the Windows features pathway - nothing what so ever to do with Samba that ViX Samba service provides for compatibility with Windows native Netbios browsing with Explorer or any Windows native network browsing. Thank for input and interest

  14. #29

    Title
    Member
    Join Date
    Aug 2023
    Posts
    43
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by sigpark View Post
    With the greatest of respect you may not have the issues: it seems clean installs are fine, but updates and restore not so (perhaps depending on how long you have an image installed and version upgrades - mine is from 3 years ago with all minor/major upgrades, and clearly others have this problem). You have gone down the Windows features pathway - nothing what so ever to do with Samba that ViX Samba service provides for compatibility with Windows native Netbios browsing with Explorer or any Windows native network browsing. Thank for input and interest
    I guess I did not understand exactly what you are using Samba for. Would you possibly be able to state the usage? Examples would be file transfers/sharing. Remote streaming of content?

  15. #30

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2010
    Posts
    3,044
    Thanks
    1,373
    Thanked 433 Times in 397 Posts
    I use Samba and Nfs to find my boxes hopefully on a network scan and know its ip address and those boxes might have internal or external Hdd with recordings i want to play on another box and tv.
    Remote streaming of content on your network to view in another room.

    Sometimes i cant mount Samba to view but using NFS i can as a backup.

Page 2 of 3 FirstFirst 123 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.