Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决deepin系统miredo.service开机启动失败 #10008

Open
yyy123zc opened this issue Mar 14, 2018 · 2 comments
Open

解决deepin系统miredo.service开机启动失败 #10008

yyy123zc opened this issue Mar 14, 2018 · 2 comments

Comments

@yyy123zc
Copy link

yyy123zc commented Mar 14, 2018

1、安装miredo
sudo apt install miredo
2、在 /etc/systemd/system新建miredo.service文件
sudo gedit /etc/systemd/system/miredo.service
3、将以下内容复制粘贴并保存:
[Unit]
Description=Teredo IPv6 tunneling
Requires=network-online.target
After=network-online.target

[Service]
ExecStartPre=/usr/sbin/miredo-checkconf -f /etc/miredo/miredo.conf
ExecStart=/usr/sbin/miredo -f
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target
4、设置服务开机启动
sudo systemctl enable systemd-networkd-wait-online.service
sudo systemctl enable miredo.service

已在两台笔记本上验证成功,但我并不明白命令的具体含义,只是将几个命令拼在一起。
#参考文档:https://bugs.launchpad.net/ubuntu/+source/miredo/+bug/1482069
http://tieba.baidu.com/p/1937157864
https://www.v2ex.com/t/186840
http://www.jinbuguo.com/systemd/systemd-networkd-wait-online.service.html

@kuangyufei
Copy link

赞,已在deepin上验证成功!

@naivor
Copy link

naivor commented Feb 26, 2020

天哪!从仓库配置的miredo一直无法正常工作,今天闲来无事自己从miredo的master分支拉取手动编译安装了一下,居然可以工作了,下载miredo 提取码: 64a7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants