Linux 每此次开机时 eth0 消失(详见下面),求解决方法!

资讯 2024-06-20 阅读:117 评论:0
ifconfig 显示只有 loIfconfig display only lo ifconfig -a 显示 lo,eth0 和 wlan0Ifconfig-a shows lo, eth0 and wlan0 还导致...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

ifconfig 显示只有 lo

Ifconfig display only lo

ifconfig -a 显示 lo,eth0 和 wlan0

Ifconfig-a shows lo, eth0 and wlan0

还导致我的 gnome 桌面启动不了

And it caused my gnome desktop not to start.

进 recovery 可以 service network-manager restart 或者 dpkg-reconfigure network-manager 来开启 eth0,然而重启后又老样子了

Enter service network-manager restart or dpkg-reconfigure network-manager to open eth0, but it's back to normal.

难道是启动这个的服务坏了?

Is the start-up service broken?

系统老是莫名其妙地坏,昨天还好好的。。

The system is always inexplicably bad, and it was fine yesterday.


求高人指教

什么网卡?

看看日志

网卡要配置开机启动,可以解决开机没有执行启动操作的问题
启动中报错,则要根据报错日志来解决了

systemctl enable network-manager 试试看?

无脑 apt full-upgrade 解决了 apt 提示了几个 ELF 文件损坏 重装了几个 so 文件可以进去了
问题是 so 文件为什么自己会坏?而且我的系统好像一运行 find fd du 之类的就会变成只读文件系统,只能重启 fsck 解决,偶尔不能彻底就会出现这种问题,真是够了
不知道是不是硬盘有问题,或者难道是以 root 登录的问题?
这贴没人看,等下开帖再问一下

ifcfg-eth0 配置文件里加上 ONBOOT=yes 试试?不过就算没启动应该也不会导致 gnome 进不去

我好像没这文件。。
比起这个,可以看一下 6 楼,gnome 崩溃应该是一个叫 LibGL.so.1.7.0 的文件的锅,重装后基本好了。我更想知道为什么老是有文件损坏,感觉大家都没出过这种问题 QAQ

查一下硬盘 SMART 看看是不是有什么问题?

该换硬盘了

PASSED 了 参数不会看啊
===START OF SMART DATA SECTION===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 35 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 7%
Data Units Read: 26,347,501 [13.4 TB]
Data Units Written: 21,055,362 [10.7 TB]
Host Read Commands: 439,120,754
Host Write Commands: 592,642,769
Controller Busy Time: 1,560
Power Cycles: 2,468
Power On Hours: 1,062
Unsafe Shutdowns: 71
Media and Data Integrity Errors: 0
Error Information Log Entries: 4,735
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 35 Celsius
Temperature Sensor 2: 39 Celsius
硬盘也就用了 2 年多(悲)

我也不会看……

smartctl -a /dev/sdx 看盘完整信息

我这输出差不多就这些,可能版本不对?
(而且是 nvme 的盘)
完整输出如下,看不出来什么问题啊
~? smartctl -a /dev/nvme0
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.5.0-kali1-amd64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
===START OF INFORMATION SECTION===
Model Number: SAMSUNG MZVLW256HEHP-00000
Serial Number: S33VNX0J830662
Firmware Version: CXB7401Q
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 256,060,514,304 [256 GB]
Unallocated NVM Capacity: 0
Controller ID: 2
Number of Namespaces: 1
Namespace 1 Size/Capacity: 256,060,514,304 [256 GB]
Namespace 1 Utilization: 245,101,670,400 [245 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 b871b10881
Local Time is: Tue Apr 21 23:17:42 2020 CST
Firmware Updates (0x16): 3 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x001f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Warning Comp. Temp. Threshold: 68 Celsius
Critical Comp. Temp. Threshold: 71 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 7.60W - - 0 0 0 0 0 0
1 + 6.00W - - 1 1 1 1 0 0
2 + 5.10W - - 2 2 2 2 0 0
3 - 0.0400W - - 3 3 3 3 210 1500
4 - 0.0050W - - 4 4 4 4 2200 6000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
===START OF SMART DATA SECTION===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 28 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 7%
Data Units Read: 26,378,665 [13.5 TB]
Data Units Written: 21,075,815 [10.7 TB]
Host Read Commands: 439,576,387
Host Write Commands: 592,951,401
Controller Busy Time: 1,562
Power Cycles: 2,470
Power On Hours: 1,064
Unsafe Shutdowns: 71
Media and Data Integrity Errors: 0
Error Information Log Entries: 4,737
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 28 Celsius
Temperature Sensor 2: 35 Celsius
Error Information (NVMe Log 0x01, max 64 entries)
Num ErrCount SQId CmdId Status PELoc LBA NSID VS
0 4737 0 0x000a 0x4004 - 0 0 -
1 4736 0 0x000a 0x4004 - 0 0 -
2 4735 0 0x000a 0x4004 - 0 0 -
3 4734 0 0x000a 0x4004 - 0 0 -
4 4733 0 0x000a 0x4004 - 0 0 -
5 4732 0 0x000a 0x4004 - 0 0 -
6 4731 0 0x000a 0x4004 - 0 0 -
7 4730 0 0x000a 0x4004 - 0 0 -
8 4729 0 0x000a 0x4004 - 0 0 -
9 4728 0 0x000a 0x4004 - 0 0 -
10 4727 0 0x000a 0x4004 - 0 0 -
11 4726 0 0x000a 0x4004 - 0 0 -
12 4725 0 0x000a 0x4004 - 0 0 -
13 4724 0 0x000a 0x4004 - 0 0 -
14 4723 0 0x000a 0x4004 - 0 0 -
15 4722 0 0x000a 0x4004 - 0 0 -
... (48 entries not shown)

Error Information Log Entries 倒是启动一次就加 1 呢。。

这个 error log 没影响。 smarctl 好像对 nvme 固态支持不大好。。下面那些参数不是厂家看不出来谁说谁 把盘移到 win 下扫下坏块?用厂家官方工具检查下?

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • usdt钱包开发,比特币协议 Omni 层协议 USDT

    usdt钱包开发,比特币协议 Omni 层协议 USDT
    usdt钱包开发Usdt Wallet Development 比特币协议 -> Omni 层协议 -> USDTBitcoin -> Omni Layer -> USDT USDT是基于比特币omni协议的一种代币: https://omniexplorer.info/asset/31 ID是31USDT is a token based on the Bitcomni agreement:   ˂a href="ht...
  • ?基于区块链的数字货币,下一代货币等价物

    ?基于区块链的数字货币,下一代货币等价物
    文 | 诗与星空Psalms and stars. 10月25日晚间,一则关于区块链的消息引爆了市场,虽然A股已经关门歇业,但是大洋彼岸的美股却喧嚣起来,号称使用了区块链技术的迅雷股价暴涨107%。On the evening of 25 October, a news about the block chain detonated the market. Although the A share was closed, the United States shares...
  • LikeCoin 2022 年度回顧

    LikeCoin 2022 年度回顧
    2022 即將過去,今年是風高浪急的一年,LikeCoin 社群繼續於驚濤中為實踐分散式出版而前進,感謝各位的同行。讓我們趁機回顧一下今年發生過的大小事。 2022 Towards the end of the year, this year is a year of great turmoil, and the community of ˂a href=https://like.co/"target="_blank" data-type="link" data-i...
  • 以太坊质押挖矿收益率

    以太坊质押挖矿收益率
    展开全部 52%左右。根据跟踪公司StakingRewards的数据,质押的以太坊将产生回报,预计在合并后将达到52%左右。再加上预计在升级更新后不久以太坊供应量的净减少,这应该会使该币对投资者更具吸引力。According to the tracking company StakingRewards, the pledge will yield returns that are expected to reach about 52% after the merg...
  • 一个“币”卖出6930多万美元,它是何来头

    一个“币”卖出6930多万美元,它是何来头
    这是一个新的投机性市场,有许多未知的风险——包括100%损失的风险於兴中当我们看到有人花了近百万美元在网络上的虚拟空间里买了一块地,可能会觉得不可思议。但是,比这更不可思议的是,在上个月的佳士得拍卖会上,一个不可替换代币(NFT)卖出了令人瞠目结舌的6930多万美元。这个代币所代表的便是目前人们热议的数字艺术家毕朋(Beeple)的作品《日复一日:最初的5000天(2021)》。不仅如此,不可替换代币市场正在被大张旗鼓地建构。篮球视频集锦的不可替换代币在美国职业...
标签列表