How to control your Dreambox from a remote location

Dreambox information exchange on the best dreambox software images and help with all other operational problems with your Dreambox. The ultimate Dreambox satellite TV support forum.


Reply
 
LinkBack Thread Tools Display Modes
Old 20-12-2008   #1
T_G
The Consumate Dreamer
 
T_G's Avatar
 
Join Date: 01-01-2000
Location: Somewhere where the Sauer is Kraut and the Wurst is Brat
Posts: 5488
Thanks: 162
Thanked 158 Times in 108 Posts
Blog Entries: 5

My System: I bet on red. If I lose, I double the bet on red again. I continue with this until I lost everything.


Muhuhuhahahahahaaaaarrrgggh
How to control your Dreambox from a remote location

I have added an entry in the Idiot Guide that deals with controlling the Dreambox from outside your home network. If anyone has a question or remarks/corrections on this subject, please post them here.

Cheers, TG


http://www.satellites.co.uk/satellit...84-post50.html

T_G


I only believe stuff that comes straight from Mr. Horses mouth!





T_G is offline   Reply With Quote
The Following User Says Thank You to T_G For This Useful Post:
zorbua (03-08-2009)
Old 13-07-2009   #2
Member
 
Join Date: 25-02-2009
Location: Ireland
Posts: 14
Thanks: 10
Thanked 0 Times in 0 Posts

My System: DM7025S, DM500s, SKY+ Receiver

Hi mate,

The dyndns.org method will not work for me, no matter what I try. I've followed everything to the letter but I cannot connect to the dyndns server name with the commands or ftp. I just keep getting a 'network timed out' message in my browser. Any ideas?
4tothefloor is offline   Reply With Quote
Old 16-07-2009   #3
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi 4TTF,

The DynDNS method works fine for me and I see no reason why there should be a problem for anyone.

It's most likely that your problem is with port forwarding in your router or it could be with the DDNS update from your router (or Dreambox, depending on your chosen update method).

Which router are you using?
What DDNS update method are you using?
How did you set up port forwarding in the router?

Give as much info as possible and I/we will try to help you resolve the problem.

Best wishes, John.
td03-5 is offline   Reply With Quote
The Following User Says Thank You to td03-5 For This Useful Post:
4tothefloor (02-08-2009)
Old 16-07-2009   #4
T_G
The Consumate Dreamer
 
T_G's Avatar
 
Join Date: 01-01-2000
Location: Somewhere where the Sauer is Kraut and the Wurst is Brat
Posts: 5488
Thanks: 162
Thanked 158 Times in 108 Posts
Blog Entries: 5

My System: I bet on red. If I lose, I double the bet on red again. I continue with this until I lost everything.


Muhuhuhahahahahaaaaarrrgggh

Lately I have been havibng trouble with dyndns.com, it seems they have changed something and the automatic update through the router does not work as before. Just to make sure it is not that, go to the dyndns site and manualkly update your ip address, then see what happens.

You should be able to connect to your dreambox through FTP program using th edyndns address, I use it all the time

T_G


I only believe stuff that comes straight from Mr. Horses mouth!





T_G is offline   Reply With Quote
Old 18-07-2009   #5
Prince of Birthdays
 
dig deep's Avatar
 
Join Date: 28-09-2005
Location: Sweden
Posts: 3550
Thanks: 16
Thanked 118 Times in 105 Posts

My System: Dream7020 and AZ Elite

Works fine here.

Think it is a matter of the setup in the router as said before.

Check the ports !
dig deep is offline   Reply With Quote
Old 22-07-2009   #6
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi 4ttf,

Another too simple, too silly thought but.......

You are using (remove the underscore prefix):-
_http://yourdyndnsname.homelinux.org

and not:-
_http://www.yourdyndnsname.homelinux.org

when attempting to access your Dreambox remotely using Firefox.

Where 'yourdyndnsname' is the Domain Name prefix that you entered at DynDNS setup and 'homelinux.org' is the Domain Name suffix that you selected from the list of available names.

Best wishes, John.
td03-5 is offline   Reply With Quote
The Following User Says Thank You to td03-5 For This Useful Post:
4tothefloor (02-08-2009)
Old 22-07-2009   #7
Member
 
Join Date: 19-03-2005
Location: Scandinavia 63N 21E
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post

My System: moteck sg2100a rotor. 1,3m dish. inverto lnb. ipbox 900hd. 1,5TB eSATA hdd.
Dreambox is insecure, don't put it out on internet!

- http and ftp passwords are sent in clear text over the internet
- enigma1 web interface prior to CVS 11.2008 is VERY insecure
- dreambox was never ment to be an internet server
- apache has been the object of hacking for several years, subject the dreambox to these hacks and it will be hacked in minutes, not hours.

It is better to install dropbear ssh daemon on the dreambox and do tunneling to it on port 22 using putty.

Beware!
J700 is offline   Reply With Quote
Old 22-07-2009   #8
T_G
The Consumate Dreamer
 
T_G's Avatar
 
Join Date: 01-01-2000
Location: Somewhere where the Sauer is Kraut and the Wurst is Brat
Posts: 5488
Thanks: 162
Thanked 158 Times in 108 Posts
Blog Entries: 5

My System: I bet on red. If I lose, I double the bet on red again. I continue with this until I lost everything.


Muhuhuhahahahahaaaaarrrgggh

In any case, what would a hacker do once he has hacked your dreambox?

T_G


I only believe stuff that comes straight from Mr. Horses mouth!





T_G is offline   Reply With Quote
Old 22-07-2009   #9
Amo Amas Amant Admin
 
Topper's Avatar
 
Join Date: 18-11-2004
Location: Blackburn NW England (Siberia)
Posts: 11283
Thanks: 24
Thanked 504 Times in 464 Posts

My System: IDD CI24 ECONO MM Penta 1.20 Galaxy II 1.2Mtr Polar MTG yes it has been on the arc for 21 years and is still driven by a modified wiper motor from a Ford Anglia. It's like me sometimes groans but always performs


Saved us from the black plague of ignoratio elenchi, he awaits a special badge with jugs
Well

Originally Posted by T_G View Post
In any case, what would a hacker do once he has hacked your dreambox?

In theory he could run a spamming service on it without your knowledge

War does not determine who is right, it determines who is left!

Formerly toppervte33h
whose six pack has turned into a keg

Help support this web site by making a donation
Or use other options to help support Sats UK
Show Your Support
by clicking the button

Thank you.
Freddie Flintoff is back



Topper is offline   Reply With Quote
Old 24-07-2009   #10
T_G
The Consumate Dreamer
 
T_G's Avatar
 
Join Date: 01-01-2000
Location: Somewhere where the Sauer is Kraut and the Wurst is Brat
Posts: 5488
Thanks: 162
Thanked 158 Times in 108 Posts
Blog Entries: 5

My System: I bet on red. If I lose, I double the bet on red again. I continue with this until I lost everything.


Muhuhuhahahahahaaaaarrrgggh

Through a Dreambox??

T_G


I only believe stuff that comes straight from Mr. Horses mouth!





T_G is offline   Reply With Quote
Old 24-07-2009   #11
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1395
Thanks: 122
Thanked 230 Times in 197 Posts

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

Originally Posted by J700 View Post
It is better to install dropbear ssh daemon on the dreambox and do tunneling to it on port 22 using putty.
There is already a SSH daemon installed on any dreambox images I have used. I would always use SSH over telnet.

I agree on your other points, however for myself, its a risk I'm willing to take. The convenience outweighs the risk for me.

If your not forwarding anything more than the HTTP port from your router, then the damage a potential intruder could do is limited.

In any case, what would a hacker do once he has hacked your dreambox?
Anyone who is cardsharing could have a mess on their hands if someone gets hold of their config files.

Also, lets say someone has unauthorized access to a server on the web. They could launch SSH sessions between your dreambox and the server. The originating IP address would then be your address.

There are a host of mischievous things an intruder could do beyond changing channels.

(Of course, if you are not forwarding the SSH or Telnet port, then the above examples are not possible unless your router has been compromised.)

If you ever notice your dreambox running slowly, connect to it using putty (or whatever client you use) and run the following commands.

command:
Code:
netstat
This will give you a list of active connections and where they are originating from, e.g.
output:
Code:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      1 192.168.1.101:22     192.168.1.2:50871  ESTABLISHED
The columns are as follows....
connection type (UDP or TCP), your local address and the port thats being connect to, the address of the originating connection and port, connection status.

Pay particular attention to connections to ports 21,22,23 and 80. You should know where each of these is originating from. If you don't there is something wrong.

command:
Code:
who
Shows who is currently logged in, this is of limited use if an intruder is logged in as root.

output:
Code:
USER       TTY      IDLE      FROM           HOST
root       pts/0    00:00m    Jul 24 13:41   my.ip.address
Thats pretty self explanatory.

command:
Code:
last
Lists all SSH logins since the last reboot.

Again, this is of limited use. An intruder could clear the log file entries containing this info., but it may catch someone sloppy out.

Last edited by compufunk; 24-07-2009 at 03:06 PM.
compufunk is offline   Reply With Quote
The Following User Says Thank You to compufunk For This Useful Post:
T_G (24-07-2009)
Old 02-08-2009   #12
Member
 
Join Date: 25-02-2009
Location: Ireland
Posts: 14
Thanks: 10
Thanked 0 Times in 0 Posts

My System: DM7025S, DM500s, SKY+ Receiver

Hi lads,

Been abroad on holidays for the last few weeks so sorry for the delayed reply!

Originally Posted by td03-5 View Post
Hi 4TTF,

The DynDNS method works fine for me and I see no reason why there should be a problem for anyone.

It's most likely that your problem is with port forwarding in your router or it could be with the DDNS update from your router (or Dreambox, depending on your chosen update method).

Which router are you using?
What DDNS update method are you using?
How did you set up port forwarding in the router?

Give as much info as possible and I/we will try to help you resolve the problem.

Best wishes, John.
Hi John, to answer your questions first:

Router: D-Link DSL-2640B
DDNS Method: Using dlinkddns.com
Port Forwarding Setup:

Name-----------Address-------Ext Port----Protocol-----Internal Port
Internet--------192.168.x.x---80/80------TCP/UDP-----80/80
FTP ------------192.168.x.x----21/21-----TCP/UDP-----21/21
CCcam Upper---192.168.x.x---10001------TCP----------10001
CCcam Lower---192.168.x.x --10000------TCP----------10000


I have since tested connecting to the box remotely from a mates house. I can connect to the box remotely using both http and ftp. Both Ftp and Http asks for a username & password to access the box so all seems ok there.

At home I can connect to the dreambox using my local IP address but I cannot connect to it using my external IP address or the dlinkddns address.

Originally Posted by td03-5 View Post
You are using (remove the underscore prefix):-
_http://yourdyndnsname.homelinux.org
Yes I am using this method. For some reason I cannot connect when on my own local network. Any idea why this is? I do not have any firewall set. Are there any other settings that need to be checked on the router?

I'm trying to get this sorted so I can have a go at streaming my box to the internet so any help would be appreciated. Many thanks for your help so far!

Last edited by 4tothefloor; 03-08-2009 at 12:07 AM.
4tothefloor is offline   Reply With Quote
Old 03-08-2009   #13
Member
 
Join Date: 25-02-2009
Location: Ireland
Posts: 14
Thanks: 10
Thanked 0 Times in 0 Posts

My System: DM7025S, DM500s, SKY+ Receiver

Update:

I managed to fix the problem of not being able to access the box using the ddns address. I did it by modifying the 'hosts' file on my pc
C:\Windows\System32\drivers\etc\hosts

I did it by following this _http://www.dyndns.com/support/kb/loopback_connections.html

1. Configure port forwarding
Checked my ports and as far as I could see they are fine (see above)

2. Check security settings
Checked my router for Security Settings - couldn't find any settings relating to security or NAT redirection or loopbacks.

3. Modify your HOSTS file
Took this option. Used the following code:
192.168.x.x xxxxx.dlinkddns.com # dreambox


I can access it now - can anyone confirm if I've done this right? Cheers
4tothefloor is offline   Reply With Quote
Old 05-08-2009   #14
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi 4TTF,

Glad you've got it working.
I have a Netgear DG834 series router and it just loops back to the Dreambox regardless of whether I use the local IP or the DynDNS name. I know nothing about the hosts file but the above works for me on Linux and with Windows (when I use it!).
I assume the D-Link must handle it differently.

Not sure why you even need to access the DB using the DynDNS name when at home? Surely you only need that when you are at a remote location and accessing via the internet?

As far as streaming is concerned, I assume you realise that your upstream bandwidth is only going to be between 250 Kb/s and 500 Kb/s so Audio streaming direct from the DB is fine but Video streaming will need a server with video compressor or a Slingbox (as I use). Video streaming at full bandwidth direct from the DB on the home LAN will be fine though (using VLC).

For remote Audio streaming with VLC you will need to edit the audio.pls file (received from the DB) manually or use my Auto Edit script (vlcplsed.bat) to change the local LAN IP in the file to the DynDNS name.

Best wishes, John.
td03-5 is offline   Reply With Quote
The Following User Says Thank You to td03-5 For This Useful Post:
4tothefloor (06-08-2009)
Old 06-08-2009   #15
Member
 
Join Date: 25-02-2009
Location: Ireland
Posts: 14
Thanks: 10
Thanked 0 Times in 0 Posts

My System: DM7025S, DM500s, SKY+ Receiver

Originally Posted by td03-5 View Post
Hi 4TTF,

Glad you've got it working.
I have a Netgear DG834 series router and it just loops back to the Dreambox regardless of whether I use the local IP or the DynDNS name. I know nothing about the hosts file but the above works for me on Linux and with Windows (when I use it!).
I assume the D-Link must handle it differently.
Yes the D-Link doesn't allow loopback. The editing of the hosts file effectively allows loopback to be possible

Originally Posted by td03-5 View Post
Not sure why you even need to access the DB using the DynDNS name when at home? Surely you only need that when you are at a remote location and accessing via the internet?
Just for testing purposes basically

Originally Posted by td03-5 View Post
As far as streaming is concerned, I assume you realise that your upstream bandwidth is only going to be between 250 Kb/s and 500 Kb/s so Audio streaming direct from the DB is fine but Video streaming will need a server with video compressor or a Slingbox (as I use). Video streaming at full bandwidth direct from the DB on the home LAN will be fine though (using VLC).
Yep I know about the bandwidth. I've tried streaming to the net via VLC player and Dreamviewer etc but these are no good as you have to leave a PC on at home to benefit from these streams. You also have to set up the streams beforehand. Pretty pointless really!

I've been reading about the slingbox and I'm definately going to buy one as it seems to do exactly what I want - enable me to access and watch my tv channels from a remote location. Is the Slingbox hard to set up with the DM? I'm using a DM7025+, is there any particular Slingbox model you would recommend?

I'm streaming on my home LAN perfectly to all pc's and laptops through the webinterface with VLC player. Multi room on the move

Cheers for all the help mate!
4tothefloor is offline   Reply With Quote
Old 07-08-2009   #16
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi 4TTF,

All points noted and understood.

As for the Slingbox, I just went for the cheapest model (Slingbox Classic) and bought via e-bay (paid under £50). It's very easy to set up and does all I wanted and more.
It has three video sources, Scart Input, S-Video Input and TV Coax IP (Digital Freeview or Analogue). It has infra red remote control OP but I do not use that. My Dreambox is connected to the Scart IP so unlike direct LAN streaming the Dreambox has to be switched On and not in Standby. I use the Enigma Webif to switch to/from standby and select channels. Unfortunately the Slingbox uses a bespoke player (Slingplayer) and I need to run it under Wine (Windows compatibility layer) on my little Asus Linux Netbooks. These are 'super portable'/'take anywhere' little machines but running Slingplayer under Wine has them running 'flat out'!! I would have preferred to use VLC and there is a Slingbox plugin for the Windoze version of VLC but not for Linux. I use the older (less fussy) version of Slingplayer (1.6 I think) as I don't think anyone has got the new (fussy) version 2.0 to run under Wine.

As a BTW: I have an old camcorder, with broken tape transport but ok camera, connected to the S-Video IP (there is no separate sound IP for the S-Video IP). The camera has 24x optical zoom and is directed out of a window towards some bird feeders in my garden. From Slingplayer I can select, the Scart, the S-Video or the Coax. Which results in watching; the Dreambox, the Birdcam or Freeview!

Most people seem to think the Birdcam with live pictures of Greenfinches, Goldfinches, Bluetits etc. far more cool than watching my Dreambox!

Ah well!

Best wishes, John.
td03-5 is offline   Reply With Quote
Old 11-09-2009   #17
Member
 
Join Date: 16-11-2006
Location: Israel
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

My System: Not have it yet

Originally Posted by J700 View Post

It is better to install dropbear ssh daemon on the dreambox and do tunneling to it on port 22 using putty.

Beware!
HI

Tunneling over Dreambox ssh just doesnt work :-( I activated dropbear. I conneceted to SSH from my pc (putty) , activated tunneling (I know how to do it) and it just doesnt work on my browser. Is there something else to activate? I am talking about dm500 gemini 4.2
THNX
sickboy666 is offline   Reply With Quote
Old 11-09-2009   #18
Member
 
Join Date: 19-03-2005
Location: Scandinavia 63N 21E
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post

My System: moteck sg2100a rotor. 1,3m dish. inverto lnb. ipbox 900hd. 1,5TB eSATA hdd.

Originally Posted by sickboy666 View Post
HI
Tunneling over Dreambox ssh just doesnt work :-( I activated dropbear. I conneceted to SSH from my pc (putty) , activated tunneling (I know how to do it) and it just doesnt work on my browser. Is there something else to activate? I am talking about dm500 gemini 4.2
THNX
I explained the process in swedish here _http://www.dreamboxx.nu/e107_plugins/forum/forum_viewtopic.php?129942.post
Just klick the pictures and I'm sure you will get the idea.
J700 is offline   Reply With Quote
Old 18-09-2009   #19
Regular Member
 
shumifan50's Avatar
 
Join Date: 07-09-2007
Location: Europe
Posts: 157
Thanks: 30
Thanked 46 Times in 34 Posts

My System: 2xDM7025(DVB-S tuner), DM600SPVR, DM800S, TM9100, Triax 90cm with MultiBracket 4 sats.

When you insert an entry into your hosts file you are bypassing the router entirely - the domain name is translated to the local LAN address using the hostfile and then routed purely internally. This will work but it does not test external access at all. To test external access you really need 2 broadband connections with your PC on one and the dreambox on the other. I have cable broadband and it does not allow access to my extrnal domains from a PC that is using it, I have to use my ADSL broadband to do that.
shumifan50 is offline   Reply With Quote
Old 18-09-2009   #20
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1395
Thanks: 122
Thanked 230 Times in 197 Posts

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

Originally Posted by shumifan50 View Post
.........To test external access you really need 2 broadband connections with your PC on one and the dreambox on the other. I have cable broadband and it does not allow access to my extrnal domains from a PC that is using it, I have to use my ADSL broadband to do that.
Just use a proxy server like _http://www.hidemyass.com/ to test a HTTP connection from outside your LAN.
compufunk is offline   Reply With Quote
Old 04-10-2009   #21
Member
 
Join Date: 28-05-2009
Location: ireland
Posts: 24
Thanks: 12
Thanked 0 Times in 0 Posts

My System: iMac 20". Custom HTPC. DM800 HD. Full Sky HD Package. Panasonic 42" Full HD Plasma. Panasonic BD80 blu-ray. Onkyo 876 Amp. Jamo S606 speakers

i have my dyndns set up all fine and can access my dreambox perfectly from outside my network. the only problem is the dreambox webcontrol interface comes up and doesnt ask for a password. i have used the guides here and changed my root password via telnet but the dreambox interface wont ask for a password...

does anybody know how to enable the password??

cheers
adam
moelikepie is offline   Reply With Quote
Old 10-10-2009   #22
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi Adam,

Try checking this:
On Dreambox remote press Menu....select Setup....select Expert Setup....scroll down to HTTP Authentication (Webif) and ensure it is Ticked (press OK to Tick/UnTick).

Best wishes, John.
td03-5 is offline   Reply With Quote
Reply

Bookmarks

Tags
control, dreambox, location, remote


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 12:31 AM.


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