I've just updated the HP1000/WS1001/other-clones driver in the GIT repository. If you have the 'netifaces' Python package installed then the driver will work out the network broadcast mask for itself. If the package is not installed then it will work as before.
The actual process is: - if the 'ip_network_mask' value is defined in the .conf file then that will be used - if that is not defined BUT the 'netifaces' package is available, then it will look for the broadcast mask of the 'default' interface (typically the one with the gateway to the internet defined on it) - if it still can't find anything then it will report an error I've done it this way so that you can over-ride the automatic broadcast mask selection if it gets it wrong (for whatever reason). However what it does mean is that for anyone upgrading the driver, they will need to comment out the line in the .conf file for the automatic determination to occur. If any brave souls would like to try it out then I'd appreciate the feedback. Susan