dm500 and web interface remote access problem

Dreambox500 - Support for the Dreambox 500 DM-500 satellite receiver.


Reply
 
LinkBack Thread Tools Display Modes
Old 17-12-2008   #1
Member
 
Join Date: 17-12-2008
Location: Germany
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts

My System: DM500, DM7020
dm500 and web interface remote access problem

Hello forum,

I have a DM500 with Gemini 4.5 at home and I would like to access it via ssh - basically I visit my grandparents a lot and would like to be able to "play around" from there as well. Yesterday I was trying it for the first time at a friend's house, and decided to check the tuning, to see how it works. The problem is that when I tried to connect to the web interface, it refused to work. This is what happened when I tried the ssh to the dm500:

root@dreambox:/etc> wget -O- http : / / localhost
wget: Unable to connect to remote host (127.0.0.1): Connection refused

This means that there is no web server on port 80.

So my questions are:
1 - Any idea why I do not get the normal web interface?
2 - Is there a way to configure the enigma to start the web server?
3 - Is there a way to remotely tune the dm500 without the web interface?

thanks mates,

the dr.
Dr.Strangeluv is offline   Reply With Quote
Old 17-12-2008   #2
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1398
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

1: What do you mean by 'tune'?
2: Are you trying to view the web interface or make a telnet connection? They are two different things, (SSH is not really an option as far as I know)

It should just be a case of forwarding the relevant ports. The dreambox is always listening on port 80, so there is no need to mess around with its web server.

Last edited by compufunk; 17-12-2008 at 06:03 PM.
compufunk is offline   Reply With Quote
Old 18-12-2008   #3
Member
 
Join Date: 17-12-2008
Location: Germany
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts

My System: DM500, DM7020

hello,

I sent the wget from the dreambox itself.

Anyhow, I tried the following at the DB itself:
root@dreambox:~> wget -O - _http://localhost
wget: Unable to connect to remote host (127.0.0.1): Connection refused root@dreambox:~> wget -O - _http://root:myPassword@localhost
wget: Unable to connect to remote host (127.0.0.1): Connection refused
As you can see, it seems that Enigma does not accept connections on port 80.

Just to prove the point, I have run (again on the DB) the following:
root@dreambox:~>
root@dreambox:~> httpd
root@dreambox:~> wget -O - _http://root:myPassword@localhost
wget: server returned error 404: HTTP/1.0 404 Not Found root@dreambox:~> ps | grep httpd
1012 root 500 S httpd
1016 root 412 S grep httpd
root@dreambox:~> kill 1012
root@dreambox:~>

This proves (I think) that the problem is not the access to port 80, but rather that the Enigma does not (for some reason) reply on this port.

the dr.
Dr.Strangeluv is offline   Reply With Quote
Old 19-12-2008   #4
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1398
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Why not just use a web browser and access it from your PC / Laptop?
You'll then know in an instant if its listening on port 80 or not, why complicate things?
compufunk is offline   Reply With Quote
Old 22-12-2008   #5
Member
 
Join Date: 17-12-2008
Location: Germany
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts

My System: DM500, DM7020

m8s, thnx a lot 4 your help, i finally solved this problem, check out:

1) I have ssh to another PC running Linux that I have. At this PC I have run the command "script", which caused the PC to record everything I did from this moment to a file

2) I then SSHed to my DB

3) At the DB I issued the commands "killall enigma" and "/bin/enigma"

4) After the enigma (many) startup messages, I did ctrl-C (to kill the enigma), exit (to finish the SSH with the DB) and another exit (to finish the recording caused by the "script" command).

5) I then looked at the recording file, which contained all the enigma startup messages (I did it using vi, but you can use any editors). I looked for the string httpd. And - my oh my - I saw that the httpd was coming up on port 22 ! (for some darn reason...).

6) I then did, at the DB, "wget -O -
http://root:myPassword@localhost:22 and it worked !

that's it 4 now and again, thnx 4 all the help!

the dr.
Dr.Strangeluv is offline   Reply With Quote
Reply

Bookmarks

Tags
access, dm500, interface, problem, remote, web


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off







All times are GMT +1. The time now is 07:55 PM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1