LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   in which folder do i properly place modules in Suse 10.2? (https://www.linuxquestions.org/questions/linux-hardware-18/in-which-folder-do-i-properly-place-modules-in-suse-10-2-a-552821/)

linusneumann 05-10-2007 03:51 AM

in which folder do i properly place modules in Suse 10.2?
 
the story:
I've got a Realtek 8185 Wlan card.
Ndiswrapper works fine with network manager and everything - no issues at all except: When module ndiswrapper is loaded, the system will eventually stall completely. Usually when there is excessive hdd-transactions going on. You'll agree that this is not acceptable, so please no ndiswrapper recommendations... I've been dealing with this problem for weeks now...

BUT: There is a native driver supplied.
The procedure is as follows: After compiling the modules using a couple of scripts, the authors advise you to get online using the script wlan0up, whose contents are

Code:

#!/bin/bash
su root

insmod /home/username/wlan/rtl/ieee80211/ieee80211_crypt-rtl.ko
insmod /home/username/wlan/rtl/ieee80211/ieee80211_crypt_wep-rtl.ko
insmod /home/username/wlan/rtl/ieee80211/ieee80211_crypt_tkip-rtl.ko
insmod /home/username/wlan/rtl/ieee80211/ieee80211_crypt_ccmp-rtl.ko
insmod /home/username/wlan/rtl/ieee80211/ieee80211-rtl.ko

insmod /home/username/wlan/rtl/rtl818x-0.1/r8180.ko

ifconfig wlan0 up

Then, wpa-supplicant needs to be started, you guys probably know the procedure. Befor using ndiswrapper I had this working just fine, wrote my own acript including the loasding of ndiswrapper and everything.

Now, there 3 Wifi networks that I eventually connect to in my house. Changing from one to the other is not really that comfortable this way. The Knetwork-manager Applet that I could use when I hat the ndiswrapper was much more comfortable. Also, I am not sure wether

Code:

/home/username/wlan/rtl/ieee80211/
is the appropriate place for important modules...

So, what I want to do is:
1. Copy the modules in the place they would normally belong in a Suse environment.
2. Configure yast2 to load the module "ieee80211-rtl.ko" via modprobe (I understand this will make sure all modules it depends on are going to be loaded as well) at bootup

desired final state: kde coming up, knetworkmanager letting me chose which network i prefer. No scripts needed to be run manually or something like that.

Has anyone got some ideas?

osor 05-10-2007 08:38 PM

Generally, those “.ko” files would go into “/lib/modules/`uname -r`/kernel/net/ieee80211”. Then run “depmod -ae”.

NOTE: This really should have been taken care of by the installer for whatever you used.


All times are GMT -5. The time now is 12:49 AM.