zoukankan      html  css  js  c++  java
  • TG787 脚本

    system reset factory=yes proceed=yes                  
    env set var=SESSIONTIMEOUT value=0
    ppp relay flush
    ppp flush
    eth flush
    atm flush
    atm phonebook flush
    atm phonebook add name=pvc_Internet addr=0.35
    atm ifadd intf=atm_Internet
    atm ifconfig intf=atm_Internet dest=pvc_Internet ulp=mac
    atm ifattach intf=atm_Internet
    eth bridge config filter=none vlan=enabled
    eth bridge ifadd intf=br_Internet
    eth bridge ifconfig intf=br_Internet dest=atm_Internet
    eth bridge ifattach intf=br_Internet
    eth bridge ifconfig intf=ethport1 dynvlan=enabled
    eth bridge ifconfig intf=ethport2 dynvlan=enabled
    eth bridge ifconfig intf=ethport3 dynvlan=enabled
    eth bridge ifconfig intf=ethport4 dynvlan=enabled
    eth vlan add name=video vid=2 addrule=enabled
    eth bridge vlan ifadd name=video intf=br_Internet
    eth bridge vlan ifdelete name=default intf=br_Internet
    eth bridge vlan ifadd name=video intf=OBC untagged=disabled
    eth ifadd intf=ethoa_Internet
    eth ifconfig intf=ethoa_Internet dest=bridge vlan=video
    eth ifattach intf=ethoa_Internet
    ppp relay ifadd intf=ethoa_Internet
    ppp ifadd intf=Internet
    ppp ifconfig intf=Internet dest=RELAY user=200000381562 password=s5w7f7c8 dnsmetric=10
    ppp rtadd intf=Internet dst=0.0.0.0/0 src=0.0.0.0/0 metric=1
    nat ifconfig intf=Internet translation=enabled
    ppp ifattach intf=Internet
    eth bridge dynvlan add hwaddr $1 vlan video
  • 相关阅读:
    旋转坐标转换的矩阵推导
    Union的妙用和注意
    OpenGL环境搭建Windows+Mac+Linux
    RichLabel基于Cocos2dx+Lua v3.x
    Cocos2dx+lua中Color参数的坑
    常见开源协议
    lua序列化(支持循环引用)
    lua标签解析器
    Markdown基本语法
    python3爬取墨迹天气并发送给微信好友,附源码
  • 原文地址:https://www.cnblogs.com/cl1024cl/p/6204800.html
Copyright © 2011-2022 走看看