Advertisement
rockdrilla

set up USB 802.11 NIC for Kali goodies while in Debian

Jun 20th, 2015
677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. ### /etc/udev/rules.d/70-persistent-net.rules
  2. SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="30:b5:c2:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="kaliwlan0"
  3.  
  4. ### /etc/network/interfaces
  5. allow-hotplug kaliwlan0
  6. iface kaliwlan0 inet manual
  7.     pre-up iwconfig $IFACE mode monitor
  8.     pre-up macchanger -r $IFACE
  9.     pre-up ip link set dev $IFACE promisc on
  10.     pre-up ip link set dev $IFACE multicast on
  11.     pre-up ip link set dev $IFACE allmulticast on
  12.     pre-up ip link set dev $IFACE arp on
  13.     pre-up ip link set dev $IFACE up
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement