nipe icon indicating copy to clipboard operation
nipe copied to clipboard

Unable to run Nipe on root

Open stefins opened this issue 4 years ago • 14 comments

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

[!] ERROR: this command could not be run

Running on MacOS Thank you :)

stefins avatar Dec 03 '20 15:12 stefins

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

htrgouvea avatar Dec 03 '20 16:12 htrgouvea

sudo perl niple.pl install

stefins avatar Dec 04 '20 06:12 stefins

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 ...

psyl0c avatar Dec 04 '20 07:12 psyl0c

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

[!] ERROR: this command could not be run

stefins avatar Dec 04 '20 09:12 stefins

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

psyl0c avatar Dec 04 '20 12:12 psyl0c

@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.

stefins avatar Dec 04 '20 13:12 stefins

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

htrgouvea avatar Dec 04 '20 14:12 htrgouvea

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!

ghost avatar Jan 09 '21 13:01 ghost

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

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

kakumanivrn avatar Apr 03 '21 15:04 kakumanivrn

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

marco-ulge avatar May 14 '22 12:05 marco-ulge

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

M also facing the same problem Please help me to fix it OS- termux

MachineGunNFGC avatar Jun 20 '22 16:06 MachineGunNFGC

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!

htrgouvea avatar Feb 03 '23 22:02 htrgouvea

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

[!] ERROR: this command could not be run

Running on MacOS @htrgouvea

kazani-351 avatar Oct 31 '23 15:10 kazani-351

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

sourcecodehive avatar Dec 01 '23 15:12 sourcecodehive

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

Rod2012 avatar Jan 05 '24 04:01 Rod2012