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.
(A) SET UP NFS (This and section ( 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.
(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.
Good luck !
Regards, pcd.
(A) SET UP NFS (This and section ( 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.
(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.
Good luck !
Regards, pcd.