Skip to content

Commit fc62d39

Browse files
author
LibreGML
committed
update
1 parent acc8247 commit fc62d39

444 files changed

Lines changed: 1147 additions & 1025 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<title>404 | Gemorin 小屋</title>
77
<meta name="description" content="Not Found">
88
<meta name="generator" content="VitePress v1.6.4">
9-
<link rel="preload stylesheet" href="/assets/style.BzoI4oX5.css" as="style">
9+
<link rel="preload stylesheet" href="/assets/style.DLOBTcst.css" as="style">
1010
<link rel="preload stylesheet" href="/vp-icons.css" as="style">
11-
<script type="module" src="/assets/chunks/metadata.998dc262.js"></script>
12-
<script type="module" src="/assets/app.C0PZqjgB.js"></script>
11+
<script type="module" src="/assets/chunks/metadata.fbe4841d.js"></script>
12+
<script type="module" src="/assets/app.Dx97fPeh.js"></script>
1313
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
1414
<link rel="icon" type="image/svg+xml" href="/favicon.ico">
1515
<link rel="icon" type="image/png" href="/favicon.ico">

arch/arch.html

Lines changed: 26 additions & 8 deletions
Large diffs are not rendered by default.

arch/arch.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,49 @@ export http_proxy='http://127.0.0.1:7897'
636636
export https_proxy='http://127.0.0.1:7897'
637637
```
638638

639+
### 4.4 yay时SSL连接失败
640+
641+
假设出现如下报错
642+
643+
```
644+
git clone https://aur.archlinux.org/termius.git
645+
Cloning into 'termius'...
646+
fatal: unable to access 'https://aur.archlinux.org/termius.git/ ': TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
647+
```
648+
649+
```
650+
21:44:38.449107 http.c:890 == Info: Could not find host aur.archlinux.org in the .netrc file; using defaults
651+
21:44:38.452213 http.c:890 == Info: Host aur.archlinux.org:443 was resolved.
652+
21:44:38.452255 http.c:890 == Info: IPv6: 2604:cac0:a104:d::2
653+
21:44:38.452266 http.c:890 == Info: IPv4: 209.126.35.78
654+
21:44:38.452322 http.c:890 == Info: Trying [2604:cac0:a104:d::2]:443...
655+
21:44:38.454997 http.c:890 == Info: ALPN: curl offers h2,http/1.1
656+
21:44:38.455711 http.c:890 == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
657+
21:44:38.455861 http.c:890 == Info: SSL Trust Anchors:
658+
21:44:38.479719 http.c:890 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
659+
```
660+
661+
这是因为默认IPv6 优先连接,而GFW对ipv6有干扰,因此要禁用ipv6
662+
663+
```
664+
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
665+
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
666+
```
667+
668+
可以持久化这个配置
669+
670+
```
671+
sudo tee /etc/sysctl.d/99-disable-ipv6.conf << 'EOF'
672+
net.ipv6.conf.all.disable_ipv6 = 1
673+
net.ipv6.conf.default.disable_ipv6 = 1
674+
net.ipv6.conf.lo.disable_ipv6 = 0
675+
EOF
676+
677+
678+
sudo sysctl --system
679+
680+
```
681+
639682
***
640683

641684
## 内核管理
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)