Difference between revisions of "How to connect C series to NFS under WIN7 using Hanewin NFS Server"


From SamyGO
Jump to: navigation, search
Line 31: Line 31:
 
4) Edit the "run.sh" by using notepad++ as following:  
 
4) Edit the "run.sh" by using notepad++ as following:  
  
----
 
  
<br>#!/bin/sh<br>
+
'''
<br>rm -f /mtd_rwarea/profile<br>
+
#!/bin/sh
<br>$1/SamyGO/rcSGO $1/SamyGO > $1/rcSGO_out 2>&1 &<br>
+
rm -f /mtd_rwarea/profile
<br>sync<br>
+
$1/SamyGO/rcSGO $1/SamyGO > $1/rcSGO_out 2>&1 &
<br>sleep 120<br>
+
sync
<br>/bin/mount -o nolock <type in here the IP of your PC, e.g. 192.168.xxx.xxx>:/Filme $1/share -t nfs<br>
+
sleep 120
<br>touch $1/ScriptOK<br>
+
/bin/mount -o nolock ''<type in here the IP of your PC, e.g. 192.168.xxx.xxx>'':/Filme $1/share -t nfs
 
+
touch $1/ScriptOK
----
 
  
  
Line 51: Line 49:
  
 
5) Create in the root of the USB stick a directory, e.g “FILME”.<br>
 
5) Create in the root of the USB stick a directory, e.g “FILME”.<br>
You may change the name as you like, you just have change the script "run.sh" script as well.<br>  
+
You may change the name as you like, you just have change the "run.sh" script as well.<br>  
 
In this directory “FILME” the movies files will be mounted
 
In this directory “FILME” the movies files will be mounted
  
Line 86: Line 84:
 
10) Plug in the USB stick into your TV. Start the NFS server on your PC.
 
10) Plug in the USB stick into your TV. Start the NFS server on your PC.
  
After around two minutes you should have access from the TV to your PC. Enjoy !
+
After around two minutes you should have access from the TV to your PC.  
 +
Choose for example a mkv file. You are now able to choose the audio stream and subtiltels by pressing the "TOOLS" button on your remote control.
 +
Enjoy !

Revision as of 13:46, 26 February 2011

Access via DNLA from the TV to the Windows PC is easy (e.g. Twonky Server), but especially mkv-files with two audio streams, switchi ON / OFF subtitles, jump to chapters as well as forwarding und rewinding is not supported.

The problem can be solved by installing a NFS server on the Windows machine and using the SamyGO extensions.

This HOW TO describes the steps after having root access to the SAMY and will connect the TV to your Windows machine.

The software HANEWIN NFS server will be the NFS server on the Windows platform.


1) Follow the steps as described in:

How to get root access on a C series TV


2) Download and install Notepad++ if necessary


3) If you are not sure about your IP addresses of your TV and PC go to

“Control Panel\Network and Internet\Network and Sharing Center”
and check “See full map”. The TV shall be switched on and connected to the network

IP Adress.jpg


4) Edit the "run.sh" by using notepad++ as following:


#!/bin/sh
rm -f /mtd_rwarea/profile
$1/SamyGO/rcSGO $1/SamyGO > $1/rcSGO_out 2>&1 &
sync
sleep 120
/bin/mount -o nolock <type in here the IP of your PC, e.g. 192.168.xxx.xxx>:/Filme $1/share -t nfs
touch $1/ScriptOK


Remark:
- sleep timer 120 ensures that the TV will fully boot, after that the NFS is mounted
- In this script it doesnt matter which USB port of your TV you are using. The script should work with USB 1 or 2


5) Create in the root of the USB stick a directory, e.g “FILME”.
You may change the name as you like, you just have change the "run.sh" script as well.
In this directory “FILME” the movies files will be mounted


6) Download and install the HaneWIN NFS Server on your Win 7 machine.
Older Operating systems such as WIN XP or VISTA are supported as well.


7) Open HaneWIN NFS server and go to the tab “Exporte”.


Example.jpg


8) Edit the "Export-file" as following:


Link.jpg


e:\nfs -lowercase -alldirs -readonly -name:filme <IP of your TV>

Remember: -name:filme is just an example. You may change it in accordance with your mounting point (see above in the "runs.sh" script).
After editing the "Export-file" you need to start the server again.
In this example my local folder is e:\nfs. You may change it according to your needs, just keep the syntax.

9) Ensure in WINdows explorer that the exported folder is NOT shared (Share with nobody).


Share with nobody.jpg


10) Plug in the USB stick into your TV. Start the NFS server on your PC.

After around two minutes you should have access from the TV to your PC. Choose for example a mkv file. You are now able to choose the audio stream and subtiltels by pressing the "TOOLS" button on your remote control. Enjoy !