Simple TFTPD32 Issue in Windows 7
Posted 12 October 2012 - 02:04 PM
This is my first time using the TFTPD32 server and I am having some issues.
Situation: I am trying to push a config file located on my PC root folder to a Linksys phone ATA device
Setup: both PC and ATA behind D-Link Router, which is behind DSL Modem
IP Info: D-Link Router IP: 192.168.0.1
PC IP: 192.1468.0.106
ATA IP: 192.168.0.107 (not shown on server interface)
In TFTPD32 settings, TFTP server and DHCP servers are checked; base directory is set to the location of the cfg file. Server Interface is automatically the computer IP address above; IP starting pool is set to the IP of the ATA device with a size pool of 10;boot file is the name of the file and Mask is same as router 255.255.255.0.
I notice that the PC is the only one that shows an IP address under interface, the ATA only shows a string containing the MAC address. The server is listening and actually runs, but did not manage to pull the file. The log shows some weird IP 0.0.0.71 followed by the mac address of the ATA. Does that mean I need to modify the registry to assign a static IP address to the mac address? Firewall and antivirus were turned off. Any suggestion/help would be greatly appreciated. Thanks!
Posted 12 October 2012 - 02:44 PM
What do you mean "behind" D-link router which is behind the DSL modem?
Are you trying to do this through LAN (Local Area Network) or "from the outside".
(in other words are you using just the "hub" of a multiport router ?)
Usually the router is also set as DHCP server, if this is the case the TFTP32 (with the DHCP set) will create a conflict.
Is the IP of the D-link router "static" or gathered from the DHCP server? (and WHICH DHCP server)?
Is the IP of the PC "static" or gathered from the DHCP server? (and WHICH DHCP server)?
Is the IP of the ATA device "static" or gathered from the DHCP server? (and WHICH DHCP server)?
Posted 12 October 2012 - 02:51 PM
Posted 12 October 2012 - 03:03 PM
Thank you for your reply! D-Link is a wireless router with 4 ports. PC and ATA are connected to it.
IP for D-Link is static (I believe) since this is what you type in web browser to access it.
IP for PC and ATA are gathered from D-Link router DHCP server.
I tried that and the log did not show anything. The Linksys ATA is a CIsco product. I put in the phone a boot mode as you said which is supposed to reset the device and make it pulls the file. It did the reset, check the server, but can't pull the file. Can you elaborate a little more on the settings you have used on your Cisco device? Thanks!
Posted 12 October 2012 - 03:36 PM
From powered off state, plug in an hold #
Wait for LED's to start blinking in order then release #
Soft Reset Code is - 123456789*0#
If I remember correctly.....the last time I did this (TFTPD a Config File), I put the phone and PC straight into a HUB. I would try that....bypass the Network and just HUB it if you have one......also, make sure Windows Firewall is disabled as well......Hope this helps.
Posted 12 October 2012 - 03:38 PM
Posted 12 October 2012 - 03:45 PM
Posted 12 October 2012 - 03:52 PM
It's a lightweight DHCP Server you can use temporarily
Also, you could do a Hard Factory Reset but without the Proper CUCM Image File, you could easily Brick it..........
Posted 12 October 2012 - 04:08 PM
I was going to manually assigned an IP address to the PC and then set the IP pool starting address with the PC IP +1 and set the size of pool to 10 under the DHCP Settings tab. I will instead install the DHCP server version 2.3 that you sent me and see if it assigns IP to both the PC and ATA device when connected together. I won't get to do that until later, but I will post back to let everyone on the forum know how it went (for future reference).
Thanks all for the help!
Posted 12 October 2012 - 05:07 PM
Or set TFTP32 as the DHCP server....
The crossover should work but you will need to set up a DHCP Server to push an address to the phone.....I forgot you were on a Workstation, use this:
It's a lightweight DHCP Server you can use temporarily
Posted 12 October 2012 - 05:39 PM
A little confused here. I think Wazz suggested the DHCP server software in order not to mess with manually assigning static IP. I assumed that the software will assign IP addresses for both the PC and ATA device when run. The PC IP address, TFTPD32 will pick automatically and I would have to enter the device IP address under IP Pool with a pool number. Am I correct to assume so or is it otherwise? Thanks!
Posted 12 October 2012 - 06:27 PM
You want only ONE (and ONE only) DHCP server on the whole network.
If the DHCP server is running on the PC (and the ATA thingy is set to get it's IP form the DHCP server) and the two are connected through a cross-over cable, you assign a static IP to the PC (let's say 192.168.1.1 Netmask 255.255.255.0) and you set the DHCP server to assign addresses starting from 192.168.1.2 (same netmask of course).
If you are running TFTP32 AND you set (as you initially posted) it as DHCP server, you enter the above settings in TFTP32 and need NOT another DHCP server.
If you run the DHCP server Wazz suggested (AFAIK a very good one) then you enter the above settings in it and DISABLE the DHCP server in TFTP32.
I hope this is now more clear.
Posted 12 October 2012 - 06:46 PM
Posted 12 October 2012 - 07:04 PM
Let us know how it goes.......
Posted 12 October 2012 - 11:52 PM
I'd stick to a single DHCP, no static IPs, if my DHCP at the router can do PXE set it there, if not use a proxyDHCP strategy,
but never mixing static IPs with DHCP, nor more than 1 DHCP server either.
Posted 13 October 2012 - 01:22 AM
Posted 13 October 2012 - 12:00 PM
Connect only TWO devices to the Router/hub, the PC and the ATA thingy.
How is the DHCP on the router set? (screenshot, upload to any of the free image hosting site, post a link to it).
How is the TCP/IP of the PC set? (screenshot or copy and paste of IPCONFIG /ALL)
How is the TFTP32 set?
How is the ATA thingy set? (screenshots)
Posted 13 October 2012 - 02:47 PM
Posted 13 October 2012 - 05:14 PM
Try from scratch:
Disable DHCP server on the Router (leave it's address 192.168.0.1/255.255.255.0).
Assign to the TCP/IP connection on the PC a static IP of 192.168.0.2/255.255.255.0 Gateway 192.168.0.1 DNS server 184.108.40.206
server interface 192.168.0.2/255.255.255.0
disable support for IPv6/disable syslog server/enable DHCP server.
leave checked only "option negotiation"
(remember that service interface is now 192.168.0.2) set IP pool starting address 192.168.0.3/UNcheck "ping address before assignation"
Posted 13 October 2012 - 06:02 PM
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0E:08:E4:4D:CA [13/10 13:56:10.079]
Client requested address 0.0.0.79 [13/10 13:56:10.079]
no more address or address previously allocated by another server [13/10 13:56:10.079]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0E:08:E4:4D:CA [13/10 13:56:13.706]
Client requested address 0.0.0.79 [13/10 13:56:13.706]
no more address or address previously allocated by another server [13/10 13:56:13.721]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0E:08:E4:4D:CA [13/10 13:56:22.068]
Client requested address 0.0.0.79 [13/10 13:56:22.068]
no more address or address previously allocated by another server [13/10 13:56:22.083]
Posted 13 October 2012 - 07:46 PM
Yes, it is similar. This is my first time messing around with TFTP. For some reason, I can't get the config file toload onto the unit whatever I do, which is why I am trying to get help from this forum. I even tried with a crossover cable. Thanks!
Posted 13 October 2012 - 08:25 PM
Posted 13 October 2012 - 10:44 PM
I'm only guessing, as we all are, what you are actually trying to do: you may be trying to 'push' your new config file out to a multiplicity of the same units Still guessing !!
You described your setup scantily to say the least, and your problem 'what you are trying to achieve' even less so, but hey, We are all mind readers.
A concise description of software, system, enviroment and objectives would help everyone, your in the middle of your battle, we're not, but may be able to help.
Posted 13 October 2012 - 11:51 PM
My unit is the old Sunrocket SPA-2102R. It was working for a while on Callcentric until they started having issues about 2 weeks ago. They sent me some configuration to get the unit to their new server. I reset the unit by accident and locked the unit. What I am trying to do now is to follow this video on youtube () to unlock the unit. I already downloaded the config file (for which the password is known) and changed the name to the mac address of the unit as suggested in the video. My problem at this point is to push the file to the unit using TFTPD32 (or any other server for that matter) so I can unlock it. That is what I have been trying to accomplish the past 4 days without success. The PDF file you pointed me to is a good document, but I do not have a switch to implement it.
At this point, I do not have a real setup as this is my first time using a TFTP server. My home network is a Westell DSL Modem 6100 followed by a D-Link WBR1310 wireless router to which my computer (Windows 7) and the SPA-2102R are connected. Now, with help of people on this forum I have tried to bypass the router and even connected a crossover cable directly to the SPA-2101R without success. I tried to provide as much info as I can in hope that will give you a better understanding of what I am trying to do. I appreciate your help. Thanks!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users