Home

How to mount network drives [NAS, for instance] in E2 - CIFS and NFS!!!

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Thanx onzifonzi!!!

CIFS protocol for streaming, how to "mount" Windows "shared foldere" in E2:

Here is syntax for mount windows share:

Código:
mount -t cifs \\\\IPofWINDOWS\\sharename /media/net -o username=user,pass=password

How to mount NAS with NFS protocol, i.e. Linux based, starting with a Q:

I like to mount a path to my network drive, it is a Synology.

On my VU+ it is done in auto.network like this:

Código:
video -fstype=nfs,rw,soft,tcp,nolock,rsi ze=8192,wsize=8192 192.168.0.100:/volume1/video
But here does not work, any idea ?
Answer:

NFS Mount:

Código:
mkdir /mnt/nfs

mount -t nfs 192.xxx.xxx.xxx:/xya/xyb /mnt/nfs -o rw,nolock,intr,soft,udp

for automount, add the line in /etc/init.d/rcS

Not sure about the last bit, haven't tried this yet...

Anyone with more tested and detailed info?
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
cjjdool on Pimps:

Samba is implemented and running well on Enigma2 RC3 (and earlier releases)

see below example where I connected the "Harddisk" from the Azbox on a windows pc

C:\Windows\system32>net view \\azbox
Shared resources at \\azbox

The AZBox network services

Share name Type Used as Comment

-------------------------------------------------------------------------------
Configuration Disk Configuration files - take care!
Harddisk Disk The harddisk
The command completed successfully.


C:\Windows\system32>net use z: \\azbox\Harddisk
The command completed successfully.


C:\Windows\system32>dir z:
Volume in drive Z is Harddisk
Volume Serial Number is 05E5-2042

Directory of Z:\

20-01-2011 18:00 <DIR> .
20-01-2011 11:05 <DIR> ..
20-01-2011 17:42 <DIR> movie
0 File(s) 0 bytes
3 Dir(s) 1.560.969.216 bytes free

C:\Windows\system32>

@The Doc

RC3 (and earlier do not have the Domain name set to "Workgroup". Instead the Domain name "Dream" is used. This will cause a windows PC that belong to the Domain Workgroup not to see the Azbox.

You can change the Azbox domain name in the file /etc/samba/smb.conf
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
It seems there is another way, via fstab file...

sectorNOlimits said:

You can "mount" shared Windows folder in your E2 system this way:
add to the fstab in your /etc folder one or more lines like this, one for each mount:

Código:
\\\\<WINDOWS-IP>\\<WINDOWS-SHARE> /media/music   cifs       username=user,pass=password              0 0
before rebooting the system make the destination folder (in this example it would be /media/music)