vandaimer
(usa Ubuntu)
Enviado em 23/01/2012 - 20:59h
root@Dr:/# cd /usr/src/
root@Dr:/usr/src# cd rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/
root@Dr:/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011#
root@Dr:/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011# make && make install
make -C /lib/modules/2.6.32-21-generic/build M=/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.32-21-generic'
CC [M] /usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o
In file included from /usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:32:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h: In function ‘rtl_find_sta’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h:2094: warning: passing argument 1 of ‘ieee80211_find_sta’ from incompatible pointer type
include/net/mac80211.h:2080: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
In file included from /usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:34:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h: At top level:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘_rtl_init_mac80211’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: ‘IEEE80211_HW_CONNECTION_MONITOR’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: (Each undeclared identifier is reported only once
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: for each function it appears in.)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_start’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:991: warning: passing argument 1 of ‘ieee80211_start_tx_ba_cb_irqsafe’ from incompatible pointer type
include/net/mac80211.h:2027: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_stop’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1020: warning: passing argument 1 of ‘ieee80211_stop_tx_ba_cb_irqsafe’ from incompatible pointer type
include/net/mac80211.h:2068: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_watchdog_wq_callback’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1274: error: implicit declaration of function ‘ieee80211_connection_loss’
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: error: parameter 2 (‘smps’) has incomplete type
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_make_smps_action’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1352: error: ‘WLAN_HT_ACTION_SMPS’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1354: error: ‘IEEE80211_SMPS_AUTOMATIC’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1355: error: ‘IEEE80211_SMPS_NUM_MODES’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1357: error: ‘IEEE80211_SMPS_OFF’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1359: error: ‘WLAN_HT_SMPS_CONTROL_DISABLED’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1361: error: ‘IEEE80211_SMPS_STATIC’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1363: error: ‘WLAN_HT_SMPS_CONTROL_STATIC’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1365: error: ‘IEEE80211_SMPS_DYNAMIC’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1367: error: ‘WLAN_HT_SMPS_CONTROL_DYNAMIC’ undeclared (first use in this function)
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: error: parameter 3 (‘smps’) has incomplete type
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_send_smps_action’:
/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1404: error: type of formal parameter 2 is incomplete
make[2]: ** [/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o] Erro 1
make[1]: ** [_module_/usr/src/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.32-21-generic'
make: ** [all] Erro 2
root@Dr:/usr/src/rtl_92ce_92se_92de_linux_mac80211
ifconfig
eth0 Link encap:Ethernet Endereço de HW 44:87:fc:2f:54:03
inet end.: 10.1.1.6 Bcast:10.255.255.255 Masc:255.0.0.0
endereço inet6: fe80::4687:fcff:fe2f:5403/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:12 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:29 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:1744 (1.7 KB) TX bytes:4619 (4.6 KB)
IRQ:30 Endereço de E/S:0x8000
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACK RUNNING MTU:16436 Métrica:1
pacotes RX:8 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:8 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)
vandaimer@Dr:~$
vandaimer@Dr:~$ ifconfig
eth0 Link encap:Ethernet Endereço de HW 44:87:fc:2f:54:03
endereço inet6: fe80::4687:fcff:fe2f:5403/64 Escopo:Link
UP BROADCAST MULTICAST MTU:1500 Métrica:1
pacotes RX:12 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:29 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:1744 (1.7 KB) TX bytes:4619 (4.6 KB)
IRQ:30 Endereço de E/S:0x8000
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACK RUNNING MTU:16436 Métrica:1
pacotes RX:8 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:8 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)
vandaimer@Dr:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
pan0 no wireless extensions.
vandaimer@Dr:~$