• This repository has been archived on 26/Jun/2021
  • Stars
    star
    359
  • Rank 118,537 (Top 3 %)
  • Language
    C
  • Created about 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

rtl88x2bu driver updated for current kernels.

Deprecation notice. This repo is deprecated and a newer version of the driver is available at https://github.com/cilynx/rtl88x2bu

Driver for rtl88x2bu wifi adaptors

Updated driver for rtl88x2bu wifi adaptors based on rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 originally downloaded from D-Link's download page for the DWA-182 Rev D.

Build confirmed on:

Linux Q4 5.3.0-12-generic #13-Ubuntu SMP Tue Sep 17 12:35:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

gcc (Ubuntu 9.2.1-8ubuntu1) 9.2.1 20190909
Linux xps 5.2.0-2-amd64 #1 SMP Debian 5.2.9-2 (2019-08-21) x86_64 GNU/Linux

gcc (Debian 9.2.1-8) 9.2.1 20190909
Linux 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 GNU/Linux

gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0

DKMS installation

cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Raspberry Pi Access Point

# Update all packages per normal
sudo apt update
sudo apt upgrade

# Install prereqs
sudo apt install git dnsmasq hostapd bc build-essential dkms raspberrypi-kernel-headers

# Reboot just in case there were any kernel updates
sudo reboot

# Pull down the driver source
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959.git
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/

# Configure for RasPi
sed -i 's/I386_PC = y/I386_PC = n/' Makefile
sed -i 's/ARM_RPI = n/ARM_RPI = y/' Makefile

# DKMS as above
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER} # Takes ~3-minutes on a 3B+
sudo dkms install -m rtl88x2bu -v ${VER}

# Plug in your adapter then confirm your new interface name
ip addr

# Set a static IP for the new interface (adjust if you have a different interface name or preferred IP)
sudo tee -a /etc/dhcpcd.conf <<EOF
interface wlan1
    static ip_address=192.168.4.1/24
    nohook wpa_supplicant
EOF

# Clobber the default dnsmasq config
sudo tee /etc/dnsmasq.conf <<EOF
interface=wlan1
  dhcp-range=192.168.4.100,192.168.4.199,255.255.255.0,24h
EOF

# Configure hostapd
sudo tee /etc/hostapd/hostapd.conf <<EOF
interface=wlan1
driver=nl80211
ssid=pinet
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=CorrectHorseBatteryStaple
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
EOF

sudo sed -i 's|#DAEMON_CONF=""|DAEMON_CONF="/etc/hostapd/hostapd.conf"|' /etc/default/hostapd

# Enable hostapd
sudo systemctl unmask hostapd
sudo systemctl enable hostapd

# Reboot to pick up the config changes
sudo reboot

If you want to setup masquerading or bridging, check out the official Raspberry Pi docs.

More Repositories

1

rtl88x2bu

rtl88x2bu driver updated for current kernels.
C
1,586
star
2

rtl88x2BU_WiFi_linux_v5.2.4.4_26334.20180126_COEX20171012-5044

rtl88x2bu driver updated for modern kernels.
C
59
star
3

zm-w0002

Reversing the Zmodo zm-w0002 WiFi outdoor security camera
Shell
33
star
4

rtl88x2BU_WiFi_linux_v5.2.4.1_22719_COEX20170518-4444.20170613

rtl88x2bu driver updated for modern kernels.
C
27
star
5

Candyhouse-Linux

Linux kernel for Cisco/Linksys Candyhouse routers
Makefile
16
star
6

pypentair

A Python package to interface with Pentair pumps over RS-485
Python
9
star
7

pygdk

Python G-code Development Kit
Python
8
star
8

DGND3700v2

Updates for the Netgear DGND3700v2 ADLS Modem / Router
Makefile
4
star
9

raspi

Raspberry Pi scripts for various projects
Shell
4
star
10

rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044

rtl88x2bu driver updated for modern kernels.
C
4
star
11

OutlookPilot

A productivity plugin for Outlook, inspired by MailPilot (http://mindsense.co/mailpilot/)
C#
3
star
12

onefinity

Customizations for the Onefinity Woodworker CNC
OpenSCAD
3
star
13

bobcat-babysitter

Make sure your Bobcat Miner 300 keeps working
Python
2
star
14

OctoPrint-Mill

Applying a modern 3D printing toolchain to CNC milling
JavaScript
2
star
15

CTIPC-275C1080P

Python
1
star
16

SmoothTouch2

Android interface for Smoothieboard-powered machines.
Java
1
star
17

pycomprehend

pycomprehend knows things.
Python
1
star
18

Compendium

A very opinionated PIM
Python
1
star
19

pytasmota

Python package to interact with Tasmota devices via their HTTP API
Python
1
star
20

wxCNC

1
star
21

Rong-Fu-RF-30-Mill

Bits and pieces for a DIY CNC RF-30 mill
OpenSCAD
1
star
22

pyimagecollection

An object-oriented image collection for your python programming pleasure
1
star
23

L510-Manager

Gnome application to configure and otherwise communicate with the Teco-Westinghouse L510 VFD
Vala
1
star
24

es120

Firmware for the ES120 Electric Screwdriver
C
1
star
25

SmoothTouch

[DEPRECATED] Check out https://github.com/cilynx/SmoothTouch2
Java
1
star
26

NautilusSymbolicTags

Nautilus extension for tagging and filtering using a simple symlink-based heirarchy
Python
1
star
27

pantomath

Pantomath knows about things
Python
1
star