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

Unable to run Nipe on root #124

Open
stefins opened this issue Dec 3, 2020 · 14 comments
Open

Unable to run Nipe on root #124

stefins opened this issue Dec 3, 2020 · 14 comments
Assignees
Labels

Comments

@stefins
Copy link

stefins commented Dec 3, 2020

Hey,
When I'm trying to run
sudo perl nipe.pl install

[!] ERROR: this command could not be run

Running on MacOS
Thank you :)

@htrgouvea
Copy link
Owner

Hi,
Can you show me how you are executing the command?
Thx

@stefins
Copy link
Author

stefins commented Dec 4, 2020

sudo perl niple.pl install

@psyl0c
Copy link

psyl0c commented Dec 4, 2020

I have the same problem on kali 2020.4..
something is fishy...

perl nipe.pl start
Nipe must be run as root.

sudo perl nipe.pl start (runs)
sudo perl nipe.pl status
sometimes it connects , but mostly not, and I get this error:
[!] ERROR: sorry, it was not possible to establish a connection to the server.

if I run sudo perl nipe.pl restart
it connects and I get an ip

if I run sudo perl nipe.pl stop
sudo perl nipe.pl start it runs sometimes, maybe its because I run sudo perl niple.pl restart first ?

dont really get it ...

@stefins
Copy link
Author

stefins commented Dec 4, 2020

even for sudo perl nipe.pl start I'm getting the same output

[!] ERROR: this command could not be run

@psyl0c
Copy link

psyl0c commented Dec 4, 2020

have you tried run "sudo perl nipe.pl restart" not start
then check if your connected with "sudo perl nipe.pl status"

@stefins
Copy link
Author

stefins commented Dec 4, 2020

@psyl0c

  • Command sudo perl nipe.pl restart returns
    [!] ERROR: this command could not be run

  • Command sudo perl nipe.pl status returns
    [!] ERROR: sorry, it was not possible to establish a connection to the server.

@htrgouvea
Copy link
Owner

Hi @iamstefin, I will check the reason for these errors. This is very strange

@ghost
Copy link

ghost commented Jan 9, 2021

Hi, it's happening also to me. Currently I'm running Nine on an Apple Silicon Mac, @iamstefin what is your Mac? This could be an Apple Silicon issue.
I tried to run Nipe through Rosetta 2 but nothing changes, every command I try (except from sudo perl nipe.pl status) it doesn't work and the terminal returns [!] ERROR: this command could not be run.
Also works perl nipe.pl for help. It's a very strange behavior, please help!

@kakumanivrn
Copy link

@htrgouvea Same issue for me as well. I am using macOS Catalina.

I tried running with both sudo and direct root account as well.

@marco-ulge
Copy link

I took a quick look, in /lib/Nipe/Utils/Device.pm, the os config is determined based on /etc/os-release which is specific for Linux. I see also that later on it relies on iptables, which is also not available on OS X.

@htrgouvea let me know if you can use some help here

@htrgouvea
Copy link
Owner

Hi folks,

I just published a new version of Nipe, can you test it and tell me if it works now?

If it doesn't work, can you give me more information? Like the distribution they are using or any other information they find pertinent?

Thanks!

@kazani-351
Copy link

When I'm trying to run
sudo perl nipe.pl install

[!] ERROR: this command could not be run

Running on MacOS @htrgouvea

@sourcecodehive
Copy link

Seems it doesnt work on OSX. @htrgouvea Can you please confirm?

@Rod2012
Copy link

Rod2012 commented Jan 5, 2024

I got that error, I was running nipe on Kali in a VM (qemu) and NetworkManager didn't allow changes, so, I followed this: https://askubuntu.com/questions/826177/networkmanager-permissions-error-on-xenial and it worked as expected

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

No branches or pull requests

9 participants