Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/585b6739/attachment.htm
Damon, I have no problem provisioning 501s through tftp. The tftp address is distributed via dhcp. Thx, Wojtek _____ From: Damon Estep [mailto:damon@suburbanbroadband.net] Sent: Thursday, February 23, 2006 8:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] auto provision of IP501 polycom Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/84b873ce/attachment.htm
Would you mind sending a sample config file? Are you able to set the passwords (user and admin)? Any ideas on ftp or https vs. tftp for better security? ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wojciech Tryc Sent: Thursday, February 23, 2006 6:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] auto provision of IP501 polycom Damon, I have no problem provisioning 501s through tftp. The tftp address is distributed via dhcp. Thx, Wojtek ________________________________ From: Damon Estep [mailto:damon@suburbanbroadband.net] Sent: Thursday, February 23, 2006 8:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] auto provision of IP501 polycom Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/b12b7d0f/attachment.htm
This has worked for several months for us. It's /etc/dhcpd.conf ddns-update-style ad-hoc; authoritative; option option-66 code 66 = string; subnet 172.32.16.0 netmask 255.255.255.0 { #range 192.168.10.101 192.168.10.120; default-lease-time 600; max-lease-time 7200; option option-66 "boot.voip.com"; option domain-name-servers 172.32.16.16, 172.32.16.16; option time-servers clock.voip.com; option domain-name "uac.bil.voip.com"; option time-offset -25200; host uap301-1 { hardware ethernet 00:04:f2:02:1b:b8; fixed-address 172.32.16.128; } host uap301-2 { hardware ethernet 00:04:f2:02:96:23; fixed-address 172.32.16.129; } host uap601-1 { hardware ethernet 00:04:f2:02:3d:42; fixed-address 172.32.16.130; } host uap601-2 { hardware ethernet 00:04:f2:02:86:47; fixed-address 172.32.16.131; } host uap501-1 { hardware ethernet 00:04:f2:02:f4:0e; fixed-address 172.31.16.132; } host uap501-2 { hardware ethernet 00:04:f2:02:2d:00; fixed-address 172.32.16.133; } host uap501-3 { hardware ethernet 00:04:f2:03:6a:c7; fixed-address 172.32.16.134; } } -----Original Message----- From: Wojciech Tryc [mailto:Wojciech.Tryc@pikatech.com] Sent: Thursday, February 23, 2006 6:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] auto provision of IP501 polycom Damon, I have no problem provisioning 501s through tftp. The tftp address is distributed via dhcp. Thx, Wojtek _____ From: Damon Estep [mailto:damon@suburbanbroadband.net] Sent: Thursday, February 23, 2006 8:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] auto provision of IP501 polycom Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/1b10367e/attachment.htm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have actually modified AMP to store the mac address and auto build the phoneXXXX.cfg and 0004XXXXXXX.cfg files for ftp. I use the default username and password for the phones, so litterally all you do is plug them in... I will put together a patch and documentation later tonight... Sean Damon Estep wrote:> Would you mind sending a sample config file? > > > > Are you able to set the passwords (user and admin)? > > > > Any ideas on ftp or https vs. tftp for better security? > > > > > > > > ------------------------------------------------------------------------ > > *From:* asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] *On Behalf Of *Wojciech > Tryc > *Sent:* Thursday, February 23, 2006 6:15 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* RE: [Asterisk-Users] auto provision of IP501 polycom > > > > Damon, > > I have no problem provisioning 501s through tftp. The tftp address is > distributed via dhcp. > > Thx, > > Wojtek > > > > ------------------------------------------------------------------------ > > *From:* Damon Estep [mailto:damon@suburbanbroadband.net] > *Sent:* Thursday, February 23, 2006 8:09 AM > *To:* asterisk-users@lists.digium.com > *Subject:* [Asterisk-Users] auto provision of IP501 polycom > > > > Has anyone been able to get the IP501 to discover the FTP server IP > address (via dhcp or dns) and download 100% of the config from a > provisioning server? > > > > We are still having to touch each unit to enter the ftp server address > and password, as well as set many of the options that will not take from > the config file. > > > > Have a sample config file you are willing to share? > > > > What is required in the way of dhcp options or dns entries to get the > polycom to discover the ftp boot server? > > > > What about changing default passwords via ftp? > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD/d2Py9wPyZpnL2URAkKZAKCKWHDGVlD0hgCc5Hk5aIlmUDI2/wCeL0iV AbP22B7FFyN9UMKoAxNtaFw=kBp8 -----END PGP SIGNATURE-----
This is dhcpd.conf which works great with Polycom 501: option domain-name "blah.com"; option domain-name-servers 192.168.80.3; default-lease-time 7200; max-lease-time 14400; authoritative; # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. ddns-update-style none; log-facility local7; # A slightly different configuration for an internal subnet. subnet 192.168.80.0 netmask 255.255.255.0 { range 192.168.80.20 192.168.80.199; option domain-name-servers 192.168.80.3; option domain-name "blah.com"; option routers 192.168.80.1; option tftp-server-name "192.168.80.3"; option broadcast-address 192.168.80.255; option ntp-servers 192.168.80.3; option time-offset -18000; default-lease-time 7200; max-lease-time 144 Wojtek _____ From: Douglas Garstang [mailto:dgarstang@oneeighty.com] Sent: Thursday, February 23, 2006 10:17 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] auto provision of IP501 polycom This has worked for several months for us. It's /etc/dhcpd.conf ddns-update-style ad-hoc; authoritative; option option-66 code 66 = string; subnet 172.32.16.0 netmask 255.255.255.0 { #range 192.168.10.101 192.168.10.120; default-lease-time 600; max-lease-time 7200; option option-66 "boot.voip.com"; option domain-name-servers 172.32.16.16, 172.32.16.16; option time-servers clock.voip.com; option domain-name "uac.bil.voip.com"; option time-offset -25200; host uap301-1 { hardware ethernet 00:04:f2:02:1b:b8; fixed-address 172.32.16.128; } host uap301-2 { hardware ethernet 00:04:f2:02:96:23; fixed-address 172.32.16.129; } host uap601-1 { hardware ethernet 00:04:f2:02:3d:42; fixed-address 172.32.16.130; } host uap601-2 { hardware ethernet 00:04:f2:02:86:47; fixed-address 172.32.16.131; } host uap501-1 { hardware ethernet 00:04:f2:02:f4:0e; fixed-address 172.31.16.132; } host uap501-2 { hardware ethernet 00:04:f2:02:2d:00; fixed-address 172.32.16.133; } host uap501-3 { hardware ethernet 00:04:f2:03:6a:c7; fixed-address 172.32.16.134; } } -----Original Message----- From: Wojciech Tryc [mailto:Wojciech.Tryc@pikatech.com] Sent: Thursday, February 23, 2006 6:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] auto provision of IP501 polycom Damon, I have no problem provisioning 501s through tftp. The tftp address is distributed via dhcp. Thx, Wojtek _____ From: Damon Estep [mailto:damon@suburbanbroadband.net] Sent: Thursday, February 23, 2006 8:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] auto provision of IP501 polycom Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/c4de9b96/attachment.htm
Hi Damon -> Has anyone been able to get the IP501 to discover the FTP server IP > address (via dhcp or dns) and download 100% of the config from a > provisioning server?Sure, works great! I'm not sure if you got the TFTP config from the gentleman who suggested it, but this is really dependent on what DHCP server you are using. For example, we use Cisco routers, and the option to add is: option 66 ascii "xxx.xxx.xxx.xxx" where the xxx's are the IP address (I don't think DNS names will work). ISC's DHCP server is a little different: option tftp-server-name "XXX.XXX.XXX.XXX"; Yes, it should be tftp-server-name, even if you use FTP (or HTTPS, I believe). - Noah
Yep, been there too. Most cases are MS IIS, so username case is ignored. Damon> -----Original Message----- > From: Noah Miller [mailto:noah@rosecompanies.com] > Sent: Thursday, February 23, 2006 9:40 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Cc: Damon Estep > Subject: FW: auto provision of IP501 polycom > > Hi Again Damon - > > I just remembered that the FTP server setup can be tricky, too. The > default > username has capitalized letters, and this doesn't work with a lot ofFTP> servers. I had to use ProFTPd to get it done. I created a useraccount> called plcmspip, and added the following to /etc/proftpd.conf (orwherever> you choose to put your config file): > > UserAlias PlcmSpIp plcmspip > > > - Noah > > > ------ Forwarded Message > From: Noah Miller <noah@rosecompanies.com> > Date: Thu, 23 Feb 2006 11:34:31 -0500 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Cc: <damon@suburbanbroadband.net> > Conversation: auto provision of IP501 polycom > Subject: Re: auto provision of IP501 polycom > > Hi Damon - > > > Has anyone been able to get the IP501 to discover the FTP server IP > > address (via dhcp or dns) and download 100% of the config from a > > provisioning server? > > Sure, works great! I'm not sure if you got the TFTP config from the > gentleman who suggested it, but this is really dependent on what DHCP > server > you are using. For example, we use Cisco routers, and the option toadd> is: > > option 66 ascii "xxx.xxx.xxx.xxx" > > where the xxx's are the IP address (I don't think DNS names willwork).> > > ISC's DHCP server is a little different: > > option tftp-server-name "XXX.XXX.XXX.XXX"; > > Yes, it should be tftp-server-name, even if you use FTP (or HTTPS, I > believe). > > > > - Noah > > > > > ------ End of Forwarded Message
In dhcpd.conf: option tftp-server-name "x.x.x.x" Yes, I know it says tftp but actually this is the entry used for ftp as well. Also, for reasons known only to your chosen deity, Polycom have chosen to use a mixed-case username for the default ftp user. Not all FTP servers will accommodate this. _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Damon Estep Sent: Friday, 24 February 2006 12:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] auto provision of IP501 polycom Has anyone been able to get the IP501 to discover the FTP server IP address (via dhcp or dns) and download 100% of the config from a provisioning server? We are still having to touch each unit to enter the ftp server address and password, as well as set many of the options that will not take from the config file. Have a sample config file you are willing to share? What is required in the way of dhcp options or dns entries to get the polycom to discover the ftp boot server? What about changing default passwords via ftp? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/12d1ee97/attachment.htm
Hi Matt -> I have the same problem. I'm running CentOS, which comes > with vsftpd, do you know of anyway to do this using vsftpd?I know what you mean. I run TaoLinux on all our * machines, so they all had vsftpd installed with the OS. I had to replace it with ProFTPd because I just couldn't figure out how to make vsftpd do the capitalized usernames. A little annoyance, but easy to fix. - Noah