Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1167 posts

Uber Geek
+1 received by user: 16


Topic # 175345 25-Jun-2015 17:06 Send private message

I wanted to set up a networked drive to store files uploaded from my PC to be viewable on my TV. I tried setting up a Samba share but my TV couldnt connect so I set up a miniDLNA server and that works fine, my TV can see that.
Question is, how do I access the server to upload files form the PC? When I click on it, it opens in Media Player with no way I can see of transferring files.

Create new topic
6314 posts

Uber Geek
+1 received by user: 1979

Subscriber

  Reply # 1331581 25-Jun-2015 17:24 Send private message

what programe did you set up the server with?

my DLNA server automatically updates its content when i add files to the folders that the server is sharing.

2221 posts

Uber Geek
+1 received by user: 330


  Reply # 1331585 25-Jun-2015 17:31 Send private message

Samba usually works well enough.
Did you check you have shared the desired folder ok?

The Kodi/SMB wiki is worth a look...
http://kodi.wiki/view/SMB/Windows




Nothing is impossible for the man who doesn't have to do it himself - A. H. Weiler



1167 posts

Uber Geek
+1 received by user: 16


  Reply # 1331595 25-Jun-2015 17:34 Send private message

I followed this guide. I guess I am not understanding the concept of shares properly. I can see the server on the PC but the only way I can  get files onto it is to unplug the HDD and plug it in to the PC, transfer the files and reconnect to the Raspberry Pi, not what I want.

125 posts

Master Geek
+1 received by user: 15


  Reply # 1331605 25-Jun-2015 17:41 Send private message

You will need Samba to set up remote file-system access, such as allowing writing to your disk.
This will require setting read/write permissions on specific locations etc.
Your DLNA server is a media server, which DLNA clients will read and stream from, not so commonly used for writing to, in my experience with it.



6314 posts

Uber Geek
+1 received by user: 1979

Subscriber

  Reply # 1331637 25-Jun-2015 18:31 Send private message

all that seems to be doing is sharing files from the hard drive, it doesnt give you any functionality to write to the hard drive.

short of being able to "share" the hard drive as a folder, not media server on the network, and have it with write permissions, i think you will jsut have to keep plugging it into the pc to use.

2221 posts

Uber Geek
+1 received by user: 330


  Reply # 1331651 25-Jun-2015 18:58 Send private message

I am not sure if I have the wrong end of the stick, but...

If you already have the files on your PC on your home network, why don't you share the desired folder on your PC.
Install openelec or osmc (both run kodi) on your Rpi.
Hook the pi up to an HDMI port on your tv - the Rpi is connected to your home network.

Start up the pi and add link to the shared folder on your networked PC.
Sit back and enjoy.
Kodi is really good when hooked up to an HDMI-CEC TV - Which is nearly every TV. The TV remote can work the kodi menu.
Just note that cec is called various things by different manufacturers. Anynet - Samsung. Vieralink - Panasonic etc.




Nothing is impossible for the man who doesn't have to do it himself - A. H. Weiler



1167 posts

Uber Geek
+1 received by user: 16


  Reply # 1331655 25-Jun-2015 19:09 Send private message

The files (photos) are not stored on the PC, they are stored on an external HDD that I  have  plugged into the Pi.
Photos are downloded from the camera to the PC for editing then I wanted to send them off to the external drive for viewing on the TV.
I set up a miniDLNA server on the Pi that the TV could see just fine but its how do I get new photos onto the drive without unplugging and replugging etc? I thought I could share the external drive on the Pi but I cant see how to do that.

1669 posts

Uber Geek
+1 received by user: 206

Subscriber

  Reply # 1331658 25-Jun-2015 19:14 Send private message

You must be blind then as there is a SMB/Linux doc via the Kodi/Windows link above and you already claim to have set up a samba share, if so post the etc/samba/smb.conf file, maybe google Ubuntu SMB. Google has over half a million references to such.




Ross

 

Spark FibreMAX using Mikrotik CCR1009-8G-1S-1S+

 


Speed Test




1167 posts

Uber Geek
+1 received by user: 16


  Reply # 1331741 25-Jun-2015 20:59 Send private message

Well no, not blind but perhaps struggling to get something working hence the request..................

login as: pi
pi@192.168.1.9's password:
Linux raspberrypi 4.0.6+ #798 PREEMPT Tue Jun 23 17:48:03 BST 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun 25 20:28:53 2015
pi@raspberrypi ~ $ sudo nano /etc/samba/smb.conf
pi@raspberrypi ~ $ sudo /etc/init.d/samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.
pi@raspberrypi ~ $ sudo useradd pat -m -G users
pi@raspberrypi ~ $ sudo passwd pat
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
pi@raspberrypi ~ $ sudo nano /etc/samba/smb.conf
pi@raspberrypi ~ $ sudo /etc/init.d/samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.
pi@raspberrypi ~ $ cd /etc/samba/
pi@raspberrypi /etc/samba $ sudo nano smb.conf
GNU nano 2.2.6 File: smb.conf

; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

[Mediadrive]
comment = Public Storage
path = /mnt/Mediadrive
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no




Create new topic








Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:






Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.