Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Laitealue => Aiheen aloitti: JMM1974 - 06.10.11 - klo:21.51
-
Moi,
saan uuden wlan tikun toimimaan, kun käytän komentoriviltä komentoa:
sudo insmod rtl8192CU_linux_v2.0.939.20100726/8192cu.ko
Eli lataan tuon moduulin kerneliin tms.
No propleemo, Ubuntussa sitä tekee kaikkea kummallista mitä ei ihan ymmärrä ja hommat vain toimii.
Mutta miten saisin tuo latautumaan jo käynnistyessä?
Tai edes käynnistimeksi työpöydälle?
-
Ottia tuota saa kyllä, mutta miten olet se kääntänyt? Näytäs mitä toi kansio rtl8192CU_linux_v2.0.939.20100726 sisältää, siellä kait pitäisi olla Makefile? Jos näin on asenna checkinstall: sudo apt-get install checkinstall ja mene siihen kansioon ja kirjoita sudo checkinstall. Sen pitäisi asentaa kyseinen ajuri kerneliisi ja tehdä siitä vielä deb paketin.
i.e.
tuke@tippawaara2:~/rtl8192_8188CU_linux_v3.0.1590.20110511$ ls
8192cu.ko 8192cu.mod.o autoconf_rtl8192c_usb_linux.h core hal include modules.order os_dep wlan0dhcp
8192cu.mod.c 8192cu.o clean description-pak ifcfg-wlan0 Makefile Module.symvers runwpa wpa1.conf
tuke@tippawaara2:~/Lataukset/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.1590.20110511/rtl8192_8188CU_linux_v3.0.1590.20110511$ sudo checkinstall
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Preparing package documentation...OK
*** No known documentation files were found. The new package
*** won't include a documentation directory.
*****************************************
**** Debian package creation selected ***
*****************************************
*** Warning: The package name "rtl8192_8188CU_linux_v3.0.1590.20110511" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case.
*** Warning: The package name "rtl8192_8188cu_linux_v3.0.1590.20110511" contains illegal
*** Warning: characters. dpkg might not like that so I changed
*** Warning: them to dashes.
This package will be built according to these values:
0 - Maintainer: [ root@tippawaara2 ]
1 - Summary: [ Package created with checkinstall 1.6.1 ]
2 - Name: [ rtl8192-8188cu-linux-v3.0.1590.20110511 ]
3 - Version: [ 20111006 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ rtl8192_8188CU_linux_v3.0.1590.20110511 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ rtl8192-8188cu-linux-v3.0.1590.20110511 ]
Enter a number to change any of them or press ENTER to continue: 2
Enter new name:
>> rtl8192-8188cu
This package will be built according to these values:
0 - Maintainer: [ root@tippawaara2 ]
1 - Summary: [ Package created with checkinstall 1.6.1 ]
2 - Name: [ rtl8192-8188cu ]
3 - Version: [ 20111006 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ rtl8192_8188CU_linux_v3.0.1590.20110511 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ rtl8192-8188cu-linux-v3.0.1590.20110511 ]
Enter a number to change any of them or press ENTER to continue:
Installing with make...Installing with install...
========================= Installation results ===========================
install -p -m 644 8192cu.ko /lib/modules/2.6.32-32-generic-pae/kernel/drivers/net/wireless/
/sbin/depmod -a 2.6.32-32-generic-pae
======================== Installation successful ==========================
grep: /var/tmp/tmp.SgHsXp2puY/newfile: Tiedostoa tai hakemistoa ei ole
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Kernel modules found. Calling depmod in the postinstall script
Building Debian package...OK
Installing Debian package...OK
Erasing temporary files...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been installed and saved to
/home/tuke/Lataukset/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.1590.20110511/rtl8192_8188CU_linux_v3.0.1590.20110511/rtl8192-8188cu_20111006-1_i386.deb
You can remove it from your system anytime using:
dpkg -r rtl8192-8188cu
**********************************************************************
-
Kuinka uutta Ubuntua käytät?
-
Hei,
kiitti. Se toimi!
Tämä on muuten Lucid Lynx, jostain taitaa saada ladattua uudemmankin version...
-
Mutta miten saisin tuo latautumaan jo käynnistyessä?
Insmod:ia ei nykyisin juuri käytetä, vaan monipuolisempaa modprobe:a. Automattisesti käynnistettävät modulit määritellään /etc/modprobe.conf tai /etc/modprobe.d tiedostoissa.
http://linux.die.net/man/8/modprobe