[asterisk-users] need help using tftp for polycom 501
joe, at j4computers
joea at j4computers.com
Wed Oct 25 05:30:07 MST 2006
Marlin Unruh<mwu at suncosys.net> Wrote on: 10/25/2006 8:12 AM:
> Marlin Unruh wrote:
>> Hi,
>>
>> I have a Polycom 501 that is currently unusable because I started a
>> firmware and sip upgrade that I can't complete.
>>
>> The Ubuntu box address is set static at: 192.168.1.101.
>> The phone address is set static at 192.168.1.51.
>>
>> The phone settings for the server menu are:
>> Server Type: Trivial FTP
>> Server Address: 192.168.1.101
>> Server User: PlcmSpIp
>> Server Password: PlcmSpIp (not sure what it should be)
>> Pro. Method: default
>>
>> I am using tcpdump to watch the network messages, and I see the phone
>> sending messages like:
>>
>>
>> 11:04:50.147597 IP 192.168.1.51.1025 > 192.168.1.101.69: 19 RRQ
>> "bootrom.ld" octet
>> 11:04:58.235875 IP 192.168.1.51.1027 > 192.168.1.101.69: 25 RRQ
>> "0004f21136a1.cfg" octet
>> 11:06:36.728815 IP 192.168.1.51.1029 > 192.168.1.101.69: 25 RRQ
>> "000000000000.cfg" octet
>>
>> I have the following files in the directory /srv/tftp:
>>
>> 0004f21136a1.cfg bootrom.ld phone774110.cfg sip.cfg
>>
>> I have edited 0004f21136a1.cfg to point to phone774110.cfg
>>
>> I get the following message on the phone:
>> Could not contact boot server.
>> error loading 004f21136a1.cfg
>>
>> If I "ps -e" I see tftp is active.
>>
>> I am at a total lose how to setup and use tftp properly. I have searched
>> the Internet and read man pages, but I can't get it into my head.
>>
>> Any help will be very much appreciated.
>>
> Glad to say I got it working. Sad to say I had to go to Windows to
> accomplish it. I used tftpd32 and it worked perfect.
>
> I would like to use tftp under Linux. May I will try again later.
>
I had a similar problem.
Look at /etc/xinetd.d/tftp (for SLES 10 (SUSE)).
My "server_args" was hosed.
I made it "server_args = /tftpboot -s -c -v" and everyone was happy. (except my ACT P160s, but that's another story)
Entire file here (/tftpboot can be whatever you set up):
# default: off
# description: tftp service is provided primarily for booting or when a \
# router need an upgrade. Most sites run this only on machines acting as
# "boot servers".
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = /tftpboot -s -c -v
disable = no
}
joe a.
More information about the asterisk-users
mailing list