Plugins can be mounted on the PC using NFS, thereby saving scarce var space, particularly in the smaller Dreamboxes. This can be done with the following simple steps. These steps are to be carried out in strict sequence. I have been using this method with a DM5620 and with Windows XP Home in the pc.wholesale
(A) SET UP NFS (This and section (B) were originally described in the dreambox.net.au site which has now closed. I have modified for use with Gemini1.04 )
1. Download and unzip the attached TrueGridNFS server tgpnfs10.zip (Freeware)
2. Create an etc directory on your pc such as :-
C:\WINDOWS\etc
3. Create a share directory on your pc for the nfs share (This can be the same folder as for CIFS mount as described in the Idiots Guide. The simplest way to create a share folder is to rightclick on the folder - properties - sharing - select 'share this folder in the network') such as :-
C:\dreambox
Also create the following sub directory:-
C:\dreambox\Plugins
4. Create a directory and extract NFS server (tgpnfs.zip) files on your
pc. Eg:-
C:\TrueGridNFS
5. Copy the two files from this folder, rpc and exports, to the etc directory that you created in step 2.
6. Edit the exports file. Add a line at the end of the file to point to the nfs directory you created in step 3. The line should look like this:
/dreambox -path=c:\dreambox
7. Make sure the last line of the exports file is a blank line. Save the file.
8. With internet connected, open a command line prompt (start-Run-cmd or command-ok) and write the command (note that each command must be followed by return) :-
cd c:\TrueGridNFS
9. Write the following two commands to register and setup the portmap and nfs services:
portmap add
nfs add
10. Write the following commands to start the services :-
nfs stop
nfs start
11. a. To show what is available to share, write the command:-
Showmount -e
The response should be :
TrueGrid SHOWMOUNT UTILITY.
COPYRIGHT (C) BY XYZ SCIENTIFIC APPLICATIONS, INC., 1998
ALL RIGHTS RESERVED. TrueGrid IS A TRADEMARK OF
XYZ SCIENTIFIC APPLICATIONS, INC.
/dreambox (everyone)
b. To show port mapping, write the command:
rpcinfo -p
The response should be:
COPYRIGHT BY XYZ SCIENTIFIC APPLICATIONS, INC., 1998
ALL RIGHTS RESERVED. TrueGrid IS A TRADEMARK OF
XYZ SCIENTIFIC APPLICATIONS, INC.
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 714 mountd
100005 1 tcp 717 mountd
100003 2 udp 2049 nfs
The internet can now be disconnected.
(B)MOUNT NFS
1. On the dreambox navigate to communications setup.
Setup>Expert Setup>Communications Setup>Mount Setup
2. Enter your mount info:
IP: 192.168.0.1 ......................: your pc ip
NFS
Dir: dreambox .......................: your nfs share directory
LocalDir: /hdd ........................: your db directory
Options: rw
Extra: nolock,rsize=8192,wsize=8192
3. If you put an X in the Automount box the mount will be automatically
re-established at each bootup.
4. Select Mount (green).
5. If the mount is successful SAVE the mount settings.
(C) MOUNT PLUGINS
1. Ftp the contents of the plugins directory in the Dreambox
/var/tuxbox/plugins/
to the new mounted plugins directory in the PC created in step A3
dreambox/plugins
2. Verify the contents have copied correctly
3. Delete the old plugins diectory in the Dreambox folder /var/tuxbox/
4. Start a telnet session. To start telnet, open the command window as before and write the command :-
telnet 192.168.0.24 (DB ip)
5. Write when prompted :-
Username=root
Password=dreambox
At command prompt write the following commands to reate a symlink to the new plugins directory:-
cd /var/tuxbox
ln -sf /hdd/plugins
6. Test a plugin from the Dreambox as well as check in the PC share
that newly downloaded plugins appear there.
Hey PCD, this is magic! And you say you don't deserve your title....I am speechless, you are truely a master of the dreambox!
OK, it looks a bit complicated but I will try it anyway. Might take a few days though.Got some questions though, in the true fashion of head idiot:
Question 1)
9. The following commands register and setup the portmap and nfs
services:
portmap add
nfs add
What does that exactly mean? Do I write eaxh line in the command prompt and then enter?
Question 2
10. Connect to internet. Start the services.
How? What?
Question 3
nfs start
11. Check that the services are setup correctly.
a. To show what is available to share:
Showmount -e
TrueGrid SHOWMOUNT UTILITY.
COPYRIGHT (C) BY XYZ SCIENTIFIC APPLICATIONS, INC., 1998
ALL RIGHTS RESERVED. TrueGrid IS A TRADEMARK OF
XYZ SCIENTIFIC APPLICATIONS, INC.
/dreambox (everyone)
b. To show port mapping:
rpcinfo -p
COPYRIGHT BY XYZ SCIENTIFIC APPLICATIONS, INC., 1998
ALL RIGHTS RESERVED. TrueGrid IS A TRADEMARK OF
XYZ SCIENTIFIC APPLICATIONS, INC.
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 714 mountd
100005 1 tcp 717 mountd
100003 2 udp 2049 nfs
The internet can now be disconnected.
Please explain it a bit more, I am afraid it is a bit too vague for me..
Question 4
4. Start a telnet session. Navigate to the directory from where the old
plugins directory was removed ie /var/tuxbox
5. Create a symlink to the new plugins directory
ln -sf /hdd/plugins
I never used the Telnet thing, what program do I need to use? How?
Coming to think of it, maybe time to add this " Telnet" thing separatly to the Idiot Guide. Anybody??
In any case, if someone else tries it out please post your thoughts about it here, I am really interested to hear about it.
Sorry if the writing was a bit confusing, I will edit the post to make it better when I have some time. In the meantime the answers to your questions :-
Questions 1to3
With internet connected, open a command window [start- run-cmd(for xp) or command(for win)98]. At command prompt write the following lines each ending with enter :-
cd c:\truegridnfs
portmap add
nfs add
nfs stop
nfs start
Showmount -e
rpcinfo -p
If you see the responses as shown in the earlier post, everthing working OK ! You can disconnect internet now.
Question 4
To start telnet, in the dos command window, at command prompt write
telnet 192.168.0.24 (your DB ip)
When asked for username and password, write
username=root
password=dreambox
Then write each line followed by enter :-
cd /var/tuxbox
ln -sf /hdd/plugins
exit (to end the session).
Hope it works for you. Regards, pcd.
http://www.crown-sat-receiver.com/
没有评论:
发表评论