How to change device parameters on Huawei HG8245A

Dermot Williams dermot at deadlocked.org
Fri Jul 17 07:49:54 EDT 2015


I *love* problems that spontaneously sort themselves out, they hardly ever
become a bigger headache :P

On Fri, 17 Jul 2015 at 12:48 miguelet tortosa <miguelettortosa at gmail.com>
wrote:

> Thank you, @Dermot Williams and @Dan Morphis.
> I refered to the complete list of parameters that appears above.
>
> Finally got it working.
>
> The steps I have done have been:
>
> - Enable debug. (I didn't localize any error inside the log. It continued
> not showing all parameters)
> - Delete entry of device in GenieACS and reset router.
>
> After that, the device appeared in GenieACS with all options.
>
> It seems that there was a device state that not showed all parameters
> (Maybe it was the initial Bootstrap Inform that pointed Dermot). But after
> reseting it to default parameters and reconfigure it with the same
> configuration there appeared all the parameters in the ACS.
>
>
>
>
>
> 2015-07-16 17:53 GMT+02:00 Dan Morphis <dan at milkcarton.com>:
>
>> I presume your talking about the list of parameters at the top of the
>> page? Last Inform, Serial, Product Class, OUI, Manufacturer, HW/SW Version,
>> etc? The list of items that show on the device page can be changed by
>> editing genieacs-gui/config/summary_parameters.yml. Remember to restart the
>> GUI if you make changes.
>>
>> Now as to why its not letting you edit those, when the CPE sends back the
>> response for GetParameterValues, it indicates if the parameter is writable
>> or not. The implementation on some CPE's is pure crap (Thomson TG585) and
>> will say a parameter is writable when its not, and not writable when it is.
>> Pretty much everything under InternetGatewayDevice.DeviceInfo will be
>> read-only.
>>
>> If you want to add to, or remove the list of summary.* parameters, you
>> will need to edit genieacs/config/parameters.json.
>>
>> Here are some of the ones I've added to our
>> genieacs/config/parameters.json file:
>>
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.SSID" : {"alias" : "summary.wlan.ssid"},
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.Enable" : {"alias" : "summary.wlan.enabled"},
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.Channel" : {"alias" : "summary.wlan.channel"},
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PossibleChannels" : {"alias" : "summary.wlan.possibleChannels"},
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PreSharedKey.1.KeyPassphrase" : {"alias" : "summary.wlan.passphrase"},
>> "InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PreSharedKey.1.PreSharedKey" : {"alias" : "summary.wlan.presharedKey"},
>> "InternetGatewayDevice.WANDevice./^\\d+$/.WANConnectionDevice.1.WANPPPConnection./^\\d+$/.Username" : {"alias" : "summary.pppoeUsername"},
>> "InternetGatewayDevice.WANDevice./^\\d+$/.WANConnectionDevice.1.WANPPPConnection./^\\d+$/.Password" : {"alias" : "summary.pppoePassword"}
>>
>>
>> And in my genieacs-gui/config/parameters.yml:
>>
>> WLAN SSID: summary.wlan.ssid
>> WLAN Passphrase: summary.wlan.passphrase
>> WLAN Enabled: summary.wlan.enabled
>> WLAN Channel: summary.wlan.channel
>> PPPoE Username: summary.pppoeUsername
>> PPPoE Password: summary.pppoePassword
>>
>> If you want customize the parameters shown on the device list screen (/devices), edit genieacs-gui/config/index_parameters.yml.
>>
>>
>> -dan
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150717/f5a99062/attachment.html>


More information about the Users mailing list