a@a-HP-ENVY-Notebook:/home$ cat start.sh
wpa_supplicant -i wlo1 -c wpa.conf -B
#wpa_supplicant -i wlo1 -c wpa.conf
wpa_cli -i wlo1 enable_network 0
dhclient wlo1
cp resolv.conf /etc/
ping www.baidu.com
cp locale /etc/default/locale
source /etc/default/locale
a@a-HP-ENVY-Notebook:/home$ cat wpa.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
ssid="nova_4e"
psk="123456789"
key_mgmt=WPA-PSK
a@a-HP-ENVY-Notebook:/home$ cat resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 8.8.4.4
nameserver 127.0.0.53
options edns0
a@a-HP-ENVY-Notebook:/home$ cat locale
# File generated by update-locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:zh"
手动编译新版本内核升级内核后空易让进入engergency mode 需要注释掉黑色粗体行。。。。
a@a-HP-ENVY-Notebook:/home$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=0df0ec6d-15f8-47d8-a618-50937a2a0db2 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
#UUID=CD4E-A0AD /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
a@a-HP-ENVY-Notebook:/home$
a@a-HP-ENVY-Notebook:/home$