<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>Snicoe&apos;s Blog</title>
  <language>zh-cn</language>
  <generator>microfeed.org</generator>
  <itunes:type>serial</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://blog-arklink-org.pages.dev/rss/" type="application/rss+xml"/>
  <link>https://blog.arklink.org</link>
  <description>
    <![CDATA[<p>这里是Snicoe自言自语的地方，随便写点东西，也没啥人看，所以看心情更新一些陈芝麻烂谷子的东西。</p><p>社媒: <a href="https://www.instagram.com/snicoe0716" rel="noopener noreferrer" target="_blank">Instagram</a> | <a href="https://www.youtube.com/@snicoeofficial" rel="noopener noreferrer" target="_blank">Youtube</a> | <a href="https://x.com/snicoeofficial" rel="noopener noreferrer" target="_blank">X / Twitter</a></p><p>本人生理男性并自认为男性，性取向正常，社恐一个，看心情回复❤️。</p>]]>
  </description>
  <itunes:author>Snicoeの自言自语</itunes:author>
  <itunes:image href="https://media-cdn.arklink.org/blog-arklink-org/production/images/channel-35018318ef9161a58e1728b4144ab0a9.png"/>
  <image>
    <title>Snicoe&apos;s Blog</title>
    <url>https://media-cdn.arklink.org/blog-arklink-org/production/images/channel-35018318ef9161a58e1728b4144ab0a9.png</url>
    <link>https://blog.arklink.org</link>
  </image>
  <copyright>©2019-2026</copyright>
  <itunes:category text="Science"/>
  <item>
    <title>Steam Frame只使用6Ghz接收器上网和串流</title>
    <guid>cV23TPTan-y</guid>
    <pubDate>Thu, 05 Nov 2026 03:13:40 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<p>原理倒也不复杂，通过隧道NAT上网，本文提供一个方法，可以直接让agent执行，使用此教程前请确保你已经开启SSH，并通过Frame的热点IP（10.35.78.1）连接SSH</p><p>一、登录到Frame SSH</p><p>依此执行</p><p><code>sudo steamos-readonly disable #关闭文件系统只读</code></p><p><code>sudo pacman -S wireguard-tools plasma-nm #安装wireguard vpn和kde网络管理工具</code></p><p>二、配置Windows网络共享和Wireguard，因为我的内网已经在使用FRC1918所有地址段，此处借用CGNAT段来使用</p><p>下载wireguard <a href="https://download.wireguard.com/windows-client/" rel="noopener noreferrer" target="_blank">点击此处</a></p><p>安装完成后按照图示添加隧道，添加完成后点击连接</p><pre><code>[Interface]
PrivateKey = WCgDldEWNM3Goa+JvkvoqSsjr2ROfIHOD9sCpZm1asU=
Address = 100.64.0.1/32

[Peer]
PublicKey = 79DvHfCNKO8au9txa8spidOh29uGpu7JuwRxiNedBX8=
AllowedIPs = 100.64.0.0/24
Endpoint = 10.35.78.1:51820
PersistentKeepalive = 25</code></pre><p><img src="https://media-cdn.arklink.org/production/media/rich-editor/items/cV23TPTan-y/image-f47286b1501e0aaeb3e6f6bf1c774869.png" width="100%" style="max-width: 600px; --resize-width: 100%;"></p><p><img src="https://media-cdn.arklink.org/production/media/rich-editor/items/cV23TPTan-y/image-33701a5c42a51f25c6798e26f1e3fc92.png" width="100%" style="max-width: 600px; --resize-width: 100%;"></p><p>配置Windows NAT上网，不要用傻逼的PowerShell，WIN + R执行ncpa.cpl，找到你上网的网卡，按顺序点击，剩下的什么都不需要做。</p><p><img src="https://media-cdn.arklink.org/production/media/rich-editor/items/cV23TPTan-y/image-483c1f113202991672ebb5b6f3e5ae63.png" width="100%" style="max-width: 600px; --resize-width: 100%;"></p><p>三、为节省时间直接提供wg对端配置，Frame编辑sudo vim /etc/wireguard/wg0.conf</p><p>注意修改DNS = 为你内网实际在使用的dns</p><pre><code>[Interface]
Address = 100.64.0.2
ListenPort = 51820
PrivateKey = nh8YQ7N2rnbtJjjbwJyeSW2lnVw4VROvRlZpUmt6vLI=
DNS = 10.10.0.13

[Peer]
PublicKey = 9g7gza8pQrIr/DKvSDiTevUKR+g5BN6BQXUW4a1Yc1E=
AllowedIPs = 0.0.0.0/0</code></pre><p>接着终端执行</p><p><code>sudo systemctl start wg-quick@wg0 #启用接口（重启后失效）</code></p><p><code>（可选）sudo systemctl enable wg-quick@wg0 #frame开机时自动启用接口（如果你要处理自动逻辑，比如连接wifi自动关闭wg，后续会写）</code></p><p>如果发现wg隧道故障无法上网，可以打开桌面模式关闭隧道</p><p><img src="https://media-cdn.arklink.org/production/media/rich-editor/items/cV23TPTan-y/image-f40a36a4089fe6f2ccad548e0332dd4a.png" width="100%" style="max-width: 600px; --resize-width: 100%;"></p><p>四、处理自动逻辑，开机检测/动态检测wlan0状态，连接时关闭wg隧道，断开wifi开启wg隧道</p><p><code>sudo vim /etc/systemd/system/wg-autotoggle.service</code></p><pre><code>[Unit]
Description=Auto toggle WireGuard based on wlan0 status
After=network.target NetworkManager.service

[Service]
Type=oneshot
ExecStart=/usr/local/bin/wg-autotoggle.sh
RemainAfterExit=true

[Install]
WantedBy=multi-user.target</code></pre><p><code>sudo vim /usr/local/bin/wg-autotoggle.sh</code></p><pre><code>#!/bin/bash

check_wifi() {
    if ip addr show wlan0 2&gt;/dev/null | grep -q "inet "; then
        return 0
    else
        return 1
    fi
}

if check_wifi; then
    echo "detected wlan0 status UP, stop wg0..."
    systemctl stop wg-quick@wg0
else
    echo "detected wlan0 status DOWN, start wg0..."
    systemctl start wg-quick@wg0
fi</code></pre><p><code>sudo vim /etc/NetworkManager/dispatcher.d/99-wg-toggle.sh</code></p><pre><code>#!/bin/bash
INTERFACE=$1
ACTION=$2

if [ "$INTERFACE" = "wlan0" ]; then
    /usr/local/bin/wg-autotoggle.sh
fi</code></pre><p><code>sudo chmod +x /usr/local/bin/wg-autotoggle.sh</code></p><p><code>sudo chmod +x /etc/NetworkManager/dispatcher.d/99-wg-toggle.sh</code></p><p><code>sudo systemctl daemon-reload</code></p><p><code>sudo systemctl enable --now wg-autotoggle.service</code></p><p><br></p>]]>
    </description>
    <link>https://blog.arklink.org/i/steam-frame-dongle-network-spec</link>
    <itunes:episodeType>full</itunes:episodeType>
  </item>
</channel>
</rss>