NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Sun Apr 28, 2024 4:29 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jul 28, 2006 3:08 pm 
Offline

Joined: Sun Mar 05, 2006 10:15 am
Posts: 52
Hiya,

I installed Ubuntu on my laptop, and now I have come to connect to the NASLITE shares...

I used the GNOME network share program, and it allowed me to connect to the shares, but it will not allow me to stream mp3s or avi files from the share.

I looked around and many people have issues with streaming avi and mp3 files from SMB shares under Ubuntu so they say add the shares to the fstab.

I was wondering what do you guys recommend?

I need to connect to all the shares on my NASLite server, and get it to stream the mp3s and avis, VLC and XMMS etc, load the file but wont play it.

So what I am asking is this, are there any ubuntu users here? and if so how do you connect to your NASLite system and stream the files from it? do you use terminal type commands to mount the shares or do you have it added to the fstab?

if you add it to the fstab? or even via a command line thingy, how do you do it?

if I add it to ftsab will it auto mount? this is a laptop running wireless so I wont always be connecting to the shares (ie when I am away from home).

So whats the best way to connect to the shares? and allow me to stream mp3s etc from it, and allow me to write to the drives?

Any help in this would be great..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 3:31 pm 
Offline

Joined: Sun Mar 05, 2006 10:15 am
Posts: 52
Well I think I got it sorted.. I used a script called 'Connect to Urd'*

*= Urd being my NASLite systems name.

---

#! /bin/sh

sudo mount //192.168.0.5/Shares /media/Urd_NAS-Shares/ -o username=nas,password=public,dmask=777,fmask=777

sudo mount //192.168.0.5/Disk-0 /media/Urd_NAS-Disk-0/ -o username=nas,password=public,dmask=777,fmask=777

sudo mount //192.168.0.5/Disk-1 /media/Urd_NAS-Disk-1 -o username=nas,password=public,dmask=777,fmask=777

sudo mount //192.168.0.5/Disk-2 /media/Urd_NAS-Disk-2 -o username=nas,password=public,dmask=777,fmask=777
---

Only problem is when I double click on it to run it, I have to tell it to run it in the terminal...

I did a:

sudo chmod +x /home/andrew/Desktop/Connect\ to\ Urd

So it could be made executable.

Is there a better way than doing it this way?


Top
 Profile  
 
 Post subject: bootlocal.sh
PostPosted: Fri Oct 27, 2006 1:52 am 
Offline

Joined: Thu Mar 02, 2006 12:35 pm
Posts: 18
I haven't tried this on Ubuntu, but I have a couple of older laptops running DamnSmallLinux(DLS) that have no problems connecting to my NasLite using the following commands in the bootlocal.sh script:

smbmount //NASLITE/Disk-1 /home/dsl/mnt/NASLITE/Disk-1/ -o username={YourUsername}%{YourPassword},fmask=644,dmask=755,uid=1001,gid=50,ip={YourNASLiteIP},debug=0,workgroup={YourWorkgroup}

smbmount //NASLITE/Disk-3 /home/dsl/mnt/NASLITE/Disk-3/ -o username={YourUsername}%{YourPassword},fmask=644,dmask=755,uid=1001,gid=50,ip={YourNASLiteIP},debug=0,workgroup={YourWorkgroup}

Just substitute the correct info where shown in brackets, and of course, omit the brackets.

Might work with Ubuntu, or maybe point you in the right direction.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 193 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:  
Powered by phpBB® Forum Software © phpBB Group