dm500 and web interface remote access problem

Dr.Strangeluv

Member
My Satellite Setup
DM500, DM7020
My Location
Germany
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.
 
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.
 
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.
 
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?
 
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.
 
Back
Top