Перейти к содержанию

kivofis

Пользователи
  • Постов

    5
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные kivofis

  1. pishu v ubuntu, net rus texta!!

     

    Распаковываем драйвер 2010_0709_RT2870_Linux_STA_v2.4.0.1.tar и помещаем распакованную папку 2010_0709_RT2870_Linux_STA_v2.4.0.1 в Домашнюю папку

    ubuntu@ubuntu:~$ lsusb
    Bus 001 Device 002: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
    Bus 002 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
    - в папке 2010_0709_RT2870_Linux_STA_v2.4.0.1 находим папу common и в ней файл rtusb_dev_id.c
    - находим файл config.mk по пути os/linux (redaktir)
    - ubuntu@ubuntu:~/drive$ sudo su
      root@ubuntu:/home/ubuntu/drive#
    - root@ubuntu:/home/ubuntu/drive# sudo make
    make -C tools
    make[1]: Entering directory `/home/ubuntu/drive/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/ubuntu/drive/tools'
    /home/ubuntu/drive/tools/bin2h
    cp -f os/linux/Makefile.6 /home/ubuntu/drive/os/linux/Makefile
    make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/ubuntu/drive/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
      CC [M]  /home/ubuntu/drive/os/linux/../../common/crypt_md5.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/crypt_sha2.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/crypt_hmac.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/crypt_aes.o
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c:1522:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c:1592:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
    /home/ubuntu/drive/os/linux/../../common/crypt_aes.c:2265:1: warning: the frame size of 1096 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      CC [M]  /home/ubuntu/drive/os/linux/../../common/crypt_arc4.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/mlme.o
    /home/ubuntu/drive/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
    /home/ubuntu/drive/os/linux/../../common/mlme.c:5739:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
    /home/ubuntu/drive/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
    /home/ubuntu/drive/os/linux/../../common/mlme.c:6100:1: warning: the frame size of 1720 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_wep.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/action.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_data.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/rtmp_init.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_tkip.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_aes.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_sync.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/eeprom.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_sanity.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_info.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_cfg.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_wpa.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/dfs.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/spectrum.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/rtmp_timer.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/rt_channel.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_profile.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_asic.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_cmd.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/assoc.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/auth.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/auth_rsp.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/sync.o
    /home/ubuntu/drive/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
    /home/ubuntu/drive/os/linux/../../sta/sync.c:1094:1: warning: the frame size of 1300 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
    /home/ubuntu/drive/os/linux/../../sta/sync.c:764:1: warning: the frame size of 1260 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
    /home/ubuntu/drive/os/linux/../../sta/sync.c:1764:1: warning: the frame size of 1300 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/sanity.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/rtmp_data.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/connect.o
    /home/ubuntu/drive/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
    /home/ubuntu/drive/os/linux/../../sta/connect.c:355:1: warning: the frame size of 1744 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/wpa.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/ags.o
      CC [M]  /home/ubuntu/drive/os/linux/../../sta/sta_cfg.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/rtmp_init_inf.o
      CC [M]  /home/ubuntu/drive/os/linux/../../os/linux/rt_profile.o
      CC [M]  /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.o
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:1479:3: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:1979:1: warning: the frame size of 1644 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:599:1: warning: the frame size of 1284 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    In file included from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/uaccess.h:550:0,
                     from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/sections.h:5,
                     from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/hw_irq.h:26,
                     from include/linux/irq.h:358,
                     from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/hardirq.h:5,
                     from include/linux/hardirq.h:8,
                     from include/linux/interrupt.h:12,
                     from /home/ubuntu/drive/include/os/rt_linux.h:49,
                     from /home/ubuntu/drive/include/rtmp_os.h:42,
                     from /home/ubuntu/drive/include/rt_config.h:72,
                     from /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:40:
    In function ‘copy_from_user’,
        inlined from ‘RTMPSetInformation’ at /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:3059:28:
    /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/uaccess_32.h:211:26: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct [enabled by default]
    In function ‘copy_from_user’,
        inlined from ‘RTMPSetInformation’ at /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:3544:28:
    /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/uaccess_32.h:211:26: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct [enabled by default]
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:5836:1: warning: the frame size of 1352 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
    /home/ubuntu/drive/os/linux/../../os/linux/sta_ioctl.c:6035:1: warning: the frame size of 1348 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      CC [M]  /home/ubuntu/drive/os/linux/../../os/linux/rt_linux.o
    /home/ubuntu/drive/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
    /home/ubuntu/drive/os/linux/../../os/linux/rt_linux.c:1694:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
    /home/ubuntu/drive/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
    /home/ubuntu/drive/os/linux/../../os/linux/rt_linux.c:1731:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
      CC [M]  /home/ubuntu/drive/os/linux/../../os/linux/rt_main_dev.o
    /home/ubuntu/drive/os/linux/../../os/linux/rt_main_dev.c: In function ‘MainVirtualIF_close’:
    /home/ubuntu/drive/os/linux/../../os/linux/rt_main_dev.c:117:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
      CC [M]  /home/ubuntu/drive/os/linux/../../common/ba_action.o
      CC [M]  /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.o
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocUsbBulkBufStruct’:
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:52:2: error: implicit declaration of function ‘usb_buffer_alloc’ [-Werror=implicit-function-declaration]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:52:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeUsbBulkBufStruct’:
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:78:3: error: implicit declaration of function ‘usb_buffer_free’ [-Werror=implicit-function-declaration]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeTxRxRingMemory’:
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:234:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:241:9: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:278:11: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __HTTX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c: In function ‘NICInitTransmit’:
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:507:12: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:62:20: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:566:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:596:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:610:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:628:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type [enabled by default]
    /home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
    cc1: some warnings being treated as errors
    make[2]: *** [/home/ubuntu/drive/os/linux/../../common/cmm_mac_usb.o] Error 1
    make[1]: *** [_module_/home/ubuntu/drive/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
    make: *** [LINUX] Error 2
    root@ubuntu:/home/ubuntu/drive#
    
    -root@ubuntu:/home/ubuntu/drive# sudo make install
    make -C /home/ubuntu/drive/os/linux -f Makefile.6 install
    make[1]: Entering directory `/home/ubuntu/drive/os/linux'
    rm -rf /etc/Wireless/RT2870STA
    mkdir /etc/Wireless/RT2870STA
    cp /home/ubuntu/drive/RT2870STA.dat /etc/Wireless/RT2870STA/.
    install -d /lib/modules/3.8.0-19-generic/kernel/drivers/net/wireless/
    install -m 644 -c rt2870sta.ko /lib/modules/3.8.0-19-generic/kernel/drivers/net/wireless/
    install: cannot stat ‘rt2870sta.ko’: No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/ubuntu/drive/os/linux'
    make: *** [install] Error 2
    root@ubuntu:/home/ubuntu/drive#
    
    -root@ubuntu:/home/ubuntu/drive# sudo modprobe rt2870sta
    FATAL: Module rt2870sta not found.
    root@ubuntu:/home/ubuntu/drive#

    oshibka v drivere???

  2. Помогите ! Пытаюсь привязать адаптер  TP-LINK TL-WN727N V.3 на  Pgi-Final, Sezam 902HD. Проблема в том, что я не могу до него достучаться ни telnet, ни "ubuntu" на команду `isusb` . Адаптер рабочий, Винда и Убунту его видит. На команды isusb, iwconfig в терминале Убунту (старт с флзшки) пишет: ubuntu@ubuntu:~$ isusb
                                                                              No command 'isusb' found, did you mean:
                                                                              Command 'lsusb' from package 'usbutils' (main)
                                                                              isusb: command not found
                                                                              ubuntu@ubuntu:~$

    при этом адаптер в Убунту работает, драва привязал. 

    Таким образом не могу поменять и проверить VID и PID.

     

    Почему терминал не находит команды isusb, iwconfig  

    СПАСИБО

  3. Всем доброго "дня". Подскажите возможно-ли адаптировать WIFI (свисток DWA-126 rev.A1 чипсет не знаю, DWA-125 rev.B1 чип 5827) на sezam 902HD , PGI 1.4


    DWA-125 A2 работает нормально, но их уже нет в продаже. Или ссылку на описание в форуме.


    Спасибо...

×
×
  • Создать...