Accessing </root>

Discuss Beyonwiz related topics here if they don't fit in another forum.

Moderators: Gully, peteru

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Accessing </root>

Post by Grumpy_Geoff » Mon Apr 06, 2020 19:01

You're running old firmware. That old firmware doesn't have the "include" instructions to drag in "user" SMB config files.
Since you're on that old firmware, just add your '[Movie]' share specifications directly to the standard smb.conf file.

Better still, upgrade to 20191106 - https://beyonwiz.com.au/downloads/
The 'Movie' share is already included with that.
Because you're running that 16.1-series firmware, you'd need to perform the set up from scratch. I have a method available to copy off your timers and AutoTimer definitions prior to upgrade, and restore afterwards if you wish to do that.

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Accessing </root>

Post by MrQuade » Mon Apr 06, 2020 19:10

Yikes, you're right. I forgot about all that extra user remapping faff that was added in the 17.5 series!
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Accessing </root>

Post by Grumpy_Geoff » Mon Apr 06, 2020 19:16

MrQuade wrote:
Mon Apr 06, 2020 19:10
I forgot about all that extra user remapping faff that was added in the 17.5 series!

faff = root file system protection! Weren't you paying attention in class? :lol:

Paul_oz53
Wizard
Posts: 2789
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Accessing </root>

Post by Paul_oz53 » Mon Apr 06, 2020 20:06

Grumpy_Geoff wrote:
Mon Apr 06, 2020 19:01
You're running old firmware. That old firmware doesn't have the "include" instructions to drag in "user" SMB config files.
Since you're on that old firmware, just add your '[Movie]' share specifications directly to the standard smb.conf file.

Better still, upgrade to 20191106 - https://beyonwiz.com.au/downloads/
The 'Movie' share is already included with that.
Because you're running that 16.1-series firmware, you'd need to perform the set up from scratch. I have a method available to copy off your timers and AutoTimer definitions prior to upgrade, and restore afterwards if you wish to do that.

I'd have suggested the beta since it is very stable but, regardless, with the old SMB config files jplouis is likely to run into the 2 GB oplocks problem that plagued me in earlier versions.

As we know, the 19.3 firmware has settings that manage that issue.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

jplouis
Apprentice
Posts: 21
Joined: Sun Aug 11, 2019 11:28

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by jplouis » Wed Apr 08, 2020 18:04

I installed the latest firmware on the T4 - Thanks for pointing me to this Grumpy. I could now the access the mount point Movies from my old DP2 & my wife's laptop - but sadly, still not my desktop.

It turns out this that this Samba mounting problem appears on some Windows 10 machines, but not others - Windows ...... SIGH.

The solution is simply to specifically include the login credentials for the T4 [or any other Samba mount giving you problems, NAS etc] into the Windows Credential Manager.

Problem solved - I can now access the T4 Samba mount from my desktop.

Posted in case this this can help any other poor souls lost in the mysteries of windows networking - The network error from windows, that I had posted earlier, really gives you no indication that this is a simple credentials issue.

raymondjpg
Guru
Posts: 962
Joined: Sun Jul 25, 2010 09:18

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by raymondjpg » Wed Apr 08, 2020 18:36

jplouis wrote:
Wed Apr 08, 2020 18:04
Posted in case this this can help any other poor souls lost in the mysteries of windows networking - The network error from windows, that I had posted earlier, really gives you no indication that this is a simple credentials issue.

The error code 0x80070035 that you reported previously appeared to have cropped up about the time Windows 10 feature update 1803 appeared, and one proposed solution was to add the problematic network resource to the hosts file. It also appeared that the issue had been resolved with subsequent Windows 10 feature updates. Are you running a Windows 10 build earlier than 1909 or 1903?
Beyonwiz T2, Beyonwiz U4, IceBox BYO with Hauppauge WinTV-dualHD (x2), Hauppauge WinTV-quadHD

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by MrQuade » Wed Apr 08, 2020 18:53

raymondjpg wrote:
Wed Apr 08, 2020 18:36
one proposed solution was to add the problematic network resource to the hosts file.
eww. The problem solving equivalent of "giving up" IMHO.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

raymondjpg
Guru
Posts: 962
Joined: Sun Jul 25, 2010 09:18

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by raymondjpg » Wed Apr 08, 2020 19:16

MrQuade wrote:
Wed Apr 08, 2020 18:53
eww. The problem solving equivalent of "giving up" IMHO.

There were plenty of bandaid solutions to the networking mess visited on some peoples' pcs following feature update 1803. At that time I was probably transitioning to Windows 10 from Windows 7, and my "giving up" solution was to reinstall Windows 10 from scratch. Things were better with update 1809, and since then I have been pleasantly surprised at the stability of Windows 10 and even networking, apart from the need to periodically restart the Function Discovery Resource Publication Service. My point is at that time of instability with 1803 there weren't that many non "giving up" solutions, at least none that would work for everyone!
Beyonwiz T2, Beyonwiz U4, IceBox BYO with Hauppauge WinTV-dualHD (x2), Hauppauge WinTV-quadHD

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by MrQuade » Wed Apr 08, 2020 20:04

raymondjpg wrote:
Wed Apr 08, 2020 19:16
"giving up"
Hehe, I was definitely not intending that to be a slight on you at all. Just my disgust on the depths we sometimes have to plumb to work around all the new surprise nuggets Microsoft leave us with :).
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

raymondjpg
Guru
Posts: 962
Joined: Sun Jul 25, 2010 09:18

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by raymondjpg » Wed Apr 08, 2020 20:12

MrQuade wrote:
Wed Apr 08, 2020 20:04
raymondjpg wrote:
Wed Apr 08, 2020 19:16
"giving up"
Hehe, I was definitely not intending that to be a slight on you at all. Just my disgust on the depths we sometimes have to plumb to work around all the new surprise nuggets Microsoft leave us with :).

OK thanks. But as I said, I have been much surprised at how far Windows 10 has come over the past year. Not one bugcheck bluescreen have I seen, and I find networking and network discovery to be working much as expected now with Samba 1 disabled.

(Whisper whisper I still preferred Windows 7. Call me a Luddite if you will.)
Beyonwiz T2, Beyonwiz U4, IceBox BYO with Hauppauge WinTV-dualHD (x2), Hauppauge WinTV-quadHD

Paul_oz53
Wizard
Posts: 2789
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Accessing </root> SAMBA MOUNT PROBLEM SOLVED

Post by Paul_oz53 » Wed Apr 08, 2020 20:21

jplouis wrote:
Wed Apr 08, 2020 18:04
...

The solution is simply to specifically include the login credentials for the T4 [or any other Samba mount giving you problems, NAS etc] into the Windows Credential Manager.

Problem solved - I can now access the T4 Samba mount from my desktop.

Posted in case this this can help any other poor souls lost in the mysteries of windows networking - The network error from windows, that I had posted earlier, really gives you no indication that this is a simple credentials issue.

By trial and error I stumbled on the need to provide credentials in Win10.

One of my Win10 machines works fine but the other is a basket case after an update. It stopped recognising the SSD and borked on trying a system restore. Took it back to Win7 until I get well enough to revisit the problem.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

jplouis
Apprentice
Posts: 21
Joined: Sun Aug 11, 2019 11:28

Re: Accessing </root>

Post by jplouis » Wed Apr 08, 2020 23:24

raymondjpg

The windows build I'm using is

Windows 10 (x64) (build 18362)

netless

raymondjpg
Guru
Posts: 962
Joined: Sun Jul 25, 2010 09:18

Re: Accessing </root>

Post by raymondjpg » Thu Apr 09, 2020 01:04

jplouis wrote:
Wed Apr 08, 2020 23:24
raymondjpg

The windows build I'm using is

Windows 10 (x64) (build 18362)

netless

That looks like Win10 1903. I'd be applying feature update 1909; it is a minor update to 1903 purportedly turning on some features already incorporated in1903. I haven't seen any reports of major disasters either with 1903 or 1909, but caveat emptor.
Beyonwiz T2, Beyonwiz U4, IceBox BYO with Hauppauge WinTV-dualHD (x2), Hauppauge WinTV-quadHD

Sandy B
Master
Posts: 288
Joined: Fri Feb 12, 2016 17:43

Re: Accessing </root>

Post by Sandy B » Tue Jan 26, 2021 11:57

After re-flashing due to my recent problems with my T4 (see T4 wants to reboot), I have noticed that I am not able to access root as noted on the above discussion. I consequently tried to reinstall the <smb_user.conf> file to “internal Flash” > “etc” > “samba”, the first time it noted that the file existed and asked if I wanted to replace it, to which I said yes. After a GUI restart I noted that I still could not access root a power off restart also did not solve the problem I have now tried a few time to again re-copy the <smb_user.conf> and noted on subsequent attempts that it did not ask if I wanted to replace the and it just copied the file, I believe that the file was coped as I highlighted/tagged the <smb_user.conf> with media prior to copying and the tag quickly disappears after pressing the yellow copy buttom. Again after GUI restart and a power off restart I am running out of ideas.

prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Accessing </root>

Post by prl » Tue Jan 26, 2021 12:21

So, in some unspecified version of the Beyonwiz firmware, a samba config file with unstated contents that once worked in a possibly different unspecified version of the firmware didn't work when copied onto the Beyonwiz?

First possible problem: The filename you should use (at least in firmware 20210119) is smb-user.conf, not smb_user.conf.

The directory you wrote it to, though, is correct: “Internal Flash” > “etc” > “samba”.

Why do you want to give Windows share access to the PVR's root directory?

You can view the contents of .conf files in the File Commander (MENU>Sources / Files) by navigating to the file and pressing OK.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Sandy B
Master
Posts: 288
Joined: Fri Feb 12, 2016 17:43

Re: Accessing </root>

Post by Sandy B » Tue Jan 26, 2021 13:06

The filename you should use (at least in firmware 20210119) is smb-user.conf, not smb_user.conf.
I am using the latest firmware, but did not realise the file name change to smb-user.conf. I changed the file name and installed into samba.
Why do you want to give Windows share access to the PVR's root directory?
I find that when trying to play a file on the computer using Openwebif program it does not work, and consequently use File Explorer to play files, I cannot do that with the T4’s attached HDD. Also much easier to copy from computer to attached hard drives.

Thanks for your help all working now.

prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Accessing </root>

Post by prl » Tue Jan 26, 2021 16:35

Sandy B wrote:
Tue Jan 26, 2021 13:06
I find that when trying to play a file on the computer using Openwebif program it does not work, and consequently use File Explorer to play files, I cannot do that with the T4’s attached HDD. Also much easier to copy from computer to attached hard drives.

You don't need to allow access to the filesystem root to do that, access to /media/usb should do it.

Allowing access to the filesystem root allows the possibility that firmware files might be removed or modified accidentally. If you want root access to modify those files intentionally, then the problem of accidental modification is what you live with. If you only want to access USB drives, you don't need to allow root access.
Sandy B wrote:
Tue Jan 26, 2021 13:06
Thanks for your help all working now.

No problem.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Accessing </root>

Post by Grumpy_Geoff » Tue Jan 26, 2021 17:32

Sandy B wrote:
Tue Jan 26, 2021 13:06
I find that when trying to play a file on the computer using Openwebif program it does not work, and consequently use File Explorer to play files, I cannot do that with the T4’s attached HDD.

You should be able to stream from an attached USB device using OWIF. See below where I streamed a recording.

Listing of directory on USB drive -
OWIF_Movies_USB.png
Streamed recording -
OWIF_streamed_USB_recording.png

Post Reply

Return to “General Discussion”