Originally Posted by
adamis
The instructions listed in the link from earlier posts I found have typos. Below are some corrected instructions that hopefully should get you on your way...
1. Download the file contained at this link:
http://barkmunchers.com/dm1z/RT.tar.gz
2. Extract the files to a directory. Then open a console, navigate to the directory that you extracted the files to then run the following commands:
PHP Code:
sudo make
sudo make install
sudo mkdir -p /etc/Wireless/RT5390STA
sudo cp RT5390STA.dat /etc/Wireless/RT5390STA/RT5390STA.dat
sudo cp ./os/linux/rt5390sta.ko /lib/modules/<uname -r>/kernel/drivers/net/wireless/rt5390sta.ko
Note that for the last command above I used the option <uname -r>. This will copy the files to the current running kernel version. Make sure you are running the kernel that you wish to get the wireless running on...
Now edit /etc/modules to add the line 'rt5390sta' at the end
Then run:
PHP Code:
sudo depmod -a
reboot
That should get you on your way. Hopefully that I didn't add in any typos myself.
Very interesting.
But when I run the command
sudo make install
I receive an error
/home/tamburello/RT/RT2860STA.dat": File or directory doesn't exist
Code:
tamburello@tamburello-HP-G62-Notebook-PC:~$ cd RT
tamburello@tamburello-HP-G62-Notebook-PC:~/RT$ sudo make
[sudo] password for tamburello:
make -C tools
make[1]: ingresso nella directory "/home/tamburello/RT/tools"
gcc -g bin2h.c -o bin2h
make[1]: uscita dalla directory "/home/tamburello/RT/tools"
/home/tamburello/RT/tools/bin2h
cp -f os/linux/Makefile.6 /home/tamburello/RT/os/linux/Makefile
make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/tamburello/RT/os/linux modules
make[1]: ingresso nella directory "/usr/src/linux-headers-2.6.38-8-generic"
CC [M] /home/tamburello/RT/os/linux/../../common/crypt_md5.o
CC [M] /home/tamburello/RT/os/linux/../../common/crypt_sha2.o
CC [M] /home/tamburello/RT/os/linux/../../common/crypt_hmac.o
CC [M] /home/tamburello/RT/os/linux/../../common/crypt_aes.o
/home/tamburello/RT/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/tamburello/RT/os/linux/../../common/crypt_aes.c:1522:1: warning: the frame size of 1424 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/tamburello/RT/os/linux/../../common/crypt_aes.c:1592:1: warning: the frame size of 1424 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/tamburello/RT/os/linux/../../common/crypt_aes.c:2265:1: warning: the frame size of 1648 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_UNWRAP’:
/home/tamburello/RT/os/linux/../../common/crypt_aes.c:2348:1: warning: the frame size of 1136 bytes is larger than 1024 bytes
CC [M] /home/tamburello/RT/os/linux/../../common/crypt_arc4.o
CC [M] /home/tamburello/RT/os/linux/../../common/mlme.o
/home/tamburello/RT/os/linux/../../common/mlme.c: In function ‘InitLookupTable’:
/home/tamburello/RT/os/linux/../../common/mlme.c:635:2: warning: missing braces around initializer
/home/tamburello/RT/os/linux/../../common/mlme.c:635:2: warning: (near initialization for ‘WordStruct.field’)
/home/tamburello/RT/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/tamburello/RT/os/linux/../../common/mlme.c:1047:2: warning: cast from pointer to integer of different size
/home/tamburello/RT/os/linux/../../common/mlme.c:1047:2: warning: cast from pointer to integer of different size
/home/tamburello/RT/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/home/tamburello/RT/os/linux/../../common/mlme.c:6019:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined
/home/tamburello/RT/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/tamburello/RT/os/linux/../../common/mlme.c:6380:1: warning: the frame size of 1728 bytes is larger than 1024 bytes
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_wep.o
CC [M] /home/tamburello/RT/os/linux/../../common/action.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_data.o
CC [M] /home/tamburello/RT/os/linux/../../common/rtmp_init.o
/home/tamburello/RT/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/tamburello/RT/os/linux/../../common/rtmp_init.c:1558:9: warning: unused variable ‘EfuseData’
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_tkip.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_aes.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_sync.o
CC [M] /home/tamburello/RT/os/linux/../../common/eeprom.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_sanity.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_info.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_cfg.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_wpa.o
/home/tamburello/RT/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg4Action’:
/home/tamburello/RT/os/linux/../../common/cmm_wpa.c:1109:11: warning: unused variable ‘group_cipher’
/home/tamburello/RT/os/linux/../../common/cmm_wpa.c: In function ‘PeerGroupMsg2Action’:
/home/tamburello/RT/os/linux/../../common/cmm_wpa.c:1454:11: warning: unused variable ‘group_cipher’
CC [M] /home/tamburello/RT/os/linux/../../common/dfs.o
CC [M] /home/tamburello/RT/os/linux/../../common/spectrum.o
CC [M] /home/tamburello/RT/os/linux/../../common/rtmp_timer.o
CC [M] /home/tamburello/RT/os/linux/../../common/rt_channel.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_profile.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_asic.o
/home/tamburello/RT/os/linux/../../common/cmm_asic.c: In function ‘AsicSwitchChannel’:
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:1243:15: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:1384:17: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:1392:17: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:1403:16: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/cmm_asic.c: In function ‘AsicEnableIbssSync’:
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:5431:11: warning: unused variable ‘beaconLen’
/home/tamburello/RT/os/linux/../../common/cmm_asic.c: In function ‘AsicAddPairwiseKeyEntry’:
/home/tamburello/RT/os/linux/../../common/cmm_asic.c:6159:9: warning: unused variable ‘CipherAlg’
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_cmd.o
CC [M] /home/tamburello/RT/os/linux/../../sta/assoc.o
CC [M] /home/tamburello/RT/os/linux/../../sta/auth.o
CC [M] /home/tamburello/RT/os/linux/../../sta/auth_rsp.o
CC [M] /home/tamburello/RT/os/linux/../../sta/sync.o
/home/tamburello/RT/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/tamburello/RT/os/linux/../../sta/sync.c:755:1: warning: the frame size of 1328 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/tamburello/RT/os/linux/../../sta/sync.c:1085:1: warning: the frame size of 1408 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/tamburello/RT/os/linux/../../sta/sync.c:571:1: warning: the frame size of 1088 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/tamburello/RT/os/linux/../../sta/sync.c:1755:1: warning: the frame size of 1472 bytes is larger than 1024 bytes
CC [M] /home/tamburello/RT/os/linux/../../sta/sanity.o
CC [M] /home/tamburello/RT/os/linux/../../sta/rtmp_data.o
CC [M] /home/tamburello/RT/os/linux/../../sta/connect.o
/home/tamburello/RT/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/tamburello/RT/os/linux/../../sta/connect.c:314:1: warning: the frame size of 1776 bytes is larger than 1024 bytes
CC [M] /home/tamburello/RT/os/linux/../../sta/wpa.o
CC [M] /home/tamburello/RT/os/linux/../../sta/ags.o
CC [M] /home/tamburello/RT/os/linux/../../sta/sta_cfg.o
CC [M] /home/tamburello/RT/os/linux/../../sta/frq_cal.o
/home/tamburello/RT/os/linux/../../sta/frq_cal.c: In function ‘FrequencyCalibration’:
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:214:18: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:227:18: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:242:18: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:264:18: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:277:18: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../sta/frq_cal.c:292:18: warning: comparison of distinct pointer types lacks a cast
CC [M] /home/tamburello/RT/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/tamburello/RT/os/linux/../../os/linux/rt_profile.o
CC [M] /home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.o
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c:592:1: warning: the frame size of 1280 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c:1962:1: warning: the frame size of 1696 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c:5835:1: warning: the frame size of 1360 bytes is larger than 1024 bytes
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
/home/tamburello/RT/os/linux/../../os/linux/sta_ioctl.c:6034:1: warning: the frame size of 1376 bytes is larger than 1024 bytes
CC [M] /home/tamburello/RT/os/linux/../../os/linux/rt_linux.o
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c:636:23: warning: assignment makes integer from pointer without a cast
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’:
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c:658:15: warning: assignment makes integer from pointer without a cast
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c:679:15: warning: assignment makes integer from pointer without a cast
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c:1701:38: warning: initialization discards qualifiers from pointer target type
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/tamburello/RT/os/linux/../../os/linux/rt_linux.c:1738:38: warning: initialization discards qualifiers from pointer target type
CC [M] /home/tamburello/RT/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/tamburello/RT/os/linux/../../common/ba_action.o
/home/tamburello/RT/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/tamburello/RT/os/linux/../../common/ba_action.c:1568:2: warning: assignment makes integer from pointer without a cast
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_mac_pci.o
CC [M] /home/tamburello/RT/os/linux/../../common/cmm_data_pci.o
CC [M] /home/tamburello/RT/os/linux/../../common/ee_prom.o
CC [M] /home/tamburello/RT/os/linux/../../common/ee_efuse.o
CC [M] /home/tamburello/RT/os/linux/../../common/rtmp_mcu.o
/home/tamburello/RT/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/tamburello/RT/os/linux/../../common/rtmp_mcu.c:463:4: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:736:19: note: expected ‘u16 *’ but argument is of type ‘INT *’
/home/tamburello/RT/os/linux/../../common/rtmp_mcu.c:482:4: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:736:19: note: expected ‘u16 *’ but argument is of type ‘INT *’
CC [M] /home/tamburello/RT/os/linux/../../common/rt_rf.o
CC [M] /home/tamburello/RT/os/linux/../../chips/rt30xx.o
CC [M] /home/tamburello/RT/os/linux/../../chips/rt3090.o
CC [M] /home/tamburello/RT/os/linux/../../chips/rt33xx.o
CC [M] /home/tamburello/RT/os/linux/../../chips/rt3390.o
CC [M] /home/tamburello/RT/os/linux/../../chips/rt5390.o
CC [M] /home/tamburello/RT/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/tamburello/RT/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/tamburello/RT/os/linux/../../os/linux/pci_main_dev.o
/home/tamburello/RT/os/linux/../../os/linux/pci_main_dev.c: In function ‘rt2860_probe’:
/home/tamburello/RT/os/linux/../../os/linux/pci_main_dev.c:305:13: warning: assignment discards qualifiers from pointer target type
CC [M] /home/tamburello/RT/os/linux/../../common/rt_ate.o
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘DO_RACFG_CMD_IO_READ_BULK’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:454:44: warning: cast to pointer from integer of different size
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘ATETxPwrHandler’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:1802:45: warning: unused variable ‘CfgOfTxPwrCtrlOverMAC’
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘ATEAsicSwitchChannel’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5076:15: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5230:16: warning: comparison of distinct pointer types lacks a cast
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5007:21: warning: unused variable ‘RFValue2’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5002:16: warning: unused variable ‘RFRegTable’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5001:43: warning: unused variable ‘R4’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5001:17: warning: unused variable ‘R3’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:5001:9: warning: unused variable ‘R2’
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_TSSI_CALIBRATION_Proc’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7564:5: warning: passing argument 3 of ‘eFuseWrite’ from incompatible pointer type
/home/tamburello/RT/include/rtmp.h:5889:10: note: expected ‘PUSHORT’ but argument is of type ‘UCHAR *’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7477:42: warning: unused variable ‘ChannelPower’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7649:5: warning: passing argument 3 of ‘eFuseWrite’ from incompatible pointer type
/home/tamburello/RT/include/rtmp.h:5889:10: note: expected ‘PUSHORT’ but argument is of type ‘UCHAR *’
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_READ_EXTERNAL_TSSI_Proc’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:8011:9: warning: passing argument 3 of ‘eFuseWrite’ from incompatible pointer type
/home/tamburello/RT/include/rtmp.h:5889:10: note: expected ‘PUSHORT’ but argument is of type ‘UCHAR *’
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7965:18: warning: unused variable ‘EEPTemp’
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_TSSI_CALIBRATION_Proc’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7477:9: warning: ‘BbpData’ may be used uninitialized in this function
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7584:17: warning: ‘BbpData’ may be used uninitialized in this function
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘RTATEGetTssiByChannel’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7708:8: warning: ‘BbpData’ may be used uninitialized in this function
/home/tamburello/RT/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_READ_EXTERNAL_TSSI_Proc’:
/home/tamburello/RT/os/linux/../../common/rt_ate.c:7964:28: warning: ‘BbpData’ may be used uninitialized in this function
CC [M] /home/tamburello/RT/os/linux/../../common/misc.o
LD [M] /home/tamburello/RT/os/linux/rt5390sta.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/tamburello/RT/os/linux/rt5390sta.mod.o
LD [M] /home/tamburello/RT/os/linux/rt5390sta.ko
make[1]: uscita dalla directory "/usr/src/linux-headers-2.6.38-8-generic"
tamburello@tamburello-HP-G62-Notebook-PC:~/RT$ sudo make install
make -C /home/tamburello/RT/os/linux -f Makefile.6 install
mkdir: impossibile creare la directory "/etc/Wireless": File già esistente
make[1]: ingresso nella directory "/home/tamburello/RT/os/linux"
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/tamburello/RT/RT2860STA.dat /etc/Wireless/RT2860STA/.
cp: impossibile eseguire stat di "/home/tamburello/RT/RT2860STA.dat": File o directory non esistente
make[1]: *** [install] Errore 1
make[1]: uscita dalla directory "/home/tamburello/RT/os/linux"
make: *** [install] Errore 2
tamburello@tamburello-HP-G62-Notebook-PC:~/RT$
Bookmarks