Page 1 of 1

bind to only one network interface

Posted: Fri Jan 23, 2009 1:00 pm
by burn
In my Linux server is more than one network interface. With version 4.4.9 it was possible to bind the media server to only one network interface. But in version 5.0.40 and also in 5.0.46 I can't find this option.

Under 'network' is only the option
Restart on NIC changes:
Enable/ disable dynamic restart of the server on any NIC change. Note that server restart will result in stream interruption!
but the line where I could enter the IP from the network interface on which twonky has to listen to is missing.

Is there another way to bind twonky to only one interface?

burn

Re: bind to only one network interface

Posted: Fri Jan 23, 2009 2:23 pm
by Otacon
I specified it on the command line -ip=x.x.x.x, but you could also enter it in .TwonkyMediaServer/twonkymedia-server.ini

# ip
ip=x.x.x.x

Re: bind to only one network interface

Posted: Fri Jan 23, 2009 5:30 pm
by burn
thx, it works!
it's a little tricky with the null bytes between the characters in the ini-file, but it works.

Re: bind to only one network interface

Posted: Fri Jan 23, 2009 7:48 pm
by Otacon
vi seems to handle the file ok for me. Glad you got it sorted :)

Re: bind to only one network interface

Posted: Sat Jan 24, 2009 9:53 am
by peterfu
Or set it with the help of Your favourite Browser. Put following in the adressbar:
http://<your-ip>:9000/rpc/set_option?ip=<your-ip>
br
Peter