News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

unable to get original configURL

Started by HashJ, February 16, 2012, 12:06:11 PM

Previous topic - Next topic

HashJ

I was managing my OBi using the device web browser interface but am trying to go back to Obitalk expert configuration via Auto Provisioning. However the original value of configURL is not being restored when I check default.
I believe this is the reason that my updates to the expert configuration on Obitalk are not being pushed to the device.
Can someone please help me reconstruct the URL... I think it includes the device MAC.

RonR

Disabling Auto Provisioning does not clear ConfigURL.

OBiTalk Provisioning does not use a ConfigURL.

ITSP Provisioning does use a ConfigURL which is set by the Default checkbox.

DaveSin

#2
This is what I'm see in the ConfigURL for "OBiTalk Provisioning"

Method: Periodically

Interval: 86400


SYNC -A=aes -K=$SPRM0 -IV=$SPRM1 http://prov.obitalk.com/obhsnprov/profiles/OBI_MAC_Address-1444e9e4e7ce.cfg; IF ( $TPRM0 != 1 ) -T=TPRM1 https://prov.obitalk.com/obhsnprov/init/initkey; IF ( $TPRM0 == 1 ) -T=TPRM1 http://prov.obitalk.com/obhsnprov/sync/sync-$SPRM2


TPRM0: 1

TPRM1: 1

Note:  the OBi_Mac_Number - substitute your own;  Not quite sure what this is:  "1444e9e4e7ce.cfg" and how it is generated.

ITSP Provisioning

Method: System Start

Interval: 0

ConfigURL: tftp://$dhcpopt66/$DM.xml

TPRM0: 1

I had the same problem as you did and had to delete the device and re-add it after one of the firmware update which seems to have broken something.  I would suggest delete and re-add you OBi1xx to the OBiTALK Portal to be able to sync your device with changes to the Portal!



Quote from: HashJ on February 16, 2012, 12:06:11 PM
I was managing my OBi using the device web browser interface but am trying to go back to Obitalk expert configuration via Auto Provisioning. However the original value of configURL is not being restored when I check default.
I believe this is the reason that my updates to the expert configuration on Obitalk are not being pushed to the device.
Can someone please help me reconstruct the URL... I think it includes the device MAC.

HashJ

#3
Thanks DaveSin,
I was afraid that was going to be the only option.
The 1444e9e4e7ce.cfg string seems to be a reference generated by the Obi database to reference the file uniquely. I will try to remove and add the device after backing up the config.

RonR, thanks for the quick response... I am not sure if the configURL was the reason that my Obitalk changes would not push the expert config to the device, but that parameter does not get reset to default value if you have disabled the Obitalk Provisioning at some point thereby clearing that field. (or maybe I deleted it manually in one of my tweaks). Thanks anyway, I will try to store it safe this time so as not to loose it.

Update - The trick worked. I have the updated ConfigURL populated and the expert configuration is also being pushed to the device now.

Gasman

#4
I had the same issue where my ConfigURL was blank.

I simply pasted this generic part of the ConfigURL into the empty line

IF ( $TPRM0 != 1 ) -T=TPRM1 https://prov.obitalk.com/obhsnprov/init/initkey; IF ( $TPRM0 == 1 ) -T=TPRM1 https://devpfs.obitalk.com/obhsnprov/sync/sync-$SPRM2-$RBR

Then set TPRM0 and TPRM1 both to default.

Then I saved the config and rebooted the device. It may need a couple of reboots.

It went off to OBitalk and pulled the full ConfigURL line from their servers and set TPRM0 and TPRM1 both to 1.


Quote from: DaveSin on February 16, 2012, 01:00:12 PM
This is what I'm see in the ConfigURL for "OBiTalk Provisioning"

Method: Periodically

Interval: 86400


SYNC -A=aes -K=$SPRM0 -IV=$SPRM1 http://prov.obitalk.com/obhsnprov/profiles/OBI_MAC_Address-1444e9e4e7ce.cfg; IF ( $TPRM0 != 1 ) -T=TPRM1 https://prov.obitalk.com/obhsnprov/init/initkey; IF ( $TPRM0 == 1 ) -T=TPRM1 http://prov.obitalk.com/obhsnprov/sync/sync-$SPRM2


TPRM0: 1

TPRM1: 1

Note:  the OBi_Mac_Number - substitute your own;  Not quite sure what this is:  "1444e9e4e7ce.cfg" and how it is generated.

ITSP Provisioning

Method: System Start

Interval: 0

ConfigURL: tftp://$dhcpopt66/$DM.xml

TPRM0: 1

I had the same problem as you did and had to delete the device and re-add it after one of the firmware update which seems to have broken something.  I would suggest delete and re-add you OBi1xx to the OBiTALK Portal to be able to sync your device with changes to the Portal!



Quote from: HashJ on February 16, 2012, 12:06:11 PM
I was managing my OBi using the device web browser interface but am trying to go back to Obitalk expert configuration via Auto Provisioning. However the original value of configURL is not being restored when I check default.
I believe this is the reason that my updates to the expert configuration on Obitalk are not being pushed to the device.
Can someone please help me reconstruct the URL... I think it includes the device MAC.