Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

udev规则不起作用 #1

Closed
suiahae opened this issue Aug 3, 2020 · 3 comments
Closed

udev规则不起作用 #1

suiahae opened this issue Aug 3, 2020 · 3 comments

Comments

@suiahae
Copy link

suiahae commented Aug 3, 2020

安装脚本所设定的udev规则(99-clash.rules)不起作用,需要手动执行sudo /usr/lib/clash/setup-tun.sh来配置tun。

@Benyjuice
Copy link

使用的什么系统,有可能系统的udev配置目录不是/usr/lib/udev
Ubuntu 18.04为/lib/udev

@suiahae
Copy link
Author

suiahae commented Sep 30, 2020

使用的什么系统,有可能系统的udev配置目录不是/usr/lib/udev
Ubuntu 18.04为/lib/udev

系统为 fedora32,我再尝试下。

@suiahae
Copy link
Author

suiahae commented Sep 30, 2020

使用的什么系统,有可能系统的udev配置目录不是/usr/lib/udev
Ubuntu 18.04为/lib/udev

Fedora 32 的 udev 配置目录为 /usr/lib/udev/rules.d。

在脚本中加入debug脚本后,发现udev规则可以生效,相应脚本“sudo /usr/lib/clash/setup-tun.sh”可以运行。但脚本对iptables的修改无效。

我另开一个issue吧

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants