Skip to content

Commit

Permalink
update archlinux network issue
Browse files Browse the repository at this point in the history
  • Loading branch information
triccsr committed May 14, 2024
1 parent 7bdb2de commit 60d1f90
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
25 changes: 23 additions & 2 deletions content/post/Archlinux-Network-Issue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,30 @@ url: b5a75f7a
date: 2024-03-11 21:50:06
---

## 摘要
## Update on May 14

{{<admonition type=caution title="BITTER LESSON">}}
{{<admonition question "破案,但为什么?">}}
在Windows下重启进grub,然后选择archlinux进入就会出现网络问题。重启不能解决问题,但关机后开机可以解决问题。

原因不详。
{{</admonition>}}

进windows搞了几下acrobat,结果archlinux又出现了相同的问题,但我这次根本没休眠,NetworkManager service也是正常的。

然后我按照上次的操作用arch镜像u盘挂载原来的根目录,然后发现所有网络相关包都在,于是什么都没干就退出了。然后再开机进入原来的archlinux,发现居然好了。

经测试,windows->关机->开机进arch没事,但windows->重启进arch则有事。解决方式是先关机后开机。

考虑到上一次出bug前也进了windows,上一次的bug不一定是休眠导致的。

对KDE和NVIDIA致歉,我fuck错了人。

之后为更新前的内容,不删了。


## 摘要 (out of date)

{{<admonition type=warning title="BITTER LESSON">}}
若在linux下手滑点到休眠键,**不要手动关机,等机器自己关**
没配置休眠的结果最多是正在进行的任务丢失,但此时手动关机可能导致系统损坏。
{{</admonition>}}
Expand Down
24 changes: 23 additions & 1 deletion content/post/Migrate-from-Hexo-to-Hugo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ graph TD
end
```

加了admonition,也叫alert。实现方式抄的[DoIt](https://github.com/HEIGE-PCloud/DoIt)里的admonition,样式与github alert 接近。效果如下:
加了admonition,也叫alert。实现方式抄的[DoIt](https://github.com/HEIGE-PCloud/DoIt)里的admonition,样式与github alert 接近。既支持github里的alert样式,又支持mkdocs里的admonition样式(不全),效果如下:


```md
{{</* admonition type=note title="This is a note" */>}}
Expand Down Expand Up @@ -92,6 +93,27 @@ A **warning** banner
A **caution** banner
{{< /admonition >}}


{{< admonition type=info title="This is an info">}}
A **info** banner
{{< /admonition >}}

{{< admonition question "This is an question">}}
A **question** banner
{{< /admonition >}}

{{< admonition type=danger title="This is a danger">}}
A **danger** banner
{{< /admonition >}}

{{< admonition type=bug title="This is a bug">}}
A **bug** banner
{{< /admonition >}}





也可以不加type和title,默认type为note,title为type,效果如下:
```md
{{</* admonition */>}}
Expand Down

0 comments on commit 60d1f90

Please sign in to comment.