Community discussions

MikroTik App
 
rea1ity
just joined
Topic Author
Posts: 24
Joined: Mon Jun 24, 2013 10:24 am

May TFTP server have some problem on CCR

Mon Nov 06, 2017 4:11 am

Hello,
I've 3 CCR and one of them is working that is CCR1036-12G-4S.
And I've five of Cisco SIP phone it needs TFTP Server so I tried to setting up the TFTP server on CCR.
But I tried several times modified TFTP settings but it can not working.

I just tried setting up as following;

Put in the files what I needs via WinSCP to the Mikrotik CCR it connected external USB memory that path set it up as "disk1/"

Flags: X - disabled
# IP-ADDRESSES REQ-FILENAME REAL-FILENAME ALL REA ALL HITS
0 yes yes no 101

and also tried as following;

Flags: X - disabled
# IP-ADDRESSES REQ-FILENAME REAL-FILENAME ALLOW READ ONLY ALL HITS
0 disk1/Drums1.raw yes yes yes 161


And tried to GET the files on Windows but the files cannot GET and just messaged "connection failed" from tftp client.

tftp 192.168.102.1 GET Drums1.raw

the HITS count going up but Log appeared as following Error;
momory tftp, error ERROR: code 0

I searched what is the the ERROR code 0 on TFTP, It is "Permission Denied".

So I checked "/disk1" folder it is "0777" and included the file "Drums1.raw" is "0644".
I tried to change mod the file "Drums1.raw" but it cannot changed.
Maybe there have no "chmod" command in Mikrotik.

Please help me out I can use TFTP server for Cisco phone.

Thanks.
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1220
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: May TFTP server have some problem on CCR

Wed Nov 08, 2017 1:24 am

Your requested file name and real file name is not 'yes' as shown in your tftp configuration.
So in order to get "tftp 192.168.102.1 GET Drums1.raw" working, you need:
/ip tftp
add real-filename=disk1/Drums1.raw req-filename=Drums1.raw
Torturing CCR1009-7G-1C-1S+, RB450G, RB750GL, RB951G-2HnD, RB960PGS, RB260GSP, OmniTIK 5HnD and NetMetal 922UAGS-5HPacD + R11e-5HnD in my home network.

Who is online

Users browsing this forum: jewelaziz, RackKing and 88 guests