Instalar Wireless Macbook no CentOS [RESOLVIDO]

1. Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 29/09/2012 - 21:52h

Ola galera, formatei meu macbook ontem, pois faz algum tempo que eu queria experimentar o CentOs , mas nao estou conseguindo de jeito nenhum instalar o o Wireless do Macbook (2008)





# lspci
00:00.0 Host bridge: NVIDIA Corporation MCP79 Host Bridge (rev b1)
00:00.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.0 ISA bridge: NVIDIA Corporation MCP79 LPC Bridge (rev b3)
00:03.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.2 SMBus: NVIDIA Corporation MCP79 SMBus (rev b1)
00:03.3 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.4 RAM memory: NVIDIA Corporation Device 0a98 (rev b1)
00:03.5 Co-processor: NVIDIA Corporation MCP79 Co-processor (rev b1)
00:04.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:04.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:06.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:06.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:08.0 Audio device: NVIDIA Corporation MCP79 High Definition Audio (rev b1)
00:09.0 PCI bridge: NVIDIA Corporation MCP79 PCI Bridge (rev b1)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP79 Ethernet (rev b1)
00:0b.0 IDE interface: NVIDIA Corporation MCP79 SATA Controller (rev b1)
00:10.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
00:15.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
02:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)
03:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)





# lspci -vnn -d 14e4:
03:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
Subsystem: Apple Inc. Device [106b:0093]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at 93100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 67-c6-35-ff-ff-67-58-b0
Capabilities: [16c] Power Budgeting <?>






Uma vez um amigo aqui do VOL me passou o seguinte link
http://www.vivaolinux.com.br/dica/CentOS-6X-Instalando-driver-Broadcom-wlko/



eu segui os passo a passo pare tentar instalar o wlam so que quando executo o make ele dah um erro que eu nao consegui identificar.


[root@eder-centos hybrid]# make && make install
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entrando no diretório `/usr/src/kernels/2.6.32-279.9.1.el6.i686'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /usr/src/hybrid/src/wl/sys/wl_cfg80211.o
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:64: warning: ‘enum tx_power_setting’ declared inside parameter list
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:64: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1110: warning: ‘enum tx_power_setting’ declared inside parameter list
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1110: error: parameter 2 (‘type’) has incomplete type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c: In function ‘wl_cfg80211_set_tx_power’:
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1123: error: ‘TX_POWER_AUTOMATIC’ undeclared (first use in this function)
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1123: error: (Each undeclared identifier is reported only once
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1123: error: for each function it appears in.)
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1125: error: ‘TX_POWER_LIMITED’ undeclared (first use in this function)
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1131: error: ‘TX_POWER_FIXED’ undeclared (first use in this function)
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c: At top level:
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1649: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1651: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1652: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1653: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1654: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1658: warning: initialization from incompatible pointer type
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c: In function ‘wl_inform_single_bss’:
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:1817: error: too few arguments to function ‘ieee80211_channel_to_frequency’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c: In function ‘wl_bss_roaming_done’:
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is of type ‘u8 *’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2117: error: too few arguments to function ‘cfg80211_roamed’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c: In function ‘wl_bss_connect_done’:
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is of type ‘u8 *’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/usr/src/hybrid/src/wl/sys/wl_cfg80211.c:2149: error: too few arguments to function ‘cfg80211_roamed’
make[2]: ** [/usr/src/hybrid/src/wl/sys/wl_cfg80211.o] Erro 1
make[1]: ** [_module_/usr/src/hybrid] Erro 2
make[1]: Saindo do diretório `/usr/src/kernels/2.6.32-279.9.1.el6.i686'
make: ** [all] Erro 2
[root@eder-centos hybrid]#











Tentei ver este erro no make, mas eu sinceramente não faço ideia de como corrigir.






Alguem tem alguma ajuda para eu poder funcionar meu Wireless aqui?






Muito Obrigado








  


2. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/09/2012 - 22:31h

Você pode seguir o passo-a-passo que está escrito nos dois links abaixo.

http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom
http://elrepo.org/tiki/wl-kmod


3. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 29/09/2012 - 23:05h

eabreu escreveu:

Você pode seguir o passo-a-passo que está escrito nos dois links abaixo.

http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom
http://elrepo.org/tiki/wl-kmod


Cara... eu tentei fazer isto ae... mas o erro que dah eh bem parecido com o que eu relatei acima, acredito que esteja faltando alguma coisa para instalar... mas nao consegui identificar o que esta faltando... =(






heheh... passei o dia inteiro tentando instalar essa rede aqui.... estou tendo que usar o 3G... mas eh muito lento...





vlw pela ajuda amigo..


4. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/09/2012 - 01:13h

Amigão... resolver problemas do comando make é dose... normalmente é falta de alguma dependência que não foi instalada ou alguma(s) linha(s) do código fonte do driver ou do software não foi desenvolvida corretamente.

Para não perder mais tempo do que já perdeu, compile o kernel habilitando os drivers necessita. para compilar o kernel o artigo abaixo vai te servir muito bem.

http://www.vivaolinux.com.br/artigo/Compilando-Kernel-no-CentOS-60/

mas no lugar de baixar e compilar a versão do kernel que está no artigo baixe a ver são 3.4 que é mais atual:

# wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.4.tar.bz2


5. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 30/09/2012 - 15:19h

eabreu ,




valeu, mas fiz o que vc falou, tentei compilar o kernel, mas acabei parando em um kernel panic,



formatei meu macbook denovo instalei e consegui compilar o kernel 3.5 ( estou usando ele agora )


porem ainda nao obtive sucesso com a placa de rede wireless aqui..... mesmo tentando repetir novamente os passos anteriores para instalação manual





eu estou usando o CentOs 6.3 com kernel 3.5... alguem jah passou por isto?



6. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/09/2012 - 17:27h

durante a configuração para a compilação do kernel você habilitou os drivers broadcom para sua placa de rede wireless ?

posta a saída dos comandos abaixo:


lspci -k |grep -i broadcom -A 3
find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko


eu ainda não passei.


7. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 30/09/2012 - 21:05h

eabreu escreveu:

durante a configuração para a compilação do kernel você habilitou os drivers broadcom para sua placa de rede wireless ?

posta a saída dos comandos abaixo:


lspci -k |grep -i broadcom -A 3
find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko


eu ainda não passei.



Entao, durante a configuracao nao achei nada de broadcom ( e eu procurei, mas nao achei ) po isto naum habilitei... tem como habilitar agora?


o retorno foi isto ae..


[root@eder-mac hybrid]# lspci -k | grep -i broadcom -A 303:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)
Subsystem: Apple Computer Inc. Device 0093

[root@eder-mac hybrid]# lspci -k |grep -i broadcom -A 3 find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko
grep: valor máximo inválido



8. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/09/2012 - 21:21h

ederlopes7 escreveu:

Entao, durante a configuracao nao achei nada de broadcom ( e eu procurei, mas nao achei ) po isto naum habilitei... tem como habilitar agora?


o retorno foi isto ae..


[root@eder-mac hybrid]# lspci -k | grep -i broadcom -A 303:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)
Subsystem: Apple Computer Inc. Device 0093

[root@eder-mac hybrid]# lspci -k |grep -i broadcom -A 3 find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko
grep: valor máximo inválido


um dos comandos não é esse:


# lspci -k |grep -i broadcom -A 3 find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko


e sim esse:


# find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko


Só recompilando o kernel para habilitar....


9. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 01/10/2012 - 00:38h

tah ae o resultado

[root@eder-mac hybrid]# find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -iname *.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ipw2x00/libipw.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ipw2x00/ipw2200.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ipw2x00/ipw2100.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/at76c50x-usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/hostap/hostap_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/hostap/hostap_pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/hostap/hostap.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/hostap/hostap_plx.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/wl3501_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/atmel.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/iwmc3200wifi/iwmc3200wifi.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/airo.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/airo_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/b43/b43.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/orinoco_tmd.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/orinoco_plx.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/orinoco_nortel.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/spectrum_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/orinoco.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/orinoco/orinoco_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/p54/p54usb.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/p54/p54pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/p54/p54common.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/atmel_pci.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas/libertas_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas/libertas.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas/usb8xxx.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/mwl8k.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/atmel_cs.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/rndis_wlan.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/adm8211.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ath/ath.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/zd1201.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/mac80211_hwsim.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/b43legacy/b43legacy.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/iwlegacy/iwl3945.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/iwlegacy/iwlegacy.ko
/lib/modules/3.5.0/kernel/drivers/net/wireless/iwlegacy/iwl4965.ko
[root@eder-mac hybrid]#





mas o ruim eh se eu recompilar o kernel e nao achar novamente... .rs....
pq da primeira vez eu procurei e nao achei nada


10. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Eder Lopes
ederlopes7

(usa CentOS)

Enviado em 01/10/2012 - 01:05h

Ae Pessoal... eu consegui!!!!!



poxa... deu muio trabalho mais eu consegui

realmente faltava umas coisinhas por isto que ele dava o erro...
baixei 2 patches, que foi como uma luva para mim, deu tudo certo...

para quem passar pelo mesmo problema que o meu... eh facil...

soh seguir este link aqui
http://www.mindwerks.net/2012/06/wireless-bcm4312-with-the-3-4-and-3-5-kernel/


Obs. nao esquece da opcao 2 que eh baixar os patches....




valeu gente... muito Obrigado mesmo amigo.. nao teria conseguido sem sua ajuda...





VALEWWW


11. Re: Instalar Wireless Macbook no CentOS [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/10/2012 - 02:23h

Não esquece de colocar no /etc/modprobe.d/blacklist.conf os módulos conflitantes:

# echo -e "blacklist b43\nblacklist ssb\nblacklist bcma\nblacklist b43legacy\nblacklist brcm80211" >> /etc/modprobe.d/blacklist.conf 


abraço..






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts