Portál AbcLinuxu, 28. července 2025 18:59
http://www.abclinuxu.cz/hardware/pripojeni-na-sit/bezdratove/pci/smcwpci-g
, ale už samotná kompilace ovladačů u mě končí "stohem" chybových hlášek. Zkoušel jsem to i na mém notebooku (FC6, kernel pro i686) , ale výsledek byl stejný. Poradil by někdo?
[bedus@localhost rtl]$ ./makedrv
ieee80211/
ieee80211/ieee80211_tx.c
ieee80211/Modules.symvers
ieee80211/ieee80211_softmac_wx.c
ieee80211/LICENSE
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_module.c
ieee80211/Makefile
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_softmac.c
ieee80211/README
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_crypt.c
rtl818x-0.1/
rtl818x-0.1/r8180_wx.h
rtl818x-0.1/r8180_wx.c
rtl818x-0.1/r8180_rtl8225.h
rtl818x-0.1/r8180_rtl8255.h
rtl818x-0.1/AUTHORS
rtl818x-0.1/r8180_max2820.c
rtl818x-0.1/r8180.h
rtl818x-0.1/r8180_max2820.h
rtl818x-0.1/tags
rtl818x-0.1/r8180_sa2400.h
rtl818x-0.1/r8180_93cx6.c
rtl818x-0.1/ieee80211.h
rtl818x-0.1/r8180_gct.c
rtl818x-0.1/r8180_gct.h
rtl818x-0.1/.r8180_core.o.d
rtl818x-0.1/r8180_rtl8225.c.old
rtl818x-0.1/Modules.symvers
rtl818x-0.1/CHANGES
rtl818x-0.1/LICENSE
rtl818x-0.1/r8180_93cx6.h
rtl818x-0.1/README.master
rtl818x-0.1/r8180_hw.h
rtl818x-0.1/README
rtl818x-0.1/r8180_pm.c
rtl818x-0.1/r8180_sa2400.c
rtl818x-0.1/COPYING
rtl818x-0.1/README.adhoc
rtl818x-0.1/r8180_rtl8225.c
rtl818x-0.1/.tmp_versions/
rtl818x-0.1/.tmp_versions/r8180.mod
rtl818x-0.1/INSTALL
rtl818x-0.1/r8180_rtl8255.c
rtl818x-0.1/r8180_core.c
rtl818x-0.1/r8180_pm.h
rtl818x-0.1/Makefile
rtl818x-0.1/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/bedus/Desktop/rtl/ieee80211/tmp
make -C /lib/modules/2.6.18-1.2798.fc6/build M=/home/bedus/Desktop/rtl/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
CC [M] /home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.o
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1359:4: warning: #warning CHECK_LOCK_HERE
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1399:2: warning: #warning CHECK_LOCK_HERE
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’:
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1470: warning: ISO C90 forbids mixed declarations and code
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1472: warning: ‘chlen’ may be used uninitialized in this function
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1359:4: warning: #warning CHECK_LOCK_HERE
/home/bedus/Desktop/rtl/ieee80211/ieee80211_softmac.c:1399:2: warning: #warning CHECK_LOCK_HERE
CC [M] /home/bedus/Desktop/rtl/ieee80211/ieee80211_rx.o
/home/bedus/Desktop/rtl/ieee80211/ieee80211_rx.c:25:26: error: linux/config.h: není souborem ani adresářem
make[2]: *** [/home/bedus/Desktop/rtl/ieee80211/ieee80211_rx.o] Error 1
make[1]: *** [_module_/home/bedus/Desktop/rtl/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/bedus/Desktop/rtl/rtl818x-0.1/tmp
make -C /lib/modules/2.6.18-1.2798.fc6/build M=/home/bedus/Desktop/rtl/rtl818x-0.1 CC=gcc modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
CC [M] /home/bedus/Desktop/rtl/rtl818x-0.1/r8180_core.o
In file included from /home/bedus/Desktop/rtl/rtl818x-0.1/r8180_core.c:61:
/home/bedus/Desktop/rtl/rtl818x-0.1/r8180.h:29:26: error: linux/config.h: není souborem ani adresářem
make[2]: *** [/home/bedus/Desktop/rtl/rtl818x-0.1/r8180_core.o] Error 1
make[1]: *** [_module_/home/bedus/Desktop/rtl/rtl818x-0.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
make: *** [modules] Error 2
insmod
na /sbin/insmod
). Budiž. Moduly se zavedly bez potíží. Pak následoval hlavní bod úspěšného oživení karty - nyní pojmenované jako wlan0 - její nahození pomocí ifconfig wlan0 up
. A v tom je právě kámen úrazu - všechno zatuhlo a jediným východiskem byl tvrdý restart. Zkoušel jsem to několikrát, ale pokaždé to dopadlo stejně. Má někdo podobné zkušenosti, nebo mám prostě jenom smůlu?
ifconfig wlan0 up
, dokonce se mi podařilo i proskenovat bezdrátové sítě v dosahu (iwlist wlan0 scanning
), ale po zadání příkazu asociace k AP (iwconfig wlan0 ap MAC_adresa_meho_providera
) mi systém opět zatuhl a nepomohlo nic jiného, než tvrdý restart. Jsem z toho jelen :-/
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.