It is currently Thu May 23, 2013 5:50 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sat Aug 29, 2009 10:27 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Sat Aug 29, 2009 10:17 pm
Posts: 6

Hello all, I just purchased my TonidoPlug and things are setup and running. I have several computer/servers on my local network, each with their own functionality. I was wondering if it is possible to mount a Windows share, permanently, on the TonidoPlug to act as the MP3 and Photo repository? (As a side note, I have *some* Linux experience, and have succesfully connected via SSH to the plug) I love the software, interface, and ease of bringing this information to the internet, but really don't want to rearrange exisiting repositories of data. Thanks in advance for any suggestions. - Drew


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sun Aug 30, 2009 12:18 am 
Tonido Team
Tonido Team
Joined: Wed Jan 28, 2009 11:30 pm
Posts: 1352

Here are the steps for mounting a windows share on the TonidoPlug
1. Install samba client/filesystem on the TonidoPlug
Code:
sudo apt-get install smbfs


2. Mount the remote windows share on the TonidoPlug
Code:
mount -t smbfs //<Windows Machine IP>/<Share Name> /path/to/mount -o username=<username>,password=<password>


3. To automatically mount the windows share on the TonidoPlug everytime the plug boots
Code:
//<Windows Machine IP>/<Share Name>  /path/to/mount    smbfs   username=<username>,password=<password> 0     0


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sun Aug 30, 2009 10:55 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Sat Aug 29, 2009 10:17 pm
Posts: 6

Thanks for your quick response - I have problems installing smbfs after loggin in as root. Output below:

Code:
root@TonidoPlug:~# sudo apt-get install smbfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcap2 samba samba-common
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools ldb-tools ufw smbclient
  keyutils
The following NEW packages will be installed:
  libcap2 smbfs
The following packages will be upgraded:
  samba samba-common
2 upgraded, 2 newly installed, 0 to remove and 86 not upgraded.
E: Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory)
E: Unable to lock the download directory


Any help would be appreciated. Thx - Drew


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sun Aug 30, 2009 11:23 pm 
Admin Tonidoid
Admin Tonidoid
Joined: Fri Dec 26, 2008 10:45 pm
Posts: 151

Code:
mkdir -p /var/cache/apt/archives/partial


Then you should be able to do it.


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sun Aug 30, 2009 11:43 pm 
Veteran Tonidoid
Veteran Tonidoid
Joined: Thu Aug 20, 2009 4:09 pm
Posts: 66

I was unable to find the post again later, but you can mount a windows share using cifs instead of smbfs. this lets you mount it without having to install extra packages and take up extra space. This is on the wiki somewhere but I was unable to find it after I found it last week.


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Mon Aug 31, 2009 12:03 am 
Rookie Tonidoid
Rookie Tonidoid
Joined: Sat Aug 29, 2009 10:17 pm
Posts: 6

Thank you tonido4umadmin - ur post allowed me to install smbfs - and I can now mount the windows share. It is seen when I go to /mnt/<new windows location>

I still do not know how to persue making this mount happen each time the TonidoPlug reboots, as step 3 in the original response above returns an smbfs message that it can't complete. Again, much appreciative for the help. Drew


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Mon Aug 31, 2009 6:24 pm 
Regular Tonidoid
Regular Tonidoid
Joined: Tue Apr 21, 2009 10:27 pm
Posts: 16

Would I be able to do this with a Mac and an AFP share as well (not having to install samba)? I guess worst case I should still be able to turn on a smb share on the Mac to hook into a Tonido plug.

I’ve been thinking about getting a Plug, but all the media I want to share is on a drive hooked into my media center. I currently have Tonido running there, but there are times I want to sleep the media center, but don’t because I want to leave Tonido up, so my media center ends up and awake 24/7


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sat Jan 28, 2012 1:34 am 
Rookie Tonidoid
Rookie Tonidoid
Joined: Sun Jan 22, 2012 11:05 pm
Posts: 1

i've tried following the above installation, but am getting 404s. Any ideas?

An example:
Code:
Err http://ports.ubuntu.com jaunty/main libcap2 2.11-2
  404 Not Found
Err http://ports.ubuntu.com jaunty/main samba 2:3.3.2-1ubuntu3
  404 Not Found
Err http://ports.ubuntu.com jaunty/main samba-common 2:3.3.2-1ubuntu3
  404 Not Found
Err http://ports.ubuntu.com jaunty/main smbfs 2:3.3.2-1ubuntu3
  404 Not Found
Failed to fetch http://ports.ubuntu.com/pool/main/libc/libcap2/libcap2_2.11-2_armel.deb  404 Not Found
Failed to fetch http://ports.ubuntu.com/pool/main/s/samba/samba_3.3.2-1ubuntu3_armel.deb  404 Not Found
Failed to fetch http://ports.ubuntu.com/pool/main/s/samba/samba-common_3.3.2-1ubuntu3_armel.deb  404 Not Found
Failed to fetch http://ports.ubuntu.com/pool/main/s/samba/smbfs_3.3.2-1ubuntu3_armel.deb  404 Not Found


Offline
 Profile  
 Post subject: Re: TonidoPlug - Mount windows share for MP3s and Photos
PostPosted: Sat Jan 28, 2012 8:57 am 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7305
Location: Dallas, USA

See viewtopic.php?f=32&t=4512


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: