Jump to content

Cisco networks


3 posts in this topic

Recommended Posts

Hi ,

 

For some reason I really want to make my cisco router make scheduled backups every time I make write(change config).

OK thats very good here is my cisco config

 

archive

log config

logging enable

notify syslog

path tftp://192.168.1.2/cisco_backup

write-memory

time-period 4320

 

But .... I wish to make it not with Linux and I want to make it on my laptop ... why ?? I don't know I just want to make it work.

 

I try 3 different Mac os x TFTP servers also try Snow Leopard tftpd but I have problem with permissions

 

sh-3.2# sudo launchctl

launchd% load -F /System/Library/LaunchDaemons/tftp.plist

launchd% cd /private/

 

 

OK now tftpd starts and working NO firewall block him.

 

Then we do on Cisco this

 

Router_g1r5#copy start tftp

Address or name of remote host []? 192.168.0.4

Destination filename [router_g1r5-confg]?

TFTP: error code 2 received - 16739

 

%Error opening tftp://192.168.0.4/router_g1r5-confg (Permission denied)

 

AND BOOM permission denied . I have 777 permissions and SUID GID with running user.

For some reason I see this with Fedora Tftpd or other tftpd server this is security on tftpd and you CAN'T create files

 

OK it works if i create blank file with this name :

 

from my Mac os x BOX

sh-3.2# touch file

sh-3.2# chmod 777 file

 

From CISCO

 

Router_g1r5#copy start tftp

Address or name of remote host []? 192.168.0.4

Destination filename [router_g1r5-confg]? file

!!

2377 bytes copied in 0.084 secs (28298 bytes/sec)

 

Can somebody tell me TFTP Server who is working with creating files on OS X.

 

With my Gentoo and FreeBSD work perfectly but with OS X don't

 

Greetings

Link to comment
Share on other sites

  • 4 months later...
 Share

×
×
  • Create New...