U4 - can't create mount for a T3.

Moderators: Gully, peteru

Post Reply
Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 02:09

This problem seems to echo the problem Star6key had with his U4 accessing recordings on a V2. However, this concerns a U4 accessing recordings on a T3.

The story is as follows:
  • Received the repaired T3 and set it up from scratch.
  • Replaced the HDD and reformatted it.
  • Upgraded T3 to 19.3 20201011. Generally working fine.
  • Had to reformat the HDD again as it initially complained that it could not setup the hard link for time shifting. First time it setup on the USB stick!
  • Rescanned, created Favourites
  • Setup networking by DHCP (router assigned IP address)
  • Stopped DLNA, set root password
  • Created network mounts to the T4, U4s, one PC and confirmed all could be accessed.
  • Setup IceTV.
Note that I have not edited any of the SMB configuration files on the T3. On inspection, they're set to the default insecure configuration that allows SMB version 1 (oddly but correctly identified as version NT1).

The problem:

The U4 can't access recorded files on the T3. The U4 network browser can see it, create a mount and seemingly mount the movie folder. However, on attempting to access the T3 recordings, the media player reports the error that the T3 movie folder does not exist? :(

I've tried it with and without vers=2.1 in the U4 mount options but no difference. The T4 works if the 2.1 parameter is omitted. The U4 refuses to work. Note that auto.network and automounts.xml match and contain no extraneous characters.

Curiously, using the same technique to create a mount on the T4 worked. The T4 can see the T3 and access it!

The U4 and T4 can see and access recordings on each other. However, the U4 media player cannot access the recordings on the T3. Similarly, the U4 cannot access recordings on the T3 by File Commander either.

Moreover, the T3 can see all the other network devices and access them without a problem.

I suspect that there is something about the U4 configuration that has caused the problems with the T3 and previously reported problems with V2 connections.

Note that the U4 can connect to my Windows PCs, the T4 and to the other U4 without a problem.

Like Star6key, we use the U4 to watch recordings and rely on the network to access recordings made elsewhere. Although I can watch the T3 indirectly connected via the Denon, it annoys the other half to do so (the T3 picture is much darker than the U4).

Any thoughts of options to try are welcome.

Paul
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by Grumpy_Geoff » Sat Oct 24, 2020 11:36

Assuming the automount happens, see if the issue is with samba on the T3 by adding "log level" debugging to the "global" section of the Samba "user changes" config file (/etc/samba/smb-user.conf) -

Code: Select all

[global]
#       include = /etc/samba/distro/smb-secure.conf
log level = 2
Wait 30 secs or so for the change to be detected, then access one of the T3's exports (e.g. /media/hdd/movie) on the U4 and then check the output of the resultant debugging in /var/log/samba/log.smbd (on the T3).
I'd expect there to be at least an authentication listed for the access of the T3 from the U4 (assuming the automounter has mounted the share on the U4).

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 12:37

Thanks Grumpy_Geoff, I will give it a go but SWMBO is watching the TV right now. Could be a while before I get access. :wink: :wink:
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by Grumpy_Geoff » Sat Oct 24, 2020 13:19

Paul_oz53 wrote:
Sat Oct 24, 2020 12:37
Could be a while before I get access.

I don't think you'll need to disturb "she who must be obeyed" at all, as it should be achievable from your computer (no risk of a kick to the goolies :lol:) -
  • Telnet to the T3, edit /etc/samba/smb-user.conf
  • [waiting the 30 secs or so]
  • Open U4's OWIF via browser
  • Open Movies link under Main
  • Click on "media" to expose drop-down selector
  • Select "autofs"
  • Select mount for T3's Movie export
  • Back to the T3's telnet session, check the samba log less /var/log/samba/log.smbd
[the OWIF access to the share could be replaced with a telnet to the U4 and accessing the share - ls -al /media/autofs/{T3_Movie})

paullings
Master
Posts: 247
Joined: Sat Dec 13, 2014 06:37
Location: Newcastle

Re: U4 - can't create mount for a T3.

Post by paullings » Sat Oct 24, 2020 16:29

Hi Paul,

These are the settings I use to connect to my T3 from the U4. I use FSTAB instead of Autofs. Can't remember why but it works :)
Attachments
Mount T3.jpg
Robert

U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 17:11

Grumpy_Geoff wrote:
Sat Oct 24, 2020 13:19
Paul_oz53 wrote:
Sat Oct 24, 2020 12:37
Could be a while before I get access.

I don't think you'll need to disturb "she who must be obeyed" at all, as it should be achievable from your computer (no risk of a kick to the goolies :lol:) -
  • Telnet to the T3, edit /etc/samba/smb-user.conf
  • [waiting the 30 secs or so]
  • Open U4's OWIF via browser
  • Open Movies link under Main
  • Click on "media" to expose drop-down selector
  • Select "autofs"
  • Select mount for T3's Movie export
  • Back to the T3's telnet session, check the samba log less /var/log/samba/log.smbd
[the OWIF access to the share could be replaced with a telnet to the U4 and accessing the share - ls -al /media/autofs/{T3_Movie})
Thanks again GG. Had to go out for a while. I'm old enough to have enjoyed "Rumpole of the Bailey" who first brought SWMBO to my attention.

At the step "Select mount for T3's Movie export" a spinner appeared and didn't finish. However, the U4 showed the Movie folder icon in green, which should mean it is mounted.

However, earlier I did manage to get the log.smbd file which is attached below. (This came with some protest but hey, she left the room for five minutes!)

Being in the study, I could access a U4 but my most recent attempts from the other U4 were equally unsuccessful. Though not included, here, the lines in the log after trying the study U4 exactly mirror the attached file.

I note that line 4 contains an error report "...SO_REUSEPORT = true on port 445 failed with error = Protocol not available", which may indicate the nature of the problem I'm having but this is well above my paygrade. Not apparent what the missing protocol might be or if it matters.

Regards, Paul

PS: On closer inspection, the PCs can't expand the movie or the logs folder on the T3 using Windows Explorer but Openwebif can download recorded files. The T3 can read and write to the PC though.
Attachments
log.smbd.txt
(1.47 KiB) Downloaded 51 times
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by prl » Sat Oct 24, 2020 17:22

Paul_oz53 wrote:
Sat Oct 24, 2020 17:11
I'm old enough to have enjoyed "Rumpole of the Bailey" who first brought SWMBO to my attention.

I presume you know that Rumpole was in turn borrowing from H Rider Haggard?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 17:53

paullings wrote:
Sat Oct 24, 2020 16:29
Hi Paul,

These are the settings I use to connect to my T3 from the U4. I use FSTAB instead of Autofs. Can't remember why but it works :)
A big thank you! May your team be successful no matter what brand of football they play.

Yes, it works if I use FSTAB, vers=2.1 and add the root account username and password.

Interestingly, the folder path is /media/net/movie. When time allows I will try to find the parameters that matter.
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by MrQuade » Sat Oct 24, 2020 18:00

Paul_oz53 wrote:
Sat Oct 24, 2020 17:53

Yes, it works if I use FSTAB, vers=2.1 and add the root account username and password.

Interestingly, the folder path is /media/net/movie. When time allows I will try to find the parameters that matter.
Dig deep, there's something quite strange about all that.
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

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 18:06

prl wrote:
Sat Oct 24, 2020 17:22
Paul_oz53 wrote:
Sat Oct 24, 2020 17:11
I'm old enough to have enjoyed "Rumpole of the Bailey" who first brought SWMBO to my attention.

I presume you know that Rumpole was in turn borrowing from H Rider Haggard?

Sadly, my literary knowledge is greatly lacking :( :(
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by Grumpy_Geoff » Sat Oct 24, 2020 18:50

Paul_oz53 wrote:
Sat Oct 24, 2020 17:11
PS: On closer inspection, the PCs can't expand the movie or the logs folder on the T3 using Windows Explorer

Possibly pointing at the T3's samba server, you think?
Paul_oz53 wrote: but Openwebif can download recorded files.

I'm pretty OWIF is using http file streaming, not samba to access the recordings.

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

Re: U4 - can't create mount for a T3.

Post by Grumpy_Geoff » Sat Oct 24, 2020 18:52

Paul_oz53 wrote:
Sat Oct 24, 2020 17:53
Yes, it works if I use FSTAB, vers=2.1 and add the root account username and password.

Interestingly, the folder path is /media/net/movie. When time allows I will try to find the parameters that matter.

I think the mounting of fstab shares on /media/net is the usual location.

When I tried the samba debug logging earlier, I had an "authentication" message appear, whereas you didn't -

Code: Select all

[2020/10/24 08:25:02.730430,  2] ../source3/param/loadparm.c:2799(lp_do_section)
  Processing section "[USB-sdd1]"
[2020/10/24 08:25:02.730677,  2] ../source3/param/loadparm.c:2799(lp_do_section)
  Processing section "[USB]"
[2020/10/24 08:25:02.731898,  2] ../source3/auth/auth.c:332(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [guest] -> [guest] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1
[2020/10/24 08:25:02.738833,  2] ../auth/auth_log.c:760(log_authentication_event_human_readable)
  Auth: [SMB,(null)] user [BEYONWIZT4]\[guest] at [Sat, 24 Oct 2020 08:25:02.738656 AWST] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [] remote host [ipv4:192.168.1.64:40786] mapped to [BEYONWIZT4]\[guest]. local host [ipv4:192.168.1.62:445]
[2020/10/24 08:25:02.742077,  2] ../source3/smbd/service.c:841(make_connection_snum)
   (ipv4:192.168.1.64:40786) connect to service Movie initially as user root (uid=0, gid=0) (pid 3601)
[2020/10/24 08:25:02.845539,  2] ../source3/smbd/open.c:1404(open_file)
  root opened file Gogglebox/20201001 2025 - 10 HD - Gogglebox.ts.meta read=Yes write=No (numopen=1)
[2020/10/24 08:25:02.850648,  2] ../source3/smbd/close.c:805(close_normal_file)
  root closed file Gogglebox/20201001 2025 - 10 HD - Gogglebox.ts.meta (numopen=0) NT_STATUS_OK
[2020/10/24 08:25:02.856274,  2] ../source3/smbd/open.c:1404(open_file)
Given the success of fstab mounting and samba access with the root user and password, try going back to autofs mounting but keep the specified root user/password.

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sat Oct 24, 2020 19:30

Grumpy_Geoff wrote:
Sat Oct 24, 2020 18:52

When I tried the samba debug logging earlier, I had an "authentication" message appear, whereas you didn't -

Code: Select all

[2020/10/24 08:25:02.730430,  2] ../source3/param/loadparm.c:2799(lp_do_section)
  Processing section "[USB-sdd1]"
[2020/10/24 08:25:02.730677,  2] ../source3/param/loadparm.c:2799(lp_do_section)
  Processing section "[USB]"
[2020/10/24 08:25:02.731898,  2] ../source3/auth/auth.c:332(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [guest] -> [guest] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1
[2020/10/24 08:25:02.738833,  2] ../auth/auth_log.c:760(log_authentication_event_human_readable)
  Auth: [SMB,(null)] user [BEYONWIZT4]\[guest] at [Sat, 24 Oct 2020 08:25:02.738656 AWST] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [] remote host [ipv4:192.168.1.64:40786] mapped to [BEYONWIZT4]\[guest]. local host [ipv4:192.168.1.62:445]
[2020/10/24 08:25:02.742077,  2] ../source3/smbd/service.c:841(make_connection_snum)
   (ipv4:192.168.1.64:40786) connect to service Movie initially as user root (uid=0, gid=0) (pid 3601)
[2020/10/24 08:25:02.845539,  2] ../source3/smbd/open.c:1404(open_file)
  root opened file Gogglebox/20201001 2025 - 10 HD - Gogglebox.ts.meta read=Yes write=No (numopen=1)
[2020/10/24 08:25:02.850648,  2] ../source3/smbd/close.c:805(close_normal_file)
  root closed file Gogglebox/20201001 2025 - 10 HD - Gogglebox.ts.meta (numopen=0) NT_STATUS_OK
[2020/10/24 08:25:02.856274,  2] ../source3/smbd/open.c:1404(open_file)
Given the success of fstab mounting and samba access with the root user and password, try going back to autofs mounting but keep the specified root user/password.

Just snuck a look at log,smbd and it does appear that the addition of a username and password is the key. It now includes the authentication entries you mentioned. It finds and accepts the root account credentials.

Will try autofs as you suggest after the footy.

Update 1: Autofs is working now with the root username and associated password. Initially it didn't work but after about 15 minutes it came good without a reboot. The share now shows as /media/autofs/MovieT3.

Update 2: On rebooting the U4, autofs did not work. Reverting to fstab and rebooting did work. It appears fstab is a necessary setting along with the root username / password.
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by Grumpy_Geoff » Sun Oct 25, 2020 10:36

Paul_oz53 wrote:
Sat Oct 24, 2020 19:30
Update 2: On rebooting the U4, autofs did not work. Reverting to fstab and rebooting did work. It appears fstab is a necessary setting along with the root username / password.

Have you also tried fstab with user=guest?

In your case, fstab mounting likely won't be so bad as your T3 will be kept in standby to prevent the "disappearing hard drive from boot" issue, so the mount on the U4 should always succeed.

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

Re: U4 - can't create mount for a T3.

Post by prl » Sun Oct 25, 2020 11:24

Paul_oz53 wrote:
Sat Oct 24, 2020 18:06
prl wrote:
Sat Oct 24, 2020 17:22
Paul_oz53 wrote:
Sat Oct 24, 2020 17:11
I'm old enough to have enjoyed "Rumpole of the Bailey" who first brought SWMBO to my attention.

I presume you know that Rumpole was in turn borrowing from H Rider Haggard?

Sadly, my literary knowledge is greatly lacking :( :(

She-who-must-be-obeyed is the eponymous "She" of H Rider Haggard's She: A History of Adventure.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sun Oct 25, 2020 14:30

prl wrote:
Sun Oct 25, 2020 11:24
Paul_oz53 wrote:
Sat Oct 24, 2020 18:06
prl wrote:
Sat Oct 24, 2020 17:22
Paul_oz53 wrote:
Sat Oct 24, 2020 17:11
I'm old enough to have enjoyed "Rumpole of the Bailey" who first brought SWMBO to my attention.

I presume you know that Rumpole was in turn borrowing from H Rider Haggard?


Sadly, my literary knowledge is greatly lacking :( :(

She-who-must-be-obeyed is the eponymous "She" of H Rider Haggard's She: A History of Adventure.

:idea: :idea: 8)
__________________________________
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

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

Re: U4 - can't create mount for a T3.

Post by Paul_oz53 » Sun Oct 25, 2020 14:36

Grumpy_Geoff wrote:
Sun Oct 25, 2020 10:36

Have you also tried fstab with user=guest?

In your case, fstab mounting likely won't be so bad as your T3 will be kept in standby to prevent the "disappearing hard drive from boot" issue, so the mount on the U4 should always succeed.

It appears to work ok with user=guest and no password. I have had a spontaneous reboot and a lockup of the U4 today but I am not able to investigate why at the moment.


And yes, the T3 will be on standby.

Update: The reboot appears to be unrelated. An IceTV problem appears to have been the cause. IceTV issue now resolved.
Last edited by Paul_oz53 on Sun Oct 25, 2020 16:14, edited 2 times in total.
__________________________________
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

paullings
Master
Posts: 247
Joined: Sat Dec 13, 2014 06:37
Location: Newcastle

Re: U4 - can't create mount for a T3.

Post by paullings » Sun Oct 25, 2020 16:01

Paul_oz53 wrote:
Sun Oct 25, 2020 14:36
It appears to work ok with user=guest and no password.
Ditto
Robert

U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10

Post Reply

Return to “Networking”