<?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[<blockquote><em><u>“这是一步死棋”</u></em></blockquote><p>这里是Snicoe自言自语的地方，随便写点东西，也没啥人看，所以看心情更新一些陈芝麻烂谷子的东西。</p><p>计划有变，我可能不会经常维护此站点，也许可能永久不更新消失在汪洋互联网之中，会回来吗？也许吧，Good Luck！</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>如果你使用了我的部分服务可以前往<a href="https://status0.arklink.org" rel="noopener noreferrer" target="_blank">Status</a>页面查看可用状态，全部服务均优先运行在IPv6网络。</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-2025</copyright>
  <itunes:category text="Science"/>
  <item>
    <title>万幸人还活着，这次更新下BSDRP的帖子，初上手。</title>
    <guid>j9wBuQF4dVk</guid>
    <pubDate>Sun, 10 Aug 2025 11:39:29 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<p>下载倒是很简单，直接在sourceforge下载就行<a href="https://sourceforge.net/projects/bsdrp/files/BSD_Router_Project/1.994/amd64/" rel="noopener noreferrer" target="_blank">https://sourceforge.net/projects/bsdrp/files/BSD_Router_Project/1.994/amd64/</a></p><p>因为在PVE中安装，所以先要创建一个虚拟机，没有特殊配置，记得删掉创建时候的硬盘。</p><p>1.先解压xz文件得到img</p><pre class="ql-syntax" spellcheck="false">unxz BSDRP-1.994-full-amd64-vga.img.xz
</pre><p>2.把img写到虚拟机磁盘，在虚拟机硬件里面双击未使用的硬盘挂载，再调整选项里面的引导顺序，直接就可以开机了。</p><pre class="ql-syntax" spellcheck="false">qm importdisk 111 BSDRP-1.994-full-amd64-vga.img local-lvm
</pre><p>可以添加一块新的硬盘到虚拟机</p><pre class="ql-syntax" spellcheck="false">sysctl kern.disks #查看有几块磁盘，默认da0是启动磁盘
system	install da1 #安装操作系统
</pre><p>3.设置密码，默认root没有密码</p><pre class="ql-syntax" spellcheck="false">passwd root
</pre><p>4.开机ssh配置一个临时的IP地址方便远程登陆（为什么下面会说）</p><pre class="ql-syntax" spellcheck="false">vim /etc/rc.conf #添加sshd_enable="YES" 或者 sysrc sshd_enable="YES" 都一样都是写入rc file
service sshd start &amp;&amp; service sshd enable
ifconfig vtnet0 192.168.172.10/24 #配置地址
</pre><p>5.这时候就可以ssh登陆到路由器了</p><pre class="ql-syntax" spellcheck="false">snicoe@macmini ~ % ssh root@192.168.172.10 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The authenticity of host '192.168.172.10 (192.168.172.10)' can't be established.
ED25519 key fingerprint is SHA256:Uz0WCAcC308fv3toBlNmaQgJxfAAvdpZ1rqVjgxJJjc.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.172.10' (ED25519) to the list of known hosts.
(root@192.168.172.10) Password for root@router.bsdrp.net:
Last login: Sun Aug 10 11:38:15 2025
root@router:~ #
</pre><p>6.首先我们先要保存配置让rc.conf生效，因为系统本身是以只读模式运行的/etc下的所有都是挂载在tmpfs下，一重启就没了。</p><pre class="ql-syntax" spellcheck="false">config save #可选自动保存
sysrc autosave_enable=yes
service autosave start
</pre><p>7.配置IP默认网关和DNS到配置文件</p><pre class="ql-syntax" spellcheck="false">sysrc ifconfig_vtnet0="inet 192.168.172.10/24"
sysrc defaultrouter="192.168.172.1"
sysrc ifconfig_vtnet0_ipv6="inet6 2600:1172::10/64"
sysrc ipv6_defaultrouter="2600:1172::1"
vim /etc/resolv.conf #nameserver 192.168.172.1
service netif restart
service routing restart
config save
</pre>]]>
    </description>
    <link>https://blog.arklink.org/i/bsdrp-j9wBuQF4dVk/</link>
    <itunes:episodeType>full</itunes:episodeType>
  </item>
</channel>
</rss>