Advertisement
niammuddin

HG6245N

Sep 28th, 2022 (edited)
1,450
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.30 KB | None | 0 0
  1. /fhdata
  2. /fhdata/sysinfo_conf
  3.  
  4. config key 'UnifiedSoftwareVersion'
  5.         option value 'V2R0.3'
  6.                 option encryflag '0'
  7.  
  8. config key 'SoftwareVersion'
  9.         option value 'RP2801'
  10.                 option encryflag '0'
  11.  
  12. config key 'HardwareVersion'
  13.         option value 'WKE2.094.277A01'
  14.                 option encryflag '0'
  15.  
  16. config key 'AdditionalSoftwareVersion'
  17.         option value 'RP00001'
  18.                 option encryflag '0'
  19.  
  20. config key 'area_code'
  21.         option value 'Trunk'
  22.                 option encryflag '0'
  23.  
  24. config key 'operators_code'
  25.         option value 'INTL'
  26.                 option encryflag '0'
  27.  
  28. config key 'operator_name'
  29.         option value 'IDN_TELKOM'
  30.                 option encryflag '0'
  31.  
  32.  
  33.  
  34.  
  35.  
  36. /fhdata/factory_conf
  37.  
  38. config key 'UserName'
  39.         option value 'user'
  40.         option encryflag '0'
  41.  
  42. config key 'UserPasswd'
  43.         option value 'user1234'
  44.         option encryflag '0'
  45.  
  46. config key 'AdminName'
  47.         option value 'admin'
  48.         option encryflag '0'
  49.  
  50. config key 'AdminPasswd'
  51.         option value '%0|F?H@f!berhO3e'
  52.         option encryflag '0'
  53.  
  54. config key 'ManufacturerOUI'
  55.         option value '000AC2'
  56.         option encryflag '0'
  57.  
  58. config key 'SerialNumber'
  59.         option value '00000013181'
  60.         option encryflag '0'
  61.  
  62. config key 'SSID_2G'
  63.         option encryflag '0'
  64.         option value 'fh_b20f78'
  65.  
  66. config key 'PreSharedKey_2G'
  67.         option encryflag '0'
  68.         option value 'wlan4df087'
  69.  
  70. config key 'SSID_5G'
  71.         option encryflag '0'
  72.         option value 'fh_b20f78_5G'
  73.  
  74. config key 'PreSharedKey_5G'
  75.         option encryflag '0'
  76.         option value 'wlan4df087'
  77.  
  78. config key 'macnum'
  79.         option value '8'
  80.         option encryflag '0'
  81.  
  82. config key 'brmac'
  83.         option encryflag '0'
  84.         option value '6C:A4:D1:B2:0F:78'
  85.  
  86. config key 'tr069mac'
  87.         option encryflag '0'
  88.         option value '6C:A4:D1:B2:0F:79'
  89.  
  90. config key 'voipmac'
  91.         option encryflag '0'
  92.         option value '6C:A4:D1:B2:0F:7A'
  93.  
  94. config key 'GponSN'
  95.         option encryflag '4648545499A46678'
  96.         option value ''
  97.  
  98. config key 'GPONPassWord'
  99.         option value '48473236303132333435'
  100.         option encryflag '0'
  101.  
  102. config key 'VendorCode'
  103.         option value 'FH'
  104.         option encryflag '0'
  105.  
  106. config key 'HardwareVersion'
  107.         option encryflag '0'
  108.         option value 'WKE2.094.347A02'
  109.  
  110. ===========================================================================
  111.  
  112. /fhconf
  113.  
  114.  
  115.  
  116. /fhconf/fh_common_conf
  117. UPGRADE_BIN_PATH_USB_UPGRADE_HANDLER="/fhrom/bin/fhusb_a"
  118. UPGRADE_CONF_PATH_UPGRADE_CONFIG="/fhconf/u_config_conf"
  119. UPGRADE_INFO_PATH_UPGRADE_STATUS="/var/u_status_info"
  120. UPGRADE_LIB_PATH_LIBUPGRADE="/fhrom/lib/libLedState.so"
  121. UPGRADE_BIN_PATH_PRECONFIG_HANDLER_IMG="/fhrom/bin/preconfig_handler_img"
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. /fhconf/u_config_conf
  129. config key 'SECTION_A_VALID'
  130.         option value '1'
  131.         option encryflag '0'
  132.  
  133. config key 'SECTION_A_COMMIT'
  134.         option encryflag '0'
  135.         option value '0'
  136.  
  137. config key 'SECTION_A_ACTIVE'
  138.         option encryflag '0'
  139.         option value '0'
  140.  
  141. config key 'SECTION_A_VERSION'
  142.         option encryflag '0'
  143.         option value 'RP2836'
  144.  
  145. config key 'SECTION_B_VALID'
  146.         option value '1'
  147.         option encryflag '0'
  148.  
  149. config key 'SECTION_B_COMMIT'
  150.         option encryflag '0'
  151.         option value '1'
  152.  
  153. config key 'SECTION_B_ACTIVE'
  154.         option encryflag '0'
  155.         option value '1'
  156.  
  157. config key 'SECTION_B_VERSION'
  158.         option encryflag '0'
  159.         option value 'RP2837'
  160.  
  161. config key 'UPDATE_MODE'
  162.         option value 'NULL'
  163.         option encryflag '0'
  164.  
  165. config key 'PART_VERSION'
  166.         option value 'NULL'
  167.         option encryflag '0'
  168.  
  169. config key 'PART_INFO'
  170.         option value 'NULL'
  171.         option encryflag '0'
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179. /fhconf/sysinfo_conf
  180. config key 'UnifiedSoftwareVersion'
  181.         option value 'V2R0.3'
  182.         option encryflag '0'
  183.  
  184. config key 'SoftwareVersion'
  185.         option encryflag '0'
  186.         option value 'RP2837'
  187.  
  188. config key 'HardwareVersion'
  189.         option value 'WKE2.094.277A01'
  190.         option encryflag '0'
  191.  
  192. config key 'AdditionalSoftwareVersion'
  193.         option value 'RP00001'
  194.         option encryflag '0'
  195.  
  196. config key 'area_code'
  197.         option value 'Trunk'
  198.         option encryflag '0'
  199.  
  200. config key 'operators_code'
  201.         option value 'INTL'
  202.         option encryflag '0'
  203.  
  204. config key 'operator_name'
  205.         option value 'IDN_TELKOM'
  206.         option encryflag '0'
  207.  
  208.  
  209.  
  210.  
  211.  
  212. /fhrom/preconfig/FH_HGU_INTL_IDN_TELKOM
  213.  
  214. /fhrom/preconfig/FH_HGU_INTL_IDN_TELKOM/pre_usrconfig_conf
  215. config interface 'fileid'
  216.         option deviceinfo 'atos'
  217.  
  218. config interface 'encrymode'
  219.         option value '2'
  220.  
  221. config interface 'InternetGatewayDevice__ManagementServer__'
  222.         option EnableCWMP '1'
  223.         option URL 'http://acs-new.telkom.net:9090/web/tr069'
  224.         option Username '953433B9D886B430708A2A2912C4D8A55722102F00E12D0DC4CF7D674A3C7DCC'
  225.         option Password 'E464319DD9EADAEE0FBBAB24D5C417AD'
  226.         option ConnectionRequestUsername 'F088BFF68C7940D790DBE33DFAD83E16'
  227.         option ConnectionRequestPassword 'F088BFF68C7940D790DBE33DFAD83E16'
  228.         option X_FH_NODEMODEL '0'
  229.         option PeriodicInformInterval '300'
  230.  
  231. config interface 'InternetGatewayDevice__LANDevice__1__WLANConfiguration__1__'
  232.         option RegulatoryDomain 'ID'
  233.         option BeaconType '11i'
  234.  
  235. config interface 'InternetGatewayDevice__LANDevice__1__WLANConfiguration__5__'
  236.         option RegulatoryDomain 'ID'
  237.         option BeaconType '11i'
  238.  
  239. config interface 'InternetGatewayDevice__WANDevice__1__WANConnectionDevice__1__'
  240.         option method 'add'
  241.  
  242. config interface 'InternetGatewayDevice__WANDevice__1__WANConnectionDevice__1__WANIPConnection__1__'
  243.         option method 'add'
  244.         option VLANID '100'
  245.         option X_FH_8021111pMark '0'
  246.         option X_FH_ServiceList 'TR069,VOIP'
  247.         option AddressingType 'DHCP'
  248.         option ConnectionType 'IP_Routed'
  249.         option X_FH_IPMode '1'
  250.         option MaxMTUSize '1500'
  251.         option X_FH_LanInterface 'UCI_NULL'
  252.         option X_FH_Dslite_Enable '0'
  253.         option NATEnabled '1'
  254.         option Name '1_TR069_VOIP_R_VID_100'
  255.         option X_FH_MulticastVlan '0'
  256.         option Enable '1'
  257.  
  258. config interface 'InternetGatewayDevice__LANDevice__1__X_FH_LanGlobalConfig__'
  259.         option X_FH_NoBindL3ForwardEnable '1'
  260.  
  261. config interface 'InternetGatewayDevice__Services__VoiceService__1__VoiceProfile__1__Line__1__'
  262.         option Enable 'Enabled'
  263.  
  264. config interface 'InternetGatewayDevice__Services__VoiceService__1__VoiceProfile__1__Line__2__'
  265.         option Enable 'Enabled'
  266.  
  267. config interface 'InternetGatewayDevice__X_FH_ACL__'
  268.         option ApplicationList 'HTTP:80,HTTPS:443,Telnet:23,SSH:22,FTP:21,SNMP:161,TR069:30005,ICMP'
  269.  
  270. config interface 'InternetGatewayDevice__X_FH_VOICE__voice_sip__'
  271.         option NGNStatisticFlag '1'
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278. /fhrom/fhshell
  279. TEST_RUN.sh                    ipv6-up
  280. arping_notify_servicemgr.sh    keep_sending_rs.sh
  281. avalanche.sh                   keep_sending_rs_emulate.sh
  282. cp_preconfig.sh                macreport.sh
  283. cp_wifi_table.sh               policy_bindv6.sh
  284. creat_fhsys_info.sh            policy_route.sh
  285. crond_start.sh                 port_disable_enable.sh
  286. dhcp.bound                     pppoe-start
  287. dhcp.renew                     preconfig_handler
  288. dhcp.script                    process_check.sh
  289. dhcp6c_msg_send.sh             radvd_run.sh
  290. dhcp6c_start                   rastatus.sh
  291. dhcpc.renew                    reboot
  292. dnsmasq.sh                     redirect_servicemgr.sh
  293. fh_dropbear.sh                 route_setv4.sh
  294. fh_printf_redirect.sh          set_dns_conf.sh
  295. fh_ssh_lock.sh                 set_radvd_conf.sh
  296. fhconf_init.sh                 set_root_passwd.sh
  297. fhdata_init.sh                 smbrules.sh
  298. fhdrv_kdrv_board_impl_load.sh  start_webserver.sh
  299. fhdrv_kdrv_board_load.sh       starter_morpheus.sh
  300. fhdrv_kdrv_fs_watcher.sh       starter_oem.sh
  301. fhdrv_kdrv_nandflash_test.sh   sync_morpheus.sh
  302. fhdrv_kdrv_stop_watchdog.sh    sync_oem.sh
  303. fhdrv_net_init.sh              telnet_pause_60s.sh
  304. fhdrv_pon_init.sh              udevinit.sh
  305. initialize.sh                  udhcpc-start
  306. ip-down                        unipon_patch_pre.sh
  307. ip-up                          voice_init.sh
  308. ipcalc.sh                      web_pingdiag.sh
  309. ipforward.sh                   web_traceroute.sh
  310. ipforwardv6.sh                 wifiguest.sh
  311. ipv6-down
  312.  
  313.  
  314. #cat /fhrom/fhshell/fhdrv_pon_init.sh
  315.  
  316. pon_mode=`uci get -c /var deviceinfo.pon_mode.value`
  317.  
  318. #0-EPON,1-GPON,2-10G EPON ASYM,3-10G EPON SYM,4-XGPON,5-XGSPON
  319. if [ "$pon_mode" == "0"  ]; then
  320.         pon_type="EPON"
  321. elif [ "$pon_mode" == "1"  ]; then
  322.         pon_type="GPON"
  323. elif [ "$pon_mode" == "2"  ]; then
  324.         pon_type="10GEPON_ASYM"
  325. elif [ "$pon_mode" == "3"  ]; then
  326.         pon_type="10GEPON_SYM"
  327. elif [ "$pon_mode" == "4"  ]; then
  328.         pon_type="XGPON"
  329. elif [ "$pon_mode" == "5"  ]; then
  330.         pon_type="XGS"
  331. else
  332.         pon_type="GBE"
  333. fi
  334.  
  335. /fhrom/bin/fhdrv_xpon_init "$pon_type"
  336.  
  337. rm -f /dev/fhdrv_pon_dev
  338. major=`cat /proc/devices | awk "\\$2==\"fhdrv_pon_dev\" {print \\$1}"`
  339. mknod /dev/fhdrv_pon_dev c $major 0
  340. chmod 664  /dev/fhdrv_pon_dev
  341.  
  342. insmod /fhrom/lib/fhdrv_eth_drv.ko
  343.  
  344. pwrctl config --eee off
  345. pwrctl config --apd off
  346.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement