Digital Kaos

Guide: Flash and Backup an Image via Telnet

can i user it through router...

 
Home Register FAQ Calendar Search Today's Posts Mark Forums Read Links


Navigation »Digital Kaos > Cable > Cable Dreambox » Guide: Flash and Backup an Image via Telnet

Welcome Header
Reply
 
LinkBack (2) Thread Tools Display Modes

 Old 13th April, 2008, 03:20 PM   #16
Newbie
 
Join Date: Apr 2008
Posts: 1
Thanks: 3
Thanked 1 Time in 1 Post
Downloads: 2
Uploads: 0
biju007 is on a distinguished road
Default


can i user it through router
biju007 is offline   Reply With Quote
The Following User Says Thank You to biju007 For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 13th April, 2008, 03:31 PM   #17
V.I.P. Member
 
witchy2k1's Avatar
 
Join Date: Mar 2008
Posts: 1,847
Thanks: 266
Thanked 275 Times in 180 Posts
Downloads: 109
Uploads: 11
witchy2k1 is on a distinguished road
Default

Originally Posted by biju007 View Post
can i user it through router

Yes mate, a router will be fine to use.
witchy2k1 is offline   Reply With Quote
The Following User Says Thank You to witchy2k1 For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 17th April, 2008, 10:52 PM   #18
Newbie
 
Join Date: Apr 2008
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Downloads: 13
Uploads: 0
dublindave is on a distinguished road
Default

Originally Posted by Kaos View Post
Telnet Commands

To backup an image using Telnet
  • Telnet to the box and paste the following command:
cat /dev/mtd/3 > /tmp/backup.img
  • FTP to the box and navigate to the /tmp
  • Here you will find the backup.img file.
Hi, I'm planning to backup my patched & working image and found ur post. I read that there is very little free space on a 500c, so I was wondering how could a 5/7mb backup image fit onto the 500c in the /tmp folder?
dublindave is offline   Reply With Quote
The Following User Says Thank You to dublindave For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 17th April, 2008, 11:13 PM   #19
Administrator
 
Devilfish's Avatar
 
Join Date: Feb 2008
Location: /cdk
Receivers: Sky+ HD
Posts: 8,614
Thanks: 942
Thanked 6,418 Times in 1,672 Posts
Recipes: 2
Downloads: 268
Uploads: 112
Devilfish will become famous soon enoughDevilfish will become famous soon enough
Default

The /tmp folder is a separate memory location that /var.

There are 3 locations...

/var - this is the writeable section.
/tmp - this is a separate memory location.
the rest - this is a read-only section.
__________________
Up YouR ViVa
Devilfish is offline   Reply With Quote
The Following User Says Thank You to Devilfish For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 18th April, 2008, 07:53 PM   #20
Newbie
 
Join Date: Apr 2008
Posts: 16
Thanks: 1
Thanked 3 Times in 3 Posts
Downloads: 16
Uploads: 1
tinbox11 is on a distinguished road
Default

would there be enough memory to store the backup image?
I checked on the box it suggetsed /var only has 80k left while the rest is 100% full. you can use the command to check how much memory is free; free under the telnet screen.
tinbox11 is offline   Reply With Quote
The Following User Says Thank You to tinbox11 For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 18th April, 2008, 07:55 PM   #21
Newbie
 
Join Date: Apr 2008
Posts: 16
Thanks: 1
Thanked 3 Times in 3 Posts
Downloads: 16
Uploads: 1
tinbox11 is on a distinguished road
Default

I found using null modem is the sure way to flash image, while ehternet is fast but as the falsh working its way you loose the connectivity, hence not a complete flash. At least I had failed twice using such method and null modem works all the time.

did anyone get null modem flash speed higher than 10kb/s?
tinbox11 is offline   Reply With Quote
The Following User Says Thank You to tinbox11 For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 23rd April, 2008, 09:11 PM   #22
Junior Member
 
Join Date: Apr 2008
Posts: 21
Thanks: 12
Thanked 6 Times in 5 Posts
Downloads: 13
Uploads: 1
CyberBob is on a distinguished road
Question Query

Do you still need a crossover ethernet cable if you are connecting through a network switch.
CyberBob is offline   Reply With Quote
The Following User Says Thank You to CyberBob For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 23rd April, 2008, 09:19 PM   #23
Administrator
 
Devilfish's Avatar
 
Join Date: Feb 2008
Location: /cdk
Receivers: Sky+ HD
Posts: 8,614
Thanks: 942
Thanked 6,418 Times in 1,672 Posts
Recipes: 2
Downloads: 268
Uploads: 112
Devilfish will become famous soon enoughDevilfish will become famous soon enough
Default

No. If you're using a switch/hub/router you can use a patch or standard ethernet cable.

Although most modern routers will work with a crossover cable too.
__________________
Up YouR ViVa
Devilfish is offline   Reply With Quote
The Following 2 Users Say Thank You to Devilfish For This Useful Post:
CGSscottsuglymom (26th February, 2010), CyberBob (23rd April, 2008)
 Old 24th April, 2008, 12:28 AM   #24
Junior Member
 
Join Date: Apr 2008
Posts: 21
Thanks: 12
Thanked 6 Times in 5 Posts
Downloads: 13
Uploads: 1
CyberBob is on a distinguished road
Question

To backup an image using Telnet

Telnet to the box and paste the following command:cat /dev/mtd/3 > /tmp/backup.img
FTP to the box and navigate to the /tmp
Here you will find the backup.img file.


I did this and the image is there as promised but when I try to copy the image to my PC my FTP client closes the connection without transfering the file.
I would like to keep a copy of the original image even if I cant identify it.
The telnet says BusyBox v1.01 but since I am using the dreambox manager suite v2 I am not sure if this is my image id or if it is the telnet client id.
CyberBob is offline   Reply With Quote
The Following User Says Thank You to CyberBob For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 24th April, 2008, 01:04 AM   #25
Administrator
 
Devilfish's Avatar
 
Join Date: Feb 2008
Location: /cdk
Receivers: Sky+ HD
Posts: 8,614
Thanks: 942
Thanked 6,418 Times in 1,672 Posts
Recipes: 2
Downloads: 268
Uploads: 112
Devilfish will become famous soon enoughDevilfish will become famous soon enough
Default

It could be your ethernet cable that's fault or the ftp program that doesn't like something.

Reboot the PC and the dreambox and try again.

Remember, anything in /tmp is lost when the box is powered off or rebooted so you'll need to paste the backup telnet command again.

I wouldn't bother with any 3rd party dreambox program. Use a proper ftp client and you'll get much better results. I use CuteFTP but FlashFXP is also good. Or use internet explorer.

Put this into your address bar of IE or Firefox...

ftp://192.168.1.101

(replace the ip address with your own dreambox ip address)

Navigate to /tmp and drag the .img file out like any other windows explorer window.
__________________
Up YouR ViVa
Devilfish is offline   Reply With Quote
The Following User Says Thank You to Devilfish For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 24th April, 2008, 01:42 AM   #26
Junior Member
 
Join Date: Apr 2008
Posts: 21
Thanks: 12
Thanked 6 Times in 5 Posts
Downloads: 13
Uploads: 1
CyberBob is on a distinguished road
Arrow

Originally Posted by Kaos View Post
It could be your ethernet cable that's fault or the ftp program that doesn't like something.

Reboot the PC and the dreambox and try again.

Remember, anything in /tmp is lost when the box is powered off or rebooted so you'll need to paste the backup telnet command again.

I wouldn't bother with any 3rd party dreambox program. Use a proper ftp client and you'll get much better results. I use CuteFTP but FlashFXP is also good. Or use internet explorer.

Put this into your address bar of IE or Firefox...

ftp://192.168.1.101

(replace the ip address with your own dreambox ip address)

Navigate to /tmp and drag the .img file out like any other windows explorer window.


I was using cute FTP and on other operations like copying keylist files or the updated roms it was doing just fine but had no joy copying the image from the dreambox to my pc.

also I tried flashing the dw2image onto my box using telnet but it stopped the process after deleting all the files from the box and could not find the image in the tmp folder as it no longer existed.
now the box is dead and it looks like I am going to have to get a null modem cable and use dreamup as many people recommend.
This is not a complaint just information,and I am still grateful for all the help I have recieved up till now.

Last edited by CyberBob; 24th April, 2008 at 01:49 AM.
CyberBob is offline   Reply With Quote
The Following User Says Thank You to CyberBob For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 24th April, 2008, 04:35 AM   #27
Administrator
 
Devilfish's Avatar
 
Join Date: Feb 2008
Location: /cdk
Receivers: Sky+ HD
Posts: 8,614
Thanks: 942
Thanked 6,418 Times in 1,672 Posts
Recipes: 2
Downloads: 268
Uploads: 112
Devilfish will become famous soon enoughDevilfish will become famous soon enough
Default

When you issue a telnet command, there's no error checking, it does what you tell it to do so you need to be careful.

Also make sure the image name, i.e. backup.img, is the same in the command and the actual file.

At the point where it errored that you hadn't copied the file across, you could have still copied it to the box and issued the command again. All it had done was erase the flash, you still had control of the box. Not to worry, dreamup will defo sort it out for you.
__________________
Up YouR ViVa
Devilfish is offline   Reply With Quote
The Following User Says Thank You to Devilfish For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 24th April, 2008, 10:14 PM   #28
Junior Member
 
Join Date: Apr 2008
Posts: 21
Thanks: 12
Thanked 6 Times in 5 Posts
Downloads: 13
Uploads: 1
CyberBob is on a distinguished road
Red face

Originally Posted by Kaos View Post
When you issue a telnet command, there's no error checking, it does what you tell it to do so you need to be careful.

Also make sure the image name, i.e. backup.img, is the same in the command and the actual file.

At the point where it errored that you hadn't copied the file across, you could have still copied it to the box and issued the command again. All it had done was erase the flash, you still had control of the box. Not to worry, dreamup will defo sort it out for you.
DreamUp did sort me out and I have flashed the dw2 image onto my box.I guess losing everything on the box is the cost of using unfamiliar software.
On the up side dreamup was so simple to use that losing the contents of the flash are less of a fear for me now.(confidence is high).Still I obviously have a lot to learn.
Thanks for all your help Kaos.
CyberBob is offline   Reply With Quote
The Following User Says Thank You to CyberBob For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 29th April, 2008, 11:31 PM   #29
Newbie
 
Join Date: Apr 2008
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Downloads: 2
Uploads: 0
click is on a distinguished road
Default

Originally Posted by Kaos View Post
I'm not 100% sure if that 25 pin - 9pin will work, never tried it before.

You will need to find an old PC or laptop with a com port or you can get a USB to Serial adapter.

Remember that you need to have an established connection between your dreambox and PC before telnet will connect.

You do not need to put .exe at the end. If it doesn't do anything, the connection between the PC and dreambox isn't right, i.e. you're not using a crossover ethernet cable (not the same as a standard ethernet cable) or your IP addresses are not correct.
hi many thanks for the info i will try to understend all of this
bye for now
click is offline   Reply With Quote
The Following User Says Thank You to click For This Useful Post:
CGSscottsuglymom (26th February, 2010)
 Old 9th May, 2008, 07:12 AM   #30
Newbie
 
Join Date: May 2008
Posts: 11
Thanks: 2
Thanked 1 Time in 1 Post
Downloads: 4
Uploads: 0
uskuz is on a distinguished road
Default

How could be made to download image from internet, and restore it with a script?, main problem is to get the image downloaded and know it is 5 - 6 mb image and not not page found, downloaded by wget to /tmp/imageupdate.img for example.

Sometimes i try to get a file with wget i get that it canīt connect to server.

Thanks
uskuz is offline   Reply With Quote
The Following User Says Thank You to uskuz For This Useful Post:
CGSscottsuglymom (26th February, 2010)
Reply
» Digital Kaos > Cable > Cable Dreambox


Bookmarks

Tags
backup, dreambox, flash, flashfxp, guide, image, telnet

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://www.digital-kaos.co.uk/forums/f34/guide-flash-backup-image-via-telnet-760/
Posted By For Type Date
MyFavs_EU: Tags: via This thread Refback 30th April, 2009 03:34 PM
Dreambox Services and Bouquets ŧ Propeller This thread Refback 25th April, 2009 10:44 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUIDE: How to Flash a Eurovox satsmo Eurovox 306 Yesterday 07:33 PM
how to backup image moin Dbox2 2 16th February, 2009 07:41 PM
DM600 nfi image backup cccamexperto Cable Dreambox 1 27th January, 2009 11:05 AM
idiots guide to flash a dbox n1ck1ee General Cable TV 1 7th December, 2008 11:17 AM
Backup image MILLWALLFC Cable Dreambox 20 8th July, 2008 10:52 AM


All times are GMT. The time now is 03:31 PM.

This forum is best viewed with
Spreadfirefox Affiliate Button

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1

Digital Kaos does not condone any illegal operations, including obtaining premium tv for free. Digital Kaos does not accept responsibilty for the loss of any equipment used.
Everything discussed on this forum is for experimental and educational purposes only. Use the information at your own risk.