09 November 2021

cek password zte f460 epon

 cek password zte F460 epon

telnet:

root

Zte521

sendcmd 1 DB p UserInfo

sendcmd 1 DB p DevAuthInfo

12 May 2021

Serial write variable

 char temp[20];

    sprintf (temp, "%1OK",thevar);

    Serial2.write(temp);

03 March 2021

Arduino Json create json object

  DynamicJsonBuffer jsonBuffer3;

JsonObject &akar = jsonBuffer3.createObject();

akar["acctype"] = AccType;

// akar["access"] = type;  

akar["user"] = username;

akar["uid"] = uid;

akar["lokasi"] = deviceHostname;

String mqttBuffer;

String cobacoba;

akar.printTo(cobacoba);

//Serial.print("[ INFO ] Serial Publish:");

Serial.println(cobacoba);

01 March 2021

how to mqttClient.publish a variable string

 void bacaserial(){

     if (Serial.available() > 0)

  {

    bt = Serial.readString();    //get data

    char charBuf[bt.length() + 1];   //modify it

    bt.toCharArray(charBuf,bt.length() + 1);

    mqttClient.publish("TAG/pesan", charBuf); // send

    Serial.println(bt);

    bt="";

    Serial.flush();

   }  

 }

26 February 2021

CLI setting ONT F609 di OLT ZTE C320 V2.1

con ter
int gpon-olt_1/2/@Port
onu @Onu type jte sn @SerialNumber
exit
int gpon-onu_1/2/@Port:@Onu
name iSerius_@Nomer
description @Deskripsi
tcont 1 name BR profile 50M
tcont 2 name SUPER profile 50M
gemport 1 name BR tcont 1
gemport 1 traffic-limit upstream UP-20M downstream DOWN-20M
gemport 2 name SUPER tcont 2
gemport 2 traffic-limit upstream UP-20M downstream DOWN-20M
service-port 1 vport 1 user-vlan 177 vlan 177
service-port 2 vport 2 user-vlan @VLAN vlan @VLAN
port-identification format DSL-FORUM-PON sport 1
pppoe-intermediate-agent enable sport 1
exit
pon-onu-mng gpon-onu_1/2/@Port:@Onu
service BR gemport 1 vlan 177
service SUPER gemport 2 vlan @VLAN
wan-ip 1 mode pppoe username @User password @Password vlan-profile @VLAN host 1
wan-ip 1 ping-response enable traceroute-response enable
vlan port eth_0/4 mode tag vlan 177
vlan port wifi_0/4 mode tag vlan 177
interface wifi wifi_0/1 state unlock
interface wifi wifi_0/4 state unlock
security-mgmt 1 state enable mode forward protocol web
ssid auth wpa wifi_0/1 wpa2-psk key @PassWifi
ssid auth wpa wifi_0/4 wpa2-psk key silahkanmasuk
ssid ctrl wifi_0/1 name @Wifi
ssid ctrl wifi_0/4 name iSerius_MQTT
exit
exit
wr
x
x

third party SFP disabled in cisco

if third party SFP disabled in CISCO then you can enable by using this command  #service unsupported-transceiver  and  #no errdisable detect...