Debian 7: Instalar PCI Wireless, como saber o driver?
Boa tarde,
Espetei uma placa pci wireless, o comando lspci mostrou ela na lista (na penúltima linha):
Código :
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: NVIDIA Corporation G72 [GeForce 7300 SE/7200 GS] (rev a1)
03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller (rev 20)
05:01.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)
Baixei um suposto driver no site da realtek, mas não entendi como instalar, nem usar os scripts que o acompanham:
Código :
# diretorio /home/macelo/driver-encore/rtl8185_linux_26.1031.1207.2009.release
total 1640
drwx------ 4 root root 4096 Dez 7 2009 ieee80211
-rwxr-xr-x 1 root root 54 Dez 7 2009 ifcfg-wlan0
-rwxr-xr-x 1 root root 1128 Dez 7 2009 Makefile
-rwxr-xr-x 1 root root 10674 Dez 7 2009 ReadMe
-rwxr-xr-x 1 root root 7389 Dez 7 2009 release_note
drwx------ 3 root root 4096 Dez 7 2009 rtl8185
-rwxr-xr-x 1 root root 384 Dez 7 2009 wlan0dhcp
-rwxr-xr-x 1 root root 590 Dez 7 2009 wlan0down
-rwxr-xr-x 1 root root 722 Dez 7 2009 wlan0up
-rwxr-xr-x 1 root root 210 Dez 7 2009 wpa1.conf
-rwxr-xr-x 1 root root 1623520 Dez 7 2009 wpa_supplicant-0.5.5.zip
Conteúdo do Makefile:
Código :
LINUX_KSRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/rtl818x
DRIVER_DIR = $(shell pwd)
KVER = $(shell uname -r)
KSRC = /lib/modules/$(KVER)/build
MODULE_FILE = $(DRIVER_DIR)/ieee80211/Module.symvers
MODULES_FILE = $(DRIVER_DIR)/ieee80211/Modules.symvers
all:
ifeq ($(shell uname -r|cut -d. -f1,2), 2.4)
@make -C $(DRIVER_DIR)/ieee80211
@make -C $(DRIVER_DIR)/rtl8185
else
# @make -C $(KSRC) SUBDIRS=$(DRIVER_DIR)/ieee80211 modules
# @test -f $(MODULE_FILE) && cp $(MODULE_FILE) $(DRIVER_DIR)/rtl8185 || echo > /dev/null
# @test -f $(MODULES_FILE) && cp $(MODULES_FILE) $(DRIVER_DIR)/rtl8185 || echo > /dev/null
@make -C $(KSRC) SUBDIRS=$(DRIVER_DIR)/rtl8185 modules
endif
install:
@grep rtl8180.ko /lib/modules/$(shell uname -r)/modules.dep && rm -fr $(LINUX_KSRC_MODULE)/rtl8180.ko || echo > /dev/null
# @make -C ieee80211/ install
@make -C rtl8185/ install
@rm -rf Module.symvers
uninstall:
# @make -C ieee80211/ uninstall
@make -C rtl8185/ uninstall
clean:
@make -C rtl8185/ clean
@make -C ieee80211/ clean
@rm -rf *~
@rm -rf Module.markers
@rm -rf modules.order
@rm -rf tags
Daqui em diante, como proceder para instalar?