RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - john.cord - 2017-03-24
SMB is broken, trying to access my NAS crashes Kodi with a total freeze.
Gesendet von meinem mobilen Fusionsreaktor mit Tapatalk
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
(2017-03-24, 00:45)john.cord Wrote: SMB is broken, trying to access my NAS crashes Kodi with a total freeze.
Gesendet von meinem mobilen Fusionsreaktor mit Tapatalk Crashlog if Kodi is crashing, or a debug log if kodi is freezing.
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - jan-g - 2017-03-24
(2017-03-23, 23:38)Milhouse Wrote: (2017-03-23, 23:26)jan-g Wrote: @Milhouse
lost SMB to my win8.1 machine with #0322
NOT using samba.conf
SMB from Win8.1 to LibreElec is fine.
Can you post a debug log when accessing your windows machine from Kodi. Also, can you enable SMB component debug logging, thanks.
here you go: http://sprunge.us/eFEQ
trying to access two shares in file mode (getting screen to enter user and psw) and trying to play a tv show in library mode (getting file no longer exists)
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
(2017-03-24, 00:50)jan-g Wrote: (2017-03-23, 23:38)Milhouse Wrote: (2017-03-23, 23:26)jan-g Wrote: @Milhouse
lost SMB to my win8.1 machine with #0322
NOT using samba.conf
SMB from Win8.1 to LibreElec is fine.
Can you post a debug log when accessing your windows machine from Kodi. Also, can you enable SMB component debug logging, thanks.
here you go: http://sprunge.us/eFEQ
trying to access two shares in file mode (getting screen to enter user and psw) and trying to play a tv show in library mode (getting file no longer exists)
The log shows permission failures when accessing smb://JAN-PC/Complete/
About the only thing I can suggest right now is to try:
Code: sed /usr/config/samba.conf.sample -e 's/name resolve order.*/& wins/' >/storage/.config/samba.conf
then reboot and see if it's any better (I'm not really expecting it to help as it's the server config, but this is samba so who knows).
I've been testing this updated samba server and client against Windows 7 Pro without any issues so far.
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
(2017-03-24, 00:50)jan-g Wrote: (getting screen to enter user and psw)
Can you enable SMB component debug logging, try to access the share, then post your debug log.
It might also be worth restarting your server.
Have you tried adding a passwords.xml?
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - jan-g - 2017-03-24
(2017-03-24, 01:49)Milhouse Wrote: (2017-03-24, 00:50)jan-g Wrote: (2017-03-23, 23:38)Milhouse Wrote: Can you post a debug log when accessing your windows machine from Kodi. Also, can you enable SMB component debug logging, thanks.
here you go: http://sprunge.us/eFEQ
trying to access two shares in file mode (getting screen to enter user and psw) and trying to play a tv show in library mode (getting file no longer exists)
The log shows permission failures when accessing smb://JAN-PC/Complete/
About the only thing I can suggest right now is to try:
Code: sed /usr/config/samba.conf.sample -e 's/name resolve order.*/& wins/' >/storage/.config/samba.conf
then reboot and see if it's any better (I'm not really expecting it to help as it's the server config, but this is samba so who knows).
I've been testing this updated samba server and client against Windows 7 Pro without any issues so far.
No, doesn't help (it did create a "samba.conf)
Fired up my Win7 Ultimate machine and this shows the same behavior as Win8.1
I'm not using user/psw on my shares , and I share with "everyone" with full access.
edit: restarted the server and SMB component debug logging was enabled.
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Magoo32 - 2017-03-24
Samba not working for me either, on my Win7 machine instead of libreelec i get %h and asks for a login and password!
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
It seems to be a problem with the Guest (Everyone) accounts.
If you use a normal non-guest account with a password, it's working fine.
Hmm.
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - conca - 2017-03-24
Same problem for me ... no guest connection
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Magoo32 - 2017-03-24
Debug Log, don't think it shows to much though.
http://sprunge.us/VQIF
Also wanted to mention I was running a custom Samba config.
Windows 7
Deleted my samba.conf and hostname came back and everything seems ok!
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Magoo32 - 2017-03-24
Trying to edit the samba.conf in /etc/samba, but I'm not quite sure how to get around the read-only file system?
Thanks!
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
(2017-03-24, 21:24)Magoo32 Wrote: Trying to edit the samba.conf in /etc/samba, but I'm not quite sure how to get around the read-only file system?
Thanks!
With #0323 (as this contains updated sample files), copy /storage/.config/samba.conf.sample to /storage/.config/samba.conf, and then make any changes to /storage/.config/samba.conf
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Magoo32 - 2017-03-24
Just wanted to let you know everything is working perfectly again and thanks for the help!
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2017-03-24
New LibreELEC.tv Leia build #0324: Generic
(Supercedes previous build)
Code: # uname -a
Linux NUC 4.10.5 #1 SMP Fri Mar 24 21:04:21 GMT 2017 x86_64 GNU/Linux
# lsb_release
LibreELEC (Milhouse) - Version: devel-20170324210301-#0324-g0ee76f6 [Build #0324]
# Kodi version
(18.0-ALPHA1 Git:b877760). Platform: Linux x86 64-bit
Based on tip of LibreELEC.tv master (0ee76f6d, changelog) and tip of XBMC master (414c0591, changelog) with the following modifications:- Includes latest kodi-platform master (36fb4937)
- Includes latest libcec master (8563411d, ahead +11)
- Includes latest libnfs master (d501dc8a, ahead +55)
- Includes latest p8-platform master (2d90f986)
- Includes latest addons: inputstream.adaptive (aa0d5113), inputstream.rtmp (6c1af46a), peripheral.joystick (b4642600), pvr.argustv (7135b279), pvr.demo (1606b612), pvr.dvblink (7296c5b5), pvr.dvbviewer (13c6e5e7), pvr.filmon (e026519d), pvr.hdhomerun (98cb8d40), pvr.hts (819129d5), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (d4dad613), pvr.mythtv (08d609b2), pvr.nextpvr (bb21826b), pvr.njoy (1ce9aba1), pvr.octonet (8549a31c), pvr.pctv (e3b2b845), pvr.stalker (0466af9d), pvr.vbox (4215450f), pvr.vdr.vnsi (9ede401c), pvr.vuplus (12930650), pvr.wmc (5aa3b1ca)
- Include [env] compare: linux: update to linux-4.10.5
- Include [env] patch: tvheadend42: fix ffmpeg
- Include [env] patch: iwlwifi-firmware: update to iwlwifi-firmware-ba301aa
- Include [env] patch: Bump included addon versions to prevent online updates
- Include [env] patch: linux: enable in-tree rtl8192cu for RPi/RPi2
- Include [env] patch: Add experimental splash video for RPi
- Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
- Include [env] patch: Add kodi binary addons (pvr, adsp, other)
- Include [env] PR:1431: scripts/mkimage: align partitions to 4MiB
- Include [env] PR:1459: support for ip advanced router and add multiple tcp congestion algorithms
- Include [env] PR:1465: Package updates: update kodi, ffmpeg, libcec
- Include [env] PR:1469: samba: update to samba-4.6.0
- Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
- Include [pkg] PR:62: #change smbd and nmbd location (service.libreelec.settings)
- Include [pkg] PR:11668: FFmpegImage: Document and change alignment
- Include [pkg] PR:11879: [PVR] Guide window: Fix selection after channelgroup switching
Build Highlights:
- Minors
Build Details:
- LibreELEC.tv:
- scripts: revert changes that led to accumulation of old packages (PR:1474, 4 commits, 2 files changed)
- config/path: addons need kodi (PR:1477, 1 commit, 1 file changed)
- libdvbcsa: use enable-neon for Aarch64 (PR:1453, 1 commit, 1 file changed)
- userconfig: overwrite our sample files (PR:1478, 1 commit, 3 files changed)
- Re-enable lirc_serial driver (#1454) (cf13c269)
- cosmetics: misc. https URL replacements (d3430d31)
- config: remove unused/outdated file (0ee76f6d)
- XBMC:
- [Peripherals] Fix segfault by adding some synchronization to peripheral add-ons (PR:11824, 6 commits, 70 files changed)
- JSON: replace YAJL with RapidJSON (PR:8008, 4 commits, 30 files changed)
- [pvr] cleanups in PVR manager (PR:11887, 5 commits, 55 files changed)
- [cmake] change RapidJSON_INCLUDE_DIRS to capital letters to get added to SYSTEM_INCLUDES (PR:11896, 1 commit, 1 file changed)
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Guilouz - 2017-03-25
(2017-03-24, 22:48)Milhouse Wrote: (2017-03-24, 21:24)Magoo32 Wrote: Trying to edit the samba.conf in /etc/samba, but I'm not quite sure how to get around the read-only file system?
Thanks!
With #0323 (as this contains updated sample files), copy /storage/.config/samba.conf.sample to /storage/.config/samba.conf, and then make any changes to /storage/.config/samba.conf
Since last build I have not access with SMB share on my iMAC, I have '%H'.
This is my samba.conf, is it correct ?
Code: ################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
# samba.conf
# This configuration file allows you to customize the samba shares
# available from your machine
[global]
server string = OpenELEC
workgroup = WORKGROUP
netbios name = %h
security = share
guest account = root
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
smb ports = 445
max protocol = SMB2
min receivefile size = 16384
deadtime = 30
os level = 20
mangled names = no
syslog only = yes
syslog = 2
name resolve order = lmhosts wins bcast host
preferred master = auto
domain master = auto
local master = yes
printcap name = /dev/null
load printers = no
browseable = yes
writeable = yes
printable = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
use sendfile = yes
# Using the following configurations as a template allows you to add
# writable shares of disks and paths under /storage
[Update]
path = /storage/.update
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.update
[Videos]
path = /storage/videos
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/videos
[Music]
path = /storage/music
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/music
[TV Shows]
path = /storage/tvshows
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/tvshows
[Recordings]
path = /storage/recordings
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/recordings
[Downloads]
path = /storage/downloads
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/downloads
[Pictures]
path = /storage/pictures
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/pictures
[Emulators]
path = /storage/emulators
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/emulators
[Configfiles]
path = /storage/.config
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.config
[Userdata]
path = /storage/.kodi/userdata
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.kodi/userdata
[Screenshots]
path = /storage/screenshots
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/screenshots
[Logfiles]
path = /storage/logfiles
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/logfiles
root preexec = createlog
[Backup]
path = /storage/backup
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/backup
[KODI]
path = /storage/.kodi
available = yes
browsable = yes
public = yes
writable = yes
EDIT : Fixed by replacing the new one samba.conf
Correct config file :
Code: ################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2017 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
# samba.conf
# This configuration file allows you to customize the samba shares
# available from your machine
[global]
server string = LibreELEC
workgroup = WORKGROUP
browseable = yes
writeable = yes
printable = no
deadtime = 30
mangled names = no
name resolve order = host bcast
printcap name = /dev/null
load printers = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
# samba share options
map to guest = Bad User
guest account = root
security = user
# samba tuning options
socket options = TCP_NODELAY IPTOS_LOWDELAY
min receivefile size = 16384
aio read size = 16384
aio write size = 16384
use sendfile = yes
# The following are default values for the master selection process
# local master = yes
# preferred master = auto
# domain master = auto
# os level = 20
# "strict allocate = yes" breaks large network transfers to external hdd
# Force this to "no" in case "yes" becomes the default in future
strict allocate = no
allocation roundup size = 0
# Using the following configurations as a template allows you to add
# writable shares of disks and paths under /storage
[Update]
path = /storage/.update
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.update
[Videos]
path = /storage/videos
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/videos
[Music]
path = /storage/music
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/music
[TV Shows]
path = /storage/tvshows
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/tvshows
[Recordings]
path = /storage/recordings
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/recordings
[Downloads]
path = /storage/downloads
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/downloads
[Pictures]
path = /storage/pictures
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/pictures
[Emulators]
path = /storage/emulators
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/emulators
[Configfiles]
path = /storage/.config
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.config
[Userdata]
path = /storage/.kodi/userdata
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.kodi/userdata
[Screenshots]
path = /storage/screenshots
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/screenshots
[Logfiles]
path = /storage/logfiles
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/logfiles
root preexec = createlog
[Backup]
path = /storage/backup
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/backup
[Picons]
path = /storage/picons
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/picons/tvh /storage/picons/vdr
[KODI]
path = /storage/.kodi
available = yes
browsable = yes
public = yes
writable = yes
|