Community discussions

MikroTik App
 
rico29
just joined
Topic Author
Posts: 20
Joined: Fri Sep 25, 2009 10:49 am

mikrotik tftp server not working

Fri Oct 23, 2009 5:44 pm

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
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: mikrotik tftp server not working

Fri Oct 23, 2009 5:58 pm

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
just joined
Topic Author
Posts: 20
Joined: Fri Sep 25, 2009 10:49 am

Re: mikrotik tftp server not working

Fri Oct 23, 2009 6:28 pm

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
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: mikrotik tftp server not working

Fri Oct 23, 2009 8:10 pm

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
just joined
Topic Author
Posts: 20
Joined: Fri Sep 25, 2009 10:49 am

Re: mikrotik tftp server not working

Tue Oct 27, 2009 10:03 am

I'm using routeurOS 4.1. I do not need to transfer files bigger than 32MB.
 
rico29
just joined
Topic Author
Posts: 20
Joined: Fri Sep 25, 2009 10:49 am

Re: mikrotik tftp server not working

Wed Oct 28, 2009 10:32 am

Is it a bug in 4.1 ?
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: mikrotik tftp server not working

Wed Oct 28, 2009 12:12 pm

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
just joined
Topic Author
Posts: 20
Joined: Fri Sep 25, 2009 10:49 am

Re: mikrotik tftp server not working

Thu Oct 29, 2009 10:35 am

Ok, it finally works well, it was a firewall mangle problem....

Thanks to all

Rico
 
ytuxedo002
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Re: mikrotik tftp server not working

Tue May 27, 2014 8:21 pm

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
 
User avatar
patrikg
Member Candidate
Member Candidate
Posts: 262
Joined: Thu Feb 07, 2013 6:38 pm
Location: Stockholm, Sweden

Re: mikrotik tftp server not working

Tue May 27, 2014 8:53 pm

 
ytuxedo002
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Re: mikrotik tftp server not working

Tue May 27, 2014 10:39 pm

Sorry I forgot to put that in my previous post. Those files are present but still get same error.
 
User avatar
patrikg
Member Candidate
Member Candidate
Posts: 262
Joined: Thu Feb 07, 2013 6:38 pm
Location: Stockholm, Sweden

Re: mikrotik tftp server not working

Tue May 27, 2014 11:08 pm

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
 
ytuxedo002
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Re: mikrotik tftp server not working

Wed May 28, 2014 1:23 am

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.
 
User avatar
patrikg
Member Candidate
Member Candidate
Posts: 262
Joined: Thu Feb 07, 2013 6:38 pm
Location: Stockholm, Sweden

Re: mikrotik tftp server not working

Wed May 28, 2014 8:39 am

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 ???
 
ytuxedo002
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Re: mikrotik tftp server not working

Wed May 28, 2014 10:38 pm

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.
 
User avatar
patrikg
Member Candidate
Member Candidate
Posts: 262
Joined: Thu Feb 07, 2013 6:38 pm
Location: Stockholm, Sweden

Re: mikrotik tftp server not working

Wed May 28, 2014 11:07 pm

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/t ... -0_05.html

Who is online

Users browsing this forum: Bing [Bot], Gerribaldi and 102 guests