[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wireless demorando conectar



Ronaldo, mova a pasta "drivewireless" para dentro de /usr/src e rode novamente o comando make -C /lib/modules/<2.6.18-x-xxx>/./build M=`pwd`

Abs,

Rafael Bedendo



Ronaldo Reis Junior escreveu:
Em Ter 17 Fev 2009, Messias Alves escreveu:
  
Caro Ronaldo,

Siga os seguintes passos:

Baixe o driver do fabricante em:
http://www.broadcom.com/support/802.11/linux_sta.php

se for para 32 bits:

wget
http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32_5_10_27_6.tar.
gz

Se for para 64 bits:

wget
http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64_5_10_27_6.tar.
gz

tar -xzvf hybrid-portsrc-x86_32_5_10_27_6.tar.gz

edite as linhas abaixo de acordo com o seu kernel:

# make -C /lib/modules/<2.6.18-x-xxx>/build M=`pwd` clean
# make -C /lib/modules/<2.6.18-x-xxx>/./build M=`pwd`

Remova esse modulos que possam estar carregados e inclua-os na blacklist
(/etc/modprobe.d/blacklist):

rmmod bcm43xx
rmmod b43; rmmod b43legacy

Carregue os módulos necessários:

modprobe ieee80211_crypt_tkip
insmod ./wl.ko

Veja a interface funcionando:

iwconfig

Talvez para usar WPA2 vc deva baixar o pacote wpasupplicant e kwlan
(front-end para kde)

#apt-get install wpasupplicant kwlan

Sem mais, atenciosamente.
    

Pessoal,

blz?

tentei compilar o drive wl.ko com o novo kernel 2.6.29 da unstable e deu erro, 
vejam:

[root@mobilix hybrid-portsrc-x86_32-v5_10_27_14]# 
make -C /lib/modules/2.6.29-1-686/build M=`pwd` clean
make: Entrando no diret�rio `/usr/src/linux-headers-2.6.29-1-686'
make: Saindo do diret�rio `/usr/src/linux-headers-2.6.29-1-686'
[root@mobilix hybrid-portsrc-x86_32-v5_10_27_14]# 
make -C /lib/modules/2.6.29-1-686/./build M=`pwd`
make: Entrando no diret�rio `/usr/src/linux-headers-2.6.29-1-686'
  
LD      /home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/built-in.o
  CC 
[M]  /home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.o
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_attach?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:426: 
error: implicit declaration of function ?ieee80211_get_crypto_ops?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:426: 
warning: assignment makes pointer from integer without a cast
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:429: 
warning: assignment makes pointer from integer without a cast
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_free?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:697: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:728: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:744: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:748: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_open?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:773: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_close?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:801: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_start?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:824: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_alloc_if?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:911: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_get_driver_info?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1084: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_ioctl?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1172: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1173: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_get_stats?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1254: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_get_wireless_stats?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1299: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1300: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_set_mac_address?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1369: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1377: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?_wl_set_multicast_list?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1402: 
error: ?struct net_device? has no member named ?priv?
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_miccheck?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1794: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1797: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_micadd?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1816: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_encrypt?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1836: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_decrypt?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1858: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1860: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_keyset?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1902: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1912: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1919: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1929: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1939: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1946: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c: 
In function ?wl_tkip_printstats?:
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1965: 
error: dereferencing pointer to incomplete type
/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.c:1967: 
error: dereferencing pointer to incomplete type
make[3]: ** 
[/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14/src/wl/sys/wl_linux.o] 
Erro 1
make[2]: ** 
[_module_/home/Publico/Progs/drivewireless/hybrid-portsrc-x86_32-v5_10_27_14] 
Erro 2
make[1]: ** [sub-make] Erro 2
make: ** [all] Erro 2

Qual deve ser o problema? Uma coisa que notei é que o drive 
ieee80211_crypt_tkip mudou de nome para lib80211_crypt_tkip, mas tentei ver 
como resolver mas não consegui.

Valeu
Inte
Ronaldo
  


Reply to: