Linux free-pc 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxuname -a
free@free-pc:~$
[sudo] free 的密码:sudo lspci -knn
对不起,请重试。
[sudo] free 的密码:
00:00.0 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
Subsystem: NVIDIA Corporation MCP61 Memory Controller [10de:cb84]
00:01.0 ISA bridge [0601]: NVIDIA Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
Subsystem: NVIDIA Corporation MCP61 LPC Bridge [10de:cb84]
00:01.1 SMBus [0c05]: NVIDIA Corporation MCP61 SMBus [10de:03eb] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 SMBus [1462:7309]
Kernel driver in use: nForce2_smbus
Kernel modules: i2c_nforce2
00:01.2 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 Memory Controller [1462:7309]
00:02.0 USB controller [0c03]: NVIDIA Corporation MCP61 USB 1.1 Controller [10de:03f1] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 USB 1.1 Controller [1462:7309]
Kernel driver in use: ohci-pci
00:02.1 USB controller [0c03]: NVIDIA Corporation MCP61 USB 2.0 Controller [10de:03f2] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 USB 2.0 Controller [1462:7309]
Kernel driver in use: ehci-pci
00:04.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: NVIDIA Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 High Definition Audio [1462:7309]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:06.0 IDE interface [0101]: NVIDIA Corporation MCP61 IDE [10de:03ec] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 IDE [1462:7309]
Kernel driver in use: pata_amd
Kernel modules: pata_amd, pata_acpi
00:07.0 Bridge [0680]: NVIDIA Corporation MCP61 Ethernet [10de:03ef] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 Ethernet [1462:7309]
Kernel driver in use: forcedeth
Kernel modules: forcedeth
00:08.0 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] MCP61 SATA Controller [1462:7309]
Kernel driver in use: sata_nv
Kernel modules: sata_nv, pata_acpi
00:09.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0b.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0c.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce 6100 nForce 405] [10de:03d1] (rev a2)
Subsystem: Micro-Star International Co., Ltd. [MSI] C61 [GeForce 6100 nForce 405] [1462:7309]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
Kernel driver in use: k8temp
Kernel modules: k8temp
free@free-pc:~$
*-networksudo lshw -numeric -class network
description: Ethernet interface
physical id: 1
logical name: enp0s2f1u4
serial: 0a:39:b4:8e:f9:fa
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.161 link=yes multicast=yes
free@free-pc:~$
DEVICE TYPE STATE CONNECTIONsudo nmcli dev status
enp0s2f1u4 ethernet 已连接 enp0s2f1u4
enp0s7 ethernet 不可用 --
lo loopback 未托管 --
free@free-pc:~$
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000sudo ip link list
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 00:19:db:79:84:ac brd ff:ff:ff:ff:ff:ff
3: enp0s2f1u4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 0a:39:b4:8e:f9:fa brd ff:ff:ff:ff:ff:ff
free@free-pc:~$
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000sudo ip addr show
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 00:19:db:79:84:ac brd ff:ff:ff:ff:ff:ff
3: enp0s2f1u4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 0a:39:b4:8e:f9:fa brd ff:ff:ff:ff:ff:ff
inet 192.168.42.161/24 brd 192.168.42.255 scope global dynamic noprefixroute enp0s2f1u4
valid_lft 2367sec preferred_lft 2367sec
inet6 fe80::c011:f0d9:3367:911b/64 scope link noprefixroute
valid_lft forever preferred_lft forever
free@free-pc:~$
default via 192.168.42.129 dev enp0s2f1u4 proto dhcp metric 100sudo ip route show
169.254.0.0/16 dev enp0s2f1u4 scope link metric 1000
192.168.42.0/24 dev enp0s2f1u4 proto kernel scope link src 192.168.42.161 metric 100
free@free-pc:~$
lrwxrwxrwx 1 root root 39 11月 3 03:28 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.confsudo ls -Al /etc/resolv.conf
free@free-pc:~$
# This file is managed by man:systemd-resolved(8). Do not edit.sudo cat /etc/resolv.conf
#
# 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 "systemd-resolve --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 127.0.0.53
free@free-pc:~$
Bus 001 Device 014: ID 0e8d:2004 MediaTek Inc.lsusb
Bus 001 Device 016: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 011: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 006: ID 0e8f:0022 GreenAsia Inc. multimedia keyboard controller
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub