rico29
October 23, 2009, 2:44pm
1
Hi,
I’m trying to make mikrotik tftp server working.
[admin@MikroTik] > ip tftp export
/ip tftp
add allow=yes comment="" disabled=no ip-addresses=192.168.1.1 read-only=yes real-filename=st2030s.inf req-filename=st2030s.inf
And when, on my windows host, i type
“tftp 192.168.1.1 GET st2030s.inf”
I get :
C:\>tftp 192.168.1.1 GET st2030s.inf
Erreur sur le serveur : permission denied!
Did i miss something ?
Thanks four your replies.
fewi
October 23, 2009, 2:58pm
2
http://wiki.mikrotik.com/wiki/TFTP
The “ip-addresses” parameter configures the IP addresses of clients permitted to access the file. Since you appear to be configuring that to be only the server itself, the client is denied access.
rico29
October 23, 2009, 3:28pm
3
Ok thanks, didn’t understood that…
now “hits” field increments, but I have this message :
C:>tftp 192.168.1.1 GET st2030s.inf
Délai d’attente dépassé
timeout error.
Any idea ?
Thanks again
What version of RouterOS are you using? RouterOS v3.30 has a stable TFTP server you can use. Keep in mind, that with Mikrotik’s TFTP server you cannot transfer more than ~ 32 MB file size.
If you need to transfer a bigger file, try using tftp-hpa (works well).
rico29
October 27, 2009, 8:03am
5
I’m using routeurOS 4.1. I do not need to transfer files bigger than 32MB.
I am able to transfer files via tftp with v4.0, v4.1 and v4.2. Check your tftp settings against:
http://wiki.mikrotik.com/wiki/TFTP
rico29
October 29, 2009, 8:35am
8
Ok, it finally works well, it was a firewall mangle problem…
Thanks to all
Rico
Guys,
I seem to be having a similar issue with TFTP. I’m running 6.13(just upgraded to see if it would help, was on 5.24 before)
I have some files for a cisco 7940 that i’m trying to upgrade to SIP.
I am able to do this just fine using TFTP server on my local machine and the phone does everything it needs to.
The issue is when i try to run the TFTP on the mikrotik i get a Error code: 0 strink permission denied.
Here is what i have under /ip tftp
23 P0S3-8-12-00.loads P0S3-8-12-00.loads yes yes no 0
24 P0S3-8-12-00.sb2 P0S3-8-12-00.sb2 yes yes no 0
25 P003-8-12-00.bin P003-8-12-00.bin yes yes no 0
26 P003-8-12-00.sbn P003-8-12-00.sbn yes yes no 0
27 SEP0014A972571A.cnf SEP0014A972571A.cnf yes yes no 0
28 SEP0014A972571A.cnf.xml SEP0014A972571A.cnf.xml yes yes no 0
29 SIP0014A972571A.cnf SIP0014A972571A.cnf yes yes no 1
30 OS79XX.TXT OS79XX.TXT yes yes no 0
Files have been uploaded to the MT as i have been able to use it for other phones just fine.
Any ideas of why i would be getting this error?
Thank you
Sorry I forgot to put that in my previous post. Those files are present but still get same error.
I doing the same, but am not at home now.
So i can’t see my config.
But when i maked my config, i created a folder called cisco on the mikrotik and
put the cisco files there.
And then directed the tftp files to that directory.
like
SIPDefault.cnf ------> cisco/SIPDefault.cnf
patrikg:
I doing the same, but am not at home now.
So i can’t see my config.
But when i maked my config, i created a folder called cisco on the mikrotik and
put the cisco files there.
And then directed the tftp files to that directory.
like
SIPDefault.cnf ------> cisco/SIPDefault.cnf
I tried your method and still getting the permissions error. Let me know your config when you have a chance. Thank you and i appreciate your help.
I used ordinary ftp to upload the files to the router
like this.
ftp 192.168.1.88
Name (192.168.1.88:root): admin
Password:
ftp>bin
ftp>hash
ftp>mkdir cisco
ftp>cd cisco
ftp>put SIPDefault.cnf
ftp>bye
Do you use the user admin ???
patrikg:
I used ordinary ftp to upload the files to the router
like this.
ftp 192.168.1.88
Name (192.168.1.88:root): admin
Password:
ftp>bin
ftp>hash
ftp>mkdir cisco
ftp>cd cisco
ftp>put SIPDefault.cnf
ftp>bye
Do you use the user admin ???
I’ve just always dragged and dropped the files into winbox.
You should try with ftp, may be there are some problems with the rights to the files for the tftp server.
Like this error message from another linux distro.
http://uyirpodiru.blogspot.se/2012/03/tftp-server-returns-error-code-0_05.html