Thread: N9 and 5GHz
View Single Post
Posts: 230 | Thanked: 302 times | Joined on Oct 2009 @ Helsinki, Suomi (Finland)
#8
Originally Posted by Morpog View Post
I see it's located in /usr/sbin/ and tried to run it from there as user and as root, still no success
What do you mean by "no success" and what "by tried to run it from there". Please be more specific.

If ash says file not found and you have confirmed that /usr/sbin/iw exists, then I presume you are doing something wrong.

Let's verify it exists:
Code:
~ # which iw
/usr/sbin/iw
There's several ways to run executable files.
Either you use full path of the file:
Code:
~ # /usr/sbin/iw
...or you can use relative path, for example ( "./" means present working directory and "../" would mean one below it ):
Code:
~ # cd /usr/sbin
/usr/sbin # ./iw
...or if you have /usr/sbin in your current user's (root in this case) PATH variable,
Code:
~ # echo $PATH
/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
...then you can just:
Code:
~ # iw