Coder Social home page Coder Social logo

youkpan / rtl8821cu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coolshou/rtl8821cu

0.0 1.0 0.0 6.05 MB

Drivers for the rtl8821cu chipset wireless adapters (D-Link DWA-171 rev C1)

Makefile 0.33% Shell 0.01% C 96.77% C++ 2.48% Objective-C 0.42%

rtl8821cu's Introduction

rtl8821cu

Drivers for the rtl8821cu chipset for wireless adapters (D-Link DWA-171 rev C1)

Install driver

requirement

* kernel header

compile the driver

> cd driver
> make

test the driver (require cfg80211 loaded in system)

> sudo insmod 8821cu.ko

install driver

> sudo make install

auto switch from DISK mode to NIC mode

requirement (test with ubuntu 18.04):

1. install usb-modeswitch usb-modeswitch-data
    > sudo apt install usb-modeswitch usb-modeswitch-data
2. install udev
    > sudo apt install udev

install usb-modeswitch setting files

> cd usbswitch
> sudo make install

UEFI Secure Boot - (boot the kernel with signed)

if insmod the module it shows error of "Required key not available", you are using a kernel which is signed Only signed module can be use in this condition.

sign needed error

  1. Create signing keys
    openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
  1. Sign the module
    sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der /path/to/module
  1. Register the keys to Secure Boot
    sudo mokutil --import MOK.der

โ€‹ Supply a password for later use after reboot

  1. Reboot and follow instructions to Enroll MOK (Machine Owner Key). Here's a sample with pictures. The system will reboot one more time.
  2. Confirm the key is enrolled
mokutil --test-key MOK.der

rtl8821cu's People

Contributors

coolshou avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.