Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 37 38 [39] 40 41 ... 84

Author Topic: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)  (Read 402566 times)

eclp

  • Reg Member
  • ***
  • Posts: 136
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #570 on: February 11, 2018, 12:27:33 PM »

@Ivymike ...

www/docroot/css -->

gw.css

delete in line 1058 --> content: "\f085";

and

tim.css
in line 4 --> opacity: 1; --> opacity: 0;
(only change here)

 :)
Logged
DGA4132 Firmware 1.1.0 + TIM-GUI unlocked
DGA4132 Test device unlocked

Ivymike

  • Reg Member
  • ***
  • Posts: 100
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #571 on: February 11, 2018, 12:46:56 PM »

i did it ... but when I move the cursor on a card, the icon reappears

and despite i have activated telnet in this card it's always off

« Last Edit: February 11, 2018, 12:58:01 PM by Ivymike »
Logged

eclp

  • Reg Member
  • ***
  • Posts: 136
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #572 on: February 11, 2018, 01:45:33 PM »

gw.css

line 617, opacity: 1; --> opacity: 0;

line 911, display: inline; -->   display: none;
Logged
DGA4132 Firmware 1.1.0 + TIM-GUI unlocked
DGA4132 Test device unlocked

Ivymike

  • Reg Member
  • ***
  • Posts: 100
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #573 on: February 11, 2018, 01:58:40 PM »

@eclp i should offer a beer ;)

Logged

eclp

  • Reg Member
  • ***
  • Posts: 136
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #574 on: February 11, 2018, 03:33:36 PM »

in fact it is only necessary to add this piece of code in /www/lua/internetmode_helper.lua
just above the last "}"
Code: [Select]
{
        name = "bridge",
        default = false,
        description = "Bridge mode",
        view = "internet-bridged.lp",
        card = "003_internet_bridged.lp",
        check = {
            { "uci.network.interface.@wan.proto", "^bridge$"},
{ "uci.wansensing.global.enable", "^1$"},
        },
        operations = {
            { "uci.network.interface.@wan.proto", "bridge"},
        },
    },

So the file would be like this :
Big Thanks @eclp for finding this  :)

The solution to the wansensing mystery in Bridge-Mode!

Wrong:  { "uci.wansensing.global.enable", "^1$"}

Correct: { "uci.wansensing.global.enable", "^0$"}

 :) :P

STOP
Something's missing.
(I hope I find out)
« Last Edit: February 11, 2018, 04:19:59 PM by eclp »
Logged
DGA4132 Firmware 1.1.0 + TIM-GUI unlocked
DGA4132 Test device unlocked

bilbokitz

  • Reg Member
  • ***
  • Posts: 211
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #575 on: February 11, 2018, 04:11:57 PM »

That's great, I thought that was strange, I wonder where the 1 came from.

Does your dhcp relay card show as enabled too? I cant seem to disable it in the gui or in /etc/config/dhcprelay
Logged
Alcatel Cab 200/20 Vectored VDSL 35b - Technicolor DGA4130 Bridged + Asus RT-AC86U Asuswrt-Merlin

Ivymike

  • Reg Member
  • ***
  • Posts: 100
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #576 on: February 11, 2018, 04:17:08 PM »

@eclp i see you're very expert, so i'm thinking.....

i enabled telnet like explaned but i i cannot to fix cards... it always off instead green and in subcard i haven't any button or information about that.

how can i fix it?
Logged

shdf

  • Reg Member
  • ***
  • Posts: 379
    • Liveboxinfo
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #577 on: February 11, 2018, 04:55:30 PM »

@Ivymike
i'm ont it, your card is coming from Ansuel GUI, as we know "with bugs"...i found the reason why it doesn't show as enabled, but i don't understand why...the problem is here :
Code: [Select]
if telnet_available then
local TELNET = proxy.get("uci.telnet.general.enable")
if TELNET and (TELNET[1].value == "1") then
telnet_enable = "Enabled"
else
telnet_enable = "Disabled"
end
end

For some reason the code doesn't get the correct value of "1", however in putty if you do a uci get telnet.general.enable you get "1"...

@eclp
you are changing values in the CHECK part...i'm not sure it's correct, if you want to change a value it should be below in the "operation" part.
i would try this :

Code: [Select]
{
        name = "bridge",
        default = false,
        description = "Bridge mode",
        view = "internet-bridged.lp",
        card = "003_internet_bridged.lp",
        check = {
            { "uci.network.interface.@wan.proto", "^bridge$"},
{ "uci.wansensing.global.enable", "^1$"},
        },
        operations = {
            { "uci.network.interface.@wan.proto", "bridge"},
            { "uci.wansensing.global.enable", "0"},
        },
    },
« Last Edit: February 11, 2018, 05:02:32 PM by shdf »
Logged
DGA4130 Firmware 2.2.0 Gui 9.5.x Stable
DGA4132 Firmware 2.2.0 Gui 9.5.x Stable
MEGA : Removed

bilbokitz

  • Reg Member
  • ***
  • Posts: 211
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #578 on: February 11, 2018, 06:27:06 PM »

@shdf I presume the telnet enabled status problem is also related to this problem??

Code: [Select]
config dhcprelay 'config'
        option serveriface       'wan'
        option clientiface       'lan'
        option enabled           '0'
        #option serverip         '<your DHCP server IP address>'

Logged
Alcatel Cab 200/20 Vectored VDSL 35b - Technicolor DGA4130 Bridged + Asus RT-AC86U Asuswrt-Merlin

shdf

  • Reg Member
  • ***
  • Posts: 379
    • Liveboxinfo
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #579 on: February 11, 2018, 06:32:24 PM »

about the relay setup, if you watch inside /www/cards/018_relaysetup.lp you'll see some comments saying that they hardcoded some values (so enabled or not it will show as enabled).

set it like this and it will show as disabled.
Quote
-- TODO: Hardcoded to "1" since there’s no option to enable/disable dhcp relay
local uci_relay_status = "0"
local dhcprelay_state = "disabled"
Logged
DGA4130 Firmware 2.2.0 Gui 9.5.x Stable
DGA4132 Firmware 2.2.0 Gui 9.5.x Stable
MEGA : Removed

shdf

  • Reg Member
  • ***
  • Posts: 379
    • Liveboxinfo
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #580 on: February 11, 2018, 07:37:48 PM »

I got it for the Telnet issue  ;D
we need the file /usr/share/transformer/mappings/uci/telnet.map from Ansuel's GUI.

+ of course his /www/cards/091_system.lp. This is mine, i just removed the bakground glitch.
Code: [Select]
--pretranslated: do not change this file
 
-- Enable localization
gettext.textdomain('webui-core')

local ngx = ngx
local session = ngx.ctx.session
local format = string.format
local ui_helper = require("web.ui_helper")
local proxy = require("datamodel")
local modalPath = "/modals/system-modal.lp"
syslog_present = "Disabled"

-- Check availability of file, return true if found, else false
local function file_check(file_name)
  local file_found=io.open(file_name, "rb")
  if file_found==nil then
    return false
  else
    return true
  end
end

local Syslog = proxy.get("uci.system.system.@system[0].log_ip", "uci.system.system.@system[0].log_filter_ip")
if Syslog and (Syslog[1].value ~= "" or Syslog[2].value ~= "") then
    syslog_present = "Enabled"
end
    local syslog_state_map = {
      Disabled = T"Syslog Disabled",
      Enabled = T"Syslog Enabled",
    }

    local syslog_light_map = {
      Disabled = "off",
      Enabled = "green",
    }

local ssh_enable = "Disabled"
local SSH_legacy = proxy.get("uci.dropbear.dropbear.@dropbear[0].enable")
local SSH_lan = proxy.get("uci.dropbear.dropbear.@lan.enable")
local SSH_wan = proxy.get("uci.dropbear.dropbear.@wan.enable")
if SSH_legacy and (SSH_legacy[1].value == "1") then
    ssh_enable = "Enabled"
end
if SSH_lan and (SSH_lan[1].value == "1") then
    ssh_enable = "Enabled"
end
if SSH_wan and (SSH_wan[1].value == "1") then
    ssh_enable = "Enabled"
end

    local SSH_state_map = {
      Disabled = T"SSH Disabled",
      Enabled = T"SSH Enabled",
    }

    local SSH_light_map = {
      Disabled = "off",
      Enabled = "green",
    }

local telnet_available = file_check("/bin/busybox_telnet")

if telnet_available then
local TELNET = proxy.get("uci.telnet.general.enable")
if TELNET and (TELNET[1].value == "1") then
telnet_enable = "Enabled"
else
telnet_enable = "Disabled"
end
end
    local TELNET_state_map = {
      Disabled = T"Telnet Disabled",
      Enabled = T"Telnet Enabled",
    }

    local TELNET_light_map = {
      Disabled = "off",
      Enabled = "green",
    }

    if session:hasAccess("/modals/system-modal.lp") then
    local modal_link = format("class=\"modal-link\" data-toggle=\"modal\" data-remote=\"%s\" data-id=\"device-modal\"",modalPath)
  ngx.print('\
<div class="span3">\
  <div class="smallcard">\
    ');  ngx.print( ui_helper.createCardHeader(T"System Extras", modalPath) ); ngx.print('\
    <div class="content">\
      <div class="divtable">');
ngx.print(
ui_helper.createSimpleLight(nil, syslog_state_map[syslog_present], { light = { class = syslog_light_map[syslog_present] } }),
'<br/>',
ui_helper.createSimpleLight(nil, SSH_state_map[ssh_enable], { light = { class = SSH_light_map[ssh_enable] } }),
'<br/>');
if telnet_available then
ngx.print(
ui_helper.createSimpleLight(nil, TELNET_state_map[telnet_enable], { light = { class = TELNET_light_map[telnet_enable] } })
);
end
ngx.print('\
      </div>\
    </div>\
  </div>\
</div>\
'); 
    end -- end for the second if
  ngx.print('\
');

Logged
DGA4130 Firmware 2.2.0 Gui 9.5.x Stable
DGA4132 Firmware 2.2.0 Gui 9.5.x Stable
MEGA : Removed

eclp

  • Reg Member
  • ***
  • Posts: 136
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #581 on: February 11, 2018, 08:04:09 PM »

@Shdf ... I tried your "function" unsuccessfully.

Wansensing should be switched off automatically (global) as soon as the bridge mode is activated. You will be greeted as follows when you log in:"Your modem is in bridge mode. It only connect to DSLAM and nothings else." (as in my picture). This also works, but unfortunately only if you disable wansensing in the config manually. Unfortunately, I can't find or reactivate the deciding "function".

Ask for help!



Logged
DGA4132 Firmware 1.1.0 + TIM-GUI unlocked
DGA4132 Test device unlocked

Ivymike

  • Reg Member
  • ***
  • Posts: 100
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #582 on: February 11, 2018, 08:46:07 PM »

about the relay setup, if you watch inside /www/cards/018_relaysetup.lp you'll see some comments saying that they hardcoded some values (so enabled or not it will show as enabled).

set it like this and it will show as disabled.

i tried and i got this:




Great for Telnet... works!
I will try to add command in sub cards

« Last Edit: February 11, 2018, 08:57:54 PM by Ivymike »
Logged

shdf

  • Reg Member
  • ***
  • Posts: 379
    • Liveboxinfo
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #583 on: February 11, 2018, 09:33:07 PM »

@Ivymike
system-modal.lp

Code: [Select]
--pretranslated: do not change this file
 
-- Enable localization
-- NG-92911 SSH Enable for LAN/WAN is not working for Engineer User
gettext.textdomain('webui-core')

local ngx, string = ngx, string
local proxy = require("datamodel")
local ui_helper = require("web.ui_helper")
local message_helper = require("web.uimessage_helper")
local content_helper = require("web.content_helper")
local post_helper = require("web.post_helper")
local format, match = string.format, string.match

local env = {
  factory = "uci.env.rip.factory_id",
  serial = "uci.env.rip.serial",
}
content_helper.getExactContent(env)

-- Check availability of file, return true if found, else false
local function file_check(file_name)
  local file_found=io.open(file_name, "rb")
  if file_found==nil then
    return false
  else
    return true
  end
end

local serial_num = format("%s%s",env.factory,env.serial)
local syslog_present, syslog_filter_sw = "0", "0"

-- SSH Access
local ssh_lan, ssh_wan = "0", "0"    -- assume disabled
local ssh_lan_index, ssh_wan_index = "-1", "-1"
local ssh_wan_new, ssh_lan_new

-- local function to handle setting firewall rule
-- parameter target will have a value of DROP or ACCEPT for SSH-wan entry
local function set_firewall(target)
   -- go through rules to find SSH-wan anonymous section name
   local rules = proxy.get("uci.firewall.rule.")
   for _,v in ipairs(rules) do
      if v.param == "name" and string.untaint(v.value) == "SSH_wan" then
         proxy.set(v.path.."target", target)
         return
      end
   end
end


local dbpath = "uci.dropbear.dropbear."
local dbvalues = proxy.get(dbpath)
local data = content_helper.convertResultToObject(dbpath, dbvalues)

for _,v in pairs(data) do
  if v.Interface == "lan" then
    ssh_lan = v.enable
    ssh_lan_index = v.paramindex
  elseif v.Interface == "wan" then
    ssh_wan = v.enable
    ssh_wan_index = v.paramindex
  end
end

local Syslog = proxy.get("uci.system.system.@system[0].log_ip","uci.system.system.@system[0].log_filter_ip")
if Syslog[1].value ~= "" or Syslog[2].value ~= "" then
  syslog_present = "1"
  if Syslog[2].value ~= "" then
    syslog_filter_sw = "1"
  end
end

if ngx.var.request_method == "POST" then
  local vars = ngx.req.get_post_args()
  if vars["action"] == "SAVE" then
    -- SSH Access
    ssh_wan_new = string.untaint(vars["ssh_wan"])
    ssh_lan_new = string.untaint(vars["ssh_lan"])

    -- set lan
    if ssh_lan_new ~= ssh_lan then
       ssh_lan = ssh_lan_new
       proxy.set(dbpath..ssh_lan_index.. ".enable", ssh_lan)
       -- Log  that someone has changed SSH access
       ngx.log(ngx.ALERT, "Local Setting of SSH on lan to "..ssh_lan)
    end

    -- set wan
    if ssh_wan_new ~= ssh_wan then
       ssh_wan = ssh_wan_new
       proxy.set(dbpath..ssh_wan_index.. ".enable", ssh_wan)
       if ssh_wan == "1" then
          set_firewall("ACCEPT")
       else
          set_firewall("DROP")
       end
       -- Log  that someone has changed SSH access
       ngx.log(ngx.ALERT, "Local Setting of SSH on wan to "..ssh_wan)
    end

    syslog_present = vars["syslog_present"]
    syslog_filter_sw = vars["syslog_filter_sw"]
    proxy.set("uci.system.system.@system[0].log_ip","")
    proxy.set("uci.system.system.@system[0].log_filter_ip","")
    proxy.apply()
  end
end



---[[
-- Syslog filters
local filter_columns = {
  {
    header = T"Filter",
    name = "filter_string",
    param = "value",
    type = "text",
  }
}

local function validateFilter(value, object, key)
    return true
end

local filter_valid = {
  filter_string = validateFilter
}

local filter_options = {
  tableid = "syslog_filters",
  basepath = "uci.system.system.@system[0].log_filter.@.",
  createMsg = T"Add new Syslog Filter",
  minEntries = 1,
  maxEntries = 10,
}


local filter_data, filter_helpmsg = post_helper.handleTableQuery(filter_columns, filter_options, nil, nil, filter_valid)

--]]



local syslog_Params = {
  syslog_filter_ip = "uci.system.system.@system[0].log_filter_ip",
  syslog_port = "uci.system.system.@system[0].log_port",
  syslog_ip = "uci.system.system.@system[0].log_ip",
}

local gVIPIL = post_helper.getValidationIfPropInList
local vSII = post_helper.validateStringIsIP
local vB = post_helper.validateBoolean
local vSIPR = post_helper.validateStringIsPortRange
local gOV = post_helper.getOptionalValidation
local vNES = post_helper.validateNonEmptyString

local function valid_comma_string(value)
  local rc, msg = vNES(value)
  if not rc then
    return rc, msg
  end
  if string.match(value, "[^%w,]") then
    return nil, T"Only alphanumeric characters, commas (,), full spots(.), underscores(_) and hiphens(-) are allowed, no spaces"
  end
    return true
end

local syslog_valid = {
  syslog_present = vB,
  syslog_filter_sw = vB,
  syslog_ip = gVIPIL(gVIPIL(gOV(vSII), "syslog_filter_sw", {"0"}), "syslog_present", {"1"}),
  syslog_filter_ip = gVIPIL(gVIPIL(gOV(vSII), "syslog_filter_sw", {"1"}), "syslog_present", {"1"}),
  syslog_port = gVIPIL(vSIPR, "syslog_present", {"1"}),
}
local syslog_Params, helpmsg = post_helper.handleQuery(syslog_Params, syslog_valid)

local telnet_available = file_check("/bin/busybox_telnet")

local telnet_Params = {
telnet_enable = "uci.telnet.general.enable",
}

local telnet_valid = {
telnet_enable = vB,
}

local telnet_content, helpmsg = post_helper.handleQuery(telnet_Params, telnet_valid)

local function resetreboot(path)
  proxy.set(path, "1")
  ngx.header.content_type = "application/json"
  ngx.print('{ "success":"true" }')
  ngx.timer.at(0, function()
    proxy.apply()
  end)
  ngx.exit(ngx.HTTP_OK)
end

-- Handle fwupgrade/configimport/configexport specific GET/POSTs.
if ngx.req.get_method() == "POST" then
  local action = ngx.req.get_post_args().action
  if action == "system_bootp" then
    return resetreboot("sys.bootp.enable")
  end
end
local title = T"System Extras"

  ngx.print('\
');  ngx.print(ui_helper.createHeader(title, false, false))   ngx.print('\
<div class="modal-body update">\
');
ngx.print(ui_helper.createMessages(message_helper.popMessages()))
  ngx.print('\
<form class="form-horizontal" method="post" action="modals/system-modal.lp">\
<fieldset>\
  <legend>');  ngx.print( T"Global" ); ngx.print('</legend>\
    '); 
      local bootp_alert = {
        alert = {
          class = "alert-info hide",
          id = "bootp-msg"
        }
      }
      local bootp = {
        group = {
          class = "wait-for-reboot"
        },
        button = {
          id = "btn-system-bootp",
          class = "custom-handler"
        }
      }
      local html = {}
      html[#html + 1] = ui_helper.createButton(T"LAN Upgrade", T"BOOTP", "icon-exchange", bootp)
      html[#html + 1] = ui_helper.createAlertBlock(T"Entering BOOTP, please wait...", bootp_alert)
      ngx.print(html)
      ngx.print('\
</fieldset>\
\
<fieldset>\
  <legend>');  ngx.print( T"SSH Access" ); ngx.print('</legend>\
    '); 
      local html = {}
      html[#html + 1] = ui_helper.createSwitch(T"LAN", "ssh_lan", ssh_lan)
      html[#html + 1] = ui_helper.createSwitch(T"WAN", "ssh_wan", ssh_wan)
      ngx.print(html)
      ngx.print('\
</fieldset>\
');
if telnet_available then
ngx.print('\
<fieldset>\
<legend>');  ngx.print( T"Telnet Access" ); ngx.print('</legend>\
'); 
local html = {}
html[#html + 1] = ui_helper.createSwitch(T"LAN", "telnet_enable", telnet_content["telnet_enable"] , basic)
ngx.print(html)
ngx.print('\
</fieldset>');
end
ngx.print('\
\
<fieldset>\
  <legend>');  ngx.print( T"System Log" ); ngx.print('</legend>\
    '); 
      local html = {}
      local switch_class_enable = {
        input = {
          class = "monitor-changes",
        }
      }
      html[#html + 1] = ui_helper.createSwitch(T"Enable Syslog", "syslog_present", syslog_present, switch_class_enable)
      local switch_class_filter = {
        group = {
          class ="monitor-syslog_present monitor-1",
        },
        input = {
          class = "monitor-changes",
        }
      }
      local Sysloginput = {
        group = {
          class ="monitor-syslog_present monitor-1",
        },
        input = {
          maxlength= "15",
          class = "span2",
        },
      }
      local Sysloginputip_fltr = {
        group = {
          class ="monitor-syslog_present monitor-1 monitor-syslog_filter_sw monitor-1",
        },
        input = {
          maxlength= "15",
          class = "span2",
        },
      }
      local Sysloginputip_fltr_fltr = {
        group = {
          class ="monitor-syslog_present monitor-1 monitor-syslog_filter_sw monitor-1",
        },
        input = {
          maxlength= "50",
          class = "span5",
         },
      }
      html[#html+1] = [[<div class="monitor-syslog_filter_sw monitor-0 monitor-hide-syslog_filter_sw">]]
      html[#html+1] = ui_helper.createInputText(T"IP", "syslog_ip", syslog_Params["syslog_ip"], Sysloginput, helpmsg["syslog_ip"])
      html[#html+1] = [[</div>]]
      html[#html+1] = ui_helper.createInputText(T"Filter IP", "syslog_filter_ip", syslog_Params["syslog_filter_ip"], Sysloginputip_fltr, helpmsg["syslog_filter_ip"])
      html[#html+1] = ui_helper.createSwitch(T"Enable Filter", "syslog_filter_sw", syslog_filter_sw, switch_class_filter)
      local filter_warning = {
        alert = {
          class = "alert-info monitor-syslog_present monitor-1 monitor-syslog_filter_sw monitor-1"
        },
      }
      html[#html + 1] = ui_helper.createAlertBlock(T"Every filter is a regular expression string; Start with '!' to invert selection", filter_warning)
      html[#html + 1] = format('<div class="control-group"><label class="control-label monitor-syslog_present monitor-1 monitor-syslog_filter_sw monitor-1">%s</label><div class="controls">', T"Syslog filters")
      html[#html+1] = ui_helper.createTable(filter_columns, filter_data, filter_options, Sysloginputip_fltr_fltr, filter_helpmsg)
      html[#html + 1] = '</div></div>'
      html[#html+1] = ui_helper.createInputText(T"Port", "syslog_port", syslog_Params["syslog_port"], Sysloginput, helpmsg["syslog_port"])
      ngx.print(html)
      ngx.print('\
</fieldset></form>\
</div>\
<script>\
(function() {\
  var refreshTimeOut = 5000;\
  var refreshDelay = 3000;\
  var target = $(".modal form").attr("action");\
\
  function wait_for_webserver_running() {\
    $.ajax({ url: "/", timeout: refreshTimeOut, data: { check: "1"} })\
    .done(function(data) {\
      document.open("text/html");\
      document.write(data);\
      document.close();\
    })\
    .fail(function() {\
      window.setTimeout(wait_for_webserver_running, refreshDelay);\
    });\
  }\
\
  function wait_for_webserver_down() {\
    $.ajax({ url: target, timeout: refreshTimeOut, data: { check: "1"}  })\
    .done(function() {\
      window.setTimeout(wait_for_webserver_down, refreshDelay);\
    })\
    .fail(function() {\
      window.setTimeout(wait_for_webserver_running, refreshDelay);\
    });\
  }\
\
  function resetreboot(msg, msg_dst, action) {\
    msg_dst.after(msg);\
    msg.removeClass("hide");\
    msg[0].scrollIntoView();\
    $.post(\
      target,\
      { action: action, CSRFtoken: $("meta[name=CSRFtoken]").attr("content") },\
      wait_for_webserver_down,\
      "json"\
    );\
    return false;\
  }\
\
  $("#btn-system-bootp").click(function() {\
     if (confirm("');  ngx.print(T"This will put your gateway into LAN Upgrade"); ngx.print('")){\
       tch.showProgress(\'');  ngx.print(T"Rebooting..."); ngx.print('\');\
       return resetreboot($("#bootp-msg"), $(this), "system_bootp");\
     }\
  });\
\
  $("[name=syslog_present]").change(function(){\
    $("[name=syslog_ip]").val("");\
    $("[name=syslog_filter_ip]").val("");\
  });\
\
  $("#btn-serial").click(function(){\
    $("[name=syslog_prefix]").val("');  ngx.print(serial_num); ngx.print('");\
    $("#modal-no-change").slideUp();\
    $("#modal-changes").slideDown();\
  });\
\
  $("[name=syslog_filter_sw]").change(function(){\
     if ($( this ).val() == "0"){\
       $("[name=syslog_ip]").val($("[name=syslog_filter_ip]").val());\
       $("[name=syslog_filter_ip]").val("");\
       $("[name=syslog_filter]").val("daemon");\
     }\
     else{\
       $("[name=syslog_filter_ip]").val($("[name=syslog_ip]").val());\
       $("[name=syslog_ip]").val("");\
       $("[name=syslog_filter]").val("daemon");\
     }\
  });\
}());\
</script>\
');  ngx.print(ui_helper.createFooter())   ngx.print('\
');

Logged
DGA4130 Firmware 2.2.0 Gui 9.5.x Stable
DGA4132 Firmware 2.2.0 Gui 9.5.x Stable
MEGA : Removed

Ivymike

  • Reg Member
  • ***
  • Posts: 100
Re: Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)
« Reply #584 on: February 11, 2018, 09:54:04 PM »


oh my god... i'm really stupid  :-[

well... now will come the nice  :)
Logged
Pages: 1 ... 37 38 [39] 40 41 ... 84
 

anything