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
5th Feb, 2015, 08:26 PM
Post: #1
syco Offline
Registered
Posts: 184
Joined: Apr 2013
Reputation: 0
Direct Access to Pi
Hi guys,

I have a maybe stupid question, but I can not find
the solution right now.

I want to access the Pi's directories in Windows, but
not bei SSH/Putty. So, I want to reach the file structure
of the Pi. Like seeing files in the Explorer view.

Before an update some weeks ago, that was easily
possible. I just had to click on "Xbian-Beamer" in my
network list and then I saw all the files and directories.

Now that seems to be gone. There is still a link, but
that leads to the new (?) web interface, where you
can see the movies/series/music in Xbian (which is
nice, too, but not what I need right now).

So, can you tell me how to gain access to the files and
directories again? Maybe without installing any programmes
or so?

Thank you, mates.
Find all posts by this user
Quote this message in a reply
5th Feb, 2015, 09:42 PM
Post: #2
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Direct Access to Pi
SMB must not be running, could you pastebin the output of dmesg?

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
5th Feb, 2015, 10:15 PM
Post: #3
syco Offline
Registered
Posts: 184
Joined: Apr 2013
Reputation: 0
RE: Direct Access to Pi
SMB has to be deactivated? Okay, I did that
right now in usbmount.conf and rebooted,
but no change here.

How to get the dmesg output?



Nevermind, I changed that:

SHARESMB=no
SHAREW=yes

... and then I could go into Explorer and enter \\192.168...
and it works now, I hope.



... but still it is weird, that I have to enter
the IP into the address field and not just
being able to click on the Xbian-Beamer
shortcut. :\
Find all posts by this user
Quote this message in a reply
6th Feb, 2015, 07:53 AM
Post: #4
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Direct Access to Pi
That means there is a hostname issue, try rebooting your router.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Feb, 2015, 07:32 AM
Post: #5
DonEdu Offline
Registered
Posts: 2
Joined: Feb 2015
Reputation: 1
RE: Direct Access to Pi
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.


Attached File(s)
.zip  samba.zip (Size: 1.22 KB / Downloads: 4)
Find all posts by this user
Quote this message in a reply
9th Feb, 2015, 07:59 AM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Direct Access to Pi
@DonEdu, can you post an issue on github requesting the autostart of nmbd?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
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 


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

Current time: 10th May, 2025, 02:52 PM Powered By MyBB, © 2002-2025 MyBB Group.