<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>openClash &#8211; Lhy&#039;s blog</title>
	<atom:link href="https://blog.lhyshome.com/tag/openclash/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.lhyshome.com</link>
	<description>welcome</description>
	<lastBuildDate>Tue, 17 Mar 2026 09:28:23 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">219834889</site>	<item>
		<title>iStoreOS的openclash，TUN 接口启动失败</title>
		<link>https://blog.lhyshome.com/2026/03/08/366/</link>
					<comments>https://blog.lhyshome.com/2026/03/08/366/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Sat, 07 Mar 2026 17:46:55 +0000</pubDate>
				<category><![CDATA[小技巧]]></category>
		<category><![CDATA[iStoreOs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openClash]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=366</guid>

					<description><![CDATA[问题 iStoreOS的openclash，运行模式选择“TUN”或者“混合”时，提示：警告：TUN 接口启动… <span class="read-more"><a href="https://blog.lhyshome.com/2026/03/08/366/">Read More &#187;</a></span>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">问题</h2>



<p>iStoreOS的openclash，运行模式选择“TUN”或者“混合”时，提示：警告：TUN 接口启动失败，尝试重启内核…，导致openclash一直重启，内网以旁路由为网关的虚拟机和服务，访问互联网和外网都出现了无法打开的情况。</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="514" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-1024x514.png" alt="" class="wp-image-367" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-1024x514.png 1024w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-300x151.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-768x385.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-1536x771.png 1536w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-660x331.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-500x251.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-800x402.png 800w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9-1280x642.png 1280w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-9.png 1556w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>访问各大大模型无果后，百度搜索关键字，发现github上已有相关问题处理</p>



<p>地址为：<a href="https://github.com/vernesong/OpenClash/issues/4492">https://github.com/vernesong/OpenClash/issues/4492</a></p>



<figure class="wp-block-image size-full"><img decoding="async" width="1009" height="315" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10.png" alt="" class="wp-image-368" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10.png 1009w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10-300x94.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10-768x240.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10-660x206.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10-500x156.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-10-800x250.png 800w" sizes="(max-width: 1009px) 100vw, 1009px" /></figure>



<p>使用如上图方法处理成功。</p>



<h2 class="wp-block-heading">处理步骤</h2>



<p>执行 “ip link show”命令，如下图发现error</p>



<figure class="wp-block-image size-full"><img decoding="async" width="787" height="524" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12.png" alt="" class="wp-image-370" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12.png 787w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12-300x200.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12-768x511.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12-660x439.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-12-500x333.png 500w" sizes="(max-width: 787px) 100vw, 787px" /></figure>



<p>在系统->杂项设置 中，将镜像服务器选择如下图所示。（如果不选，则影响opkg update执行）</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="743" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-1024x743.png" alt="" class="wp-image-369" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-1024x743.png 1024w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-300x218.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-768x557.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-660x479.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-500x363.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11-800x580.png 800w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-11.png 1154w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>选择镜像源后依次执行</p>



<p>opkg update</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="521" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-1024x521.png" alt="" class="wp-image-371" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-1024x521.png 1024w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-300x153.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-768x391.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-660x336.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-500x254.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13-800x407.png 800w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-13.png 1178w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>opkg install &#8211;force-reinstall ip-full</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="971" height="101" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14.png" alt="" class="wp-image-372" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14.png 971w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14-300x31.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14-768x80.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14-660x69.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14-500x52.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-14-800x83.png 800w" sizes="auto, (max-width: 971px) 100vw, 971px" /></figure>



<p>如上两图，控制台中未见明确error相关字眼为成功</p>



<p>重新执行“ip link show”命令，如下图为成功</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-1024x576.png" alt="" class="wp-image-373" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-1024x576.png 1024w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-300x169.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-768x432.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-660x371.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-500x281.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15-800x450.png 800w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-15.png 1101w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>重启openclash后日志显示成功，测试成功</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="292" src="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-1024x292.png" alt="" class="wp-image-374" srcset="https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-1024x292.png 1024w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-300x86.png 300w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-768x219.png 768w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-660x188.png 660w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-500x143.png 500w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-800x228.png 800w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16-1280x365.png 1280w, https://blog.lhyshome.com/wp-content/uploads/2026/03/image-16.png 1408w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2026/03/08/366/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">366</post-id>	</item>
	</channel>
</rss>
