12
submitted 4 months ago* (last edited 4 months ago) by pglpm@lemmy.ca to c/i2p@lemmy.world

I installed I2P on a Linux laptop. For the moment I'd prefer not to have I2P to start automatically as system service. The installation guide says that after installation I can simply run i2prouter start, which starts the service and opens the router console on my browser; I've configured the router.

Question 1: what's the best way to shut down router and service, when I need to? The guide above says I can use the command i2prouter stop; but I also see buttons on the browser console and on the tray on the taskbar.

Question 2: I've also noticed that sometimes after i2prouter start I get asked again to configure the router. How do I make sure the configuration is saved once and for all?

Unfortunately I didn't find anything about these specific points in guides or FAQs.

Thanks for helping!

top 8 comments
sorted by: hot top new old
[-] WhyJiffie@sh.itjust.works 6 points 4 months ago

I don't have concrete advice, but know that the i2p router needs 10 minutes to shut down gracefully. you can force it, but I think that will interrupt the connection of others, so if you don't want to experience it then best to not do it

[-] pglpm@lemmy.ca 5 points 4 months ago

Thank you for the information and advice. I'll set aside 15 min for shutting it down gracefully then.

[-] WhyJiffie@sh.itjust.works 2 points 4 months ago

oh and one more thing. if you run it in docker, it won't receive the system shutdown signal. on your setup you probably don't have this problem, buy you can check on the web interface if it is shutting down

[-] pglpm@lemmy.ca 1 points 4 months ago

Thanks for the additional tip! Not using docker at the moment, but I'll keep this in mind if I do :)

[-] kylian0087@lemmy.dbzer0.com 1 points 4 months ago

Also forcing a shutdown can cause some of the configs to get corrupted.

[-] toothbrush@lemmy.blahaj.zone 2 points 4 months ago

Question 1: i2prouter graceful is the correct command, but it takes 11 mins to shut down.

The browser button does the same thing as the terminal. It can do both graceful and stop, which is immediate.

Question 2: Sounds like a bug, where is your config file located? Maybe it has the wrong permissions on it?

[-] pglpm@lemmy.ca 2 points 4 months ago

Thank you for the reply and explanations! Now I understand. I'll also use i2prouter graceful then.

Regarding the config, I'll investigate. It occurs only from time to time, but it may have happened because I was shutting the router down the wrong way.

Thanks again!

[-] schnur@mementomori.social 1 points 4 months ago

@pglpm Question 1:
It makes no difference, the GUI is just a wrapper for the CLI command. I prefer 'i2prouter graceful': It takes longer but you don't stop other peoples tunnels.

this post was submitted on 18 Apr 2026
12 points (92.9% liked)

The Invisible Internet Project

1994 readers
1 users here now

I2P Community Edition

This isn't the official I2P channel, if you want go there then you can find it in the links below.

Rules

"Don't be a dick" - Wil Wheaton

General

Media:

File Hosting and Pastebins

Torrents

Social Networks and Microblogging

Exploring I2P

I2P Name Registries

Search engines

IRC

Irc2P comes pre-configured with I2P. To connect with other networks, please follow this tutorial.

Syndie

An open source system for operating distributed forums in anonymous networks

Inproxies

You can use inproxies to surf the I2P network without having to have an I2P router.

Follow us on Twitter

founded 3 years ago
MODERATORS