Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
<?xml version="1.0" encoding="ISO-8859-1"?>
<ProviderFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="N510.xsd">
<Provider>
<!-- Please enter the correct MAC Address example: 3E2F800E1234
Please enter correct Version value: DDMMYYHHMM example: 2811120928
Please enter a Profile name
If not correct, no setting will be done
-->
<MAC_ADDRESS value="FF:FF:FF:FF:FF:FF"/>
<PROFILE_NAME class="string" value="IPDEC"/>
<SYMB_ITEM ID="BS_IP_Data1.ucB_USE_DHCP_66_IF_114_NOT_AVAILABLE" class="symb_item" value="0x1"/>

</Provider>
</ProviderFrame>

Section
Set Provisioning-Server-
Panel
titleColor#F85404
titleBGColor#F0F0F0
titleSET provisioning
Column
width70%
URL via DHCP option 114
Image Added

The DHCP option 114 which can be used to configure the URL of the provisioning server in Gigaset IP phones is <114> and implemented as following:

Image Removed

URL Option
This option is used to configure the provisioning server URL. URLs are specified in RFC 1738. 
The code for this option is 114, and its maximum length is 74 characters -->

  Code  Len    URL
  +------+---+----+----+----+---
   | 114 | n | c1 | c2 | c3 | ...
  +------+---+----+----+----+--- 



dhcpd.conf
  snip>>
  option dhcp_114_FW_URL code 114 = text;

  option dhcp_114_FW_URL  "profile.gigaset.net/device";

  # or for example
  # option dhcp_114_FW_URL  "192.168.1.59

:

88/chagall/";
  <<snip

Draytek Vigor 2820

The option is not available in the web-interface, therefore it has to be done using the command line. We connected to the router using SSH tool.

Click here to expand for the configuration example SW 3.3.7.2


Panel
titleColor#F85404
titleBGColor#F0F0F0
titleCommunication flow

Communication flow

(Wireshark filter "bootp")

DHCP Discover ---->

DHCP Offer <----

DHCP Request ---->

DHCP ACK <----

Option: (114) URL

Length:

Value:

Linux DHCP-server

Expand
titleHere an example configuration of a Linux DHCP-Server:
Expand
title
false

DraytekEric> srv dhcp custom_option
Usage:
-e: enable/disable custom option feature, 1:enable, 0:disable
-t: custom option type, 1:one custom option with 64B data, 0:two options,each with 32B data
-o: option 1 code
-p: option 2 code
-q: option 64B code
-l: option 1 data
-m: option 2 data
-n: option 64B data
-h: display usage
-v: show the current settings
-f: clear all the settings

DraytekEric> srv dhcp custom_option -v

Custom DHCP option settings:
-----------------------------------------------
enable this feature: No
option type: two options, each with 32B data, please see (a),(b) below

(a) Custom DHCP option 1 [status: INACTIVE]:
code: 0
len: 0
data:

(b) Custom DHCP option 2 [status: INACTIVE]:
code: 0
len: 0
data:

First enable the usage of custom options

DraytekEric> srv dhcp custom_option -e 1

DraytekEric> srv dhcp custom_option -v

Custom DHCP option settings:
-----------------------------------------------
enable this feature: Yes
option type: two options, each with 32B data, please see (a),(b) below

(a) Custom DHCP option 1 [status: ACTIVE]:
code: 0
len: 0
data:

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

Customer option 1 will be used to configure the DHCP option 114

DraytekEric> srv dhcp custom_option -o 114

DraytekEric> srv dhcp custom_option -v

Custom DHCP option settings:
-----------------------------------------------
enable this feature: Yes
option type: two options, each with 32B data, please see (a),(b) below

(a) Custom DHCP option 1 [status: ACTIVE]:
code: 114
len: 0
data:

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

Configure the provisioning server URL for this option, the IP address can be different dependent on your network configuration.

DraytekEric> srv dhcp custom_option -l http://192.168.0.250/eg_prov/

DraytekEric> srv dhcp custom_option -v

Custom DHCP option settings:
-----------------------------------------------
enable this feature: Yes
option type: two options, each with 32B data, please see (a),(b) below

(a) Custom DHCP option 1 [status: ACTIVE]:
code: 114
len: 29
data: http://192.168.0.250/eg_prov/

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

 

Info
icon
title
Command Line Vigor 2820

 

If you use the Gigaset T640/T440 then you need to upgrade to the latest Draytek software, this because the older draytek software does not allow the needed number of characters.

 

Expand
titleClick here to expand for the configuration example SW 3.3.7.5
Info
iconfalse
titleCommand Line Vigor 2820

DraytekEric> srv dhcp option

Usage:
srv dhcp option [-h|l]
srv dhcp option [-d [idx]]
srv dhcp option [-c [option number] -v [option value]]
EX: srv dhcp option -c 18 -v v2920_361.all
srv dhcp option [-c [option number] -x "[option value]"]
EX: srv dhcp option -c 121 -x "0x18 0xc0 0xa8 0x01 0xc0 0xa8 0x00 0x07"
-c: set option number: 0~255
-d: delete custom dhcp option by index number
-e: enable/disable option feature, 1:enable, 0:disable
-h: display usage
-l: list all custom set DHCP options
-r: remove all custom DHCP options
-v: set option value
-x: set option value in hex

DraytekEric> srv dhcp option -c 114 -v http://192.168.178.164/gigaset-prov/

DraytekEric> srv dhcp option -l
% idx opt hex data
% 1 114 n http://192.168.178.164/gigaset-prov/

DraytekEric> srv dhcp option -e 1
% Set DHCP Option Setting: Enable

Draytek Vigor 2860

The option is not available in the web-interface, therefore it has to be done using the command line. We connected to the router using SSH tool.

Expand
titleClick here to expand for the configuration example

For this router there is on command to activate the DHCP option 114 on the LAN 1. If you are other LAN than you need to change the command.

srv dhcp option -e 1 -i 1 -c 114 -v http://192.168.2.5/eg_prov/

With the command below you can check the setting.

srv dhcp option -l

 

 

DHCP option 66

DHCP option 66 is originally used to define the TFTP server URL for auto provisioning, but behind some platforms, the DHCP option 66 is also used to provide the HTTP provisioning server URL. therefore we started to implement DHCP option 66 in our devices.

The Gigaset N510 IP software 226 or higher has this option implemented but disabled by default. For testing it can be enabled via auto provisioning using the following parameter.

XML syntax:

<BS_IP_Data1.ucB_USE_DHCP_66_IF_114_NOT_AVAILABLE class="symb_item" value="0x1"/>

Tag NameValueMeaning
BS_IP_Data1.ucB_USE_DHCP_66_IF_114_NOT_AVAILABLE0: No 1: YesWhen set to 1. then base station request option 114 like before and in addition request option 66. If server reply for 114 then everything is like before (option 66 will not been read), but if server does not support option 114 and reply for 66 option then base station read from 66 option.

Via a special variant request, it can be enabled from the factory.

 

Expand
titleN510 provisioning template example

 

 

Column
width30%
Align
alignright
DeviceDocumented using:
N510Software 199
N720Software 92
Maxwell 10Software 1.1.0 / 1.2.5
DE410/310Software 02.00.12
DE900/700Software 02.00.16

 

Table of Contents

 

 

 

 
Info

See on this page an provisioning flowchart. FAQ N720 Provisioning flow chart