0

I am trying to install two wireless cards on my Linux Debian machine for using wifiphisher.  I have two cards: one is built-in Intel chip-set; and the other is TL-727N (which I bought 3 days before plugged in and does nothing but still working on other machines). I tried to install its driver but due to the bug in a program named Gcc I can't compile it. I need help in setting up both cards together — one for jamming and second for AP.

make:

root@kali:~/TL-WN727N_V4_150909/Driver# make
make -C UTIL/ osutil
make[1]: Entering directory '/root/TL-WN727N_V4_150909/Driver/UTIL'
cp -f os/linux/Makefile.6.util /root/TL-WN727N_V4_150909/Driver/UTIL/os/linux/Makefile
make -C /lib/modules/4.9.0-kali1-amd64/build SUBDIRS=/root/TL-WN727N_V4_150909/Driver/UTIL/os/linux modules
make[2]: Entering directory '/root/TL-WN727N_V4_150909/Driver/UTIL'
make[2]: *** /lib/modules/4.9.0-kali1-amd64/build: No such file or directory.  Stop.
make[2]: Leaving directory '/root/TL-WN727N_V4_150909/Driver/UTIL'
Makefile:524: recipe for target 'osutil' failed
make[1]: *** [osutil] Error 2
make[1]: Leaving directory '/root/TL-WN727N_V4_150909/Driver/UTIL'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2

iwconfig:

root@kali:~# iwconfig
wlan0     IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

eth0      no wireless extensions.

AP        no wireless extensions.

lo        no wireless extensions.

dmesg:

root@kali:~# dmesg | tail -n 50
[13126.708245] nouveau 0000:01:00.0: therm: temperature (86 C) went    below the 'fanboost' threshold
[13176.308348] nouveau 0000:01:00.0: therm: temperature (90 C) hit the 'fanboost' threshold
[13278.855143] nouveau 0000:01:00.0: therm: temperature (96 C) hit the 'downclock' threshold
[13282.133673] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[13344.516595] nouveau 0000:01:00.0: therm: temperature (92 C) went below the 'downclock' threshold
[13597.159622] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[13842.185005] nouveau 0000:01:00.0: therm: temperature (86 C) went below the 'fanboost' threshold
[13925.193106] nouveau 0000:01:00.0: therm: temperature (90 C) hit the 'fanboost' threshold
[14024.856263] nouveau 0000:01:00.0: therm: temperature (96 C) hit the 'downclock' threshold
[14131.684081] nouveau 0000:01:00.0: therm: temperature (92 C) went below the 'downclock' threshold
[14247.062042] iwl3945 0000:0c:00.0: Can't stop Rx DMA.
[14302.541034] nouveau 0000:01:00.0: therm: temperature (96 C) hit the 'downclock' threshold
[14328.359880] nouveau 0000:01:00.0: therm: temperature (92 C) went below the 'downclock' threshold
[15340.965792] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[15515.888305] nouveau 0000:01:00.0: therm: temperature (86 C) went below the 'fanboost' threshold
[15530.082105] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[15810.797220] nouveau 0000:01:00.0: therm: temperature (90 C) hit the 'fanboost' threshold
[15845.082574] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[15959.688788] nouveau 0000:01:00.0: therm: temperature (86 C) went below the 'fanboost' threshold
[16018.009983] nouveau 0000:01:00.0: therm: temperature (90 C) hit the 'fanboost' threshold
[16160.099500] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[16475.141778] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[16790.140229] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17105.123931] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17420.101578] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17627.898035] nouveau 0000:01:00.0: therm: temperature (95 C) hit the 'downclock' threshold
[17680.185414] nouveau 0000:01:00.0: therm: temperature (92 C) went below the 'downclock' threshold
[17735.090562] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[18050.085772] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[18365.105816] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[18456.564163] usb 6-2: USB disconnect, device number 2
[18462.564085] usb 2-4: new high-speed USB device number 4 using ehci-pci
[18462.723701] usb 2-4: New USB device found, idVendor=148f, idProduct=7601
[18462.723706] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18462.723709] usb 2-4: Product: 802.11 n WLAN
[18462.723712] usb 2-4: Manufacturer: MediaTek
[18462.723715] usb 2-4: SerialNumber: 1.0
[18462.988150] usb 2-4: reset high-speed USB device number 4 using ehci-pci
[18463.139553] mt7601u 2-4:1.0: ASIC revision: 76010001 MAC revision: 76010500
[18463.160572] mt7601u 2-4:1.0: firmware: direct-loading firmware mt7601u.bin
[18463.160583] mt7601u 2-4:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[18463.543915] mt7601u 2-4:1.0: Warning: unsupported EEPROM version 0d
[18463.543920] mt7601u 2-4:1.0: EEPROM ver:0d fae:00
[18463.544787] mt7601u 2-4:1.0: EEPROM country region 01 (channels 1-13)
[18463.784706] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[18463.797864] usbcore: registered new interface driver mt7601u
[18463.838722] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[18463.871040] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[18466.315205] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[18466.366319] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  • please do not attach images with text content. copy/paste important text into question. second - can you please remove and plug in again your tp link i assume wifi, and then issue a dmesg | tail -n 50 command as a root? it should contain some information on how kernel detected this card. it should work out of box (mine is, also on kali linux), there should be no need to compile anything using gcc, modern linux distros come with a module/driver for this card. – rsm Feb 9 '17 at 19:45
  • Sorry sir my results for dmesg | tail -n 50 is eddited above.Thanks please help me!! – Rohaan Alam Feb 9 '17 at 20:05
  • no need to sorry, we are all here to learn :) did you actually reattached this TL wifi card? it looks like kernel doesn't see this device at all :/ we are looking for something like usb 3-2: new high-speed USB device number 17 using ehci-pci (...) usb 3-2: Product: 802.11 n WLAN, usb 3-2: Manufacturer: MediaTek – rsm Feb 9 '17 at 20:12
  • yeah i did it but i think i pasted the command in terminal early I will be edditing it again after watching changes – Rohaan Alam Feb 9 '17 at 20:14
  • Sir I Got that command and edited it in my question.. – Rohaan Alam Feb 9 '17 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.