Coder Social home page Coder Social logo

Comments (8)

johnny-cash avatar johnny-cash commented on June 6, 2024 1

The issue with "After=network.target" is solved change in raspi-config the boot options to wait for network at boot.

"After=network.target" + "Wait for network at boot" in raspi-config -> work 100%

from raspibolt.

robclark56 avatar robclark56 commented on June 6, 2024 1

Good news. Thanks team.

Making these 2 changes fixed the problem

  • Updating getpublicip.service with "After=network.target"

  • "Wait for network at boot" in raspi-config

BONUS
It also solved a related issue with lnd not starting with an externalip
BEFORE
systemctl status lnd
/usr/local/bin/lnd --externalip=

AFTER
systemctl status lnd
/usr/local/bin/lnd --externalip=AAA.BBB.CCC.DDD <--- my external IP

:-)

from raspibolt.

robclark56 avatar robclark56 commented on June 6, 2024

PS ... Absolutely GREAT guide by the way!

Thanks

from raspibolt.

Stadicus avatar Stadicus commented on June 6, 2024

What's your output of sudo netstat -nap|grep bitcoin|grep LISTEN?

from raspibolt.

johnny-cash avatar johnny-cash commented on June 6, 2024

In service getpublicip

Change

After=network.target

from raspibolt.

Stadicus avatar Stadicus commented on June 6, 2024

I changed this setting as there is a known issue with the "After=network.target" that would result in exactly this. If you run sudo netstat -nap|grep bitcoin|grep LISTEN, you should see tcp bound to both ports :8332 and :8333 (either on ip 127.0.0.1 or 0.0.0.0).

If the suggestion above does not work, try the setting After=multi-user.target in getpublicip.service.

from raspibolt.

Stadicus avatar Stadicus commented on June 6, 2024

I for myself never had this issue, I am not sure when this happens as I cannot reproduce it. @robclark56, your feedback on the above options would be very helpful.

from raspibolt.

Stadicus avatar Stadicus commented on June 6, 2024

"After=network.target" + "Wait for network at boot" in raspi-config

I think, the combination provided by @johnny-cash is the most robust one. I included it in the guide.

from raspibolt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.