Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some helpful error messages #110

Open
scottyeager opened this issue Jan 19, 2024 · 1 comment
Open

Add some helpful error messages #110

scottyeager opened this issue Jan 19, 2024 · 1 comment

Comments

@scottyeager
Copy link

I ran into a couple errors while starting up mycelium. It would be nice to provide helpful messages to guide the user in these cases.

Error: NixError(EBUSY)

Happens when there's already a tun device in the slot mycelium is trying to use, for example when Yggdrasil or a VPN is running. Maybe this could be resolved by looking for a free index instead (tun0 is taken so try tun1, etc).

Error: NixError(EPERM)

Means we need to run with root permissions. I tried without at first as the readme suggests root isn't needed on Linux.

@Mik-TF
Copy link

Mik-TF commented Feb 22, 2024

I confirm. I use a vpn and what worked for me was:

sudo mycelium --peers tcp://83.231.240.31:9651 quic://185.206.122.71:9651 --tun-name utun2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants