Option 66

How do i set up option 66 so i can set my grandstream to a provision to a server?

You can set DHCP options using the LuCI UI via LuCI → Network → Interfaces → LAN → Edit → DHCP Server → Advanced Settings → DHCP-Options.

I do not work for and I do not have formal association with GL.iNet

1 Like

Thank you for your response, I found that settings, For some reasons after adding those settings my GS-GXP wont get a DHCP, would you know why it would interfere?

I am using ftp://somthing.com is that how we do it?

Based on the example 66, did it. why cant i use something like this? or can i? 66,user:password@url.com

Adding DHCP Option 66 should not prevent devices getting an IP address. If you have a PC, Mac, smartphone or other device that is able to get an IP address, then the problem is likely with the GS-GXP.

I think the string should be tftp://a.b.c.d or http://a.b.c.d (may also have a suffix) that your provider/administrator should advise. I use a Grandstream ATA for VoIP, but definitely not an expert at this.

I do not work for and I do not have formal association with GL.iNet

Long time since I have done this.
If you use just an IP address in option 66, Grandstream will perform an http request to the server. This is the most compatible with the original intent of option 66 (which was to send a tftp server ip address)…

Grandsteam also support embedding a URL in option 66 for example. Not sure you can do an https, as I think certificates will get in the way.