{"id":2913,"date":"2014-03-10T12:32:26","date_gmt":"2014-03-10T12:32:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/10\/rt3060-wireless-on-ubuntu-13-04-collection-of-common-programming-errors\/"},"modified":"2014-03-10T12:32:26","modified_gmt":"2014-03-10T12:32:26","slug":"rt3060-wireless-on-ubuntu-13-04-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/10\/rt3060-wireless-on-ubuntu-13-04-collection-of-common-programming-errors\/","title":{"rendered":"RT3060 Wireless on Ubuntu 13.04-Collection of common programming errors"},"content":{"rendered":"<p>My Wireless Connection is working fine on my newly installed Ubuntu 13.04. But Im trying to improve my wireless connection by installing the driver. The stock driver that is built into ubuntu has weak signal<\/p>\n<p>Here are my wireless card details (done via &#8220;lspci -v&#8221;)<\/p>\n<pre><code> 04:00.0 Network controller: Ralink corp. RT3060 Wireless 802.11n 1T\/1R\n    Subsystem: Ralink corp. RT3060 Wireless 802.11n 1T\/1R\n    Flags: bus master, slow devsel, latency 32, IRQ 21\n    Memory at fb100000 (32-bit, non-prefetchable) [size=64K]\n    Capabilities: [40] Power Management version 3\n    Kernel driver in use: rt2800pci\n<\/code><\/pre>\n<p>I had downloaded DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz from RALINK website (now mediatek) and did the following:<\/p>\n<pre><code>sudo apt-get install --reinstall linux-headers-generic build-essential dkms\ncd angepasster-DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/\nsudo make clean\nsudo make\nsudo make install\necho \"blacklist rt2800pci\" | sudo tee \/etc\/modprobe.d\/blacklist-rt2800pci.conf\nsudo modprobe -rfv rt2800pci\nsudo modprobe -v rt3562sta\n<\/code><\/pre>\n<p>However I run into errors that was not encountered in the past ubuntu versions (12.04 and 12.10)<\/p>\n<p>from the command &#8220;make&#8221;:<\/p>\n<pre><code>make -C tools\nmake[1]: Entering directory `\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/tools'\ngcc -g bin2h.c -o bin2h\nmake[1]: Leaving directory `\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/tools'\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/tools\/bin2h\ncp -f os\/linux\/Makefile.6 \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/Makefile\nmake -C \/lib\/modules\/3.8.0-19-generic\/build SUBDIRS=\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux modules\nmake[1]: Entering directory `\/usr\/src\/linux-headers-3.8.0-19-generic'\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_md5.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_sha2.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_hmac.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c: In function \u2018WscEncryptData\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c:1522:1: warning: the frame size of 1408 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c: In function \u2018WscDecryptData\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c:1592:1: warning: the frame size of 1408 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c: In function \u2018AES_GTK_KEY_WRAP\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c:2265:1: warning: the frame size of 1608 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c: In function \u2018AES_GTK_KEY_UNWRAP\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_aes.c:2348:1: warning: the frame size of 1144 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/crypt_arc4.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.c: In function \u2018MlmeResetRalinkCounters\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.c:867:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.c:867:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.c: In function \u2018BssTableSetEntry\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/mlme.c:5657:39: warning: operation on \u2018Tab-&gt;BssOverlapNr\u2019 may be undefined [-Wsequence-point]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_wep.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/action.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_data.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_init.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_init.c: In function \u2018NICInitAsicFromEEPROM\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_init.c:1391:4: warning: format \u2018%x\u2019 expects argument of type \u2018unsigned int\u2019, but argument 3 has type \u2018ULONG\u2019 [-Wformat]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_tkip.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_aes.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_sync.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/eeprom.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_sanity.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_info.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_cfg.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_wpa.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/dfs.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/spectrum.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/spectrum.c: In function \u2018PeerMeasureReportAction\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/spectrum.c:1966:3: warning: format \u2018%d\u2019 expects argument of type \u2018int\u2019, but argument 3 has type \u2018long unsigned int\u2019 [-Wformat]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_timer.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rt_channel.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_profile.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_asic.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_cmd.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/assoc.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/auth.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/auth_rsp.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/sync.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/sanity.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/rtmp_data.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/connect.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/wpa.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/ags.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/sta\/sta_cfg.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_init_inf.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_profile.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c: In function \u2018rt_ioctl_iwaplist\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c:596:1: warning: the frame size of 1288 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c: In function \u2018RTMPIoctlMAC\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c:5844:1: warning: the frame size of 1336 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c: In function \u2018RTMPIoctlE2PROM\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/sta_ioctl.c:6043:1: warning: the frame size of 1344 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018duplicate_pkt\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:482:3: warning: passing argument 1 of \u2018memmove\u2019 makes pointer from integer without a cast [enabled by default]\nIn file included from \/usr\/src\/linux-headers-3.8.0-19-generic\/arch\/x86\/include\/asm\/string.h:4:0,\n                 from include\/linux\/string.h:17,\n                 from include\/linux\/dynamic_debug.h:100,\n                 from include\/linux\/kernel.h:14,\n                 from include\/linux\/cache.h:4,\n                 from include\/linux\/time.h:4,\n                 from include\/linux\/stat.h:18,\n                 from include\/linux\/module.h:10,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/os\/rt_linux.h:31,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/rtmp_os.h:32,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/rt_config.h:60,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:28:\n\/usr\/src\/linux-headers-3.8.0-19-generic\/arch\/x86\/include\/asm\/string_64.h:58:7: note: expected \u2018void *\u2019 but argument is of type \u2018sk_buff_data_t\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:484:3: warning: passing argument 1 of \u2018memmove\u2019 makes pointer from integer without a cast [enabled by default]\nIn file included from \/usr\/src\/linux-headers-3.8.0-19-generic\/arch\/x86\/include\/asm\/string.h:4:0,\n                 from include\/linux\/string.h:17,\n                 from include\/linux\/dynamic_debug.h:100,\n                 from include\/linux\/kernel.h:14,\n                 from include\/linux\/cache.h:4,\n                 from include\/linux\/time.h:4,\n                 from include\/linux\/stat.h:18,\n                 from include\/linux\/module.h:10,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/os\/rt_linux.h:31,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/rtmp_os.h:32,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/include\/rt_config.h:60,\n                 from \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:28:\n\/usr\/src\/linux-headers-3.8.0-19-generic\/arch\/x86\/include\/asm\/string_64.h:58:7: note: expected \u2018void *\u2019 but argument is of type \u2018sk_buff_data_t\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018ClonePacket\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:634:23: warning: assignment makes integer from pointer without a cast [enabled by default]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018update_os_packet_info\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:656:15: warning: assignment makes integer from pointer without a cast [enabled by default]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018wlan_802_11_to_802_3_packet\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:677:15: warning: assignment makes integer from pointer without a cast [enabled by default]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018send_monitor_packets\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:950:9: warning: format \u2018%d\u2019 expects argument of type \u2018int\u2019, but argument 3 has type \u2018long unsigned int\u2019 [-Wformat]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018RtmpOSNetDevDetach\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:1699:38: warning: initialization discards \u2018const\u2019 qualifier from pointer target type [enabled by default]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c: In function \u2018RtmpOSNetDevAttach\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_linux.c:1736:38: warning: initialization discards \u2018const\u2019 qualifier from pointer target type [enabled by default]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_main_dev.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_main_dev.c: In function \u2018MainVirtualIF_close\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_main_dev.c:118:13: warning: unused variable \u2018Cancelled\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_main_dev.c: In function \u2018WriteDatThread\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_main_dev.c:1250:3: warning: \u2018return\u2019 with no value, in function returning non-void [-Wreturn-type]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/ba_action.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/ba_action.c: In function \u2018convert_reordering_packet_to_preAMSDU_or_802_3_packet\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/ba_action.c:1558:2: warning: assignment makes integer from pointer without a cast [enabled by default]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c: In function \u2018RTMPResetTxRxRingMemory\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:36:13: warning: unused variable \u2018num\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c: In function \u2018RTMPFreeTxRxRingMemory\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:119:16: warning: unused variable \u2018IrqFlags\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:118:16: warning: unused variable \u2018pPacket\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:117:15: warning: unused variable \u2018pTxD\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:116:16: warning: unused variable \u2018pTxRing\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:115:19: warning: unused variable \u2018j\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:115:6: warning: unused variable \u2018index\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c: In function \u2018RTMPAllocTxRxRingMemory\u2019:\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:447:11: warning: unused variable \u2018BufBaseVa\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:446:11: warning: unused variable \u2018BufBasePaLow\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:445:11: warning: unused variable \u2018BufBasePaHigh\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:432:15: warning: unused variable \u2018pPacket\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:431:15: warning: unused variable \u2018pDmaBuf\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:430:16: warning: unused variable \u2018pTxRing\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:428:14: warning: unused variable \u2018pRxD\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:427:14: warning: unused variable \u2018pTxD\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:425:10: warning: unused variable \u2018RingBaseVa\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:424:10: warning: unused variable \u2018RingBasePaLow\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:423:10: warning: unused variable \u2018RingBasePaHigh\u2019 [-Wunused-variable]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_mac_pci.c:489:4: warning: \u2018index\u2019 may be used uninitialized in this function [-Wuninitialized]\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/cmm_data_pci.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rtmp_mcu.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/ee_prom.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/ee_efuse.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/common\/rt_rf.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/chips\/rt30xx.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/chips\/rt35xx.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_pci_rbus.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/rt_rbus_pci_util.o\n  CC [M]  \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.o\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:37:23: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018rt2860_remove_one\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:38:22: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018rt2860_probe\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:60:46: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018__devinitdata\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:101:17: error: \u2018rt2860_pci_tbl\u2019 undeclared here (not in a function)\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:102:17: error: \u2018rt2860_probe\u2019 undeclared here (not in a function)\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:104:5: error: implicit declaration of function \u2018__devexit_p\u2019 [-Werror=implicit-function-declaration]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:104:29: error: \u2018rt2860_remove_one\u2019 undeclared here (not in a function)\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:297:24: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018rt2860_probe\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:471:23: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018rt2860_remove_one\u2019\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:536:14: warning: \u2018RTMPInitPCIeDevice\u2019 defined but not used [-Wunused-function]\n\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.c:87:1: error: \u2018__mod_pci_device_table\u2019 aliased to undefined symbol \u2018rt2860_pci_tbl\u2019\ncc1: some warnings being treated as errors\nmake[2]: *** [\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux\/..\/..\/os\/linux\/pci_main_dev.o] Error 1\nmake[1]: *** [_module_\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux] Error 2\nmake[1]: Leaving directory `\/usr\/src\/linux-headers-3.8.0-19-generic'\nmake: *** [LINUX] Error 2\n\/bin\/rm: cannot remove \u2018\/run\/user\/root\/gvfs\u2019: Is a directory\n<\/code><\/pre>\n<p>from the command &#8220;make install&#8221;:<\/p>\n<pre><code>make -C \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux -f Makefile.6 install\nmkdir: cannot create directory \u2018\/etc\/Wireless\u2019: File exists\nmake[1]: Entering directory `\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux'\nrm -rf \/etc\/Wireless\/RT2860STA\nmkdir \/etc\/Wireless\/RT2860STA\ncp \/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/RT2860STA.dat \/etc\/Wireless\/RT2860STA\/.\ninstall -d \/lib\/modules\/3.8.0-19-generic\/kernel\/drivers\/net\/wireless\/\ninstall -m 644 -c rt3562sta.ko \/lib\/modules\/3.8.0-19-generic\/kernel\/drivers\/net\/wireless\/\n\/sbin\/depmod -a 3.8.0-19-generic\nmake[1]: Leaving directory `\/home\/stefan\/Desktop\/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217\/os\/linux'\n\/bin\/rm: cannot remove \u2018\/run\/user\/root\/gvfs\u2019: Is a directory\n<\/code><\/pre>\n<p>and lastly from the &#8220;modprobe -v rt3562sta&#8221;:<\/p>\n<pre><code>insmod \/lib\/modules\/3.8.0-19-generic\/kernel\/drivers\/net\/wireless\/rt3562sta.ko \nERROR: could not insert 'rt3562sta': Exec format error\n\/bin\/rm: cannot remove \u2018\/run\/user\/root\/gvfs\u2019: Is a directory\n<\/code><\/pre>\n<p>Can someone enlighten me where went wrong?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Wireless Connection is working fine on my newly installed Ubuntu 13.04. But Im trying to improve my wireless connection by installing the driver. The stock driver that is built into ubuntu has weak signal Here are my wireless card details (done via &#8220;lspci -v&#8221;) 04:00.0 Network controller: Ralink corp. RT3060 Wireless 802.11n 1T\/1R Subsystem: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2913","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2913"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2913\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}