[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T42G downloads MAC-oriented but doesn't config
Author Message
julesa Offline
Junior Member
**

Posts: 4
Joined: Feb 2014
Reputation: 1
Post: #1
T42G downloads MAC-oriented but doesn't config
I just bought some Yealink T42G phones. We haven't used these before. They came with firmware 29.71.0.121 installed on them.

I set up Option 66 in our DHCP server to point to the IP address of a tftp server.

I can see in the tftp server logs that the phone downloads the common config file. It successfully applies settings that I put in y000000000029.cfg to the phone, that part works fine.Then, in the tftp server logs, I can see it downloading the file named 0015655B3944.cfg three times, about 5 seconds apart. None of the settings in that file are applied to the phone.

When I look in the phone's logs, I see this:

Code:
Feb 20 19:53:07 test[121]: war[ConfigServer.cpp:82  ]CConfigServer::OnFlushRegistry begin
Feb 20 19:53:07 test[121]: war[ConfigServer.cpp:84  ]CConfigServer::OnFlushRegistry end
Feb 20 19:53:07 LIBD[559]: DANY<0+emerg > DANY=3
Feb 20 19:53:13 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:13 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 0
Feb 20 19:53:18 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:18 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 1
Feb 20 19:53:25 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:25 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 2

There is no difference in permissions on the two .cfg files, it looks like the phone is downloading it successfully three times. For troubleshooting, I simplified the mac.cfg file quite a bit. Below I've pasted in the contents of my 0015655B3944.cfg file:

Code:
#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##

################################################################################​#######
##                           Account1 Settings                                       ##
################################################################################​#######

#Enable or disable the account1, 0-Disabled (default), 1-Enabled;
account.1.enable = 1

#Configure the label displayed on the LCD screen for accountX.
account.1.label = GS-PBX

#Configure the display name of accountX.
account.1.display_name = GS-PBX-6284

#Configure the username and password for register authentication.
account.1.auth_name = 6284
account.1.password = PassDeleted

#Configure the register user name.
account.1.user_name = 6284

#Configure the SIP server address.
#account.X.sip_server_host =
account.1.sip_server.1.address = 10.54.120.201

#Specify the port for the SIP server. The default value is 5060.
#account.X.sip_server_port =
account.1.sip_server.1.port = 5060
account.1.sip_server.1.expires = 3600

The above settings never get applied to the phone.

I tried upgrading one of the phones to version 72 just to see if that would fix the problem. Of course, I used the version 72 templates instead of the version 71 templates. I still had the same problem. I'm not sure what I'm doing wrong. I'm hoping it will be obvious to someone with more Yealink experience. Not currently using any encryption on these .cfg files, they're plain text on the tftp server.

Edited to add: there's no problem with downloading the files. I think the problem has something to do with the contents of the files, even though I used the appropriate template recommended for each of the two different firmware versions I tried. Here's what happens when I download the files to my computer with a standard tftp client:
Code:
$ tftp 199.249.215.244
tftp> get y000000000029.cfg
Received 58369 bytes in 1.2 seconds
tftp> get 0015655B3944.cfg
Received 1225 bytes in 0.1 seconds
(This post was last modified: 02-21-2014 11:26 PM by julesa.)
02-21-2014 06:15 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
julesa Offline
Junior Member
**

Posts: 4
Joined: Feb 2014
Reputation: 1
Post: #2
RE: T42G downloads MAC-oriented but doesn't config
OK, I figured out what the problem is. The phones have the MAC address printed with capital letters on the phones. The MAC-oriented filename should use lowercase for all alphabetic characters. For example:
This is wrong: 001565FA92C65.cfg
This is correct: 001565fa92c65.cfg

Also, my tftp server logs lied to me. atftpd is the server, and when the phone requests a file it logs the following, even if the file does not exist:
Feb 21 07:20:09 updates atftpd[29279]: Serving 001565fa92c65.cfg to 192.168.1.152:47607

I realized what the problem was when I hooked up a phone that did not have a MAC oriented config file set up, and the tftp server still logged the same thing -- then I noticed the phone was requesting the file with lowercase letters.
02-21-2014 11:38 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  RPS not working for T41P T42G andrew.manning 0 2,283 02-17-2023 06:29 PM
Last Post: andrew.manning
  W73P Custom Handset Config to Disable Noise Cancellation vikramgupte 2 4,456 10-25-2022 07:37 AM
Last Post: vikramgupte
  Hard reset a T20P and erase config Kevinlloyd 32 142,279 12-02-2021 05:54 AM
Last Post: callisap
  Daily config check oliv 2 7,243 07-07-2021 01:08 AM
Last Post: oliv
  [OT] Apache 2.4 config allowing PUT oliv 0 4,559 10-28-2020 03:23 PM
Last Post: oliv
  T42G toggling between UDP and TLS on provisioning GNIL 0 4,830 04-28-2020 02:12 PM
Last Post: GNIL
  y000000000000.boot and encrypted config files kapetrosyan 6 18,422 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 9,515 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 32,817 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 28,742 04-11-2018 11:03 AM
Last Post: Rus

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication