Jump to content


Photo

Configuring samba server on openpli 7.0


  • Please log in to reply
45 replies to this topic

#1 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 12:18

Hi.

Help me, please to  configure correctly samba server on openpli-7.0-release-vusolo4k-20190128, for maximum unrestricted access for my local network devices for media playback. I have popcorn hour medaplayer. On previous image Openpli 6.2 i was able to play video files connecting to samba share on my receiver. But with  Openpli 7.0 i'm getting endless bufferisation when i try to play a file. I knew i should make some changes to smb-user.conf file. But what changes should i make i don't know.



Re: Configuring samba server on openpli 7.0 #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 13:17

I have no clue what you are asking.

 

Either it connects, or it doesn't connect. And if it connects, it has access, there is no concept of user authorisation on an STB.

 

What changes are you referring to?


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #3 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 13:40

Here is comment line from file smb.conf :

# DO NOT EDIT THIS FILE !!!
# ADD YOUR GLOBAL CHANGES TO smb-user.conf !!!

Does it mean something?

 

It connects, everything is browsable, but when i try to playback mkv file on popcorn hour media player l get endless bufferisation.

I think some settings in smb.conf limits playback of media files.



Re: Configuring samba server on openpli 7.0 #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 14:02

No, there is not. As said, if you can see it, you can read it.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #5 timkvist

  • Senior Member
  • 45 posts

0
Neutral

Posted 15 February 2019 - 14:14

This is exactly what i had asked for. I still have the same problem with 7.0 but not with 6.2
 
I have the same problem but unfortunately no one wants to listen and one gets the same answer all the time that there is nothing wrong.
 
I try to look with the INFUSE app or MrMc on Appletv but it does not work with SMB or NFS. The same problem i have is that i can find the files but they can't play them.


Re: Configuring samba server on openpli 7.0 #6 littlesat

  • PLi® Core member
  • 46,791 posts

+487
Excellent

Posted 15 February 2019 - 14:16

Sorry to say it again...

 

Here no issues (when using VLC) with my Apple-TV... 

But I remembered from the last time I tried the Apple-TV has issues with files > 2G... but that is not box related.


Edited by littlesat, 15 February 2019 - 14:17.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Configuring samba server on openpli 7.0 #7 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 14:24

 

I have the same problem but unfortunately no one wants to listen and one gets the same answer all the time that there is nothing wrong.

 

We listen, but nobody can reproduce it. And if we don't know what is wrong (if something our end is wrong), we can't fix it.

 

There is nothing in samba that would restrict throughput, there is nothing in samba, and nothing in the OS, that restricts access to files in any way, shape of form.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #8 timkvist

  • Senior Member
  • 45 posts

0
Neutral

Posted 15 February 2019 - 14:30

Sorry to say it again...

 

Here no issues (when using VLC) with my Apple-TV... 

But I remembered from the last time I tried the Apple-TV has issues with files > 2G... but that is not box related.

 

Can VLC play bluray full file from a hard drive? Like INFUSE app



Re: Configuring samba server on openpli 7.0 #9 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 14:44

But why on openpli 6.2 witht it's samba there is no problem  with playback on mediaplayer?  With openpli 7.0 and it's samba i stuck with bufferisation.

Maybe this parametrs has influence on playback:

  oplocks = yes
  kernel oplocks = yes

smb.conf in openpli 7.0 has different parametrs than openpli 6.2


Edited by alex46978, 15 February 2019 - 14:46.


Re: Configuring samba server on openpli 7.0 #10 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 14:46

Add the changes to smb-user.conf, in the [global] section, restart the box, and check if they make a difference.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #11 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 16:39

Can anyone share smb.conf file from Openpli 6.X?



Re: Configuring samba server on openpli 7.0 #12 blzr

  • PLi® Core member
  • 1,995 posts

+99
Good

Posted 15 February 2019 - 16:49

here you go, original config from 6.2 release:
https://raw.githubus.../samba/smb.conf
True sarcasm doesn't need green font...

Re: Configuring samba server on openpli 7.0 #13 timkvist

  • Senior Member
  • 45 posts

0
Neutral

Posted 15 February 2019 - 17:38

Can anyone share smb.conf file from Openpli 6.X?

 

Can you tell me if you've fixed it? Maybe  must also change something



Re: Configuring samba server on openpli 7.0 #14 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 17:57

here you go, original config from 6.2 release:
https://raw.githubus.../samba/smb.conf

Thank you. Unfortunately that didn't work for me. Is it possible to remove that samba release and install the one that is included in openpli 6.2?



Re: Configuring samba server on openpli 7.0 #15 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 18:00

I wouldn't have thought it did, these is no change in config between 6.2 and 7.0.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #16 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 19:43

 

Can anyone share smb.conf file from Openpli 6.X?

 

Can you tell me if you've fixed it? Maybe  must also change something

 

Try to add that line to smb-user.conf, in the [global] section:

 [global]

  strict locking = no

That worked for me.



Re: Configuring samba server on openpli 7.0 #17 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,178 posts

+729
Excellent

Posted 15 February 2019 - 21:09

If that works, is that thing trying to create multiple r/w connections to the same file?


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

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

note: I do not provide support via PM !

 


Re: Configuring samba server on openpli 7.0 #18 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 15 February 2019 - 22:40

Popcorn hour media player A-400. Playback of mkv video files. I don't know whether he create multiple connections or no. But obviously not write, only read.



Re: Configuring samba server on openpli 7.0 #19 timkvist

  • Senior Member
  • 45 posts

0
Neutral

Posted 16 February 2019 - 00:57

 

 

Can anyone share smb.conf file from Openpli 6.X?

 

Can you tell me if you've fixed it? Maybe  must also change something

 

Try to add that line to smb-user.conf, in the [global] section:

 [global]

  strict locking = no

That worked for me.

 

 

Can you share how did you that? 


Edited by timkvist, 16 February 2019 - 01:00.


Re: Configuring samba server on openpli 7.0 #20 alex46978

  • Member
  • 19 posts

0
Neutral

Posted 16 February 2019 - 04:12

The file smb-user.conf  is situated at root/etc/samba/ folder. Open it in any text editor and the line:

  strict locking = no

in the [global] section. Save the changes. Type the command  "/etc/init.d/samba.sh restart" in telnet to reboot the samba. Or reboot the receiver.


Edited by alex46978, 16 February 2019 - 04:15.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users