[asterisk-users] Auto-provisioining Polycom 430 wth dd-wrt router

Holger von Ameln holger.von.ameln at peercom.net
Wed Dec 30 02:51:48 CST 2009


From the dnsmasq Manpage:

-O, --dhcp-option=[<network-id>,[<network-id>,]][encap:<opt>,][vendor:[<vendor-class>],][<opt>|option:<opt-name>],[<value>[,<value>]]
Specify different or extra options to DHCP clients. By default, dnsmasq sends some standard options to DHCP clients, the netmask and broadcast address are set to the same as the host running dnsmasq, and the DNS server and default route are set to the address of the machine running dnsmasq. If the domain name option has been set, that is sent. This configuration allows these defaults to be overridden, or other options specified. The option, to be sent may be given as a decimal number or as "option:<option-name>" The option numbers are specified in RFC2132 and subsequent RFCs. The set of option-names known by dnsmasq can be discovered by running "dnsmasq --help dhcp". For example, to set the default route option to 192.168.4.4, do --dhcp-option=3,192.168.4.4 or --dhcp-option = option:router, 192.168.4.4 and to set the time-server address to 192.168.0.4, do --dhcp-option = 42,192.168.0.4 or --dhcp-option = option:ntp-server, 192.168.0.4 The special address 0.0.0.0 is taken to mean "the address of the machine running dnsmasq". Data types allowed are comma separated dotted-quad IP addresses, a decimal number, colon-separated hex digits and a text string. If the optional network-ids are given then this option is only sent when all the network-ids are matched.
.....

So --dhcp-option=66,"ftp://user:passwd@10.0.1.1" should do the trick...



-- 
Holger von Ameln
Peercom Ltd. & Co. KG
http://www.peercom.net/peercomshop/
---------------------------------------- 
holger.von.ameln at peercom.net
Tel.: +49 (0) 511-84887106  
---------------------------------------- 
GF: Kati von Ameln 
Weiße Hube 2a 
D-30519 Hannover 
----------------------------------------  
USt.-IdNr.: DE262241650
---------------------------------------- 

Absenderkennzeichnung gem. §37a HGB, §80 Abs.1 S.1 AktienG sowie §35a Abs.1 S.1 GmbHG:

Peercom Ltd. & Co. KG, eingetragen im Handelsregister Hannover unter HRA 201164 Geschäftsführung Kati von Ameln, Sitz der Gesellschaft ist Hannover.



Am 30.12.2009 um 07:06 schrieb Mike Diehl:

> dnsmasq

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091230/5e840135/attachment-0001.htm 


More information about the asterisk-users mailing list