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


From SamyGO
Jump to: navigation, search
m (Added a note about the different use of nfs mounts with or without SGO Extensions)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Access via DNLA from the TV to the Windows PC is easy (e.g. [http://www.twonky.com/products/twonkyserver/default.aspx Twonky Server]), but especially mkv-files with  
 
Access via DNLA from the TV to the Windows PC is easy (e.g. [http://www.twonky.com/products/twonkyserver/default.aspx 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.  
+
two audio streams, switch ON / OFF subtitles, jump to chapters as well as forwarding und rewinding is not supported.<br>
  
The problem can be solved by installing a NFS server on the Windows machine and using the SamyGO extensions.
+
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 without the use of SamyGO Extensions. If you are already using SamyGO extensions you will find a init.d script called ''03_03_nfsmount.init'' that handles the whole mounting on TV side (in this case skip step 4 and 5 of this HOW-TO.
 +
The software haneWIN NFS server will be the NFS server on the Windows platform.<br>
  
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 [http://wiki.samygo.tv/index.php?title=Hacking_C-Series_TV_with_Internet@TV_only Hacking C-Series TV with Internet@TV only] or [http://wiki.samygo.tv/index.php?title=Hacking_TV_over_Hotel_mode_%28most_C_series_models%29 Hacking TV over Hotel mode]<br>
  
  
 +
2) Download and install [http://notepad-plus-plus.org/ Notepad++] if necessary<br>
  
1) Follow the steps as described in:
 
  
[http://wiki.samygo.tv/index.php?title=How_to_get_root_access_on_a_C_series_TV How to get root access on a C series TV]
+
3) Within this tutorial the following IP adresses are used:<br>
  
 +
PC: 192.168.178.33<br>
 +
TV: 192.168.178.23
  
2) Download and install [http://notepad-plus-plus.org/ Notepad++]  if necessary
+
If you are not sure about the IP adresses of your TV and PC go to<br>
 
 
 
 
3) If you are not sure about your IP addresses of your TV and PC go to<br>
 
  
 
“Control Panel\Network and Internet\Network and Sharing Center”<br>
 
“Control Panel\Network and Internet\Network and Sharing Center”<br>
 
and check “See full map”.
 
and check “See full map”.
The TV shall be switched on and connected to the network<br><br>
+
The TV must be switched on and connected to the network.<br><br>
  
 
[[File:IP Adress.jpg]]
 
[[File:IP Adress.jpg]]
Line 38: Line 36:
 
  sync
 
  sync
 
  sleep 120
 
  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
+
  /bin/mount -o nolock 192.168.178.33:/Filme $1/share -t nfs
 
  touch $1/ScriptOK
 
  touch $1/ScriptOK
  
Line 54: Line 52:
  
 
6) Download and install the [http://www.hanewin.net/nfs-e.htm HaneWIN NFS Server] on your Win 7 machine.<br>
 
6) Download and install the [http://www.hanewin.net/nfs-e.htm HaneWIN NFS Server] on your Win 7 machine.<br>
Older Operating systems such as WIN XP or VISTA are supported as well.
+
Older operating systems such as WIN XP or VISTA are supported as well.
  
  
Line 64: Line 62:
  
 
8) Edit the "Export-file" as following:
 
8) Edit the "Export-file" as following:
 
  
 
[[File:link.jpg]]
 
[[File:link.jpg]]
  
  
e:\nfs -lowercase -alldirs -readonly ''-name:filme'' <IP of your TV>
+
'''
 +
e:\nfs -lowercase -alldirs -readonly ''-name:filme'' 192.168.178.23
  
Remember: -name:''filme'' is just an example. You may change it in accordance with your mounting point (see above in the "runs.sh" script).<br>
+
Remember: <br>
 +
-name:''filme'' is just an example. You may change it in accordance with your mounting point (see above in the "runs.sh" script).<br>
 +
In this example my local folder is e:\nfs. You may change it according to your needs, just keep the syntax.<br><br>
 
After editing the "Export-file" you need to start the server again.<br>
 
After editing the "Export-file" you need to start the server again.<br>
In this example my local folder is e:\nfs. You may change it according to your needs, just keep the syntax.<br><br>
 
  
9) Ensure in WINdows explorer that the exported folder is NOT shared (Share with nobody).  
+
 
 +
9) Ensure in Windows explorer that the exported folder is NOT shared (Share with nobody).  
  
  
Line 82: Line 82:
 
<br>
 
<br>
  
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. Switch on your TV.
  
 
After around two minutes you should have access from the TV to 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.  
 
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 !
 
Enjoy !

Latest revision as of 11:17, 9 June 2014

Access via DNLA from the TV to the Windows PC is easy (e.g. Twonky Server), but especially mkv-files with two audio streams, switch 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 without the use of SamyGO Extensions. If you are already using SamyGO extensions you will find a init.d script called 03_03_nfsmount.init that handles the whole mounting on TV side (in this case skip step 4 and 5 of this HOW-TO. The software haneWIN NFS server will be the NFS server on the Windows platform.


1) Follow the steps as described in Hacking C-Series TV with Internet@TV only or Hacking TV over Hotel mode


2) Download and install Notepad++ if necessary


3) Within this tutorial the following IP adresses are used:

PC: 192.168.178.33
TV: 192.168.178.23

If you are not sure about the IP adresses of your TV and PC go to

“Control Panel\Network and Internet\Network and Sharing Center”
and check “See full map”. The TV must 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 192.168.178.33:/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 192.168.178.23

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

After editing the "Export-file" you need to start the server again.


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. Switch on your TV.

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 !