Jump to content

Can't start up NIC in mobile terminal


Go to solution Solved by FrazilSilver,

23 posts in this topic

Recommended Posts

Posted

I log in as root

And I checked the existence of the file using echo $THEOS/bin/nic.pl and using iFile

And it's there

 

But when I run the command

$THEOS/bin/nic.pl and /var/theos/bin/nic.pl

I get the error "No such file or directory" or "/var/theos/bin/nic.pl: /usr/bin/perl: bad interpreter: No such file or directory"

 

Anyone know how to get around this ? I've tried copying nic.pl into another directory and opening it from there but I still get the same error

I have set the permissions to read, write and execute

Posted

Did you install perl

Yes, I have Perl and iOS toolchain

 

I also have iOS SDK and have extracted it in /var/theos/sdks

 

Everything is set up and I have everything

I just can't start up nic.pl for some reason

  • Solution
Posted

got it, somehow the system is looking for perl in /usr/bin/ but it's located in /usr/local/bin

Copied perl and pasted it into /usr/bin/

nic.pl can be found now and the command works.

Thanks for the help guys ^^

 

Took me about an hour to find the cause of the error xD

 

Anyways for future members who get the same error

 

Just copy Perl from /usr/local/bin

And paste into /usr/bin

Using iFile

Posted

got it, somehow the system is looking for perl in /usr/bin/ but it's located in /usr/local/bin

Copied perl and pasted it into /usr/bin/

nic.pl can be found now and the command works.

Thanks for the help guys ^^

 

Took me about an hour to find the cause of the error xD

 

Anyways for future members who get the same error

 

Just copy Perl from /usr/local/bin

And paste into /usr/bin

Using iFile

 

sure buddy  :ermm:

Posted

The system should check for perl in /usr/local/bin

Open /etc/profile with a text editor and check the $PATH variable; it should contain the following ":/usr/local/bin:"

Posted

The system should check for perl in /usr/local/bin

Open /etc/profile with a text editor and check the $PATH variable; it should contain the following ":/usr/local/bin:"

:no.:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines