Both programs are installed, (checked the /usr/sbin folder & the /sbin folder, also made sure ndiswrapper was installed via yast)
is there any way to correct this?
Yes, they’re installed, but no, they’re not in your path. You’re not
‘root’ so become root (sudo -i) and you should have access to these as
your PATH variable is updated to include the paths you mentioned.
Good luck.
Frankaz wrote:
> Just installed openSUSE 11.1 - when I try to run ndiswrapper or modprobe
> I get command not found errors.
>
> After looking at the path variable this is what I get:
>
> Code:
> --------------------
> frankaz@linux-ystq:~> echo $PATH
> /home/frankaz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:
> --------------------
>
> Both programs are installed, (checked the /usr/sbin folder & the /sbin
> folder, also made sure ndiswrapper was installed via yast)
> is there any way to correct this?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
if you are saying that /usr/sbin is not in your PATH variable, then you can do: $#This will set your home directory $cd $vi .bashrc It does not matter if .bashrc does not already exist. This is in case you use bash shell. You can type “echo $SHELL” and the output should be “/sbin/bash”. For “sh” the file should be .shrc. Add these lines in your .bashrc file. export PATH=$PATH:/usr/sbin Save the file and log out and log in. This change will be for the user you are logged in from. To make this changes system wide, log in as root as make these changes. Hope I got your problem right and this will help you
If you su to root user, then run “echo $PATH”, you should see /sbin /usr/sbin etc. in your PATH.
You should be able to use “sudo /sbin/modprobe” or “su root” followed by “modprobe”.
obviously I don’t need to put sudo in front as I’ve already typed in su and entered the root password.
Ndiswrapper reports this:
linux-p6o9:/home/frankaz # ndiswrapper -l
sis163u : driver installed
device (0B3B:0163) present
linux-p6o9:/home/frankaz #
ndiswrapper -ma
module configuration information is stored in /etc/modprobe.d/ndiswrapper
all good so far…
However, running the ‘modprobe ndiswrapper’ command seems to do nothing. I get no wlan0 in the network manager, and the light on my usb dongle does not come on. Is there anything I have missed?
Frankaz wrote:
> ab@novell.com;1957165 Wrote:
>> Yes, they’re installed, but no, they’re not in your path. You’re not
>> ‘root’ so become root (sudo -i) and you should have access to these as
>> your PATH variable is updated to include the paths you mentioned.
>>
>> Good luck.
>>
> Right, using su (or sudo -i) so far I can get ndiswrapper to work,
> modprobe however is not…
>
> these are the commands I use on Kubuntu to get the wireless card
> initialized:
>
> Code:
> --------------------
> sudo ndiswrapper -i sis163u.inf
> sudo ndiswrapper -ma
> sudo modprobe ndiswrapper
> --------------------
>
> obviously I don’t need to put sudo in front as I’ve already typed in su
> and entered the root password.
>
> Ndiswrapper reports this:
>
> Code:
> --------------------
> linux-p6o9:/home/frankaz # ndiswrapper -l
> sis163u : driver installed
> device (0B3B:0163) present
> linux-p6o9:/home/frankaz #
> ndiswrapper -ma
> module configuration information is stored in /etc/modprobe.d/ndiswrapper
>
> --------------------
>
> all good so far…
> However, running the ‘modprobe ndiswrapper’ command seems to do
> nothing. I get no wlan0 in the network manager, and the light on my usb
> dongle does not come on. Is there anything I have missed?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
The binary should be in /sbin/modprobe, or at least it is on my system.
The following command should show which package it comes from:
rpm -qf /sbin/modprobe
For me this returns: module-init-tools-3.4-70.5
Good luck.
Frankaz wrote:
> ab@novell.com;1970570 Wrote:
>> Make sure you ran ‘su -’ and not just ‘su’.
>>
>> Good luck.
>>
> No difference…
> modprobe is still doing nothing…
> driving me crazy tbh >:)
>
> Just for reference - my USB WLAN chipset is the sis163u (which SIS
> never bothered to write a linux driver for - thanks to them for that)
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
I think you misunderstand, modprobe is installed, it’s just not working correctly…
btw dmesg can detect the wireless card:
usb 1-3: New USB device found, idVendor=0b3b, idProduct=0163