Want to install a server version of the Linux system to play, the following record of the pits encountered.
1: Installation language selected in English: It may be because of other reasons, I chose the text when the installation failed, the last time I chose Chinese success.
2: Previously installed an Ubuntu, the back thought of directly covering the Ubuntu partition on it, but it turned out to be very tragic, it is recommended that the small partners to cover the idea of the previous Ubuntu partition is deleted, only one usable large partition is good, the dual system does not matter, the Linux partition is more scattered , Windows generally on the CDE three disk, the Linux partition is deleted is OK.
3: The main detail record how to set WiFi problem:
First look at the information of their network card: The General people are eth0, and wlan0, but in ubuntu-server16.0 inside became enp4s0 and Wlp5s0, is the first pit bar,
[Email protected]:~$ IP Addr1: Lo: <LOOPBACK,UP,LOWER_UP> MTU65536Qdisc noqueue State UNKNOWN Group default Qlen1Link/loopbackxx:xx:xx:xx:xx:xxBrdxx:xx:xx:xx:xx:xxinet127.0.0.1/8Scope host lo valid_lft forever Preferred_lft Forever Inet6::1/ -Scope host Valid_lft forever Preferred_lft forever2: Enp4s0: <BROADCAST,MULTICAST> MTU theQdisc noop State down group default Qlen +Link/ether -:d 2: -:98: -: 2a BRD ff:ff:ff:ff:ff:ff3: Wlp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU theQdisc MQ State up group default Qlen +Link/ether -: cf:5e:xx: -: BA brd ff:ff:ff:ff:ff:ff inet192.168.224.102/ -Brd192.168.224.255scope Global Wlp5s0 Valid_lft forever Preferred_lft forever Inet6 fe80::1acf:5eff:fe00:84ba/ -scope link Valid_lft forever Preferred_lft forever
ubuntu-server16.0 itself does not have a wpa_supplicant, so the first must practice wired network installation
Install wpasupplicant
Write Wifi-ssid and password to a configuration file
Wpa_passphrase SSID password > xxx.conf
Edit the network configuration file vi/etc/network/interfaces
SOURCE/ETC/NETWORK/INTERFACES.D/*# The loopback network Interfaceauto loiface Lo inet Loopbackauto Wlp5s0iface Wlp5s0 inet dhcpwpa-conf/home/ubuntu/xxx.conf# The primary network interface
There are several ways to get an IP address:
Get IP address automatically: If not, you can reboot first.
Dhclient Wlp5s0
Or get the IP manually: if not, you can reboot first.
-B
-Fork into background
-c filename
-Path to configuration file
-i interface
-Interface to listen on
Wpa_supplicant-I wlp5s0 -c/home/ubuntu/xxx.conf
The road has always felt very flat, the road ahead always feel very rugged.
Install ubuntu-server16.0, set WiFi