How to get IP address for S9 mining machine
Publish: 2021-03-23 21:09:26
1. Go directly to ask the miner, they will tell you, or send some tutorials on the Internet. Bitcoin home. I remember that there were all kinds of mining machines before. You can check them out. I hope I can help you.
2. Ping under the router, see you say the address should be: 192.168.1.1
now most of the IP is automatically obtained! First all contrast router address to write down, do not conflict on the line! If you can't, change to automatic access! There should be no problem! Make sure the main line can be connected to the Internet first
now most of the IP is automatically obtained! First all contrast router address to write down, do not conflict on the line! If you can't, change to automatic access! There should be no problem! Make sure the main line can be connected to the Internet first
3. You can try this software: Advanced IP scanner
4. //Getip2. CS
/ /
/ / this program reports the IP address of each network card on the local computer
/ / the command line compilation command is:
/ / CSC getip2. CS / / please be sure to correctly specify the Lib library path in the environment variables of vs 7 and. Net; It can run
/ / vsvars32. Bat
/ /
using system< br />using System.Net; // network stuff
using System.Collections; // Array iterator
/ /
/ / standard c#application class
/ /
class mainapp {
/ / application entry point
public static void main() {
/ / display host name
string host name = DNS. Gethost name()< br /> Console.WriteLine(" hostname = {0}", hostname);
/ / each IP address
IPHostEntry host = DNS. Gethostbyname (host name) is displayed// Host information
array addrs = host.addresslist// IP address array
ienumerator it = addrs. Getenumerator()// Iterator
while (it. Movenext()) {/ / loops to the next IP address
IPAddress IP = (IPAddress) it. Current// Get the IP address
console. Writeline & quot; Address: {0}", ip); // Display IP address
}
}
}
compared with C / C + + code, C # code is much simpler. DNS package the Winsock function and structure. Use dns.gethostname to get the host name and dns.gethostbyname to get an IPHostEntry object Net class hides initialization and termination, hides the awkward host structure, and you don't need to worry about the formatting of IP address when packing address in array. Getip2 only uses 19 lines of C # code, while the corresponding C / C + code has more than 50 lines. In terms of program brevity, C # is obviously better than C # except that when getip2 is run for the first time, the time taken to load. Net is not satisfactory.
/ /
/ / this program reports the IP address of each network card on the local computer
/ / the command line compilation command is:
/ / CSC getip2. CS / / please be sure to correctly specify the Lib library path in the environment variables of vs 7 and. Net; It can run
/ / vsvars32. Bat
/ /
using system< br />using System.Net; // network stuff
using System.Collections; // Array iterator
/ /
/ / standard c#application class
/ /
class mainapp {
/ / application entry point
public static void main() {
/ / display host name
string host name = DNS. Gethost name()< br /> Console.WriteLine(" hostname = {0}", hostname);
/ / each IP address
IPHostEntry host = DNS. Gethostbyname (host name) is displayed// Host information
array addrs = host.addresslist// IP address array
ienumerator it = addrs. Getenumerator()// Iterator
while (it. Movenext()) {/ / loops to the next IP address
IPAddress IP = (IPAddress) it. Current// Get the IP address
console. Writeline & quot; Address: {0}", ip); // Display IP address
}
}
}
compared with C / C + + code, C # code is much simpler. DNS package the Winsock function and structure. Use dns.gethostname to get the host name and dns.gethostbyname to get an IPHostEntry object Net class hides initialization and termination, hides the awkward host structure, and you don't need to worry about the formatting of IP address when packing address in array. Getip2 only uses 19 lines of C # code, while the corresponding C / C + code has more than 50 lines. In terms of program brevity, C # is obviously better than C # except that when getip2 is run for the first time, the time taken to load. Net is not satisfactory.
Hot content