思绪的空中生活

N1 armbian 断线自动重拨 pppoe
vi auto_pppd.sh#!/bin/sh status=`ifconfig | grep 'ppp0'` ...
扫描右侧二维码阅读全文
06
2020/05

N1 armbian 断线自动重拨 pppoe

vi auto_pppd.sh

#!/bin/sh
status=`ifconfig | grep 'ppp0'`
if [[ $status = "" ]]
then
    poff -a
    pon dsl-provider
fi    

chomd +x auto_pppd.sh
添加定时任务1分钟1次

相关文章:

  • debian手动调整内核启动顺序
  • N1将armbian刷入emmc
  • debian 10 换源
  • Last modification:May 6th, 2020 at 10:40 pm
    If you think my article is useful to you, please feel free to appreciate

    2 comments

    1. 烟火云

      能否在玩客云5.6.7上增加PPPOE组件

      1. 思绪的空中生活
        @烟火云

        如果是armbian,那就是通用的吧

    Leave a Comment