DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-26 02:03:28

sjmac
Member
Registered: 2008-01-21
Posts: 222

kissdx server and twonky upnp server- twonky invisible : ip aliasing?

I've recently followed the instructions on the wiki to install the kissdx server for my Kiss 1600 media player.
http://dns323.kood.org/howto:kiss_dp-55 … er?s=kissd
ftp://ftp.joaopena.com/testing/
http://www.vidartysse.net/kissdx/

This works very well between the DNS323 and the Kiss 1600 (I can play DVD isos and music files appear in the right order at last!), but unfortunately my UPnP server, Twonky, is now invisible to the other media players that I have on my network. (But still visible to the Kiss 1600.)

I think that Kissdx is a bit like a UPnP server. Should I be able to have two running at the same time on the same server?

It seems to me that at least some of my players can't cope with two UPnP servers at the same IP address, so could I set up another IP address on the DNS323?

Using IP Aliasing?
http://home.pacific.net.sg/~harish/linuxipalias.html

[edit]
Typing this seems to work!
# ifconfig egiga0:0 192.168.21.99
# ifconfig
egiga0    Link encap:Ethernet  HWaddr 00:19:5B:EF:A7:F7
          inet addr:192.168.21.107  Bcast:192.168.21.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:105123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:98168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:512
          RX bytes:79392813 (75.7 MiB)  TX bytes:113214719 (107.9 MiB)
          Interrupt:21

egiga0:0  Link encap:Ethernet  HWaddr 00:19:5B:EF:A7:F7
          inet addr:192.168.21.99  Bcast:192.168.21.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:21

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:792 (792.0 B)  TX bytes:792 (792.0 B)

Also, the if command could be used
http://kerneltrap.org/node/6751

So I'll try just telling twonky to use the other IP number ...


Any thoughts?

Last edited by sjmac (2008-02-26 02:13:11)

Offline

 

#2 2008-02-26 02:32:53

sjmac
Member
Registered: 2008-01-21
Posts: 222

Re: kissdx server and twonky upnp server- twonky invisible : ip aliasing?

Reply to self:
Yes, adding an extra IP Alias with a new IP Number, and using the Twonky web interface to bind only to that IP number has fixed my problems - Twonky is now visible to all the media players on my network.

Does anyone know if I *should* have been able to run two UPnP servers together?

I'm running the (super neato) fonz fun_plug 0.4-test scripts, and I've added these lines to the end of fun_plug:

Code:

echo "*SJM Stop native UPnP server" >>${LOGFILE}
kill `pidof upnp` >>${LOGFILE}

echo "*SJM make sure native UPnP doesn't get up again, by removing a symlink"
rm /sys/custom/upnp >>${LOGFILE}

echo "*SJM setup an IP just for Twonky UPnP to use" >>${LOGFILE}
ifconfig egiga0:0 192.168.21.99 >> ${LOGFILE}

echo "*SJM starttwonky.sh " >>${LOGFILE}
/mnt/HD_a2/starttwonky.sh

Is there a neater or safer way of doing this, or is appending to fun_plug the best thing to do for tweaks like this?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB