DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-10-08 18:52:03

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Recording with a dbox-2 and Fonz UNFS

I have a problem recording with a dbox 2 on a DNS-323: I get a “aufnahme verzeichnis nicht beschreibbar” message when I try to record on my DNS-323 ("can not write to directory"). I can record to and play from my Claxan NAS200, so the Neutrino-image is fine. Playing from the DNS is without problems!

I am testing on "dboxc1" (a Nokia dbox 2 with the latest Petze image).

Entering the mount command via telnet on the dbox gives me:

/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/mtdblock/2 on /var type jffs2 (rw)
192.168.1.8:/mnt/HD_a2/media/rec/dboxc1 on /mnt/filme type nfs (rw,v3,rsize=8192,wsize=32768,soft,udp,nolock,addr=192.168.1.8)

The passwd file contains this (the dbox is part of the mediaextender group):

root:x:0:0:Linux User,,,:/home/root:/bin/sh
admin:x:500:500:Linux User,,,:/home/admin:/bin/sh
nobody:x:501:501:Linux User,,,:/home/nobody:/bin/sh
master:x:505:505:Linux User,,,:/mnt:/bin/sh
dm500c1:x:510:503:mediaextenders:/mnt/HD_a2/media:/bin/sh
dm500c2:x:511:503:mediaextenders:/mnt/HD_a2/media:/bin/sh
dboxc1:x:512:503:mediaextenders:/mnt/HD_a2/media:/bin/sh
dboxc2:x:513:503:mediaextenders:/mnt/HD_a2/media:/bin/sh
dboxs1:x:514:503:mediaextenders:/mnt/HD_a2/media:/bin/sh

The exports file contains this (all boxes are part of the mediaextender group):

/mnt/HD_a2/media 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=510)
/mnt/HD_a2/media 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=511)
/mnt/HD_a2/media 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=512)
/mnt/HD_a2/media 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=513)
/mnt/HD_a2/media 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=514)

The settings seem to be right, the mount succeeds with rw and I can play from the DNS-323. Still I get a “aufnahme verzeichnis nicht beschreibbar” message - so I can not record.

Can somebody point me in the right direction so I can solve this problem?

Thanx&cheers!

Chris

Offline

 

#2 2007-10-09 16:44:54

HighWater
Member
Registered: 2007-08-10
Posts: 19

Re: Recording with a dbox-2 and Fonz UNFS

As far as i know, nfs gets the first entry it finds in the exports file.
so multiple entry's of the same directory wont work.
in this case the Read Only.

try putting one of the Read/Write line first instead of the Read/Only line.
and try it again.

Offline

 

#3 2007-10-09 16:58:14

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

Thank you - I will try this tonight and post some feedback!

Question: how can I give different devices (in this case set-top-boxes) different access rights? Reason: I want to use two set-top-boxes for playing back content *only* and I want to use three other set-top-boxes for recording TV content.

Would this be the correct exports file (everything in one line):

/mnt/HD_a2/media 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=510) 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=511) 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=512)  192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=513)  192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=514)

Last edited by xo-vision (2007-10-09 17:40:44)

Offline

 

#4 2007-10-09 19:55:16

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

Ok, the exports in my last post did not work. Mounting ok, writing failed.

I tried a simplified version with this line:

/mnt/HD_a2/media 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=512)

Again, the share got mounted but I could not write to it.

Any suggestions?

Thanx,

Chris

Offline

 

#5 2007-10-10 13:54:17

Philipp
New member
Registered: 2007-10-04
Posts: 2

Re: Recording with a dbox-2 and Fonz UNFS

Is the error message "Aufnahme Verzeichnis nicht beschreibbar" given over telnet or within the gui on the tv? Have you tried to copy a file to the nfs-dir within telnet? Probably you have not set rec-directory in the dbox to the nfs-folder.

Offline

 

#6 2007-10-10 14:24:10

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

The message comes from the UI!

Thinking of it you could be right. I have set the mount directory in the NFS settings - I'm not sure about the "aufnahme" (Recording) settings though.

I will verify tonight and give some feedback.

Last edited by xo-vision (2007-10-11 00:37:24)

Offline

 

#7 2007-10-10 21:51:51

w00
Member
Registered: 2007-09-07
Posts: 29

Re: Recording with a dbox-2 and Fonz UNFS

did u set the nfs-settings in the dbox2 from default "r" (read) to "rw" (read+write) !?!?

cheerio

..all working perfect with dbox2

Last edited by w00 (2007-10-10 21:52:11)

Offline

 

#8 2007-10-11 00:36:08

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

Yes, I have put the mount options to "rw,soft,udp"

The settings in "Aufnahme" were correct. Copying a file to "mnt/filme" using telnet failed without any error message.

Can anybody post his working settings in all relevant files?

Offline

 

#9 2007-10-11 11:42:54

HighWater
Member
Registered: 2007-08-10
Posts: 19

Re: Recording with a dbox-2 and Fonz UNFS

/mnt/HD_a2/media 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=510) 192.168.1.0/24(ro,async,no_root_squash,anongid=503,anonuid=511) 192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=512)  192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=513)  192.168.1.0/24(rw,async,no_root_squash,anongid=503,anonuid=514)

this also wont work.
cuz you use the same range for all of them. if you want this to work use static ip addresses in the set-top boxes and also in the exports file.
then you wont have a subnet in the exports file.

something like this
/mnt/HD_a2/media 192.168.1.2(ro,async,no_root_squash,anongid=503,anonuid=510) 192.168.1.3(ro,async,no_root_squash,anongid=503,anonuid=511) 192.168.1.4(rw,async,no_root_squash,anongid=503,anonuid=512)  192.168.1.5(rw,async,no_root_squash,anongid=503,anonuid=513)  192.168.1.6(rw,async,no_root_squash,anongid=503,anonuid=514)

you could also put some fake hostnames in /etc/hosts for the ipadresses of the several boxes/users
192.168.1.2 dm500c1
192.168.1.3 dm500c2
192.168.1.4 dboxc1
192.168.1.5 dboxc2
192.168.1.6 dboxs1

then the config will be something like
/mnt/HD_a2/media dm500c1(ro,async,no_root_squash,anongid=503,anonuid=510) dm500c2(ro,async,no_root_squash,anongid=503,anonuid=511) dboxc1(rw,async,no_root_squash,anongid=503,anonuid=512)  dboxc1(rw,async,no_root_squash,anongid=503,anonuid=513)  dboxs1(rw,async,no_root_squash,anongid=503,anonuid=514)

a bit more readable then ip adresses.

Offline

 

#10 2007-10-11 13:51:41

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

Thanx! Will do - and give feedback tonight!

Offline

 

#11 2007-10-11 19:50:37

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Recording with a dbox-2 and Fonz UNFS

This seems to be correct.

My exports contains (all in one line):

/mnt/HD_a2/media 192.168.1.204(ro,async,no_root_squash,anongid=503,anonuid=510) 192.168.1.205(ro,async,no_root_squash,anongid=503,anonuid=511) 192.168.1.201(rw,async,no_root_squash,anongid=503,anonuid=512) 192.168.1.202(rw,async,no_root_squash,anongid=503,anonuid=513) 192.168.1.203(rw,async,no_root_squash,anongid=503,anonuid=514)

Thanx HighWater - you are my hero!

I will do some recording tests. If everything works out well I will write a FAQ and post it!

Offline

 

#12 2007-10-12 15:52:52

HighWater
Member
Registered: 2007-08-10
Posts: 19

Re: Recording with a dbox-2 and Fonz UNFS

I have my bright moments,

In my first post i knew it wouldn't work with the same subnet, but i forgot to mention it tongue.

good to hear its working now

Offline

 

#13 2007-12-01 12:39:55

JackShepard
Member
Registered: 2007-10-03
Posts: 37

Re: Recording with a dbox-2 and Fonz UNFS

@xo-vison

Is your FAQ now somewhere available? Does the recording work on your dbox?

BR,

JackShepard

Last edited by JackShepard (2007-12-01 12:40:43)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB