Author

Topic: [TUTORIAL] How to reinstall / reset SSH Access for LKETC 1TH/s Dragon Miner (Read 6376 times)

legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
does anyone know how to ssh into the 1.5th version ?
legendary
Activity: 1456
Merit: 1000
I am going to write this because i didn't found it anywhere so i thought like i spent a lot time to get this far away maybe it can help other like me to get everything is one place to get solution for their locked SSH LKETC miners as everyone know LKETC is selling miners but they are not giving access to ssh root so i started to find a solution and now i will teach you how to do that.

.......

Why not just change the root password? easier and faster

It's a nice guide (topic is a little old to be bumped).  But i would suggest just using a old image with SSH having known credentials.   I know I have been running old firmware with ssh for a while and it preforms 1T+ on speed on the firmware update i don't see the advantage over just using the old firmware.
grn
sr. member
Activity: 357
Merit: 252
I am going to write this because i didn't found it anywhere so i thought like i spent a lot time to get this far away maybe it can help other like me to get everything is one place to get solution for their locked SSH LKETC miners as everyone know LKETC is selling miners but they are not giving access to ssh root so i started to find a solution and now i will teach you how to do that.

.......

Why not just change the root password? easier and faster
newbie
Activity: 14
Merit: 0
legendary
Activity: 1098
Merit: 1000
Big thanks to you and cryptoceelo for putting this together.

Finally have API access to the machine Smiley
newbie
Activity: 14
Merit: 0
warhawk thanks and also i will be very glad if you can share those php files to help because i am learning all these things and trying to know how these things works and how i can keep my miners stability.
sr. member
Activity: 327
Merit: 250
This should be stickied for sure. It took me weeks to try and do this. LKETC specifically locked people out of their miners by changing the default password. I have some PHP files that allow you to change the frequency of the boards, although with the 4 blade, they're probably at their limits without extra cooling/stronger PSU.
newbie
Activity: 14
Merit: 0
I am going to write this because i didn't found it anywhere so i thought like i spent a lot time to get this far away maybe it can help other like me to get everything is one place to get solution for their locked SSH LKETC miners as everyone know LKETC is selling miners but they are not giving access to ssh root so i started to find a solution and now i will teach you how to do that.

Before starting remember i am not here to give you support or i am not related to any company i am just a user who was looking for a solution. I am not responsible for any damages.

Special Thanks to cryptoceelo for this thread which helped me a lot.
Code:
https://bitcointalk.org/index.php?topic=640717.0

With this method you can change index file and can get access to SSH because LKETC do not allow us to change index file whenever you will change it index file will get reset to the default text which was before from LKETC and they also not allow you to get into SSH to see what is going on with your miner.

[REQUIREMENTS]
1: OS (English Version) (Download from links below)
2: Win32DiskImager (to write downloaded OS on memory card)
3: Desktop with card reader / Laptop with card reader
4: Screw driver
5: Brain

[TUTORIAL]
Start downloading OS from link below (Remember it is english version but it includes chinese files also depends on your requirments which one you like to run)
Code:
https://mega.co.nz/#!CYthjDBC!Evwxx5QFFgMzsO5xgJ8aKN6xCPf1MnNySmoLRDBzwzM

Download Win32DiskImager
Code:
http://sourceforge.net/projects/win32diskimager/

While it is downloading open all screws from your miner and take our memory card carefully. Put your memory card into card reader or in your built-in card reader of your machine which ever you have and format the memory card.

Extract dragonboot-4BLADE-ENG.img file to your desktop and open Win32DiskImager
Remember while i was doing this when first time i downloaded and installed Win32DiskImager i was unable to run it on my Windows 8.1 (64bit) laptop so if it happens to you then don't worry just follow these steps if you will also get any error after installing Win32DiskImager
Right click on WIn32DiskImager icon after installing it and go to properties and then click on Compatibility tab in compatibility mode check it and select Windows XP (Service Pack 3) from drop down menu and apply the changes now you will be able to run Win32DiskImages.
after opening Win32DiskImager select your extracted img file and select your memory card in device option on write side of Win32DiskImager Click Write and it will start burning that image to your memory card when it is finished just take out your memory card from card reader slot and put it back into your miner from where you got it out from and screw your miner like you opened it before turn it on and plugin your network cable in it.

Now you are ready to access your miner through SSH.

Get back to your laptop which is connected through the same network

Download Putty
Code:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Open putty and type your miner ip
Code:
Default ip for fresh installed miner 192.168.1.134

it will give you options window just select Accept and save and then it will ask your for login
Code:
Username: pi
Password: raspberry

After logging in type this command
Code:
sudo passwd

enter your password twice carefully (if your forgot your password you will have to do the whole process from start)

Now type this command
Code:
su root

it will ask you for password just type the password you just entered in previous command

now you are in root and you have full access to your miner.

When i was doing this cryptoceelo mentioned that if we change the index file text or anything through SSH it will restore that index file as he was also not able to find out how is it coming from so as cryptoceelo mentioned in his thread i tried to do that which is edit default index file name in lighthttpd.conf so now i am also going to tell you that.

after logging in to your miner's SSH root type this command
Code:
nano /etc/lighttpd/lighttpd.conf

Find
Code:
index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )

Change to
Code:
index-file.names            = ( "default.php", "default.html", "index.lighttpd.html" )

to close nano editor press ctrl+x and save the conf file

type this command to reboot your minner
Code:
reboot

after rebooting your miner open your miner on webpage and you will get a 404 error now login back to your SSH root and type these commands
Code:
cd /var/www
mv index.php default.php

refresh your browser and your miner web interface will be working again

now type this command
Code:
nano default.php

now you can change text logo anything on your miner's web interface save it after making changes using ctrl+x and your are good to go Cheesy


I hope this tutorial will help someone but i would like to thanks to all of you for this awsome community.

Note:- if there is anything missing please let me know and All copyrights are reserved by the developers and programmers i am just teaching the method.

Don't forget to view other tutorial to protect your miner webpage access
Code:
https://bitcointalk.org/index.php?topic=650114.0
Jump to: