Author Topic: DWA-140 Rev D1 Slow  (Read 5009 times)

0 Members and 1 Guest are viewing this topic.

Offline Chrix87

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
DWA-140 Rev D1 Slow
« on: April 27, 2015, 06:24:50 pm »
Hi all,

I am new to the forum and I really need your help, I installed Kali Linux 3.18.0 along with Windows 7, I've got a 10 Mbp/s connection and on Windows I can get all of them, but on Liux I get only from 900 Kbp/s to 5 Mbp/s (when I am really lucky).

With the lsmod command it says that I have rt2800usb, rt2x00usb, rt2x00lib drivers I can't see any rt2870 in fact if I blacklist them my wi-fi adapter doesn't work anymore, so I installed the rt2870sta driver I edited che config.mk, I installed linux-headers for my version of linux and I opened a terminal pointing to my folder where I have the drivers then I used the 'make' command but I get this output:

Code: [Select]
make -C tools
make[1]: Entering directory `/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/3.18.0-kali3-amd64/build SUBDIRS=/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_md5.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_sha2.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_hmac.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_arc4.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.o
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c:895:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c:895:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c:5739:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_wep.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/action.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_data.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_init.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_tkip.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_aes.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_sync.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/eeprom.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_sanity.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_info.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_cfg.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_wpa.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/dfs.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/spectrum.o
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/spectrum.c:1977:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_timer.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rt_channel.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_profile.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_asic.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_cmd.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/assoc.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/auth.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/auth_rsp.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sanity.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/rtmp_data.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/connect.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/wpa.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/ags.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sta_cfg.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_profile.o
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/sta_ioctl.o
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/sta_ioctl.c:1479:3: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
  CC [M]  /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:477:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/string.h:4:0,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/string.h:17,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/bitmap.h:8,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/thread_info.h:23,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/preempt.h:18,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/stat.h:18,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/module.h:10,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/os/rt_linux.h:40,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rtmp_os.h:42,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rt_config.h:72,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:479:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/string.h:4:0,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/string.h:17,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/bitmap.h:8,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/thread_info.h:23,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/preempt.h:18,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/stat.h:18,
                 from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/module.h:10,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/os/rt_linux.h:40,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rtmp_os.h:42,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rt_config.h:72,
                 from /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:629:23: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:651:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:672:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:945:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSFSInfoChange’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1228:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1229:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1694:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1731:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
make[4]: *** [/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o] Error 1
make[3]: *** [_module_/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
make: *** [LINUX] Error 2

and if after that I use 'make install' I get this:

Code: [Select]
make -C /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux -f Makefile.6 install
mkdir: impossibile creare la directory "/etc/Wireless": File già esistente
make[1]: Entering directory `/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/3.18.0-kali3-amd64/kernel/drivers/net/wireless/
install -m 644 -c rt2870sta.ko /lib/modules/3.18.0-kali3-amd64/kernel/drivers/net/wireless/
install: impossibile eseguire stat di "rt2870sta.ko": File o directory non esistente
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/Downloads/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
make: *** [install] Error 2

in fact using modprobe rt2870 it says:

Code: [Select]
FATAL: Module rt2870 not found.

I'm starting to lose control so please someone help me!

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17320
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DWA-140 Rev D1 Slow
« Reply #1 on: April 28, 2015, 11:19:20 am »
What's the output from
Code: [Select]
lsusb
and
sudo lshw -C network
« Last Edit: April 28, 2015, 11:23:42 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal