Linksys WUSB600N v2 Kurulum Sorunu

Başlatan erturanya, 18 Aralık 2010 - 10:27:06

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

erturanya

Merhaba Arkadaşlar,

Evimde ADSL modem ile bilgisayar lokasyonunun tamamıyla alakasız yerlerde olmasından ötürü Linksys WUSB600N v2 USB  ile desktop'tan kablosuz bağlanıyorum ve Windows7  ile kurulum bile yapmadım, sorunsuz çalışlıyor. Ancak malum sebeplerden ötürü ve Ubuntu 10.10'ü gördükten sonra M$'tan tamamıyla kurtulmaya karar verdim. Ancak o kadar araştırmaya rağmen USB aygıtını çalıştırıp internete bağlanamıyorum.

1) RT3572 indirdim, çünkü v2. Açtım.
2) Config dosyasında "Y" ile işaretlemem gerekenleri işaretledim.
3) Diğer dosyada RT3752'ye USB kimliği ekledim.


yahya@yahya-945GCM-S2L:~/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2$ make
make -C tools
make[1]: Entering directory `/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools/bin2h
cp -f os/linux/Makefile.6 /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/Makefile
make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_md5.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c: In function 'AES_GTK_KEY_WRAP':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1100 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c: In function 'WscDecryptData':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1356 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c: In function 'WscEncryptData':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1356 bytes is larger than 1024 bytes
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/mlme.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/mlme.c: In function 'BssTableSortByRssi':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/mlme.c:6112: warning: the frame size of 1720 bytes is larger than 1024 bytes
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_wep.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/action.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_data.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/rtmp_init.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_aes.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_sync.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/eeprom.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_info.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/dfs.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/spectrum.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/rt_channel.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_profile.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_asic.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/assoc.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/auth.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c: In function 'PeerBeacon':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c:1764: warning: the frame size of 1308 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c: In function 'PeerBeaconAtJoinAction':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c:1094: warning: the frame size of 1296 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c: In function 'PeerBeaconAtScanAction':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c:764: warning: the frame size of 1264 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c: In function 'MlmeStartReqAction':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sync.c:581: warning: the frame size of 1064 bytes is larger than 1024 bytes
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sanity.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/connect.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/connect.c: In function 'CntlOidScanProc':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/connect.c:356: warning: the frame size of 1748 bytes is larger than 1024 bytes
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/wpa.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/ags.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_profile.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_ioctl_siwencode':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c:1484: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_ioctl_iwaplist':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c:604: warning: the frame size of 1284 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_ioctl_siwmlme':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c:1984: warning: the frame size of 1652 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c: In function 'RTMPIoctlE2PROM':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c:6052: warning: the frame size of 1348 bytes is larger than 1024 bytes
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c: In function 'RTMPIoctlMAC':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/sta_ioctl.c:5853: warning: the frame size of 1344 bytes is larger than 1024 bytes
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_linux.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_linux.c:1694: warning: initialization discards qualifiers from pointer target type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_linux.c:1731: warning: initialization discards qualifiers from pointer target type
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_main_dev.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../os/linux/rt_main_dev.c:117: warning: unused variable 'Cancelled'
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/ba_action.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../sta/dls.o
  CC [M]  /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.o
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function 'RTMPAllocUsbBulkBufStruct':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:52: error: implicit declaration of function 'usb_buffer_alloc'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:52: warning: assignment makes pointer from integer without a cast
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function 'RTMPFreeUsbBulkBufStruct':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:78: error: implicit declaration of function 'usb_buffer_free'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function 'RTMPFreeTxRxRingMemory':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:234: warning: passing argument 3 of 'RTMPFreeUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected 'UCHAR **' but argument is of type 'struct __TX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:241: warning: passing argument 3 of 'RTMPFreeUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected 'UCHAR **' but argument is of type 'struct __TX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:278: warning: passing argument 3 of 'RTMPFreeUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected 'UCHAR **' but argument is of type 'struct __HTTX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function 'NICInitTransmit':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:507: warning: passing argument 3 of 'RTMPFreeUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected 'UCHAR **' but argument is of type 'struct __TX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function 'RTMPAllocTxRxRingMemory':
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:566: warning: passing argument 3 of 'RTMPAllocUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected 'VOID **' but argument is of type 'struct __HTTX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:596: warning: passing argument 3 of 'RTMPAllocUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected 'VOID **' but argument is of type 'struct __TX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:610: warning: passing argument 3 of 'RTMPAllocUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected 'VOID **' but argument is of type 'struct __TX_BUFFER **'
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:628: warning: passing argument 3 of 'RTMPAllocUsbBulkBufStruct' from incompatible pointer type
/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected 'VOID **' but argument is of type 'UCHAR **'
make[2]: *** [/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [LINUX] Error 2
yahya@yahya-945GCM-S2L:~/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2$ sudo make install
[sudo] password for yahya:
make -C /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux -f Makefile.6 install
make[1]: Entering directory `/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3572sta.ko /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/
install: cannot stat `rt3572sta.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/yahya/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux'
make: *** [install] Error 2
yahya@yahya-945GCM-S2L:~/Drivers/2010_0915_RT3572_Linux_STA_v2.4.0.2$


Anladığım kadarıyla derlemeyi düzgün yapmıyor ve make install'de bunun için başarılı olmuyor.

Yardımcı olabilirseniz memnun olurum.

Teşekkürler,

Yahya

bytan

Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

heartsmagic

@bytan'ın verdiği ikinci bağlantıdan yola çıkarak derleyebildim sürücüyü. Sonra başkalarına lazım olur diye kabaca geçelim çözümü.

1. http://www.ralinktech.com/support.php?s=2 adresinden RT3572USB v. 2.4.0.2 paketi indirilip arşiv açılır.
2. common/rtusb_dev_id.c dosyasındaki #ifdef RT35xx ve #endif satırlarına arasına aşağıdaki satır eklenir:
Alıntı Yap{USB_DEVICE(0x1737,0x0079)}, /* WUSB600Nv2 */
3. os/linux/config.mk dosyasındaki HAS_WPA_SUPPLICANT, HAS_NATIVE_WPA_SUPPLICANT_SUPPORT ve HAS_QOS_DLS_SUPPORT değerleri Y olarak işaretlenir.
4. include/os/rt_linux.h dosyasındaki "usb_buffer_alloc" ifadesi "usb_alloc_coherent" olarak "usb_buffer_free" ifadesi "usb_free_coherent" olarak değiştirilir.
5. sudo edit /etc/modprobe.d/blacklist.conf ile dosya açılır, en alt satıra şunlar eklenir:
Alıntı Yap# to ensure my rt3572usb gets loaded
blacklist rt2800usb

Ardından derlenir sürücü.

@erturanya, sendeki sıkıntı 4 numaralı düzeltmeyi yapmadığın için oluyor.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.