Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem: No access to Xbian setup through Samba
28th Apr, 2017, 07:55 AM
Post: #1
No access to Xbian setup through Samba
Running up-to-date Krypton version on a RPI 2:

I used to be able to have free access to my Xbian shares via either Windows or Android devices through Samba. Today I planned to move some files to these shares and I couldn't get access to those shares with any device .
I can ping the Xbian setup fine, SSH works, remote control of Kodi all works OK. Xbian is visiible in the network section of Windows Explorer and Android ES File Explorer. Samba is running, but when I try to disable or restart it in xbian-config, the config tool crashes on me. Online I don't find a lot of information on how to error check this issue.
Find all posts by this user
Quote this message in a reply
29th Apr, 2017, 05:20 AM (This post was last modified: 29th Apr, 2017 08:03 AM by Nachteule.)
Post: #2
RE: No access to Xbian setup through Samba
(28th Apr, 2017 07:55 AM)jakenl Wrote:  Running up-to-date Krypton version on a RPI 2:

I used to be able to have free access to my Xbian shares via either Windows or Android devices through Samba. Today I planned to move some files to these shares and I couldn't get access to those shares with any device .

Do you see the shares in Explorer?

Quote:I can ping the Xbian setup fine, SSH works, remote control of Kodi all works OK. Xbian is visiible in the network section of Windows Explorer and Android ES File Explorer. Samba is running, but when I try to disable or restart it in xbian-config, the config tool crashes on me. Online I don't find a lot of information on how to error check this issue.

Which xbian-config do you mean? The text based or Kodi's XBian-config GUI?

Usually I have Samba (nmbd service) disabled, don't need it. But just tested, can access shares, can create and delete files without any issues (Windows XP and Windows 7 tested)

Using text based xbian-config seems to crash when enabling/disabling samba service. Have to investigate later

You can test it manually

Terminal

root@kmxbilr2 ~ # sudo status nmbd
nmbd start/running, process 27958
root@kmxbilr2 ~ #

and file /etc/inetd.conf must contain following lines

Code:
netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
microsoft-ds stream tcp nowait root /usr/sbin/smbd smbd

and, of course, service openbsd-inetd must be active

Terminal

root@kmxbilr2 ~ # sudo status openbsd-inetd
openbsd-inetd start/running, process 1702
root@kmxbilr2 ~ #
Find all posts by this user
Quote this message in a reply
29th Apr, 2017, 08:00 AM
Post: #3
RE: No access to Xbian setup through Samba
@Nachteule, I checked your suggestions and everything is in place. Yes, the crash was with the CLI xbian-config only, however in the GUI-version I wasn't able to to either restart or stop Samba.

Since I am afraid something went off-track because of me trying to install a bunch of non-Xbian packages, I decided to check out the snap-shot functionality and see what happened if I rolled back to a snap shot of before my fooling around with those extra packages. Sure enough this worked and Samba was woring again as well.

A bit of a dirty trick, on the other hand I have now a cleaner system as well, not having the other installed programs anymore that gave quite some errors during installation anyway.
Find all posts by this user
Quote this message in a reply
29th Apr, 2017, 08:06 AM
Post: #4
RE: No access to Xbian setup through Samba
(29th Apr, 2017 08:00 AM)jakenl Wrote:  @Nachteule, I checked your suggestions and everything is in place. Yes, the crash was with the CLI xbian-config only,
A bit of a dirty trick, on the other hand I have now a cleaner system as well, not having the other installed programs anymore that gave quite some errors during installation anyway.

Not a dirty trick, for this reason snapshots are there Smile

Would be interesting which package caused this issue Huh
Find all posts by this user
Quote this message in a reply
2nd May, 2017, 04:44 AM
Post: #5
RE: No access to Xbian setup through Samba
For the sake of completeness:

Samba service is managed by inetd and can not be stopped. A restart restarts the inetd service

Found and solved some issues, see this commit
Find all posts by this user
Quote this message in a reply
2nd May, 2017, 05:33 AM
Post: #6
RE: No access to Xbian setup through Samba
Glad to see that my fooling around with unintended packages leads to an improvement of xbian!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: