home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
NAS functions for MP V1.0 / Use HTPC as fileserver
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="netexplorer" data-source="post: 427336" data-attributes="member: 87577"><p>Hello MP user.</p><p></p><p>i want to share what i have developed.</p><p>It's not really a plugin, but to use the HTPC as fileserver, i wrote two scripts, A client and a server part. The client part can wakeup the server and start remotely the server process, so if this process is in TVServerConfig in process list to prevent standby, the server remains online, until the client is shutdown or command "Stop server" is used.</p><p></p><p><strong><u>Features</u></strong></p><p>-One or more clients configurable</p><p>-Start server process through Wake On Lan</p><p>-Start server after resume from standby/hibernate</p><p>-Stop server process</p><p>-Client process show status info of server</p><p>-Server process checks if a client is active, if none server process end and HTPC can suspend or hibernate</p><p></p><p><strong><u>To provide this functions, some tools are nessesary:</u></strong></p><p><a href="http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx" target="_blank">WOLCmd</a> to wakeup the server over Wake On Lan</p><p><a href="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/PsTools.mspx" target="_blank">PSTools</a> to start/stop/check the server process (Please start every tool one time, to accept the license)</p><p></p><p><strong><u>Server Installation:</u></strong></p><p>-Place the server components in one folder.</p><p style="margin-left: 20px">nasserver.exe</p> <p style="margin-left: 20px">nasserver.ini</p> <p style="margin-left: 20px">pslist.exe</p><p>-Configure the nasserver.ini with as much clients as you need (IP-Address, Username and Password).</p><p>-The checkinterval define the time period in seconds the server check if a client is active.</p><p></p><p><strong><u>Client Installation:</u></strong></p><p>-Place the client components in one folder.</p><p style="margin-left: 20px">nasclient.exe</p> <p style="margin-left: 20px">nasclient.ini</p> <p style="margin-left: 20px">pslist.exe</p> <p style="margin-left: 20px">psexec.exe</p> <p style="margin-left: 20px">pskill.exe</p> <p style="margin-left: 20px">wolcmd.exe</p><p>-Configure the nasclient.ini (MAC-Address of server, IP-Address of server, Installation path of nasserver.exe, Username and Password).</p><p></p><p>You can place a link in client autostart folder to start the server every time the client is running, or start the nasclient.exe on demand.</p><p></p><p><strong><u>TVServerConfig</u></strong></p><p>-Start the nasserver.exe manually and add the process in PowerScheduler plugin to the process list which prevent the standby.</p><p></p><p><strong><u>Problems</u></strong></p><p><u>-The server doesn't wake up when i start nasclient.exe.</u></p><p style="margin-left: 20px">Remember, that the wakeonlan function have to work properly to start the server.</p> <p style="margin-left: 20px">To ensure that, the settings in BIOS and configuration of network card have to be checked.</p><p></p><p><u>-The nasserver process is not visible in tray.</u></p><p style="margin-left: 20px">That's normal, because of the process runs with other credentials than the current user.</p> <p style="margin-left: 20px">For bug finding, you can start the process manually.</p><p></p><p><strong><u>Changelog</u></strong></p><p>-V0.9 Original release</p><p>-V0.9 Added a modified version using the ping command in nasserver.exe</p><p>-V0.91 Modify Ping version to use only 1 Ping signal</p><p>-V1.0 Added resume feature</p></blockquote><p></p>
[QUOTE="netexplorer, post: 427336, member: 87577"] Hello MP user. i want to share what i have developed. It's not really a plugin, but to use the HTPC as fileserver, i wrote two scripts, A client and a server part. The client part can wakeup the server and start remotely the server process, so if this process is in TVServerConfig in process list to prevent standby, the server remains online, until the client is shutdown or command "Stop server" is used. [B][U]Features[/U][/B] -One or more clients configurable -Start server process through Wake On Lan -Start server after resume from standby/hibernate -Stop server process -Client process show status info of server -Server process checks if a client is active, if none server process end and HTPC can suspend or hibernate [B][U]To provide this functions, some tools are nessesary:[/U][/B] [URL="http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx"]WOLCmd[/URL] to wakeup the server over Wake On Lan [URL="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/PsTools.mspx"]PSTools[/URL] to start/stop/check the server process (Please start every tool one time, to accept the license) [B][U]Server Installation:[/U][/B] -Place the server components in one folder. [INDENT]nasserver.exe nasserver.ini pslist.exe[/INDENT] -Configure the nasserver.ini with as much clients as you need (IP-Address, Username and Password). -The checkinterval define the time period in seconds the server check if a client is active. [B][U]Client Installation:[/U][/B] -Place the client components in one folder. [INDENT]nasclient.exe nasclient.ini pslist.exe psexec.exe pskill.exe wolcmd.exe[/INDENT] -Configure the nasclient.ini (MAC-Address of server, IP-Address of server, Installation path of nasserver.exe, Username and Password). You can place a link in client autostart folder to start the server every time the client is running, or start the nasclient.exe on demand. [B][U]TVServerConfig[/U][/B] -Start the nasserver.exe manually and add the process in PowerScheduler plugin to the process list which prevent the standby. [B][U]Problems[/U][/B] [U]-The server doesn't wake up when i start nasclient.exe.[/U] [INDENT]Remember, that the wakeonlan function have to work properly to start the server. To ensure that, the settings in BIOS and configuration of network card have to be checked.[/INDENT] [U]-The nasserver process is not visible in tray.[/U] [INDENT]That's normal, because of the process runs with other credentials than the current user. For bug finding, you can start the process manually.[/INDENT] [B][U]Changelog[/U][/B] -V0.9 Original release -V0.9 Added a modified version using the ping command in nasserver.exe -V0.91 Modify Ping version to use only 1 Ping signal -V1.0 Added resume feature [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
NAS functions for MP V1.0 / Use HTPC as fileserver
Contact us
RSS
Top
Bottom