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-01-19 20:33:44

ReLLiK75
Member
Registered: 2008-01-19
Posts: 14

Help with Installing Twonky Please!!!

Hi all...

I've been reading these forums for a while now, but have only recently started to experiment with my DNS-323.  My Linux skills are little to be desired, but I do know the very basics.  I installed the funplug with no problems and have telnet access to my DNS-323.  I tried installing Twonky using the DNS-323 installer provided on the Twonky website.  Everything seems to install fine.  I then telnet into the DNS and when I query the processes I see:

/ # ps
PID   USER     COMMAND
    1 root     init                               
    2 root     [ksoftirqd/0]
    3 root     [events/0]
    4 root     [khelper]
    5 root     [kthread]
   11 root     [kblockd/0]
   14 root     [khubd]
   50 root     [pdflush]
   51 root     [pdflush]
   53 root     [aio/0]
   52 root     [kswapd0]
  190 root     [scsi_eh_0]
  191 root     [scsi_eh_1]
  192 root     [scsi_eh_2]
  193 root     [scsi_eh_3]
  204 root     [mtdblockd]
  219 root     [kcryptd/0]
  220 root     [kmirrord/0]
  231 root     [loop0]
1054 root     atd
1059 root     smbd -D
1061 root     nmbd -D
1069 root     smbd -D
1301 nobody   smbd -D
1424 root     chkbutton
1442 root     /web/webs
1454 root     fancontrol
1486 root     crond
1492 root     op_server 3 3 3
1499 root     -sh
1528 root     pure-ftpd (SERVER)                                           
1537 root     lpd Waiting
1602 root     /mnt/HD_a2/fun_plug.d/sbin/telnetd -l /mnt/HD_a2/fun_plug.d/bin/
1641 root     /mnt/HD_a2/fun_plug.d/bin/sh
2249 root     /mnt/HD_a2/fun_plug.d/bin/sh
2503 root     /mnt/HD_a2/twonky/twonkymedia
2504 root     [twonkymediaserv]
2514 root     ps


So to me, it looks like Twonky is running.  However, when I try to access the config page (192.168.1.100:9000) I get a "Can't establish a connection to the server" error in Firefox and IE just says "Cannot display the webpage"


I would greatly appreciate someone's help in getting this running!

Thanks!

Offline

 

#2 2008-01-20 08:14:19

DoubleJet
Member
Registered: 2007-07-11
Posts: 20

Re: Help with Installing Twonky Please!!!

I Assume you downloaded the latest TwonkyMedia from http://www.twonkyvision.com/Download/Tw … cians.html

My DNS-323 is at 192.168.0.4 on my local network so I connect to TwonkMedia at hxxp://192.168.0.4:9000/configpage/index.html
(tt substituted to prevent link being clickable)

Hope that helps.

Last edited by DoubleJet (2008-01-20 08:17:47)

Offline

 

#3 2008-01-20 16:53:50

ReLLiK75
Member
Registered: 2008-01-19
Posts: 14

Re: Help with Installing Twonky Please!!!

Hi DoubleJet...

Yes, that's essentially the same link I tried.  I also navigated directly to the twonky folder and click on one of the html pages in the folder.  When the page loads it tries to redirect to the config page but I end up with the "Unable to Connect" error.

I've done a port scan on my DNS and 9000 never shows up.  If twonky were running correctly, wouldn't a port scan reveal 9000 to be in use?  I've tried running the installer multiple times.  I've even tried to manually kick off twonky from the telent prompt.  However, when I do this, I Just keep seeing TwonkyVision Media Server 4.4.3.1 repeat over and over--almost like it's trying to launch, failing, and then retrying.

Is there anyway to figure out what's going on?

Thanks!

Offline

 

#4 2008-01-21 00:57:05

DoubleJet
Member
Registered: 2007-07-11
Posts: 20

Re: Help with Installing Twonky Please!!!

Well, my Linux skills are probably les than yours but when I go to the twonky resources folder at Z:\twonky\resources\index.html it comes up with the main twonky screen. You can't do anything from there but at least you can see something "Twonky".

It seems you may have port 9000 locked or blocked. Could be your router or firewall. Without knowing how someones system is configured its a little difficult to diagnose something like this. Try defaulting your router and removing firewall for a start. With most people, Twonky just runs without much effort.

Offline

 

#5 2008-01-21 07:15:14

ReLLiK75
Member
Registered: 2008-01-19
Posts: 14

Re: Help with Installing Twonky Please!!!

My router is a WRT54G with the stock firmware.  My DNS has a static IP set to 192.168.1.100

I've moved the DNS to the DMZ to try to avoid any issues for now and I've enabled port forwarding on port 9000 to point to the IP address specified above.  Is there any firewall sofware that is running on the DNS?  Is there something I can change in the funplug script to force port 9000 to open?  Are there logs anywhere on the DNS that may show what's going on? 

My Linux skills are minimal at best so could someone who knows linux please help!  BTW, the busybox version I'm running is v1.8.1

Thanks!

Offline

 

#6 2008-01-21 08:55:21

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Help with Installing Twonky Please!!!

ReLLiK75 - take your fun_plugged DNS-323 out of the DMZ immediately, please!!!

The DMZ will expose the specified host to the Internet. All ports will be accessible from the Internet.
The default fun_plug starts a telnet server with root access and without a password and the DMZ will
make this telnet server accessible to anyone on the internet -- yikes Yikes!

You can use the 'netstat' command to find out which processes on your DNS-323 are running and using ports.

At the command prompt (after using telnet to connect to you DNS-323)
Type 'netstat --help' for usage guide, you probably want to use the '-l' option to display listening server sockets

Post the results of the 'netstat -l' command here.

You can also use ' wireshark' http://www.wireshark.org to look at the tcp traffic between you web browser
and the twonky server.

Last edited by mig (2008-01-21 09:41:09)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#7 2008-01-21 16:08:44

ReLLiK75
Member
Registered: 2008-01-19
Posts: 14

Re: Help with Installing Twonky Please!!!

Hi mig..thanks for that bit of advice on the DMZ...I did that to try to remove the firewall as any type of contributing factor to the problem here.

I also did as you asked and ran the netstat command.  Below are my results:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:ftp             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:telnet          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN     
tcp        0      0 skydiver:139            192.168.1.105:2765      ESTABLISHED
tcp        0      0 skydiver:telnet         192.168.1.107:54686     ESTABLISHED
udp        0      0 skydiver:137            0.0.0.0:*                           
udp        0      0 0.0.0.0:137             0.0.0.0:*                           
udp        0      0 skydiver:138            0.0.0.0:*                           
udp        0      0 0.0.0.0:138             0.0.0.0:*                           
udp        0      0 ALL-SYSTEMS.MCAST.NET:13579 0.0.0.0:*                           
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     1493   /var/run/lprng


I'm assuming we should see a line showing something at port 9000, so obviously twonky is not running, but if I run LS, I still see:

1685 root     /mnt/HD_a2/twonky/twonkymedia
1942 root     crond
2341 root     /mnt/HD_a2/fun_plug.d/bin/sh
2398 root     smbd -D
29537 root     [twonkymediaserv]

Offline

 

#8 2008-01-21 16:35:03

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Help with Installing Twonky Please!!!

Maybe the firewall DoubleJet was talking about is a software firewall that runs
on you local client machine (like 'Security Center' for winXP).  Are you using a
winXP, vista, macOS or other OS client?

From that netstat output, there is no server process listening to port 9000, so I
think you need to look at any fun_plug, or dmesg or twonky log files to see if there
is any indication, why your twonky start up does not set the server up in the
configuration you want.

I don't have twonky setup on my DNS-323.  I assume you have done a 'twonky'
search on this forum.  I've seen quite a few threads about twonky.  There is also
a 'mediatomb' media server that I see some discussions about, which could be
an alternative, if you can't figure out why twonky is not running correctly.


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#9 2008-01-21 18:51:43

ReLLiK75
Member
Registered: 2008-01-19
Posts: 14

Re: Help with Installing Twonky Please!!!

Actually, I'm using Leopard and XP.  I've got my firewall completely disabled on both systems to test twonky and no luck.  I've done the search and seen a few posts on people not being able to get to the config page, which had to do with firewalls on their systems, but no one seems to have had the issue where twonky just won't start.  I've tried looking for twonky log files, but can't seem to find them, so I'm really at a loss here unless someone who's really good at Linux and who has twonky running can help me dig into my DNS to see what's going on.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB