Saturday, September 21, 2019

How to install Kali LInux

Download the iso image and use Rufus to burn to pendrive. When prompted select dd image, not iso.

Boot from pen drive and select graphical install.


References:

https://null-byte.wonderhowto.com/forum/fix-failed-detect-and-mount-cd-rom-problem-when-installing-kali-linux-0177158/

Friday, September 20, 2019

Wifi Adapters for Kali

https://miloserdov.org/?p=2196

https://shop.hak5.org/products/ralink-usb-wifi-rt5370



[atheros 9271]
https://www.lelong.com.my/150mbps-mini-usb-2-0-port-wireless-wifi-adapter-antenna-winsonyap86-214762007-2021-08-Sale-P.htm


Same seller [ 1 and 2 below]
1. [rt5370]
https://www.lelong.com.my/wifi-rt5370-adapter-freesat-alphabox-5151wornall-206177735-2020-07-Sale-P.htm

2. [rtl8811au - dual band]
https://www.lelong.com.my/600mbps-dual-band-5ghz-wireless-lan-usb-pc-wifi-adapter-802-11ac-5151wornall-I6143827-2007-01-Sale-I.htm  [ does not work on Kali Linux ]

Tried below also did nto work:
https://www.youtube.com/watch?v=zZG65GkWGdU  [zaid ]
https://unix.stackexchange.com/questions/369045/kali-linux-and-rtl8812au
https://edimax.freshdesk.com/support/solutions/articles/14000041287-how-to-install-ew-7811-ac600-ew-7822uac-in-linux-with-kernel-higher-than-v4-1

Finally this works:
https://www.prado.lt/how-to-install-realtek-8811cu-wireless-lan-802-11ac-usb-nic-on-ubuntu-19-04

cd to /usr/src, then:
git clone https://github.com/brektrou/rtl8821CU.git
before make, edit the rtw_debug.c file to comment out the __DATE__ line. The rtw_debug.c file is in
rtl8821CU/core



Then,
make
make install
Then:
usb_modeswitch -KW -v 0bda -p 1a2b
You can put the above line in a script:

[switch_usbmode.sh]
#!/bin/sh

usb_modeswitch -KW -v 0bda -p 1a2b

-------------------------------------------------------------



Below is how you switch 1a2b into c811:
``````````````````````````````````````````````````
https://github.com/yklove/rtl8821cu
Works:

If wifi can be detected, congratulations. If not, maybe you need to switch your device usb mode by the following steps in terminal:
  1. find your usb-wifi-adapter device ID, like "0bda:1a2b", by type:
lsusb
  1. switch the mode by type: (the device ID must be yours.)
sudo usb_modeswitch -KW -v 0bda -p 1a2b
It should work.