Xbox doesn't see twonky when started at boot time (Ubuntu)
Posted: Tue May 27, 2008 8:10 pm
I'm running Ubuntu Linux version Hardy Heron 8.04 with the latest patches, use a Dell Inspiron 6000 laptop, have a DLink DI-624 router with the latest firmware, an XBox 360, and downloaded the latest version of Twonky Media. TwonkyMedia on my laptop streams music to my Xbox, which the XBox recognizes just fine.
So I want to startup up the Twonky server every time I boot up my laptop. I followed the online instructions (http://www.twonkyvision.de/Support/FAQ/ ... inux&n=1:8), and played around with various things. I settled on dumping a script (TwonkyStart.sh, contents below) in my /etc/init.d folder and running the usual 'sudo update-rc.d TwonkyStart.sh defaults' command. Now when I reboot my machine I see there is a process running (pidof twonkymedia returns an id), however the 360 can't see the server. If I kill that existing process and then execute the exact same script I run at startup then the 360 instantly recognizes it. Can anyone explain this?
TwonkyStart.sh script version 1 (no luck):
TwonkyStart.sh script version 2 (no luck):
TwonkyStart.sh script version 3 (no luck):
So I want to startup up the Twonky server every time I boot up my laptop. I followed the online instructions (http://www.twonkyvision.de/Support/FAQ/ ... inux&n=1:8), and played around with various things. I settled on dumping a script (TwonkyStart.sh, contents below) in my /etc/init.d folder and running the usual 'sudo update-rc.d TwonkyStart.sh defaults' command. Now when I reboot my machine I see there is a process running (pidof twonkymedia returns an id), however the 360 can't see the server. If I kill that existing process and then execute the exact same script I run at startup then the 360 instantly recognizes it. Can anyone explain this?
TwonkyStart.sh script version 1 (no luck):
Code: Select all
#!/bin/sh
/usr/local/TwonkyVision/./twonkymedia -xD
# EOF.
Code: Select all
#!/bin/sh
/usr/local/TwonkyVision/./twonkymedia -D
# EOF.
Code: Select all
#!/bin/sh
/usr/local/TwonkyVision/./twonkymedia -x
# EOF.