Skip to content

Commit

Permalink
Merge pull request #26 from ShorelineCrypto/linuxwallet
Browse files Browse the repository at this point in the history
add conf to Chromebook
  • Loading branch information
ShorelineCrypto authored Nov 10, 2020
2 parents ab42647 + 73f150c commit a8703e9
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 24 deletions.
36 changes: 23 additions & 13 deletions doc/Chromebook/arm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This folder describe how to run a full node of NewEnglandcoin (NENG) and to CPU mine NENG in arm based Chromebook as Linux App. Chrome OS on arm64 or armhf platform was tested. Any Chrome OS version v69 or later on 64 bits arm64 or 32 bits armhf with linux either in linux beta (Crostini) or Android UserLand app should all work.

Chrome OS v83 Linux (Beta) runs Debian 10 (Buster) in embedded linux in a container with close to full feature of linux for both CLI and GUI.
Chrome OS v85 Linux (Beta) runs Debian 10 (Buster) in embedded linux in a container with close to full feature of linux for both CLI and GUI.
Older version of Chrome OS run Debian 9 (Stretch). The below script and method was also tested on Debian 9 successfully and should all just work on Debian 9.


Expand All @@ -17,6 +17,8 @@ For Android UserLand app setup on Debian/Ubuntu, please download and checkout An
## Turn on Linux Beta (Crostini)
Go to Chrome OS setting, turn on Linux (Beta). If your chromebook does not have this option, it is not supported here for NENG CPU mining. However, your arm CPU based chromebook may still work on Android UserLand app method as alternative.

For disk size in Linux Beta, we recommend to add 3G on top of recommended 5G by Google. So pick custom disk 8G as minimum selection.

## Start linux Terminal

You can pin linux "Terminal" at menu bar. Download this tgz file to chromebook, drag the file from "Downloads" to "Linux files" folder in chromebook.
Expand Down Expand Up @@ -63,6 +65,26 @@ You can setup arm64/armhf penguin container using Ubuntu 18.04 to replace Debian
For NENG cpu mining purpose, either CLI wallet or GUI QT wallet was tested working in Chromebook. You can run either of the software
to run a full node and for the purpose of CPU mining.

## run GUI QT wallet in Chromebook

```
hlu@penguin:~$ cd newenglandcoin_v1.4.0.5_ubuntu16_armhf
hlu@penguin:~/newenglandcoin_v1.4.0.5_ubuntu16_armhf$ ./newenglandcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.

## Copy the conf file and restart wallet
QT wallet in penguin container may show no connections. Copy the conf file with below command:

```
hlu@penguin:~$ cp newenglandcoin.conf ~/.newenglandcoin/
```

Then restart the QT GUI wallet, NENG should start to sync. Note fully synced wallet to latest block is required in order to CPU mine NENG with Cheetah_Cpuminer



## FAQ - Linux Terminal Basic Keyboard

Typing command line in linux terminal inside Chromebook is reasonably easy if you are familiar with linux command line on server or desktop.
Expand Down Expand Up @@ -109,15 +131,3 @@ When you re-login into Chromebook, you can re-attach the screen session with a c

You can let it run overnight until you pick up the Chromebook tomorrow for daily use.



## run GUI QT wallet in Chromebook

```
hlu@penguin:~$ cd newenglandcoin_v1.4.0.5_ubuntu16_armhf
hlu@penguin:~/newenglandcoin_v1.4.0.5_ubuntu16_armhf$ ./newenglandcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.


40 changes: 40 additions & 0 deletions doc/Chromebook/arm/newenglandcoin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
rpcuser=yourrpcuser
rpcpassword=yourrpcpassword
rpcport=6376
rpcallowip=127.0.0.1
server=1
daemon=0
upnp=1
addnode=184.61.105.4:6377
addnode=91.206.16.214:6377
addnode=68.151.225.158:6377
addnode=85.15.179.171:6377
addnode=95.111.248.174:6377
addnode=27.33.164.60:6377
addnode=68.151.212.47:62521
addnode=46.119.130.85:5275
addnode=115.220.211.235:62078
addnode=121.6.118.112:52063
addnode=121.6.118.112:52146
addnode=121.6.118.112:52171
addnode=178.60.38.6:63237
addnode=50.99.236.70:51423
addnode=74.113.36.2:51726
addnode=180.151.16.112:58773
addnode=95.27.86.242:57875
addnode=74.113.32.109:49871
addnode=74.113.33.65:57777
addnode=115.220.211.235:55748
addnode=95.111.228.34:55238
addnode=144.91.119.64:46256
addnode=89.185.100.225:63804
addnode=85.202.231.41:6377
addnode=95.47.170.105:7105
addnode=99.16.142.38:39533
addnode=50.245.85.73:39240
addnode=83.81.65.148:58503
addnode=136.24.44.100:40071
addnode=68.151.225.158:55941
addnode=164.163.1.254:57962
addnode=99.16.142.38:6653
addnode=68.151.225.158:58281
32 changes: 21 additions & 11 deletions doc/Chromebook/x64/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chrome OS on x86_64

This folder describe how to run a full node of NewEnglandcoin (NENG) and to CPU mine NENG in Chromebook as Linux App. Chrome OS v83 on x64 platform was tested.
This folder describe how to run a full node of NewEnglandcoin (NENG) and to CPU mine NENG in Chromebook as Linux App. Chrome OS v85 on x64 platform was tested.
Any Chrome OS version v69 or later on x64 CPU should all work.

Chrome OS v83 Linux (Beta) runs Debian 10 (Buster) in embedded linux in a container with close to full feature of linux for both CLI and GUI.
Expand All @@ -16,6 +16,7 @@ https://github.com/ShorelineCrypto/cheetah_cpuminer
## Turn on Linux Beta (Crostini)
Go to Chrome OS setting, turn on Linux (Beta). If your chromebook does not have this option, it is not supported here for NENG CPU mining.

For disk size in Linux Beta, we recommend to add 3G on top of recommended 5G by Google. So pick custom disk 8G as minimum selection.

## Start linux Terminal

Expand All @@ -41,6 +42,25 @@ Ubuntu has better hardware and gaming support on x64 platform in linux. You can
For NENG cpu mining purpose, either CLI wallet or GUI QT wallet was tested working in Chromebook. You can run either of the software
to run a full node and for the purpose of CPU mining.

## run GUI QT wallet in Chromebook

```
hlu@penguin:~$ cd newenglandcoin_v1.4.1.1_ubuntu16.04
hlu@penguin:~/newenglandcoin_v1.4.1.1_ubuntu16.04$ ./newenglandcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.

## Copy the conf file and restart wallet
QT wallet in penguin container may show no connections. Copy the conf file with below command:

```
hlu@penguin:~$ cp newenglandcoin.conf ~/.newenglandcoin/
```

Then restart the QT GUI wallet, NENG should start to sync. Note fully synced to latest block is required in order to CPU mining NENG with Cheetah_Cpuminer


## FAQ - Linux Terminal Basic Keyboard

Typing command line in linux terminal inside Chromebook is reasonably easy if you are familiar with linux command line on server or desktop.
Expand Down Expand Up @@ -89,13 +109,3 @@ You can let it run overnight until you pick up the Chromebook tomorrow for daily



## run GUI QT wallet in Chromebook

```
hlu@penguin:~$ cd newenglandcoin_v1.4.1.1_ubuntu16.04
hlu@penguin:~/newenglandcoin_v1.4.1.1_ubuntu16.04$ ./newenglandcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.


40 changes: 40 additions & 0 deletions doc/Chromebook/x64/newenglandcoin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
rpcuser=yourrpcuser
rpcpassword=yourrpcpassword
rpcport=6376
rpcallowip=127.0.0.1
server=1
daemon=0
upnp=1
addnode=184.61.105.4:6377
addnode=91.206.16.214:6377
addnode=68.151.225.158:6377
addnode=85.15.179.171:6377
addnode=95.111.248.174:6377
addnode=27.33.164.60:6377
addnode=68.151.212.47:62521
addnode=46.119.130.85:5275
addnode=115.220.211.235:62078
addnode=121.6.118.112:52063
addnode=121.6.118.112:52146
addnode=121.6.118.112:52171
addnode=178.60.38.6:63237
addnode=50.99.236.70:51423
addnode=74.113.36.2:51726
addnode=180.151.16.112:58773
addnode=95.27.86.242:57875
addnode=74.113.32.109:49871
addnode=74.113.33.65:57777
addnode=115.220.211.235:55748
addnode=95.111.228.34:55238
addnode=144.91.119.64:46256
addnode=89.185.100.225:63804
addnode=85.202.231.41:6377
addnode=95.47.170.105:7105
addnode=99.16.142.38:39533
addnode=50.245.85.73:39240
addnode=83.81.65.148:58503
addnode=136.24.44.100:40071
addnode=68.151.225.158:55941
addnode=164.163.1.254:57962
addnode=99.16.142.38:6653
addnode=68.151.225.158:58281

0 comments on commit a8703e9

Please sign in to comment.