По поводу wi-fi, вот что происходит после ./makedrv:
rm -f *.mod.c *.mod *.o .*.cmd *.ko
эрэм эрэф /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/tmp
make -C /lib/modules/2.6.22-14-generic/build M=/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_ips_scan_syncro’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:597: warning: ISO C90 forbids mixed declarations and code
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:678: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:677: warning: unused variable ‘dwork’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_association_req’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1318: warning: unused variable ‘authen_type’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1317: warning: unused variable ‘pairwise_type’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1303: warning: unused variable ‘p’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1302: warning: unused variable ‘buff’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1301: warning: unused variable ‘wrqu’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1300: warning: unused variable ‘dev’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1298: warning: unused variable ‘suit_select’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1297: warning: unused variable ‘suite_count’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1296: warning: unused variable ‘i’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1295: warning: unused variable ‘info_addr’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:1291: warning: unused variable ‘flags’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:2320:4: warning: #warning CHECK_LOCK_HERE
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:2361:2: warning: #warning CHECK_LOCK_HERE
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_start_ibss_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:2917: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_retry_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3076: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3075: warning: unused variable ‘dwork’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3389: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3390: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3391: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3392: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3393: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:3394: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:2320:4: warning: #warning CHECK_LOCK_HERE
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac.c:2361:2: warning: #warning CHECK_LOCK_HERE
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c: In function ‘ieee80211_rx_rtl’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:569: warning: unused variable ‘priv’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c: In function ‘ieee80211_network_init’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: warning: ‘hOpRate’ may be used uninitialized in this function
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c: In function ‘ieee80211_rx_mgt_rtl’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: warning: ‘hOpRate’ may be used uninitialized in this function
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: note: ‘hOpRate’ was declared here
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: warning: ‘hOpRate’ may be used uninitialized in this function
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: note: ‘hOpRate’ was declared here
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c: In function ‘ieee80211_process_probe_response’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: warning: ‘hOpRate’ may be used uninitialized in this function
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_rx.c:1208: note: ‘hOpRate’ was declared here
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_tx.o
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_wx.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_wx.c: In function ‘ieee80211_wx_set_encode_ext’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_wx.c:643: warning: label ‘skip_host_crypt’ defined but not used
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_module.o
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_softmac_wx.o
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt.o
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_aes_encrypt’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c:87: warning: passing argument 1 of ‘crypto_cipher_encrypt_one’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_init’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c:109: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c:125: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_deinit’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c:141: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_set_key’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_ccmp.c:433: warning: passing argument 1 of ‘crypto_cipher_setkey’ from incompatible pointer type
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_encrypt’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c:434: error: ‘struct scatterlist’ has no member named ‘page_link’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_decrypt’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c:532: error: ‘struct scatterlist’ has no member named ‘page_link’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c: In function ‘michael_mic’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c:651: error: ‘struct scatterlist’ has no member named ‘page_link’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.c:655: error: ‘struct scatterlist’ has no member named ‘page_link’
make[2]: *** [/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211/ieee80211_crypt_tkip.o] Error 1
make[1]: *** [_module_/home/ildar/rtl8187se_linux_26.1012.0331.2008/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
эрэм эрэф /home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/tmp
make -C /lib/modules/2.6.22-14-generic/build M=/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.o
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:74:28: error: asm-x86/signal.h: No such file or directory
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘proc_get_stats_hw’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:341: warning: unused variable ‘priv’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_init’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:588: error: ‘init_net’ undeclared (first use in this function)
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:588: error: (Each undeclared identifier is reported only once
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:588: error: for each function it appears in.)
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_remove’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:594: error: ‘init_net’ undeclared (first use in this function)
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘PerformUndecoratedSignalSmoothing8185’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:2304: warning: comparison is always true due to limited range of data type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_rx’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:2358: warning: ISO C90 forbids mixed declarations and code
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:2345: warning: unused variable ‘count’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:2341: warning: unused variable ‘prism_hdr’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_hard_data_xmit’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:2960: warning: unused variable ‘count’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_tx’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3156: warning: unused variable ‘FrameTime’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3155: warning: unused variable ‘AckCtsTime’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_hw_sleep’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3734: warning: passing argument 2 of ‘queue_work’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: At top level:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3741: warning: ‘struct struct_work’ declared inside parameter list
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3741: warning: its scope is only this definition or declaration, which is probably not what you want
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_wmm_param_update’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3743: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3745: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3744: warning: unused variable ‘priv’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘watch_dog_adaptive’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3920: warning: passing argument 2 of ‘queue_work’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3928: warning: passing argument 2 of ‘queue_work’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_init’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4068: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4135: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4136: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4137: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4138: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4141: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4142: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4143: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4144: warning: assignment from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4678: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:3948: warning: unused variable ‘config3’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8185_write_phy’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4813: warning: unused variable ‘i’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:4811: warning: unused variable ‘phyr’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘LeisurePSEnter’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5203: warning: unused variable ‘rtState’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘LeisurePSLeave’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5234: warning: unused variable ‘rtState’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_hw_wakeup_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5261: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5260: warning: unused variable ‘dwork’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_hw_sleep_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5282: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5281: warning: unused variable ‘dwork’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘_rtl8180_up’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5391: warning: passing argument 1 of ‘timer_rate_adaptive’ makes integer from pointer without a cast
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5394: warning: passing argument 1 of ‘watch_dog_adaptive’ makes integer from pointer without a cast
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:5375: warning: unused variable ‘i’
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c: In function ‘rtl8180_tx_irq_wq’:
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:6111: warning: initialization from incompatible pointer type
/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.c:6109: warning: unused variable ‘priv’
make[2]: *** [/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185/r8180_core.o] Error 1
make[1]: *** [_module_/home/ildar/rtl8187se_linux_26.1012.0331.2008/rtl8185] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
При этом после wlan0up, он пишет что insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8180.ko': No such file or directory
ath0: ERROR while getting interface flags: No such device