Bitcoin Forum
May 05, 2024, 07:43:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: LK BTC Miner SubNet Mask Mistake 255.255.255.255  (Read 929 times)
rick450 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 05, 2014, 06:10:43 PM
 #1

Hello, can anyone help... I goofed-up and reset an IP on a LKetc 1th machine from 192.168.1.x (255.255.255.0) to 192.168.0.23 (255.255.255.255) and I now realize that the subnet mask of 255.255.255.255 should have been left as is.

I cannot communicate with the machine now.

How can I reset the subnet mask?

Thanks if anyone could advise,
Rick450
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714895038
Hero Member
*
Offline Offline

Posts: 1714895038

View Profile Personal Message (Offline)

Ignore
1714895038
Reply with quote  #2

1714895038
Report to moderator
1714895038
Hero Member
*
Offline Offline

Posts: 1714895038

View Profile Personal Message (Offline)

Ignore
1714895038
Reply with quote  #2

1714895038
Report to moderator
1714895038
Hero Member
*
Offline Offline

Posts: 1714895038

View Profile Personal Message (Offline)

Ignore
1714895038
Reply with quote  #2

1714895038
Report to moderator
xjack
Hero Member
*****
Offline Offline

Activity: 539
Merit: 500



View Profile
April 08, 2014, 11:52:28 AM
 #2

Hello, can anyone help... I goofed-up and reset an IP on a LKetc 1th machine from 192.168.1.x (255.255.255.0) to 192.168.0.23 (255.255.255.255) and I now realize that the subnet mask of 255.255.255.255 should have been left as is.

I cannot communicate with the machine now.

How can I reset the subnet mask?

Thanks if anyone could advise,
Rick450

Best way would be to rewrite the image to the sdcard.  You've specified a broadcast address for the subnet mask.  That address is basically out of bounds for other nics to talk to it.

xjack - 1xjackDMgJCLn1LDtbgh51DYw6uRgeHVb
Reputation thread - https://bitcointalk.org/index.php?topic=482124.0
rick450 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 09, 2014, 04:01:59 AM
 #3

Hello - Yes, thanks... I actually had to use a slightly better way to correct the mis-configuration. The vendor stated that there was no link to their machine's image file.

I connected the composite video output of the Raspberry Pi to my monitor, and also connected a RPi-compatible USB keyboard (GearHead KB1700U) to the USB on the RPi. I had to learn a little Linux to get to a subdirectory for editing the file named interfaces. Commands like ls (list contents), cd .. (like DOS move up a directory), cd <dir name> (like DOS change to directory), etc. The file is usually located in a directory at a similar location like these examples:

/etc/media/network/interfaces
/etc/network/interfaces

Using the built-in editor nano, this command opened the file with the editor:
sudo nano interfaces

If passwords are required at any time, User is: pi and password is: raspberry

The interfaces text file was edited for my configuration to this:
iface eth0 inet static
address 192.168.0.23
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.1

Systems may vary so these lines could be different, and it is probably safer to only change~add~delete what is necessary.

To save the edited file:
<control> x

Then confirm the save y/n with:
y

I was advised that there can be another file named resolv.conf located:
/etc/resolv.conf

And that can be edited to the Google public DNS server IP like this:
nameserver 8.8.8.8
name server 8.8.4.4

But, I did not look for that file.

I was told that the RPi IP settings can be set temporarily with a command like:
ifconfig eth0 192.168.0.23 netmask 255.255.255.0

Which would then allow access from a browser on the network to change the IP through the standard interface software. This would have to be done before the system is restarted as the temporary settings would not be retained and used. I did not try this though.

Rick450
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!