Skip to content

Small bash script to reconnet when getting grey ip on Rostelecom

Notifications You must be signed in to change notification settings

Ld-Hagen/rt-white-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Небольшой скрипт для переподключения при получении серого IP у Ростелекома.

Использование (на OpenWRT)

  1. Скопируйте файлы 10-white_ip и white_ip.sh в директорию /opt на роутере

    wget -P /opt/ https://raw.githubusercontent.com/Ld-Hagen/rt-white-ip/main/10-white_ip

    wget -P /opt/ https://raw.githubusercontent.com/Ld-Hagen/rt-white-ip/main/white_ip.sh

  2. Сделайте их исполняемыми

    chmod +x /opt/10-white_ip /opt/white_ip.sh

  3. Укажите имя вашего WAN интерфейса в переменной wan_iface файла white_ip.sh

  4. Создайте ссылку на 10-white_ip в /etc/hotplug.d/iface/

    ln -s /opt/10-white_ip /etc/hotplug.d/iface/

About

Small bash script to reconnet when getting grey ip on Rostelecom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages