bin456789 / reinstall

一键DD/重装脚本 (One-click reinstall OS on VPS)
GNU General Public License v3.0
2.88k stars 478 forks source link

kvm的vps重装到Debian 12 网卡(驱动)配置失败? #98

Closed Xiaodu233 closed 5 months ago

Xiaodu233 commented 5 months ago

硬件配置都符合要求,安装完成后在VNC使用 ‘ip addr’ 检查IP地址,原本网卡eth0消失,只剩lo,服务商是Racknerd。 请问是什么问题?

bin456789 commented 5 months ago

lspci -nnk 看下是什么网卡

Xiaodu233 commented 5 months ago

在控制后台重新安装Debian 12 后获得的信息

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
        Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
        Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
        Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
        Kernel driver in use: ata_piix
        Kernel modules: pata_acpi
00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
        Kernel driver in use: uhci_hcd
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
        Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4
00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8]
        Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
        Kernel driver in use: cirrus
        Kernel modules: cirrusfb, cirrus
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
        Kernel driver in use: e1000
        Kernel modules: e1000
00:04.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio block device [1af4:1001]
        Subsystem: Red Hat, Inc. Virtio block device [1af4:0002]
        Kernel driver in use: virtio-pci
00:05.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon [1af4:1002]
        Subsystem: Red Hat, Inc. Virtio memory balloon [1af4:0005]
        Kernel driver in use: virtio-pci
bin456789 commented 5 months ago

这机器使用了 e1000网卡,云内核没有这个驱动

现在脚本更新了遇到 e1000网卡使用普通内核