Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: andrew1carlssin on May 22, 2018, 11:49:02 AM



Title: Installing LN on Tails
Post by: andrew1carlssin on May 22, 2018, 11:49:02 AM
hello forum

I just reserved a spare time on this week to try out LN ... I intend to install LN on Linux Tails build 3.7
  • signed by key 58ACD84F ...

My experience as a user while compiling source code on Tails is kind too trick for me, so I was thinking about get some sort of up to run binary ..

my question is ... is there a nice turn key tutorial to install it on tails ?

best regards,

AC


Title: Re: Installing LN on Tails
Post by: cellard on May 22, 2018, 05:14:12 PM
https://github.com/lightningnetwork/lnd/releases

Download the appropriate files for your computer in there. amd64 for amd, 386 for intel, arm for raspberry pi...

What sort of problem are you having specifically? post the terminal log.

Tails comes with very basic stuff so you might need to download additional libraries. I managed to compile Electrum once and I needed to download other stuff. Also remember that you need to do this on each boot unless you enable persistent mode.


Title: Re: Installing LN on Tails
Post by: butka on May 22, 2018, 08:38:20 PM
My experience as a user while compiling source code on Tails is kind too trick for me, so I was thinking about get some sort of up to run binary ..
Maybe someone will correct me, but my experience with Tails is that you cannot really compile source code on it. Because of this:

Quote
Since Tails is amnesic, any additional software package needs to be reinstalled in each working session.

Source: https://tails.boum.org/doc/advanced_topics/additional_software/index.en.html

So if you install LN on tails from source code, you would have to reinstall it the next time you reboot the system.


Title: Re: Installing LN on Tails
Post by: cellard on May 23, 2018, 03:22:52 PM
My experience as a user while compiling source code on Tails is kind too trick for me, so I was thinking about get some sort of up to run binary ..
Maybe someone will correct me, but my experience with Tails is that you cannot really compile source code on it. Because of this:

Quote
Since Tails is amnesic, any additional software package needs to be reinstalled in each working session.

Source: https://tails.boum.org/doc/advanced_topics/additional_software/index.en.html

So if you install LN on tails from source code, you would have to reinstall it the next time you reboot the system.

Indeed. The point of Tails is to not use it as a regular OS, but as something you would use to guarantee your system is not compromised, so ideally you want it in a DVD and not in anything that could be writeable.

BUT you can also allocate space in which you can persistently install stuff and will be there on every boot, see anything related with "persistent" in the wiki:

https://tails.boum.org/doc/first_steps/persistence/configure/index.en.html

I have never used this, but shall you use it, I would encrypt:

https://tails.boum.org/doc/first_steps/persistence/index.en.html

Of course be sure to remember the password. I tested Veracrypt in some HDDs and I forgot the password, now they are useless HDDs since I can't access the data.


Title: Re: Installing LN on Tails
Post by: cryptomaxsun on May 24, 2018, 06:36:46 PM
Why do you want to use Lightning Network on the tails?

And yet, is there a reward if you keep the node with lightning?


Title: Re: Installing LN on Tails
Post by: Rath_ on May 24, 2018, 06:40:33 PM
And yet, is there a reward if you keep the node with lightning?

Yes, you can be rewarded for running a lightning network node. However, don't expect to earn a lot of money. When someone tries to send a lightning network payment indirectly, the shortest possible route needs to be found. Nodes which route the payment will receive a small reward (usually around 1 satoshi). You would have to open a lot of channels with some other big nodes to have a chance to be chosen. That's why some people think that it's unprofitable to run a LN node. Then what's the point of running a Bitcoin node if you don't get paid for that? To support the network.

Why do you want to use Lightning Network on the tails?

Probably, due to security. Tails uses only Tor network for the Internet access, doesn't it?


Title: Re: Installing LN on Tails
Post by: BitcoinSupremo on May 24, 2018, 07:07:25 PM
And yet, is there a reward if you keep the node with lightning?

Yes, you can be rewarded for running a lightning network node. However, don't expect to earn a lot of money. When someone tries to send a lightning network payment indirectly, the shortest possible route needs to be found. Nodes which route the payment will receive a small reward (usually around 1 satoshi). You would have to open a lot of channels with some other big nodes to have a chance to be chosen. That's why some people think that it's unprofitable to run a LN node. Then what's the point of running a Bitcoin node if you don't get paid for that? To support the network.

Why do you want to use Lightning Network on the tails?

Probably, due to security. Tails uses only Tor network for the Internet access, doesn't it?


Yes it does. TOR only uses software which will keep you safe from any intruders trying to find out who you are. It comes with Electrum preinstalled in order to help bitcoin users. Also it is the best operating system for privacy and security. However I would suggest to OP since he wants to run a LN node on Tails for security reasons, he can do so in Kali Linux which you can install and it offers the same security if not even a better one.


Title: Re: Installing LN on Tails
Post by: andrew1carlssin on May 25, 2018, 03:10:14 AM
https://github.com/lightningnetwork/lnd/releases

Download the appropriate files for your computer in there. amd64 for amd, 386 for intel, arm for raspberry pi...
What sort of problem are you having specifically? post the terminal log.
Also remember that you need to do this on each boot unless you enable persistent mode.

Yes I was thinking about it since one of the main Tails policy is to empty the memory ...
some how I am thinking about "nonce" (number used once)


Title: Re: Installing LN on Tails
Post by: Kakmakr on May 25, 2018, 06:39:21 AM
The problem is that you will have to enable a Persistent volume to install the software. If it reboots without a Persistent volume, your channel will be lost. The whole idea with Tails is to run a clean OS with every reboot and to avoid long-term exposure to Malware and viruses. <Every reboot is a clean boot>

The LN needs to run 24/7 to retain the channel that was established. A clean boot without a Persistent volume, will wipe out the configured Channel information.  ;D


Title: Re: Installing LN on Tails
Post by: andrew1carlssin on June 03, 2018, 01:02:08 PM
Dear Diary,
today while reading an article about Tail-tolerant computing (on-demand, broad network access, resource pooling, elasticity, measured services defined by ISO/NIST)
it came to my mind my quest to installing LN on Tails, I knew I would have few hiccups, I did not expect have it at kernel level on this particular machine, so here we go..

Machine: Lenovo 20157, Bios 6DCN96ww(V.8.09)
cpu0.pid1
dump_stack +0x5c/0x85
panic +0xe4/0x252

  ...


I cant post a screenshot either I couldn't use copy and past since I was at *ash shell

so here is my best click .. (yes my camera is bad, and I am a bad photographer too ...)

https://i.imgur.com/BYn8I1P.jpg