Douglas Garstang
2006-Mar-07 16:20 UTC
[Asterisk-Users] OT: Polycom BootRom 3.1.3 and vsftpd 2.0.3
Docs? Polycom has docs? Where would one find this fabled land of... err I mean Polycom does stating what ftp servers are supported? Doug. -----Original Message----- From: Ken D'Ambrosio [mailto:ken@jots.org] Sent: Tuesday, March 07, 2006 12:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] OT: Polycom BootRom 3.1.3 and vsftpd 2.0.3 HTTP's nice, but FTP does the job. Check the docs for supported FTP servers -- many of the stock Linux FTP servers will give the exact problem you discussed, below. I should know -- took me almost a week before trying proftpd, and WHAMMO, worked like a champ. -Ken On Tue, March 7, 2006 12:37 pm, William M Conlon wrote:> I spent a weekend battling similar issues with 501s, using FC4/ > proftpd. I finally switched from FTP to HTTP. > > > On Mar 7, 2006, at 9:53 AM, Kristian Kielhofner wrote: > > >> Hello everyone, >> >> >> Please forgive the exclamation points but I have been battling >> this one off and on for about four days now. Sorry for the cross post. >> >> It all started with a box of IP 501s. I contacted my reseller and >> obtained the latest BootRom and SIP firmware. Unzipped, configured, >> copied over to my FTP server (running AstLinux, of course). The phone >> booted, so far so good. Updated bootrom, nice. Rebooted again. Updated >> sip firmware. Also nice. >> >> Upon the next reboot, the wheels started falling off. The phones >> would not get changes I made to any of the .cfg files. Several phones >> would take 20 minutes or more to boot, only to display a "0x4000 config >> file error". What happened? >> >> I have been using various Polycom's with AstLinux (and vsftpd >> 2.0.3 that I include with it) for quite some time, with no problems >> whatsoever. Until now. >> >> I had been running bootrom 3.0.1 and various versions of the SIP >> image at several other sites with no problem. At this point I was still >> unable to accept the fact that I might not be able to run this latest >> bootrom. After many trial and tribulations, I finally rsync'ed (with >> -avr) the FTP directory from the AstLinux machine to >> my laptop running CentOS 4. I configured the vsftpd daemon (version >> 2.0.1) IDENTICALLY (with the exception of PAM and TCP >> wrappers) and crossed my fingers... >> >> After re-configuring the IP 501 to use my laptop, imagine my >> surprise when the most problematic of them booted right away without >> problems. Again and again, everything was fine. >> >> So now I just had to break out ethereal and see what was going on. >> While I have not completely finished my analysis, it appears that >> Polycom firmware 3.1.3 bombs out when transferring files with >> vsftpd 2.0.3. The symptom appears to be repeated TCP SYNs from the >> Polycom to the ftp daemon on port 20. The Polycom will keep >> retrying and increment its source port number by one every few minutes. >> Like I said, I need to dig into this more, but I figured >> I'd report what I know and see if anyone out there can fill in the >> holes. >> >> Here's what I did. It appears that BootRom 3.1.3 works with >> vsftpd 2.0.1, so I placed bootrom 3.0.1 (which I know works with vsftpd >> 2.0.3) on my CentOS server and downgraded the phone to >> 3.0.1. I then placed 3.0.1 and SIP app 1.6.5 (which I was using >> the whole time, btw) on my AstLinux server running vsftpd 2.0.3. >> >> All was good. So now I am successfully running with the following: >> >> >> Polycom IP 501 >> Bootrom 3.0.1 >> SIP 1.6.5 >> AstLinux 0.3.7 >> vsftpd 2.0.3 >> >> I will also try to fix (or workaround) this by trying the following: >> >> >> upgrading AstLinux to include vsftpd 2.0.4 trying an intermediate >> BootRom release between 3.0.1 and 3.1.3 >> (find out exactly where/when it broke) >> trying an even newer Polycom BootRom when it becomes available upgrading >> the kernel in AstLinux (I doubt that's it) fiddling with iptables rules >> in AstLinux (iptables was loaded, but obviously 3.0.1 doesn't have a >> problem with it) >> >> This also might be related to the problems described here: >> >> >> http://forums.digium.com/viewtopic.php? >> p=14847&sid=6e70577c37bd345cfc164a01e64e113a >> >> >> Any thoughts? Comments? Suggestions? >> >> >> P.S. - I will be updating the Polycom config files at http:// >> www.krisk.org/asterisk/pcom/ to reflect some new changes in this firmware >> release. I just need to get my phones working first :)! >> >> -- >> Kristian Kielhofner >> _______________________________________________ >> --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 >> > > Bill > > > William M. Conlon, P.E., Ph.D. > To the Point > 345 California Avenue Suite 2 > Palo Alto, CA 94306 > vox: 650.327.2175 (direct) > fax: 650.329.8335 > mobile: 650.906.9929 > e-mail: mailto:bill@tothept.com > web: http://www.tothept.com > > > _______________________________________________ > --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 > >_______________________________________________ --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
Douglas Garstang, Your inability to keep your mouth shut (err hands closed when writing emails) is sometimes astonishing. On 3/7/06, Douglas Garstang <dgarstang@oneeighty.com> wrote:> Docs? Polycom has docs? Where would one find this fabled land of... err I mean Polycom does stating what ftp servers are supported? > > Doug. > > -----Original Message----- > From: Ken D'Ambrosio [mailto:ken@jots.org] > Sent: Tuesday, March 07, 2006 12:12 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Cc: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] OT: Polycom BootRom 3.1.3 and vsftpd 2.0.3 > > > HTTP's nice, but FTP does the job. Check the docs for supported FTP > servers -- many of the stock Linux FTP servers will give the exact problem > you discussed, below. I should know -- took me almost a week before > trying proftpd, and WHAMMO, worked like a champ. > > -Ken > > On Tue, March 7, 2006 12:37 pm, William M Conlon wrote: > > I spent a weekend battling similar issues with 501s, using FC4/ > > proftpd. I finally switched from FTP to HTTP. > > > > > > On Mar 7, 2006, at 9:53 AM, Kristian Kielhofner wrote: > > > > > >> Hello everyone, > >> > >> > >> Please forgive the exclamation points but I have been battling > >> this one off and on for about four days now. Sorry for the cross post. > >> > >> It all started with a box of IP 501s. I contacted my reseller and > >> obtained the latest BootRom and SIP firmware. Unzipped, configured, > >> copied over to my FTP server (running AstLinux, of course). The phone > >> booted, so far so good. Updated bootrom, nice. Rebooted again. Updated > >> sip firmware. Also nice. > >> > >> Upon the next reboot, the wheels started falling off. The phones > >> would not get changes I made to any of the .cfg files. Several phones > >> would take 20 minutes or more to boot, only to display a "0x4000 config > >> file error". What happened? > >> > >> I have been using various Polycom's with AstLinux (and vsftpd > >> 2.0.3 that I include with it) for quite some time, with no problems > >> whatsoever. Until now. > >> > >> I had been running bootrom 3.0.1 and various versions of the SIP > >> image at several other sites with no problem. At this point I was still > >> unable to accept the fact that I might not be able to run this latest > >> bootrom. After many trial and tribulations, I finally rsync'ed (with > >> -avr) the FTP directory from the AstLinux machine to > >> my laptop running CentOS 4. I configured the vsftpd daemon (version > >> 2.0.1) IDENTICALLY (with the exception of PAM and TCP > >> wrappers) and crossed my fingers... > >> > >> After re-configuring the IP 501 to use my laptop, imagine my > >> surprise when the most problematic of them booted right away without > >> problems. Again and again, everything was fine. > >> > >> So now I just had to break out ethereal and see what was going on. > >> While I have not completely finished my analysis, it appears that > >> Polycom firmware 3.1.3 bombs out when transferring files with > >> vsftpd 2.0.3. The symptom appears to be repeated TCP SYNs from the > >> Polycom to the ftp daemon on port 20. The Polycom will keep > >> retrying and increment its source port number by one every few minutes. > >> Like I said, I need to dig into this more, but I figured > >> I'd report what I know and see if anyone out there can fill in the > >> holes. > >> > >> Here's what I did. It appears that BootRom 3.1.3 works with > >> vsftpd 2.0.1, so I placed bootrom 3.0.1 (which I know works with vsftpd > >> 2.0.3) on my CentOS server and downgraded the phone to > >> 3.0.1. I then placed 3.0.1 and SIP app 1.6.5 (which I was using > >> the whole time, btw) on my AstLinux server running vsftpd 2.0.3. > >> > >> All was good. So now I am successfully running with the following: > >> > >> > >> Polycom IP 501 > >> Bootrom 3.0.1 > >> SIP 1.6.5 > >> AstLinux 0.3.7 > >> vsftpd 2.0.3 > >> > >> I will also try to fix (or workaround) this by trying the following: > >> > >> > >> upgrading AstLinux to include vsftpd 2.0.4 trying an intermediate > >> BootRom release between 3.0.1 and 3.1.3 > >> (find out exactly where/when it broke) > >> trying an even newer Polycom BootRom when it becomes available upgrading > >> the kernel in AstLinux (I doubt that's it) fiddling with iptables rules > >> in AstLinux (iptables was loaded, but obviously 3.0.1 doesn't have a > >> problem with it) > >> > >> This also might be related to the problems described here: > >> > >> > >> http://forums.digium.com/viewtopic.php? > >> p=14847&sid=6e70577c37bd345cfc164a01e64e113a > >> > >> > >> Any thoughts? Comments? Suggestions? > >> > >> > >> P.S. - I will be updating the Polycom config files at http:// > >> www.krisk.org/asterisk/pcom/ to reflect some new changes in this firmware > >> release. I just need to get my phones working first :)! > >> > >> -- > >> Kristian Kielhofner > >> _______________________________________________ > >> --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 > >> > > > > Bill > > > > > > William M. Conlon, P.E., Ph.D. > > To the Point > > 345 California Avenue Suite 2 > > Palo Alto, CA 94306 > > vox: 650.327.2175 (direct) > > fax: 650.329.8335 > > mobile: 650.906.9929 > > e-mail: mailto:bill@tothept.com > > web: http://www.tothept.com > > > > > > _______________________________________________ > > --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 > > > > > > > _______________________________________________ > --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 > _______________________________________________ > --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 >
Ken D'Ambrosio
2006-Mar-10 13:51 UTC
[Asterisk-Users] OT: Polycom BootRom 3.1.3 and vsftpd 2.0.3
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Douglas Garstang wrote: <blockquote cite="mid645FEC31A18FE54A8721500CDD55A7B6031B8B73@mail.oneeighty.com" type="cite"> <pre wrap="">Docs? Polycom has docs? Where would one find this fabled land of... err I mean Polycom does stating what ftp servers are supported? </pre> </blockquote> Fascinating, captain. "The docs" to which I refer are the "Administrator Guide - SoundPoint/SoundStation IP SIP", v. 1.3.0, where, on page 13, it states:<br> <br> <tt>The following FTP servers have been tested with Soundpoint IP and are known to work acceptably:<br> <br> Linux: ProFTPd 1.2.2 through 1.2.9 rc2p, ftpd-bsd-0.3.3 (Linux port), we-ftpd 2.6.0<br> Windows 2000 Server: IIS 5.0, WFTPD 2.03<br> <br> </tt>So, I went surfing, to find which page it''s on in the latest-and-greatest doc (v. 1.6.x, found at <font size="-1"><font color="#008000"><a class="moz-txt-link-abbreviated" href="http://www.polycom.com/common/">www.polycom.com/common/</a><wbr>pw_cmp_updateDocKeywords/0,1687,4922,00.pdf </font></font>), and guess what? They''ve taken the section out. I guess I don''t know what the "supported" FTP servers are, any more. Perhaps they''re now fully-compliant with "stock" FTP transactions, and It Just Works. Dunno.<br> <br> Color me confused,<br> <br> -Ken<br> <br> P.S. Note, however, that I''d tried... umm, whatever the stock FTP that comes with Debian is, and it failed miserably -- even though I could FTP in just fine from the command line, AND an Ethereal dump showed that the FTP transactions were being executed properly, but the phone wasn''t responding correctly. It was only when I went with ProFTPd that things got better -- for me, at least. ;-) YMMV, etc.<br> <blockquote cite="mid645FEC31A18FE54A8721500CDD55A7B6031B8B73@mail.oneeighty.com" type="cite"> <pre wrap=""> Doug. -----Original Message----- From: Ken D''Ambrosio [<a class="moz-txt-link-freetext" href="mailto:ken@jots.org">mailto:ken@jots.org</a>] Sent: Tuesday, March 07, 2006 12:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] OT: Polycom BootRom 3.1.3 and vsftpd 2.0.3 HTTP''s nice, but FTP does the job. Check the docs for supported FTP servers -- many of the stock Linux FTP servers will give the exact problem you discussed, below. I should know -- took me almost a week before trying proftpd, and WHAMMO, worked like a champ. -Ken On Tue, March 7, 2006 12:37 pm, William M Conlon wrote: </pre> <blockquote type="cite"> <pre wrap="">I spent a weekend battling similar issues with 501s, using FC4/ proftpd. I finally switched from FTP to HTTP. On Mar 7, 2006, at 9:53 AM, Kristian Kielhofner wrote: </pre> <blockquote type="cite"> <pre wrap="">Hello everyone, Please forgive the exclamation points but I have been battling this one off and on for about four days now. Sorry for the cross post. It all started with a box of IP 501s. I contacted my reseller and obtained the latest BootRom and SIP firmware. Unzipped, configured, copied over to my FTP server (running AstLinux, of course). The phone booted, so far so good. Updated bootrom, nice. Rebooted again. Updated sip firmware. Also nice. Upon the next reboot, the wheels started falling off. The phones would not get changes I made to any of the .cfg files. Several phones would take 20 minutes or more to boot, only to display a "0x4000 config file error". What happened? I have been using various Polycom''s with AstLinux (and vsftpd 2.0.3 that I include with it) for quite some time, with no problems whatsoever. Until now. I had been running bootrom 3.0.1 and various versions of the SIP image at several other sites with no problem. At this point I was still unable to accept the fact that I might not be able to run this latest bootrom. After many trial and tribulations, I finally rsync''ed (with -avr) the FTP directory from the AstLinux machine to my laptop running CentOS 4. I configured the vsftpd daemon (version 2.0.1) IDENTICALLY (with the exception of PAM and TCP wrappers) and crossed my fingers... After re-configuring the IP 501 to use my laptop, imagine my surprise when the most problematic of them booted right away without problems. Again and again, everything was fine. So now I just had to break out ethereal and see what was going on. While I have not completely finished my analysis, it appears that Polycom firmware 3.1.3 bombs out when transferring files with vsftpd 2.0.3. The symptom appears to be repeated TCP SYNs from the Polycom to the ftp daemon on port 20. The Polycom will keep retrying and increment its source port number by one every few minutes. Like I said, I need to dig into this more, but I figured I''d report what I know and see if anyone out there can fill in the holes. Here''s what I did. It appears that BootRom 3.1.3 works with vsftpd 2.0.1, so I placed bootrom 3.0.1 (which I know works with vsftpd 2.0.3) on my CentOS server and downgraded the phone to 3.0.1. I then placed 3.0.1 and SIP app 1.6.5 (which I was using the whole time, btw) on my AstLinux server running vsftpd 2.0.3. All was good. So now I am successfully running with the following: Polycom IP 501 Bootrom 3.0.1 SIP 1.6.5 AstLinux 0.3.7 vsftpd 2.0.3 I will also try to fix (or workaround) this by trying the following: upgrading AstLinux to include vsftpd 2.0.4 trying an intermediate BootRom release between 3.0.1 and 3.1.3 (find out exactly where/when it broke) trying an even newer Polycom BootRom when it becomes available upgrading the kernel in AstLinux (I doubt that''s it) fiddling with iptables rules in AstLinux (iptables was loaded, but obviously 3.0.1 doesn''t have a problem with it) This also might be related to the problems described here: <a class="moz-txt-link-freetext" href="http://forums.digium.com/viewtopic.php">http://forums.digium.com/viewtopic.php</a>? p=14847&sid=6e70577c37bd345cfc164a01e64e113a Any thoughts? Comments? Suggestions? P.S. - I will be updating the Polycom config files at <a class="moz-txt-link-freetext" href="http://">http://</a> <a class="moz-txt-link-abbreviated" href="http://www.krisk.org/asterisk/pcom/">www.krisk.org/asterisk/pcom/</a> to reflect some new changes in this firmware release. I just need to get my phones working first :)! -- Kristian Kielhofner _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </pre> </blockquote> <pre wrap="">Bill William M. Conlon, P.E., Ph.D. To the Point 345 California Avenue Suite 2 Palo Alto, CA 94306 vox: 650.327.2175 (direct) fax: 650.329.8335 mobile: 650.906.9929 e-mail: <a class="moz-txt-link-freetext" href="mailto:bill@tothept.com">mailto:bill@tothept.com</a> web: <a class="moz-txt-link-freetext" href="http://www.tothept.com">http://www.tothept.com</a> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </pre> </blockquote> <pre wrap=""><!----> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </pre> </blockquote> <br> </body> </html>