2009-11-28, 05:15
To get you quick answer, this is how I have it setup:
create a file in your home directory called nfs_share:
make the file executable:
edit the file and put your shares there
here is the content of mine for example:
where 192.168.0.1 is IP address of my box with nfs share and after colon /media/misc is a share point , last /media/misc is local directory on your XBMClive box where it needs to be mounted so these directories has to exist first, save and close
to create directories:
Now you have to call your nfs_share file when system is booting. I am not sure about XBMClive but on regular ubuntu I added a file to /etc/rc2.d/
and out this in there
sleep 5 is there because for whatever reason my network is not up fast enough, you can probably skip that line
save and close, make that file executable:
you can do all that using putty or with the console like kees667 suggested
create a file in your home directory called nfs_share:
Code:
touch ~/nfs_share
make the file executable:
Code:
chmod +x ~/nfs_share
edit the file and put your shares there
Code:
pico ~/nfs_share
here is the content of mine for example:
Code:
mount -t nfs 192.168.0.1:/media/misc /media/misc
mount -t nfs 192.168.0.1:/media/music /media/music
where 192.168.0.1 is IP address of my box with nfs share and after colon /media/misc is a share point , last /media/misc is local directory on your XBMClive box where it needs to be mounted so these directories has to exist first, save and close
to create directories:
Code:
sudo mkdir /media/misc
Now you have to call your nfs_share file when system is booting. I am not sure about XBMClive but on regular ubuntu I added a file to /etc/rc2.d/
Code:
sudo pico /etc/rc2.d/S99nfs_startup
and out this in there
Code:
#/bin/bash
sleep 5
~/nfs_share
sleep 5 is there because for whatever reason my network is not up fast enough, you can probably skip that line
save and close, make that file executable:
Code:
sudo chmod +x /etc/rc2.d/S99nfs_startup
you can do all that using putty or with the console like kees667 suggested