Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using TFTP to get config

Status
Not open for further replies.

olive

Programmer
May 10, 2001
76
FR
Hi,
Do you know the file to import by using tftp in command line, in order to get the IPOffice config, for example IPOff.cfg.

The syntax of tftp is:
tftp -i 192.168.1.1 get "FILE" C:\IPOff.cfg

where 192.168.1.1 is the IPOffice IP adress
and FILE is the config file to import.

Thanks in advance
 
Only when the password is default "password" wich is not advisable for security reasons.
This is the full line with encrypted password:
tftp -i 10.137.50.60 get "config/$t%$'~ q" config.cfg

$t%$'~ q equals password

To get the encrypted password:
Save the config as text, open this in a texteditor and you can find the encrypted password:
SY_Name,SY_Password,SY_IPAddress,SY_IPMask,SY_Sec
'My Customer',JDDH?C=,10.11.1.105,255.255.255.0,

"JDDH?C=" is the encrypted password.
 
Open monitor.

Pull the cfg from the IPO.

When Manager searches for the IPO, you'll see a TFTP RRQ in monitor, asking for nasystem/whois.
Then when you have entered the password, you'll see a TFTP RRQ, asking for config/"something".

Copy config/"something" to your own TFTP string instead of "FILE", and give it a go!

Works like a charm here ;-)
 
Hi,

I type this line :
tftp -i 10.1.112.1 get "config/$t%$'~ q" config.cfg

and it's OK, I receive the file config.cfg with the full config OK.
Thank you very much

But :
- when I open it with notepad, I don't see anywhere the password.
- do you kow the list of files that can be imported by tftp ?

Thanks.
 
Hi,
do you know the list of files that can be imported by tftp ?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top