AFM0002TIM no DHCP WAN IP

  • 1 Risposte
  • 2774 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline pmgcosta

  • Nuovo Iscritto
  • *
  • 2
AFM0002TIM no DHCP WAN IP
« il: 09 Giugno 2021, 02:20 »
I have change my crappy router with an Huawei ONT HG8012h

For that i have change my serialnumber + password

Serial 5054494E91194A08 (PTIN91194A08)
Password: " " ascii / "20" in hex

Configured WAN using RJ45 to SFP 1gb with VLAN 12 (settings for FTTH Meo Provider in Portugal) and everthing works.

But a want to replace the ONT HG8012h with  an AFM0002TIM SFP,


I have change se serialnumber and password using this

Codice: [Seleziona]
ssh [email protected] "cat /var/config/lastgood.xml" > lastgood.xml
ssh [email protected] "cat /var/config/lastgood_hs.xml" > lastgood_hs.xml


lastgood.xml

Codice: [Seleziona]
<Value Name="GPON_PLOAM_PASSWD" Value=" "/>

lastgood_hs.xml

Codice: [Seleziona]
<Value Name="GPON_SN" Value="PTIN91194A08"/>

Uploading the changes

Codice: [Seleziona]
cat lastgood.xml | ssh [email protected] -T "cat > /var/config/lastgood.xml"
cat lastgood_hs.xml | ssh [email protected] -T "cat > /var/config/lastgood_hs.xml"


And now i have this on SFP

Codice: [Seleziona]
# diag
RTK.0> gpon get onu-state
ONU state: Operation State(O5)
RTK.0>
RTK.0> gpon show ds-flow
============================================================
     GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
      0 |     4095 |  ETH |           |
     32 |       45 | OMCI |           |
============================================================
RTK.0>

But i don't have wan ip from dhcp (vlan 12) any sugestion ? :'( :'(

Thats my current config:

lastgood.xml

Codice: [Seleziona]
<Config Name="ROOT">
 <Dir Name="MIB_TABLE">
  <Value Name="WAN_MODE" Value="7"/>
  <Value Name="LAN_IP_ADDR" Value="192.168.2.1"/>
  <Value Name="LAN_SUBNET" Value="255.255.255.0"/>
  <Value Name="LAN_ENABLE_IP2" Value="0"/>
  <Value Name="LAN_IP_ADDR2" Value="192.168.100.1"/>
  <Value Name="LAN_SUBNET2" Value="255.255.255.0"/>
  <Value Name="LAN_RIP" Value="0"/>
  <Value Name="LAN_AUTOSEARCH" Value="0"/>
  <Value Name="DNS_MODE" Value="0"/>
  <Value Name="DNS1" Value="0.0.0.0"/>
  <Value Name="DNS2" Value="0.0.0.0"/>
  <Value Name="DNS3" Value="0.0.0.0"/>
  <Value Name="ADSL_MODE" Value="83"/>
  <Value Name="ADSL_OLR" Value="3"/>
  <Value Name="USER_NAME" Value="user"/>
  <Value Name="USER_PASSWORD" Value="user"/>
  <Value Name="DEVICE_TYPE" Value="0"/>
  <Value Name="INIT_LINE" Value="1"/>
  <Value Name="INIT_SCRIPT" Value="1"/>
  <Value Name="SNMP_SYS_NAME" Value="PON Bridge"/>
  <Value Name="VC_AUTOSEARCH" Value="0"/>
  <Value Name="BR_AGEING_TIME" Value="7200"/>
  <Value Name="BR_STP_ENABLED" Value="0"/>
  <Value Name="MP_MODE" Value="4"/>
  <Value Name="SPC_ENABLED" Value="0"/>
  <Value Name="SPC_IPTYPE" Value="0"/>
  <Value Name="MULTI_LINGUAL_STATE" Value="101"/>
  <Value Name="UPNP" Value="0"/>
  <Value Name="UPNP_EXT_ITF" Value="255"/>
  <Value Name="SYSLOG_LOG_LEVEL" Value="0"/>
  <Value Name="SYSLOG_DISPLAY_LEVEL" Value="0"/>
  <Value Name="SUSER_NAME" Value="admin"/>
  <Value Name="SUSER_PASSWORD" Value="system"/>
  <Value Name="ADSL_TONE" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="DIRECT_BRIDGE_MODE" Value="1"/>
  <Value Name="ADSL_HIGH_INP" Value="0"/>
  <Value Name="SYSLOG" Value="0"/>
  <Value Name="MAXLOGLEN" Value="16384"/>
  <Value Name="ADSLDBG" Value="0"/>
  <Value Name="MIB_ETH_MAC_CTRL" Value="0"/>
  <Value Name="MIB_WLAN_MAC_CTRL" Value="0"/>
  <Value Name="LOID" Value="user"/>
  <Value Name="LOID_PASSWD" Value="password"/>
  <Value Name="GPON_PLOAM_PASSWD" Value=" "/>
  <Value Name="OMCI_DBGLVL" Value="0"/>
  <Value Name="OMCI_LOGFILE" Value="0"/>
  <Value Name="OMCI_PORT_TYPE" Value="1"/>
  <Value Name="DUAL_MGMT_MODE" Value="0"/>
  <Value Name="OMCI_CUSTOM_BDP" Value="0"/>
  <Value Name="OMCI_CUSTOM_RDP" Value="0"/>
  <Value Name="OMCI_CUSTOM_MCAST" Value="0"/>
  <Value Name="OMCI_CUSTOM_ME" Value="0"/>
  <Value Name="RTK_IGMP_DBGEN" Value="0"/>
  <Value Name="RTK_IGMP_DROPV1" Value="1"/>
  <Value Name="RTK_IGMP_VIDTYPE" Value="0"/>
  <Value Name="RTK_IGMP_TAGDECISION" Value="0"/>
  <Value Name="VLAN_CFG_TYPE" Value="0"/>
  <Value Name="VLAN_MANU_MODE" Value="0"/>
  <Value Name="VLAN_MANU_TAG_VID" Value="65535"/>
  <Value Name="VLAN_MANU_TAG_PRI" Value="255"/>
  <Value Name="DHCP_PORT_FILTER" Value="0"/>
  <Value Name="NTP_EXT_ITF" Value="65535"/>
  <Value Name="RTK_DEVID_MANUFACTURER" Value=""/>
  <Value Name="RTK_DEVID_OUI" Value=""/>
  <Value Name="RTK_DEVID_PRODUCTCLASS" Value=""/>
  <Value Name="RTK_DEVINFO_SPECVER" Value=""/>
  <Value Name="RTK_DEVINFO_SWVER" Value=""/>
  <Value Name="RTK_DEVINFO_HWVER" Value=""/>
  <Value Name="DEVICE_NAME" Value="RTK_GW"/>
 </Dir>
 <Dir Name="ATM_VC_TBL"> <!--index=0-->
  <Value Name="ifIndex" Value="130816"/>
  <Value Name="VPI" Value="5"/>
  <Value Name="QoS" Value="0"/>
  <Value Name="VCI" Value="35"/>
  <Value Name="PCR" Value="6000"/>
  <Value Name="SCR" Value="0"/>
  <Value Name="MBS" Value="0"/>
  <Value Name="CDVT" Value="0"/>
  <Value Name="Encap" Value="1"/>
  <Value Name="NAPT" Value="1"/>
  <Value Name="ChannelMode" Value="0"/>
  <Value Name="BridgeType" Value="0"/>
  <Value Name="pppUser" Value=""/>
  <Value Name="pppPasswd" Value=""/>
  <Value Name="pppAuth" Value="0"/>
  <Value Name="pppACName" Value=""/>
  <Value Name="pppServiceName" Value=""/>
  <Value Name="pppConnectType" Value="0"/>
  <Value Name="pppIdleTime" Value="0"/>
  <Value Name="enableIGMP" Value="0"/>
  <Value Name="ChannelAddrType" Value="0"/>
  <Value Name="RIP" Value="0"/>
  <Value Name="LocalIPAddr" Value="0.0.0.0"/>
  <Value Name="RemoteIPAddr" Value="0.0.0.0"/>
  <Value Name="DefaultGW" Value="0"/>
  <Value Name="MTU" Value="1500"/>
  <Value Name="ChannelStatus" Value="1"/>
  <Value Name="SubnetMask" Value="0.0.0.0"/>
  <Value Name="Ipunnum" Value="0"/>
  <Value Name="DNSMode" Value="0"/>
  <Value Name="DNSV4IPAddr1" Value="0.0.0.0"/>
  <Value Name="DNSV4IPAddr2" Value="0.0.0.0"/>
  <Value Name="vlan" Value="0"/>
  <Value Name="vid" Value="0"/>
  <Value Name="vprio" Value="0"/>
  <Value Name="vpass" Value="0"/>
  <Value Name="itfGroup" Value="0"/>
  <Value Name="cpePppIfIndex" Value="0"/>
  <Value Name="cpeIpIndex" Value="0"/>
  <Value Name="WanName" Value=""/>
  <Value Name="applicationtype" Value="4"/>
  <Value Name="MacAddr" Value="ac4afe7b2c7b"/>
 </Dir>
 <Dir Name="SW_PORT_TBL"> <!--index=0-->
  <Value Name="PVCInterface" Value="65535"/>
  <Value Name="InterfaceGroup" Value="0"/>
  <Value Name="PVID" Value="0"/>
  <Value Name="LinkMode" Value="4"/>
  <Value Name="VLAN on LAN Enabled" Value="0"/>
  <Value Name="VLAN on LAN InterfaceGroup" Value="0"/>
  <Value Name="VID" Value="0"/>
 </Dir>
 <Dir Name="SW_PORT_TBL"> <!--index=1-->
  <Value Name="PVCInterface" Value="65535"/>
  <Value Name="InterfaceGroup" Value="0"/>
  <Value Name="PVID" Value="1"/>
  <Value Name="LinkMode" Value="4"/>
  <Value Name="VLAN on LAN Enabled" Value="0"/>
  <Value Name="VLAN on LAN InterfaceGroup" Value="0"/>
  <Value Name="VID" Value="0"/>
 </Dir>
 <Dir Name="MAC_BASE_DHCP_TBL">
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=0-->
  <Value Name="VPI" Value="0"/>
  <Value Name="VCI" Value="35"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=1-->
  <Value Name="VPI" Value="8"/>
  <Value Name="VCI" Value="35"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=2-->
  <Value Name="VPI" Value="0"/>
  <Value Name="VCI" Value="43"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=3-->
  <Value Name="VPI" Value="0"/>
  <Value Name="VCI" Value="51"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=4-->
  <Value Name="VPI" Value="0"/>
  <Value Name="VCI" Value="59"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=5-->
  <Value Name="VPI" Value="8"/>
  <Value Name="VCI" Value="43"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=6-->
  <Value Name="VPI" Value="8"/>
  <Value Name="VCI" Value="51"/>
 </Dir>
 <Dir Name="AUTO_PVC_SEARCH_TBL"> <!--index=7-->
  <Value Name="VPI" Value="8"/>
  <Value Name="VCI" Value="59"/>
 </Dir>
 <Dir Name="PPPOE_SESSION_TBL">
 </Dir>
 <Dir Name="RIP_TBL">
 </Dir>
 <Dir Name="DHCP_RESERVED_IPADDR_TBL">
 </Dir>
 <Dir Name="EPON_LLID_TBL">
 </Dir>
</Config>

lastgood_hs.xml

Codice: [Seleziona]
<Config Name="ROOT">
 <Dir Name="HW_MIB_TABLE">
  <Value Name="SUPER_NAME" Value="adsl"/>
  <Value Name="SUPER_PASSWORD" Value="realtek"/>
  <Value Name="ELAN_MAC_ADDR" Value="ac4afe7b2c78"/>
  <Value Name="WLAN_MAC_ADDR" Value="00e04c076802"/>
  <Value Name="WAN_PHY_PORT" Value="4"/>
  <Value Name="HW_RF_TYPE" Value="7"/>
  <Value Name="HW_WLAN0_TX_POWER_CCK_A" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_CCK_B" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_HT40_1S_A" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_HT40_1S_B" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_DIFF_HT40_2S" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_DIFF_HT20" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_TX_POWER_DIFF_OFDM" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="HW_WLAN0_11N_TSSI1" Value="0"/>
  <Value Name="HW_WLAN0_11N_TSSI2" Value="0"/>
  <Value Name="HW_WLAN0_11N_THER" Value="0"/>
  <Value Name="HW_WLAN0_11N_THER_2" Value="0"/>
  <Value Name="HW_WLAN0_11N_PA_TYPE" Value="0"/>
  <Value Name="HW_WLAN0_REG_DOMAIN" Value="1"/>
  <Value Name="HW_WLAN0_11N_TRSWITCH" Value="0"/>
  <Value Name="HW_WLAN0_11N_TRSWPAPE_C9" Value="0"/>
  <Value Name="HW_WLAN0_11N_TRSWPAPE_CC" Value="0"/>
  <Value Name="HW_ANT_DIVERSITY" Value="0"/>
  <Value Name="HW_TX_ANT" Value="0"/>
  <Value Name="HW_CS_THRESHOLD" Value="11"/>
  <Value Name="HW_CCA_MODE" Value="1"/>
  <Value Name="HW_PHY_TYPE" Value="0"/>
  <Value Name="HW_WLAN_LED_TYPE" Value="7"/>
  <Value Name="BYTE" Value="255"/>
  <Value Name="WORD" Value="65535"/>
  <Value Name="DWORD" Value="4294967295"/>
  <Value Name="INT1" Value="2147483647"/>
  <Value Name="INT2" Value="-2147483648"/>
  <Value Name="WIFI_SUPPORT" Value="0"/>
  <Value Name="HW_SERIAL_NO" Value="000000000002"/>
  <Value Name="HW_FON_KEYWORD" Value="63,62,68,4a,75,3c,65,cd,7b,75,e5,2d,a9,80,72,8c,97,fc,bd,9b,37,51,d9,e3,82,92,68,a1,07,ae,a0,b5"/>
  <Value Name="HW_WLAN0_11N_XCAP" Value="0"/>
  <Value Name="HW_WLAN0_11N_XCAP_2" Value="0"/>
  <Value Name="HW_WLAN0_11N_TARGET_PWR" Value="0"/>
  <Value Name="LAN_SDS_MODE" Value="1"/>
  <Value Name="PON_MODE" Value="1"/>
  <Value Name="PON_LED_SPEC" Value="0"/>
  <Value Name="GPON_SN" Value="PTIN91194A08"/>
  <Value Name="CALI_RESULT_0" Value="03,04,01,00,00,00,02,00,00,00,00,03,0d,00,14,c8,00,00,00,00,54,65,63,68,6e,69,63,6f,6c,6f,72,20,20,20,20,20,00,00,00,00,41,46,4d,30,30,30,32,20,20,20,20,20,20,20,20,20,31,2e,30,20,05,1e,00,98,00,1a,00,00,55,37,4c,37,42,30,30,34,34,38,34,20,20,20,20,20,31,37,31,31,30,37,20,20,68,f0,08,10,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="CALI_RESULT_1" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
  <Value Name="CALI_RESULT_2" Value="5f,00,f6,00,5a,00,fb,00,8c,a0,75,30,88,b8,79,18,c3,50,00,00,9c,40,00,00,9b,83,1f,07,7b,87,27,10,07,cb,00,0d,06,31,00,10,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,3f,80,00,00,00,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,a1,29,65,71,49,00,00,00,00,00,00,ff,ff,ff,ff,02,00,10,40,00,ff,10,40,ab,ba,00,00,00,ba,a3,d0,c5,01"/>
  <Value Name="CALI_RESULT_3" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,c0,00,00,ff,c0,00,00"/>
  <Value Name="CALI_RESULT_4" Value="ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,6a,bb,5c,60,fc,13,00,00,8c,02,1a,40,ff,00,00,00,8c,07,00,35,c0,ff,fa,fa,00,52,fc,00,00,00,09,a0,00,00,0b,24,19,00,9a,00,de,0a,00,00,00,00,00,43,00,ff,ff,ff,ff,00,00,00,00,c0,01,61,c1,49,00,a0,fe,e9,01,a6,00,00,17,e6,00,00,00,00,05,a9,f9,3d,42,00,00,00,04,c0,02,c4,14,e0,1c,00,cd,00,ce,80,00,00,00,00,00,00,00,00"/>
  <Value Name="CALI_RESULT_5" Value="31,00,31,00,31,40,31,80,31,80,31,c0,32,00,32,00,32,40,32,80,32,80,32,c0,33,00,33,00,33,40,33,80,33,80,33,c0,34,00,34,00,34,40,34,80,34,80,34,c0,35,00,35,00,35,40,36,80,37,80,38,80,39,c0,3a,c0,3c,00,3d,00,3e,40,3f,40,40,80,41,80,42,80,43,c0,44,c0,46,00,47,00,48,40,4a,80,4d,40,50,40,53,00,55,c0,58,80,5b,40,5e,00,60,c0,63,80,66,40,69,00,6c,00,6e,c0,71,80,74,40,77,00,79,c0,7c,80,7f,40"/>
  <Value Name="CALI_RESULT_6" Value="01,40,01,80,01,80,01,c0,02,00,02,40,02,80,02,c0,03,00,03,00,03,40,03,80,03,c0,04,00,04,40,04,80,04,80,04,c0,05,00,05,40,05,80,05,c0,05,c0,06,00,06,40,06,80,06,c0,07,80,08,80,09,80,0a,40,0b,40,0c,00,0d,00,0d,c0,0e,c0,0f,c0,10,80,11,80,12,40,13,40,14,00,15,00,16,00,16,c0,17,c0,18,80,19,80,1a,40,1b,40,1c,40,1d,00,1e,00,1e,c0,1f,c0,20,80,21,80,22,80,23,40,24,40,25,00,26,00,26,c0,27,c0"/>
  <Value Name="CALI_RESULT_7" Value="8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,8c,7c,03,7f,66,82,c9,86,2c,89,8f,8c,f2,90,55,93,b8,95,0f,96,66,97,bd,99,14,9a,6b,9b,c2,9d,19,9e,70,9f,c7,a1,1e,a2,75,a3,cc,a5,23,a6,7a,a7,d1,a9,28,aa,7f,ab,d6,ad,2d,ae,84,af,db,b1,32,b2,89,b3,b0"/>
  <Value Name="CALI_RESULT_8" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,10"/>
  <Value Name="CALI_RESULT_9" Value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>
 </Dir>
</Config>

.

Offline vuducdong

  • Nuovo Iscritto
  • *
  • 2
Re:AFM0002TIM no DHCP WAN IP
« Risposta #1 il: 05 Dicembre 2021, 04:04 »
you can try to set manual for vlan on sfp, and then  router behide make pppoe client on port sfp

<Value Name="VLAN_CFG_TYPE" Value="0"/>     ==> change to 1
  <Value Name="VLAN_MANU_MODE" Value="0"/>
  <Value Name="VLAN_MANU_TAG_VID" Value="65535"/>  ==> change to 12
  <Value Name="VLAN_MANU_TAG_PRI" Value="255"/>  ==> change to 0 or the same ONT original (HG8012H)
« Ultima modifica: 05 Dicembre 2021, 04:07 da vuducdong »