Hi,
I’m trying to get my wireless working and I am trying to use different commands like:
ndiswrapper
lspci
It is telling me command not found. Any ideas what I’m doing wrong?
Hi,
I’m trying to get my wireless working and I am trying to use different commands like:
ndiswrapper
lspci
It is telling me command not found. Any ideas what I’m doing wrong?
Hi
Some commands need to be run with super user (root) privileges others
you just need to know where they are and use the full path eg;
/sbin/lspci -nnv
or
sudo /sbin/lspci -nnv
or
su -
lspci -nnv
The last command changes to root and the - uses roots environment which
includes the paths to /sbin and /usr/sbin.
Not sure where ndiswrapper is because I don’t use it but try /usr/sbin
or /sbin
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 1 day 10:12, 1 user, load average: 0.07, 0.17, 0.17
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80
OT:
‘sudo’ is nonsense on SuSE, since by default it is not configured. Use ‘su’ to switch to root and spare your system having to do useless tasks.
man sudo:
If a user who is not listed in the sudoers file tries to run a
command via sudo, mail is sent to the proper authorities, as
defined at configure time or in the sudoers file (defaults to
root).
SuSE != *Ubuntu
Hey,
try adding “/sbin” to your $PATH-variable in ~/.bashrc:
vi .bashrc
export PATH=$PATH:/sbin:.
then close your current konsole and open a new one.
before adding:
echo $PATH
/home/YOURUSERNAME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:
after adding and opening a new konsole or relogin:
echo $PATH
/home/YOURUSERNAME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin:.
Solution for adding:
https://forums.opensuse.org/showthread.php/395836-adding-directory-to-PATH
It is nice you try to help here, but did you notice that this thread is from 2008!
The chance that the people involved there seven (7) years ago are still subscribed to this thread is minimal. The chance that the underlying problem of the OP here (getting his wireless device running) after so many new openSUSE versions is still a topic is nil.