maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   ifconfig unknown command (https://talk.maemo.org/showthread.php?t=70816)

niloy 2011-03-08 16:14

ifconfig unknown command
 
ifconfig and ifup are unknown commands. how to install them?

jedi 2011-03-08 16:14

Re: ifconfig unknown command
 
You have to be the root user first...

vi_ 2011-03-08 16:17

Re: ifconfig unknown command
 
-_-' dude, run as root!

Char 2011-03-08 17:52

Re: ifconfig unknown command
 
^---
install rootsh first
then

sudo ifconfig ...
sudo ifup ...

or
sudo gainroot
ifconfig ...
ifup ...

or you can take a risk and do
/sbin/ifconfig ...
/sbin/ifup ...
it might just work if you're only viewing info.

niloy 2011-03-09 03:15

Re: ifconfig unknown command
 
thanks guys. usually when a command requires root, it throws appropiate message like "not permitted".

Char 2011-03-09 08:59

Re: ifconfig unknown command
 
but this command was in /sbin. iinm, /sbin is only in the executable path of root, and not user.

Copernicus 2011-03-09 19:36

Re: ifconfig unknown command
 
No need to become root! Nor do you have to add "sbin" to your path. Just prepend the full path to the name of the executable when you run it, e.g.:
$ /sbin/ifconfig
I check ifconfig all the time, it has plenty of value as a non-root utility.


All times are GMT. The time now is 06:24.

vBulletin® Version 3.8.8