Update README.md

This commit is contained in:
Yidi Qi 2020-06-10 22:59:55 -04:00 committed by GitHub
parent fc7a8c6dc5
commit b5485f7cb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,13 @@ git clone https://github.com/brektrou/rtl8821CU.git
```
## Check the name of the interface
Check the interface name of your wifi adapter using 'ifconfig'. Usually, it will be wlan0 by default, but it may vary depends on the kernel and your device. On Ubuntu, for example, it may be named as wlx + MAC address. (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/)
Check the interface name of your wifi adapter using `ifconfig`. Usually, it will be wlan0 by default, but it may vary depends on the kernel and your device. On Ubuntu, for example, it may be named as wlx + MAC address. (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/)
If this is the case, you can either disable the feature following the link above, or replace the name used in the driver by
、、、
```
grep -lr . | xargs sed -i '' -e '/ifcfg-wlan0/!s/wlan0/<name of the device>/g'
、、、
```
## Build and install with DKMS