Jump to content


Photo

Cifs mount over SSH not working in 7.0


  • Please log in to reply
7 replies to this topic

#1 alex_at

  • New Member
  • 2 posts

0
Neutral

Posted 19 June 2019 - 22:56

Hello,

 

I'm currently using a VU+ Solo 4K Box. My first non standard rom was the openPLI V6.x. In the beginning I had some issues with mounting a CIFS share - I constantly got permission denied.

 

The ultimate solution to that was (as it was on my Dreambox DM800HD before) to install cifs via opkg install cifs.

 

Now with openPLI V7.0 I'm facing the same issue again - tried all the variants I found from different forums - but I always end up with permission denied.

 

Tried the same mount command from a linux pc - no issues.

 

It seems the missing cifs package is the key - but it seems like there's not cifs package in the 7.0 repository.

 

 

 

Does anyone have any suggestion?

Any ideas?

 

 

Thanks,

 

 

Alex



Re: Cifs mount over SSH not working in 7.0 #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 19 June 2019 - 23:08

What do yoou miss that you think a package will solve? Or are you just randomly trying something?

 

Perhaps you should start with explaining exactly what you want, what do you, and what the result is, so we don't have to guess as to what the problem might be?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Cifs mount over SSH not working in 7.0 #3 alex_at

  • New Member
  • 2 posts

0
Neutral

Posted 19 June 2019 - 23:21

trying to mount a cifs share via SSH.

 

mount -t cifs -o username=alexander,password=xxx //192.168.1.2/drive /media/nas

 

(using -fstype=cifs instead of -t cifs - or adding sec=ntlm or sec=ntlmssp as suggested on other forums didn't help)

 

results in permission denied. (dmesg gives me Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE)

 

I had the same issues with openPLI 6.x, where after reading the forums installing the cifs package with opkg install cifs was the solution.

 

Unfortunately that doesn't work in 7.0

 

If I run the same command from a Ubuntu or openSuse Box the share mounts fine as usual. So I suspect the issue is somwhere in my openPLI config.

 

I tried the mount manager in V7, as I did in the past with V6.x - but I never had luck with the mount manager, so I did the faster way over the command line.


Edited by alex_at, 19 June 2019 - 23:25.


Re: Cifs mount over SSH not working in 7.0 #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 20 June 2019 - 10:14

What do you mean with "over SSH"? Through an ssh tunnel? Or do you just mean "on the commandline"?

 

To me, the message is very clear, NT_STATUS_LOGON_FAILURE means username or password incorrect. Any weird characters in your password?

 

The only issue I know is that boxes with an 3.x kernel (like the VU+) still use SMBv1 as default protocol, which most CIFS servers have disabled these days, so you need to add "vers=2.0" to the options. But afaik that gives you an "operation not permitted" error.

 

Just created a CIFS share on my Synology (I use NFS for all my shares), and mounted it on my Duo 4K:

root@vuduo4k:/# mkdir /media/test
root@vuduo4k:/# mount -t cifs -o username=openpli,password=openpli,vers=2.0 //172.16.1.31/openpli /media/test
root@vuduo4k:/# 

not a problem?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Cifs mount over SSH not working in 7.0 #5 rogerthat

  • Member
  • 18 posts

0
Neutral

Posted 20 June 2019 - 13:37

Taking from here and seeing dmegs outputs

"If I run the same command from a Ubuntu or openSuse Box the share mounts fine as usual. So I suspect the issue is somwhere in my openPLI config."

 

and pointing the directions; I would say it is not openpli but embedded linux; in other words NAS/CIFS connection problem; as it is being an embedded linux there might be missing the tools usually you expect them to run on ubuntu/opensuse.

 

"NT_STATUS_LOGON_FAILURE" most likely you want to attach some windows-nt based block device to ubuntu/opensuse successfully.you might format block device in ext3 etc(linux) format and then attach if you want something quick workaround.

 

if there is a way to deploy openpli on ubuntu/opensuse I would assume you can connect it just the way you do on ubuntu/opensuse.BTW is openpli deployable on ubuntu/opensuse ? I mean compile/build from sourcecode.

 

Enigma2 is a framebuffer-based zapping application (GUI) that is primarly targeted to physicial set-top-boxes running embedded Linux (OpenEmbedded based firmware distrobutions), however Enigma2 can technically also run on regular PCs, but it is not common.
https://kodi.wiki/view/Enigma2

Welcome to OpenEmbedded, the build framework for embedded Linux.
http://www.openembed.../wiki/Main_Page

THE YOCTO PROJECT.  IT'S NOT AN EMBEDDED LINUX DISTRIBUTION, IT CREATES A CUSTOM ONE FOR YOU.
https://www.yoctoproject.org/
 



Re: Cifs mount over SSH not working in 7.0 #6 WanWizard

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 20 June 2019 - 14:22

What does this copy and paste add to the discussion? It is A to Z unrelated bollocks.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Cifs mount over SSH not working in 7.0 #7 Erik Slagter

  • PLi® Core member
  • 45,235 posts

+496
Excellent

Posted 20 June 2019 - 15:54

I think TS forwards just one port while for smb to work completely, it needs more ports to be forwarded (both udp and tcp), for authenication to work.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: Cifs mount over SSH not working in 7.0 #8 rogerthat

  • Member
  • 18 posts

0
Neutral

Posted 7 July 2019 - 11:32

when you know you do not know it  shine with the bollocks of arrogance.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users