PDA

View Full Version : Two Duo2s Not Talking to Each Other



Davidtjm
03-01-24, 13:52
Hi,

I’ve two Duo2 boxes located in separate rooms, both of which work fine as standalone but won’t talk to each other. That is, I can’t play movies on Box B through Box A.

Using Filezilla, I can play the movies on either box on my PC by transferring them to a folder on the hard drive. However, I would prefer to watch through the Duo2 boxes.

In the box I want to view the movies I’ve set the Mount options for the target box thus:
Mount Using: autofs
Active: enable
Local share name: vu87
Mount Type: NFS share
Server IP: 192.168.0.87
Server share: /media/hdd/movie
Use HDD replacement: No
Mount Options: rw, utf8,vers=2.0

In the Devices, uShare options on the target box (Hostname: vu87), I’ve set the Share Folders to /media/hdd/movie but when I try to play a movie on this from the viewing box, I get the message:
Directory /media/autofs/vu87/ does not exist.

FTP, Samba, FTP and uShare are all running. Image: 6.4.010, on both boxes which were both Factory Reset and HDDs initialised a few days ago - see attach.

66022No matter what share options I try on the target box, I always get the same return message.
Any ideas?
Thanks
David

bellejt
03-01-24, 14:00
you do not need to set anything shared.Just make mountings from the boxes to other box.Works fine. So just make a mount on secundairy box without HDD to box with HDD.

Davidtjm
03-01-24, 16:21
If I understood you correctly what you're saying is to mount the details of disk in the box with the movies into the mount in the other box, restart the network etc., then I should be able to watch the movies from that other box. Is that correct?

I have done this and also removed the HDD in that other box, and rebooted both boxes, but I still get the same error message:
Directory /media/autofs/vu87/ does not exist.

It looks to me like an operating system error/fault whereby it always looks for the "remote" movie in the /media/autofs/vu87/ folder.
The remote movies are in the /media/hdd/movie folder and I can see them in this location using Filezilla.

The directory: /media/autofs/vu87/ does in fact exist but it seems to be write protected

Any ideas? Thanks

bellejt
03-01-24, 16:40
do you need to mount the HDD from main box in settings manually or via menu on your slave box ? No need to remove HDD in slave box.Do it trough menu- settings - mounts - network search and you need to see the main box there and HDD.Make a mount and save.If you go in recordings then yoy must get a choice location.Choose the main box directory movie or where you share your recordings

cactikid
03-01-24, 18:34
Should not matter if both boxes have hdd , double check if your box ip has changed as that gives you dont exist.

Each box should have its own ip to get into.

Do you have a password enabled to get into box as i did not as forgot .

Davidtjm
03-01-24, 20:55
I've made sure each box has an exclusive address, one is 192.168.0.87 (master), the other is 192.168.0.52 (slave)
Each box has it own password.
With the disk in the slave box dismounted or even disconnected, I still getr the same result.

Any ideas maybe?

Davidtjm
03-01-24, 20:59
I've tried mounting the HDD in the main box both from the main box and the slave. The mount appears in the Mount Management option.
Again, when I try to watch a movie in the main box, i still get the same rwsult:
Directory /media/autofs/vu87/ does not exist.

Any further ideas maybe? Thanks

cactikid
03-01-24, 21:26
I assume the mount you have checked is the same ip you used and not altered 1 digit which would give you the " does not exist.

Did you retry a network scan to see if anything has changed?

When i could not use Samba i used NFS and mounted my box ip .

Try running a network scan to see all is green.

Willo3092
03-01-24, 21:28
Is the share mounted properly in Mount Manager?

66023

66024

These are my automounts.xml settings for a share on another e2 box:

<?xml version="1.0" ?>
<mountmanager>
<autofs>
<cifs>
<mount>
<active>True</active>
<hdd_replacement>False</hdd_replacement>
<ip>192.168.0.201</ip>
<sharename>GBUE4K</sharename>
<sharedir>Harddisk/movie</sharedir>
<options>rw,utf8,vers=2.0</options>
<username>root</username>
<password>****</password>
</mount>
</cifs>
</autofs>
</mountmanager>

bellejt
04-01-24, 09:44
do you at least have your ip settings right on both boxes concerning the Gateway ? Thes is wath I see in mounts
Slave
66025


main
66026

Davidtjm
04-01-24, 16:55
Hi Bellejt
I have my ip settings the same as in your mounts.

bellejt
04-01-24, 17:00
directory with Directory /media/autofs/vu87/ is wrong

Davidtjm
04-01-24, 17:38
Hi Willo,

Tks for the reply.
The mounts appear okay - that is, there's no red circle.

Using either NFS or CIFS the mounts also appear ok.

I've modified your script in accordance with the parameters in my own system and loaded the same file in the usr/script - using Filezilla, see photo
It didn't appear in the VIX/Setup/Script folder in the Duo2 box. Do I need to do something else?
Tks
660336603266034

Willo3092
04-01-24, 17:44
It's not a script, it's the settings in /etc/enigma2/automounts.xml

bellejt
04-01-24, 18:23
why bother with all that stuf ? Just mount from settings menu and restart.It should be working.Do it severall years like that and never had any problem except when samba was not working years ago but now mounted NFS and use samba only to copy my picons from one box to another.

On slave box go into recordings and choose yellow (location) .Then select your masterbox - it shows directorys and choose the recodriding directory your files are in.

Huevos
05-01-24, 18:12
Are we still using "master" and "slave" in 2024? (https://cdm.link/2020/06/lets-dump-master-slave-terms/)

The sending box is the "server" and the receiving box is the "client".

cactikid
05-01-24, 19:49
Might still be using it in 2025 also as i forget a lot

Davidtjm
06-01-24, 11:48
Wrong thread, sorry

Davidtjm
06-01-24, 11:52
Hi Willo
I’ve modified and applied your automounts.xml to reflect the settings in my system but it still returns with Directory: /media/autofs/vu87/ does not exist. I can drill down using either Filezilla or the native Win 11network and see that all these directories do exist.

The problem seems to be with the “Location” function trying to access the Autofs directory. I suspect there’s a corruption in the Autofs directory in the Flash Memory and no amount of flash installation or restore or factory reset will correct.

However, the boxes are at least eight years old so probably time for an upgrade.

Davidtjm
06-01-24, 11:55
Hi Bellejt

I've already done that but it still comes back with:Directory: /media/autofs/vu87/ does not exist.

See my reply to Willo.
Thanks for your time
David

bellejt
06-01-24, 12:12
look #12 and if you setup the mount as asked it is not possible to have autofs.

Willo3092
06-01-24, 13:11
If I look at the autofs directory from my computer, it's empty, but all the shares are accessible from the e2 box.

Using DreamExplorer all mounts are present.

66040

I don't use an FTP client to access my files from windows, I just install samba on the box and use windows explorer.

Davidtjm
06-01-24, 14:49
I've revisited post #12 and tried the remounts as you suggested. However, the mount will not work unless I use Autofs. I've tried Mount using Enigma 2, And the old Enigma Linux mount.

Willo3092
06-01-24, 14:59
Have you tried just allocating one of the coloured buttons in movie player to the share on the other box?
Mine works fine.

66043

Davidtjm
06-01-24, 15:17
I can see the Mounts - all there.

Davidtjm
17-03-24, 15:03
Eventually found out the cause of the problem - me!

I had set up Mount Manager correctly on the Main Menu>Setup>Network>Mounts>Browse network neighbourhood>MOUNT MANAGER.

However, on the pre-screen, the Browse Network neighbourhood: "Main Menu>Setup>Network>Mounts>Browse network neighbourhood", I had left the screen blank rather than keying in the IP address etc., of the remote box using the Expert option (blue).
When I set this up, everything worked fine.

Thanks for your suggestions (and your patience!), guys.
David