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
Popular Plugins
Graveyard
MP-Tail
Losing network connection crashes MPTail
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="davidf" data-source="post: 352473" data-attributes="member: 19484"><p>That is a windows issue to some extent, I'm assuming you are also using a wireless connection as, for wireless, the network cannot be brought up before the user has logged in which causes drives to appear as disconnected and Mp not to recognise them.</p><p></p><p>Use this cmd file to get around the issue replacing <nas address> and <Gateway address> to your ip addresses just place in startup and set MP not to automatically start</p><p></p><p>@echo off</p><p>:waitloop</p><p>echo Waiting for wireless....</p><p>Ping 127.0.0.1 -n 2 > nul</p><p>ipconfig | find /i "<Gateway address>" >nul</p><p>if errorlevel 1 goto waitloop</p><p>:waitloop2</p><p>echo Waiting for nas....</p><p>ping <nas address> | find /i "TTL" >nul</p><p>if errorlevel 1 goto waitloop2</p><p>:connected</p><p>net use z: \\<nas address>\hdd_1_1_1 /persistent:no</p><p>net use y: \\<nas address>\hdd2 /persistent:no</p><p>echo starting....</p><p>"C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"</p></blockquote><p></p>
[QUOTE="davidf, post: 352473, member: 19484"] That is a windows issue to some extent, I'm assuming you are also using a wireless connection as, for wireless, the network cannot be brought up before the user has logged in which causes drives to appear as disconnected and Mp not to recognise them. Use this cmd file to get around the issue replacing <nas address> and <Gateway address> to your ip addresses just place in startup and set MP not to automatically start @echo off :waitloop echo Waiting for wireless.... Ping 127.0.0.1 -n 2 > nul ipconfig | find /i "<Gateway address>" >nul if errorlevel 1 goto waitloop :waitloop2 echo Waiting for nas.... ping <nas address> | find /i "TTL" >nul if errorlevel 1 goto waitloop2 :connected net use z: \\<nas address>\hdd_1_1_1 /persistent:no net use y: \\<nas address>\hdd2 /persistent:no echo starting.... "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe" [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Graveyard
MP-Tail
Losing network connection crashes MPTail
Contact us
RSS
Top
Bottom