If you cannot link to wifi or youxian net,
you can use usb-net-sharing from your phone to provide net service , because we have to download some packages.
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install net-tools
- ifconfig
- after 4,we can only see a loopback when we dont use usb-net-sharing,this is because we havent setup drivers for netcard. we can use following code to see the type of netcard drivers.
- lspci
- mine netcard drivers is r8125,so we need to download it,and setup it.The related link is as follows:
- step by step you will connect to net
- notice that during the setup of r8125,we setup dkms which contains gcc 7 and g++ 7,this is different from gcc 4.8 and g++ 4.8 when we use nvidia drivers,so we need to download several versions of gcc and g++.
- fighting!fighting!fighting!