FTP server mount startup.
#1
Posted 7 April 2021 - 18:02
Re: FTP server mount startup. #2
Posted 7 April 2021 - 18:10
Not supported by the udev mounter?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #3
Re: FTP server mount startup. #4
Re: FTP server mount startup. #5
Posted 7 April 2021 - 22:51
You can create "/etc//init.d/rcS.local", make sure it is executable, and put the command in there.
It could also be that it doesn't mount because at the time fstab is processed, there is no active network yet. In that case, create a script in "/etc/network/if-up.d/" instead, and it will run as soon as the network interface comes up.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #6
Re: FTP server mount startup. #7
Posted 8 April 2021 - 07:42
Why do you want to run a ftp server from OpenPLi?
Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport
---------------------------------------------------------------------------------------------------------------------------------------
Remember: Upvote with the button for any user/post you find to be helpful, informative, or deserving of recognition!
---------------------------------------------------------------------------------------------------------------------------------------
Many answers to your question can be found in our new and improved wiki
Re: FTP server mount startup. #8
Posted 8 April 2021 - 12:36
I don't understand that.
I'm just a user.
If you don't know what you're doing, perhaps try to crawl before you try to run, and study first?
Why do you want to run a ftp server from OpenPLi?
(S)he doesn't want to run an FTP server, but mount an ftp server.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #9
Posted 9 April 2021 - 17:45
"If you don't know what you're doing, perhaps try to crawl before you try to run, and study first?"
I didn’t think this was a huge problem.
Re: FTP server mount startup. #10
Posted 9 April 2021 - 18:03
The fact that you can't browse doesn't mean it doesn't work? Most users use a CIFS mount, without any problem. Ask the right questions to get the right answers.
And no, you don't need to learn to service a car, but you pay someone to do it for you...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #11
Posted 9 April 2021 - 18:22
Re: FTP server mount startup. #12
Posted 10 April 2021 - 01:53
That happens when people rip take your code but don't bother to push changes back upstream, in order to take credits. Too bad, but that's how quite a few of those images work.
There is no need to enter any connection settings, OpenPLi will autodetect them, all you need to enter is ip address (or hostname, but not both!), mountpoint name (will be created in /media), share name,username and password.
It mounts immediately here, both shares of another box and of my Synology.
Network browsing only works if both SMBv1 and NetBIOS broadcasting is enabled on the server. These days, both are disabled by default, on most server platforms. The alternative is to use WSD, a discovery protocol over HTTP, but that is not implemented in the network browser (which is over 10 years old).
edit:
Also, most images use busybox mount to actually mount the share. It doesn't care if you enter options that are wrong or not supported. We use linux mount, which doesn't continue when incorrect options are detected. If you want to check why something doesn't mount, enter your mount, restart Enigma in debug mode, when restarted, restart again in standard mode, and check the debuglog in /home/root.
You'll see the generated mount command in there, plus any error messages.
Edited by WanWizard, 10 April 2021 - 02:01.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #13
Posted 10 April 2021 - 14:34
Re: FTP server mount startup. #14
Posted 10 April 2021 - 14:49
edit:
After reboot automatic deleted the /mnt/ftp directory...
Whí?
Edited by Kenderice, 10 April 2021 - 14:54.
Re: FTP server mount startup. #15
Posted 10 April 2021 - 14:55
The error is clear:
[AutoMount.py] Failed to create /media/net/nas Error: [Errno 13] Permission denied: '/media/net/nas'
So it can't create the mountpoint for one reason or another.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #16
Posted 10 April 2021 - 15:06
Edited by Kenderice, 10 April 2021 - 15:07.
Re: FTP server mount startup. #17
Posted 10 April 2021 - 16:36
Why create a /usr/ftp? It's in flash memory, so it will be deleted on upgrades. And it's a mountpoint Enigma can't work with, as it expects its mountpoint in /media.
So what have you changed so that /media/net/nas can not be created? /media is volatile, it will be recreated on every boot...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #18
Posted 10 April 2021 - 21:27
Why create a /usr/ftp? It's in flash memory, so it will be deleted on upgrades. And it's a mountpoint Enigma can't work with, as it expects its mountpoint in /media.
So what have you changed so that /media/net/nas can not be created? /media is volatile, it will be recreated on every boot...
Re: FTP server mount startup. #19
Posted 10 April 2021 - 21:40
You don't need to create it yourself, it is automatically created when the automounter runs. Unless you create it yourself before the automounter runs, in which case the mount fails because it's mountpoint already exists.
I have a feeling you're doing all sorts you're not supposed to, which has broken it, and now you're trying to work around the thing you broke in the first place.
Believe me, if there was an issue mounting CIFS mounts, this forum would be red-hot with error reports...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FTP server mount startup. #20
Posted 11 April 2021 - 07:24
"You don't need to create it yourself, it is automatically created when the automounter runs."
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users