elective-stereophonic
elective-stereophonic
All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: [1] 2 3 ... 6  All

Author Topic: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device  (Read 19762 times)

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile

Hi NXTers,

I'm currently working on to make a Raspberry Pi build which currently include:
1. Latest NXT Client
2. SuperNet Lite Client
3. Ready to use CJDNS setup
4. With Autoupdate all clients.

To my tests it works without any issues on Raspberry Pi 2 including all these services in a build.

In addition to these the build also include Slothbag's NXT Hyperboria DNS resolver app, but in next builds I will move to DNSChain, as it's more advanced and has more improved features to make use of NXT Aliases as Decentralized DNS.

DNSChains support .nxt domains so far, thanks to @toenu for his contributions to DNSChain code to include NXT blockchain as an option as Decentralized DNS.

I explored the possiblity of adding .hype domains in addition to .nxt to DNSChain code, and got the logic in place. So, I'll be also working on adding .hype dns support to DNSChain with following tasks:
a. Resolve both .nxt and .hype DNS using DNSChain
b. Add conditions in coding to resolve DNS with both Namecoin format (JSON) and plain IPv4 or IPv6 format.
c. DNSChain does not support IPv6 format as of yet. I'm kind of moderate level of JavaScript coder. Will try to understand the existing DNSChain code, and see if I can comprehend and add IPv6 support to it, even if I can do it with DNSChain and NXT developer support.

My current Raspberry Pi setup is:
1. Raspberry Pi 2
2. Latest Raspbian build
3. Edimax Wifi adaptor
4. SanDisk 8GB MicroSD

What else can it be used for or what other features can be included:
1. NXT FreeMarket
2. Ability to turn Raspberry Pi as WiFi hotspot or just a router on network to visit MeshNet websites or services from network devices without much tech configuration.
3. May be 'InstantDEX' included. (Haven't explored InstantDEX test release yet) If it is light enough, and can be bundled with the build.
4. TOR Enabled.
4.1 Also making it work as VPN/TOR enabled router.

More Advanced features of the build can be:
1. Providing a Web based Admin/Control center to give end user easy to manage the NXT Raspbian Build where they can
1.1 Update, Enable/Disable particular service (NXT, SuperNet, InstantDEX, FreeMarket, CJDNS, DNSCHain etc.)
1.2 Configure Email notification setup for things like, Email me when certain asset reaches that price etc.
1.3 Add/Remove Service specific plugins. Example: NXTClient specific plugins or SuperNet specific Plugins.
2. Enable/Disable TOR network routing.

Advanced features of the build are pretty ambitious, as it needs a lot of coding and system administration tasks to make it ready for newbie or non-tech. Also might (or might not) require some good hardware than current Raspberry Pi or other alternatives. I think a solid one for now would be ODroid XU3

But, for the start Raspberry Pi 2 build will do fine.

So, my questions to community are:
1. What are your views on this kind of Operating System build development?
2. What else can be added/removed to/from it's features? Recommendations?? Suggestions??
3. It's going to be a free build, so anyone can download it and test it, harden it's default or pre-defined security. So, How can I make the build a trusted build? So, new NXTers can without worries use.
4. Is it even worth putting that much of effort making a NXT build? Will people have any interest for such build?

Build info and links here: https://nxtforum.org/general/can-raspberry-pi-run-as-a-node/40/

Cheers,
Satinder

EDIT 1: Added TOR Feature to Other features list, and More advanced features list.
EDIT 2: Added list of my efforts to put in DNSChain improvements.
« Last Edit: June 19, 2015, 04:26:19 am by grewalsatinder »
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

Tosch110

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +211/-18
  • Offline Offline
  • Posts: 2366
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #1 on: June 19, 2015, 03:39:52 am »

Awesome! Yes, I want that :)

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #2 on: June 19, 2015, 03:46:37 am »

Just added if it would be possible to add TOR feature to the build. Will check how to make my Raspbian setup to work as TOR/VPN router, and will add this feature to the build if succeed.

Awesome! Yes, I want that :)

Do you have any recommendations on build's trust?
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

crumb-bum

  • Sr. Member
  • ****
  • Karma: +24/-6
  • Offline Offline
  • Posts: 294
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #3 on: June 19, 2015, 04:10:49 am »

It sounds friggin awesome!

But what the heck is it? :)

Specifically, what is a "build"? Does this mean you plan to sell raspberry pies set up to do these things without the owner needing special knowledge?

Thanks
Logged

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #4 on: June 19, 2015, 04:22:26 am »

It sounds friggin awesome!

But what the heck is it? :)

Specifically, what is a "build"? Does this mean you plan to sell raspberry pies set up to do these things without the owner needing special knowledge?

Thanks

You almost got it correctly.

Well, to put it simple, it's like making a 1, 2, 3 and ready to use; plug-n-play; kind of solution for new NXT users.

Here, with 'build' I mean to provide a Linux OS image for Raspberry Pi, which you load on MicroSD card, plug it to your Raspberry Pi, turn it on, and it's ready to do all the mentioned features without doing much of configuration.

I haven't thought out about selling a device as of yet, as my first focus is to make it all ready and working on my Raspberry Pi build. A feature rich operating system support NXT technologies can be provided later with options like:
1. Download the OS image for Raspberry Pi with all these features for free, and buy your own hardware to make it ready.
2. Or I make the whole package as a shiny device and sell it.
3. Or may be collaborate with someone else who can make a better shinny hardware, put this OS on it, and sell it as a full featured advanced device etc.

This can be turned as a good product, but it needs well worth of time spent to make it enough feature rich so people want to have it.

Cheers,
Satinder
« Last Edit: June 19, 2015, 04:24:30 am by grewalsatinder »
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

Fern

  • Jr. Member
  • **
  • Karma: +15/-3
  • Offline Offline
  • Posts: 86
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #5 on: June 19, 2015, 07:51:38 am »

Nice work Satinder, if it can do what you say it can do, I'd be keen for sure. To have something as cost effective as that running would be great. With the current pace of changes happening with NXT, I think people are wary about it being future proof.

Perhaps some sort of incentive to own one may help. Something involving an asset or currency solely for these NXT Pi's could work. What about some type of bonus bond scheme where NXT Pi's owners pool their NXT and each week random prizes are given out. Instead of everyone getting measly forging amounts, it's pooled and a few larger amounts are given out.
Logged

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #6 on: June 19, 2015, 09:33:05 am »

Nice work Satinder, if it can do what you say it can do, I'd be keen for sure. To have something as cost effective as that running would be great. With the current pace of changes happening with NXT, I think people are wary about it being future proof.

Thanks Fern,

The current build can do all except the 'other features' and 'more features' thing. You can follow the build info link in first post and download the image and give it a try. Hope you'll like the existing functionality.

Perhaps some sort of incentive to own one may help. Something involving an asset or currency solely for these NXT Pi's could work. What about some type of bonus bond scheme where NXT Pi's owners pool their NXT and each week random prizes are given out. Instead of everyone getting measly forging amounts, it's pooled and a few larger amounts are given out.

I don't actually get this point completely. I do understand there can be asset associated to Raspberry Pi, but afterwards how those Raspberry Pi owners will be rewarded I don't get that point.

Cheers,
Satinder
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

nxtperceval

  • Full Member
  • ***
  • Karma: +12/-17
  • Offline Offline
  • Posts: 200
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #7 on: June 19, 2015, 09:39:28 am »

good, freemarket  to buy/sell totally anonymous

http://www.nxtfreemarket.com/
Logged

slothbag

  • Sr. Member
  • ****
  • Karma: +74/-4
  • Offline Offline
  • Posts: 454
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #8 on: June 19, 2015, 09:56:39 am »

Nice work grewalsatinder!

That would be great if you can get ipv6 support into DNSchains, then I will stop running my NxtHypeDns and switch over to DNSChains completely.. then I can resolve all the major Decentralized DNS systems from the one app :)  You should probably chat with the DNSChain guys (if they are even still around) to see what they think is required for IPv6 support, maybe they have already done some ground work.

In terms of interest for the device, I wouldn't be quitting your day job for the project :)  Unfortunately the bear market is really hurting enthusiasm for crypto products in general right now.  But it sounds like a fun project nonetheless.
Logged

MrCluster87

  • Hero Member
  • *****
  • Karma: +81/-3
  • Offline Offline
  • Posts: 855
    • View Profile
    • youtube
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #9 on: June 19, 2015, 09:57:25 am »

About the OS have you considered Ubuntu Snappy Core? It would be Epic!!

https://www.raspberrypi.org/downloads/snappy/

Ubuntu convergence: https://www.youtube.com/watch?v=gs-x9JUc0Cg

server, desktop, tablet, phones, tv... maybe cars and homes as well??

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #10 on: June 19, 2015, 10:12:40 am »

Nice work grewalsatinder!

That would be great if you can get ipv6 support into DNSchains, then I will stop running my NxtHypeDns and switch over to DNSChains completely.. then I can resolve all the major Decentralized DNS systems from the one app :)  You should probably chat with the DNSChain guys (if they are even still around) to see what they think is required for IPv6 support, maybe they have already done some ground work.

Nice to hear from your Slothbag. I'll give a try to first get the first 2 tasks done adding .hype domains feature to resolve side by side with .nxt in DNSChain. But, I not so really confident about adding the IPv6 feature on my own to DNSChain. It sounds to me a long shot until I port .hype for IPv4 to DNSChain. But, I'll surely give it a try, and chase DNSChain guys for help if needed. But, I can no promise on IPv6 feature.

In terms of interest for the device, I wouldn't be quitting your day job for the project :)  Unfortunately the bear market is really hurting enthusiasm for crypto products in general right now.  But it sounds like a fun project nonetheless.

Yea, bear market for NXT is really hurting Development of NXT services. For me I just started it for fun, and as it's going well in my tests on Raspberry Pi 2, I'm thinking to taking it further. It'll surely be a lot fun making this stuff work, and even sharing it with others.

I'll learn some new programming languages along the way completing this project. I know the logic and understand what needs to be done, it just need some effort, dedication and a little bit of appreciation and some demand from NXT community to try it, test it, break it, and improve it more.


About the OS have you considered Ubuntu Snappy Core? It would be Epic!!

https://www.raspberrypi.org/downloads/snappy/

Ubuntu convergence: https://www.youtube.com/watch?v=gs-x9JUc0Cg

server, desktop, tablet, phones, tv... maybe cars and homes as well??

Dear MrCluster87,

It's really good to hear from you mate.

Thanks to your NXT Video tutorials. You my dear gave me a start with NXT at first. I could never knew about NXT well if you hadn't made those videos.

Yes, Ubuntu Snappy core is amazing. I'll give it a go but not for Raspberry Pi 2.

Ubuntu Snappy I think would be best for more advanced and heavy duty device. I think it would be best when I switch to Odroid XU3, I make a build for it on Ubuntu Snappy. As moving from Raspbeian to Ubuntu Snappy wouldn't be of much effort, it would also be possible to provide a user an option to choose a download of either Raspbian or Ubuntu Snappy.

For you my friend, I'll surely create a special build in Ubuntu Snappy sometime in next builds.

Cheers,
Satinder
« Last Edit: June 19, 2015, 10:16:34 am by grewalsatinder »
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

Breasal

  • Full Member
  • ***
  • Karma: +8/-1
  • Offline Offline
  • Posts: 131
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #11 on: June 19, 2015, 10:14:28 am »

This is a great idea. Simplify. I will definitely use this. Thanks grewalsatinder!
Logged

MrCluster87

  • Hero Member
  • *****
  • Karma: +81/-3
  • Offline Offline
  • Posts: 855
    • View Profile
    • youtube
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #12 on: June 19, 2015, 10:15:34 am »

Thanks grewalsatinder!

You made my day!!  ;D

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2504
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #13 on: June 19, 2015, 11:35:57 am »

Very Nice!  8)

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #14 on: June 19, 2015, 01:46:10 pm »

So, I got NXT FreeMarket loaded on Raspberry Pi build. Here's what works and what doesn't:
Works:
- AutoUpdate FreeMarket: The script is included, which look for latest release of FreeMarket, downloads it, and install it.
- NXT FreeMarket is only accessible from Raspberry Pi Desktop.

Glitches and doesn't work:
- NXT FreeMarket is not accessible over network. That's due to restrictive coding of NXT which only allows it to run on local system.
- As NXT FreeMarket also uses Java, it put little more load on System RAM. Means, if left NXT FreeMarket running on system it will make system heavy.

Solutions for now:
- Either just turn it off, or look for a FreeMarket code update/fix to make it accessible over network as well.
- Remove it from NXT Raspberry Pi build, and provide settings for it, so users can use FreeMarket on their local system, but using NXT server from Raspberry Pi.
- Only implement NXT FreeMarket when the time comes to switch to Odroid XU3.

Let me know how would you like to have it done?

Cheers,
Satinder
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

crumb-bum

  • Sr. Member
  • ****
  • Karma: +24/-6
  • Offline Offline
  • Posts: 294
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #15 on: June 19, 2015, 01:55:37 pm »

This looks very cool, grewalsatinder! I think I'm going to buy a raspberry pi to try it out.
Logged

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #16 on: June 19, 2015, 01:57:40 pm »

And I just enabled TOR feature on this raw test build... :P  8)
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #17 on: June 19, 2015, 03:50:36 pm »

Will also include Jay NRS Wallet to build. It's very very light makes a super strong unmatchable pair with Jay powered NXTVault.
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #18 on: June 20, 2015, 02:43:34 am »

Progress Update:
1. NXT Client now by default run over TOR network using TOR Socks Proxy.

2. NXT FreeMarket also run side by side with NXT with optimised Java settings. Means, it will use less memory, and still keep it running.  8)
3. NXT FreeMarket also runs by default over TOR Network using TOR Socks Proxy.


NXT FreeMarket is accessible from: http://YourRaspPiIP:7876/freemarket/

FreeMarket is still limited to work on Raspberry Pi Desktop only, but I'll try to make a workaround if I don't get a proper solution.

Cheers,
Satinder
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal

grewalsatinder

  • Hero Member
  • *****
  • Karma: +89/-3
  • Offline Offline
  • Posts: 527
    • View Profile
Re: All in one NXT-SuperNet-FreeMarket-MeshNet Raspberry Pi Device
« Reply #19 on: June 20, 2015, 03:21:13 am »

I just got another idea. Will make it even more simplified. Like:

Just access your Raspberry Pi IP via browser, example: http://192.168.0.1/
And there you'll find all the available application links which are installed on your Raspberry Pi.
1. Full NXT Client
2. SuperNet Lite Client
3. NXT FreeMarket
4. NXT Jay NRS Client (Now included!!)
5. InstantDEX (not included yet)


The same home page will also show you your Raspberry Pi's info like:
1. IPv4 network IP
2. IPv6 IP assigned to Raspberry Pi through CJDNS to connect to MeshNET.

Later version of this home page can go more advance as I move to Odroid XU3 device.

Cheers,
Satinder
Logged
NXT-QK5L-7YM9-YPVF-55GL5 - Twitter: https://twitter.com/satindergrewal
Pages: [1] 2 3 ... 6  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly