Bitcoin Forum
May 07, 2024, 07:50:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using a Windows FTP client to connect to an Antminer  (Read 250 times)
edwardBe (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 13, 2018, 02:14:58 AM
 #1

I'm posting this in the Bitcoin hardware forum since it seems to apply to nearly all recently released antminers. I have tried a few times to connect to an Antminer with cute ftp in order to edit out the antbleed lines in the hosts file, but cute ftp hangs without connecting.

I was able to use PuTTY to connect and was able to cd to the etc folder, but the command "sudo nano /etc/hosts returns "sudo not found" so I guess the version of linux the antminers run doesn't include the program sudo.

Is there anyone who knows more than the scraps of linux that I know who is willing to help?

Thanks,

edwardBe
1715068255
Hero Member
*
Offline Offline

Posts: 1715068255

View Profile Personal Message (Offline)

Ignore
1715068255
Reply with quote  #2

1715068255
Report to moderator
1715068255
Hero Member
*
Offline Offline

Posts: 1715068255

View Profile Personal Message (Offline)

Ignore
1715068255
Reply with quote  #2

1715068255
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715068255
Hero Member
*
Offline Offline

Posts: 1715068255

View Profile Personal Message (Offline)

Ignore
1715068255
Reply with quote  #2

1715068255
Report to moderator
psycodad
Legendary
*
Offline Offline

Activity: 1604
Merit: 1564


精神分析的爸


View Profile
March 13, 2018, 09:22:33 AM
Merited by OgNasty (1)
 #2

There is no ftp service listening on the Antminers (at least not on my L3+).
You can use putty to login as root and add whatever you want to /etc/hosts.
Take note that there is also no nano installed, so your command won't work, even if you had sudo installed.

Also I believe that upgrading the firmware should get rid of that "Feature". Elsewise if you don't want to upgrade firmware or just want to make sure in case, you can add the line with the following command to your hosts-file when logged in as root via putty:

Code:
echo "127.0.0.1 auth.minerlink.com" >> /etc/hosts

HTH

SGMPhil
Member
**
Offline Offline

Activity: 111
Merit: 14

01010011 01000111 01001101


View Profile
March 13, 2018, 10:54:08 AM
 #3

Use WinSCP - when connecting to the miner, use the SCP protocol. It works fine and has a built-in editor.

https://winscp.net/eng/download.php

The Sergeant Major

3KHzidSnPjzrzM4HPetpWaFR4J8FVUdbmj
edwardBe (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 13, 2018, 11:13:10 AM
 #4

Quote from: psycodad
Also I believe that upgrading the firmware should get rid of that "Feature". Elsewise if you don't want to upgrade firmware or just want to make sure in case, you can add the line with the following command to your hosts-file when logged in as root via putty:
Code:
echo "127.0.0.1 auth.minerlink.com" >> /etc/hosts
Quote from: SGMPhil
Use WinSCP - when connecting to the miner, use the SCP protocol. It works fine and has a built-in editor.

https://winscp.net/eng/download.php (https://winscp.net/eng/download.php)

Thanks to you both! Both solutions worked. I was able to use WinSCP to verify the changes.
SGMPhil
Member
**
Offline Offline

Activity: 111
Merit: 14

01010011 01000111 01001101


View Profile
March 13, 2018, 11:32:33 AM
 #5

Glad to be of help Smiley

The Sergeant Major

3KHzidSnPjzrzM4HPetpWaFR4J8FVUdbmj
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!