Created
April 18, 2019 11:20
-
-
Save yanring/ac797b442f71744ed74b360c1bfb0efb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for manjaro 需要手动切换内核 | |
sudo pacman -S openssh nfs-utils | |
sudo systemctl enable sshd | |
sudo systemctl start sshd | |
# for ubuntu | |
sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms | |
# then | |
wget https://media-cdn.ubuntu-de.org/forum/attachments/58/52/9036283-r8125-dkms-9.001.00.tar.gz | |
sudo tar xvf 9036283-r8125-dkms-9.001.00.tar.gz -C /usr/src | |
sudo dkms add -m r8125 -v 9.001.00 | |
sudo dkms build -m r8125 -v 9.001.00 | |
sudo dkms install -m r8125 -v 9.001.00 | |
sudo depmod -a | |
sudo modprobe r8125 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment