Jump to content

Recommended Posts

Posted

Доброго дня 

Встречается довольно часто вопрос в перезагрузке соединения PPPoE. В основном по причине смены DNS, в данном случае соединение будет "жить" но не посчитает необходимым переподключится.

Возможно ли повесить на кнопку (к примеру WiFi) - деактивировать PPPoE и сразу активировать ? 

  • 2 weeks later...
Posted

В 2.07 появилась опция run Opkg script в настройках реакции кнопок. Можно от неё плясать скриптом типа

!/bin/sh

interface_name=PPPoE0
interface_thru=ISP-Vlan

ndmq -p "no interface ${interface_name} connect via ${interface_thru}"
sleep 5  
ndmq -p "interface ${interface_name} connect via ${interface_thru}"

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.