Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Direct Access to Pi
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Direct Access to Pi
9th Feb, 2015, 11:02 AM
Post: #7
syco Offline
Registered
Posts: 184
Joined: Apr 2013
Reputation: 0
RE: Direct Access to Pi
(9th Feb, 2015 07:32 AM)DonEdu Wrote:  I had the same problem. It worked fine on a Rasberry with XBian 1.0 RC3 but when I updated to a new version of XBian no Samba shares were visible in Windows. On my Android phone however, I could see these shares but the name of the workgroup was not visible (used Fing, great app). I have very little knowledge of Linux but with some help of a friend I found out that nmbd service wasn’t running. This is the log file: /var/log/samba/log.nmbd (you have to login (Putty) with root to view the directory).

So I start searching on ‘Samba’ and ‘nmbd’ between the old and the new version and find out that the file /etc/init.d/samba was missing. With this file you can restart Samba. This file contains the command to start the nmbd service:

start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/nmbd -- -D

What I finally did to solve the problem is copying the file /etc/init.d/samba from the old XBian version to a directory named /etc/rc2.d and renamed the file to s01samba. I don’t know how it works but this file is executed at start-up Smile I also copied the file to /etc/init.d

I don’t know if this is a good solution but it worked fine on my new Rasberry Pi 2 with XBian_2015.02.07_rpi2 installed. Hope this is helpful to you.

Nice, mate! Works now with the manual start (your command).
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Direct Access to Pi - syco - 5th Feb, 2015, 08:26 PM
RE: Direct Access to Pi - f1vefour - 5th Feb, 2015, 09:42 PM
RE: Direct Access to Pi - syco - 5th Feb, 2015, 10:15 PM
RE: Direct Access to Pi - f1vefour - 6th Feb, 2015, 07:53 AM
RE: Direct Access to Pi - DonEdu - 9th Feb, 2015, 07:32 AM
RE: Direct Access to Pi - syco - 9th Feb, 2015 11:02 AM
RE: Direct Access to Pi - CurlyMo - 9th Feb, 2015, 07:59 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 4th Jun, 2025, 02:35 PM Powered By MyBB, © 2002-2025 MyBB Group.