NFS path modify with nvram

From KiSS DP 558 STAGE2 WiKi
Revision as of 20:09, 22 February 2012 by Lars (talk | contribs) (Protected "NFS path modify with nvram" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you telnet to your player you can execute the command:

./nvram -list


But remember that you need to be in the correct directory
For dp-50x you need the /htmlrom/cgi-bin
For dp-558 you need the /hdd/stage2/bin

your output is something like:
(only the last lines)

Picture Random Play....................... =       00 = Off
Picture Slide Show Function............... =       00 = 5 sec
NFS Share Path1........................... = 6b697878 = kixx
NFS Share Path2........................... = 6e667320 = nfs
NFS Share Path3........................... = 20202020 =
NFS Share Path4........................... = 20202020 =

00:    ff          01             00 00       ff ff
01: ff ff ff ff    0f 1e 00          ff    ff ff ff
02: ff ff ff ff ff ff ff ff    ff ff ff ff ff ff
03:
04:    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
05:    ff ff ff       00 00    ff ff ff 00 ff ff ff
06: ff ff ff    00 ff ff ff    ff ff ff 01 ff ff ff
07: ff ff ff ff ff ff ff ff    ff ff ff    ff ff ff
08: ff ff ff ff ff ff ff ff ff ff ff ff    00 00 ff
09:    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0a: 02 ff ff    00 ff ff ff ff ff ff ff ff ff ff ff
0b: ff ff ff ff    ff ff ff    ff ff ff    ff ff ff
0c:    ff ff ff 01 ff ff ff ff ff ff ff ff ff ff
0d:
0e:             61 2f 23 32 a8 a8 a8 c0 02 ff ff ff
0f:       ff ff 00    ff ff ff ff ff ff ff ff ff ff

In the above example you see 4 nfs share path's

If you want to change the path to "/thisisnfstest/" you need to do the following commands:
./nvram -set NFSP1 this
./nvram -set NFSP2 isnf
./nvram -set NFSP3 stes
./nvram -set NFSP4 t

So you DONT use the / caracters!
if you need to remove a wrong setting you can use
./nvram -set NFSP4 "    "
to fill it up with spaces

If your path is longer then 16 characters your out of luck :)
(or you just add a nfsp5 and make some changes in the scripts)

With the webconsole you can enable the option "NFS Path" to "NVRAM" and you will be able to use your customized nfspath