Hello Jeremy,
sorry mi ignorance (windows guy here where i should look and remove that line exactly ?
Hello Jeremy,
sorry mi ignorance (windows guy here where i should look and remove that line exactly ?
The line is in /etc/samba/smb.conf. Reading through this thread, it appears you are sharing from Windows to OSMC so commenting out that line shouldn’t make any difference as it relates to the Samba server on OSMC.
Do it anyway.
Hi @shkval, I assume you still have the issue?
Suggest to do some base checking:
smbclient -U <your user name> -L //192.168.2.100/
Also do you have “Wait for Network” enabled?
i first look at the smb.conf however i didn’t see that line as Jeremy told above
I tried to run the command you told me however it seems i don’t have it installed because the command is not found.
Hi,
sudo apt-get install smbclient
Thanks Tom.
That’s OK. You don’t have samba server installed then.
Well it is in your .smb/smb.conf I assume which I guess is what you showed here
As shown by @Tom_Doyle install smbclient and give it ago so that we can see further.
Hello,
I tried the command after install smbclient tools, he listed me the shares of the server and after the shares the following commment
Connection to 192.168.2.100 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
Generally i don’t have issues with the CIFS mount from FSTAB, they’re mounted with success
i was looking at the normal path and i forgot about this one, sorry, i just commented the line as suggested. Right now i’ve the file as follow:
[global]
preferred master = no
local master = no
domain master = no
# client lanman auth = yes
# lanman auth = yes
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
lock directory = /home/osmc/.smb/
# client use spnego = no
client use spnego principal = no
client ntlmv2 auth = no
client min protocol = SMB2
client max protocol = SMB3
name resolve order = bcast host
sec = ntlmv2
I will do some testing and give a feedback asap
Thanks!
Regards,
i did some test with a movie:
1 - Test was playing fine after around 20 minutes it freezes and stopped
22:22:35.336 T:1247798016 NOTICE: Opening stream: 0 source: 256
22:22:35.336 T:1247798016 NOTICE: Creating video codec with codec id: 13
22:22:35.344 T:1247798016 NOTICE: Creating video thread
22:22:35.345 T:1247798016 NOTICE: Opening stream: 1 source: 256
22:22:35.345 T:1123021568 NOTICE: running thread: video_thread
22:22:35.345 T:1247798016 NOTICE: Finding audio codec for: 86019
22:22:35.346 T:1247798016 NOTICE: Creating audio thread
22:22:35.346 T:1097855744 NOTICE: running thread: CVideoPlayerAudio::Process()
22:22:35.689 T:1097855744 ERROR: CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-1094995529)
22:22:35.690 T:1097855744 NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
22:28:05.582 T:1123021568 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:28:40.239 T:1097855744 NOTICE: CVideoPlayerAudio::Process - stream stalled
22:29:06.965 T:1123021568 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:42:49.117 T:1097855744 ERROR: CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-1094995529)
22:43:51.536 T:1247798016 NOTICE: CVideoPlayer::OnExit()
22:43:51.537 T:1247798016 NOTICE: VideoPlayer: eof, waiting for queues to empty
22:43:51.537 T:1247798016 NOTICE: Closing stream player 1
22:43:51.537 T:1247798016 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
22:43:51.538 T:1247798016 NOTICE: Waiting for audio thread to exit
22:43:51.538 T:1097855744 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:43:51.538 T:1097855744 NOTICE: thread end: CVideoPlayerAudio::OnExit()
22:43:51.539 T:1247798016 NOTICE: Closing audio device
22:43:51.541 T:1247798016 NOTICE: Deleting audio codec
22:43:51.542 T:1247798016 NOTICE: Closing stream player 2
22:43:51.543 T:1247798016 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
22:43:51.543 T:1247798016 NOTICE: waiting for video thread to exit
22:43:51.544 T:1123021568 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:43:51.544 T:1123021568 NOTICE: thread end: video_thread
22:43:51.544 T:1247798016 NOTICE: deleting video codec
22:43:52.194 T:1926146560 NOTICE: CVideoPlayer::CloseFile()
22:43:52.196 T:1926146560 NOTICE: VideoPlayer: waiting for threads to exit
22:43:52.196 T:1926146560 NOTICE: VideoPlayer: finished waiting
22:43:52.216 T:1926146560 NOTICE: CVideoPlayer::CloseFile()
22:43:52.216 T:1926146560 NOTICE: VideoPlayer: waiting for threads to exit
22:43:52.216 T:1926146560 NOTICE: VideoPlayer: finished waiting
2 - I tried to resume the same movie and i got the following from Kodi.log
22:45:16.135 T:1926146560 NOTICE: VideoPlayer: Opening: /mnt/leningrado/Movies/Al filo del mañana (2014).avi
22:45:16.136 T:1926146560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:45:16.137 T:1123021568 NOTICE: Creating InputStream
22:45:24.733 T:1123021568 NOTICE: Creating Demuxer
22:46:00.568 T:1123021568 NOTICE: Opening stream: 0 source: 256
22:46:00.568 T:1123021568 NOTICE: Creating video codec with codec id: 13
22:46:00.584 T:1123021568 NOTICE: Creating video thread
22:46:00.584 T:1123021568 NOTICE: Opening stream: 1 source: 256
22:46:00.584 T:1089467136 NOTICE: running thread: video_thread
22:46:00.584 T:1123021568 NOTICE: Finding audio codec for: 86019
22:46:00.586 T:1123021568 NOTICE: Creating audio thread
22:46:00.587 T:1470968576 NOTICE: running thread: CVideoPlayerAudio::Process()
22:46:02.767 T:1123021568 NOTICE: CVideoPlayer::OnExit()
22:46:02.767 T:1123021568 NOTICE: VideoPlayer: eof, waiting for queues to empty
22:46:02.767 T:1123021568 NOTICE: Closing stream player 1
22:46:02.767 T:1123021568 NOTICE: Waiting for audio thread to exit
22:46:02.774 T:1470968576 NOTICE: thread end: CVideoPlayerAudio::OnExit()
22:46:02.774 T:1123021568 NOTICE: Closing audio device
22:46:02.774 T:1123021568 NOTICE: Deleting audio codec
22:46:02.774 T:1123021568 NOTICE: Closing stream player 2
22:46:02.775 T:1123021568 NOTICE: waiting for video thread to exit
22:46:02.775 T:1089467136 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:46:02.775 T:1089467136 NOTICE: thread end: video_thread
22:46:02.775 T:1123021568 NOTICE: deleting video codec
22:46:02.803 T:1926146560 NOTICE: CVideoPlayer::CloseFile()
22:46:02.803 T:1926146560 NOTICE: VideoPlayer: waiting for threads to exit
22:46:02.803 T:1926146560 NOTICE: VideoPlayer: finished waiting
22:46:02.803 T:1926146560 NOTICE: CVideoPlayer::CloseFile()
22:46:02.803 T:1926146560 NOTICE: VideoPlayer: waiting for threads to exit
22:46:02.803 T:1926146560 NOTICE: VideoPlayer: finished waiting
It might be some issue with the network adapter i use ?
What network adapter are you using? Is your power supply up for the task?
Maybe run iperf3 for 30 minutes and see if you can reproduce.
Also it actually seems that you are using a external dongle but have not disabled the internal adapter.
Add dtoverlay=sdhost
in /boot/config.txt
while runing iperf3 during 30 minutes, after aprox 30 the raspi network stopped to reply and i needed to do hard reset.
regarding the power i have the original PSU from RS.
So network stopped but did the system actually crashed or could you still access it locally?
Also have you disabled the internal wifi as suggested?
Don’t tell me why, maybe was the modification of the built in net adapter, i was tested this weekend with a couple of movie and tv series and surprisingly seems no timeout issues so far…
Do you think might be some issue with the built in adapter and the external dongle?
If you didn’t disable the internal one you couldn’t ensure you used the external one. So yes, I assume that’s your problem.