-
Notifications
You must be signed in to change notification settings - Fork 1
/
Alpha_AWUS036H.txt
43 lines (33 loc) · 1.2 KB
/
Alpha_AWUS036H.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2017-02-25T03:28:23+01:00
====== Alpha AWUS036H ======
Created Saturday 25 February 2017
**The Alpha AWUS036H, using the RTL8187L chipset, works out the box - but we are gonna tweak it a little for our needs.**
== Starting the Device ==
**# The device dosen't power up itself once plugged in. Power it up with**
**# Get the device name with**
$ iwconfig
**# OR**
$ ip link
**# In my example the card was named **//wlp0s20u2//
$ ip link set wlp0s20u2 up
== Driver ==
**# We'll need a patched version of the driver**
$ yaourt -S backports-patches-git
== Promiscuous Mode ==
**# To have our monitors catch all packages, we'll need to put it in promiscuous mode**
**# Create a file in **///etc/systemd/system/[email protected] //**with the following**
{{{code: lang="texinfo" linenumbers="True"
[Unit]
Description=Set %i interface in promiscuous mode
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/ip link set dev %i promisc on
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
}}}
**# Then you can Enable/Start Promiscuous Mode for a specific card (Change accordingly)**
$ systemctl start [email protected]