IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1834.15 MB
Powered by
Channel Info
Network: freenodeChannel: #cisco |
Search in www.irclog.org
Log from #cisco at freenode 2006-06-06
[08:57]<sxrmns>+because I just want to upload the IOS, and then the ftp server is taken down because I don't need it
[08:57]<sxrmns>+I left it blank and I get an error
[08:58]<afsc>+then set a dummy password
[09:02]<sxrmns>+sweet.
[09:02]<sxrmns>+Now I'm ready to do this.
[09:02]<rrnrmnvrl>+guys ... http://tools.cisco.com/RPF/register/register.do is not working ?
[09:03]<fjzvxnz>+ShadeS: haha, try 'no ip ftp password' :D
[09:03]<sxrmns>+I had it already figured out
[09:03]<sxrmns>+I figured since show run didn't show a pw in there, it owuldn't use one
[09:03]<sxrmns>+so I set the ftp server to allow anon log in
[09:05]<sxrmns>+although copy flash tftp, is a little weird, it goes copy flash: (stuff listed with ? so I used a *) as well as for the tftp part. So, copy flash:* tftp:172.25.25.35 then it asks for the address of the remost host, 172.25.25.35 then, destination file name, I tried nothing as well as * but it's not working.. do I have to copy each file individually?
[09:06]<fjzvxnz>+try using the 'archive' command
[09:06]<fjzvxnz>+you can 'archive upload-sw ...' i don't remember the exact syntax
[09:07]<fjzvxnz>+it'll create a tar image of the IOS on the router. That's undoubtedly what you want.
[09:07]<fjzvxnz>+From there, you can download the new image, and archive download-sw it to the router.
[09:07]<sxrmns>+archive has, tar and config... not sure which will load all of the IOS files to the ftp server.. tar I'm thinking
[09:08]<sxrmns>+archive upload isn't an option
[09:08]<fjzvxnz>+oh?
[09:08]<sxrmns>+yes
[09:09]<sxrmns>+I'm trying to backup this bogus IOS version that has software limitations, incase these ios images that I obtained aren't going to work on my router for some reason or another
[09:09]<fjzvxnz>+http://pastebin.com/761798 <--- you don't have something like this?
[09:10]<fjzvxnz>+do a 'dir flash:' and pastebin the output.
[09:10]<sxrmns>+http://pastebin.com/761800 nope
[09:10]<gjsw>+Hey guys, question. is there a debug command for ethernet frame debugging? (im sure there must be but i cant remember what its under)
[09:10]<sxrmns>+http://pastebin.com/761801
[09:11]<fjzvxnz>+ok, so all you have is a few small files
[09:11]<fjzvxnz>+just do them one by one
[09:12]<sxrmns>+is that what my IOS consists of? each of those individual files?
[09:12]<fjzvxnz>+the IOS itself is c870-advsecurityk9-mz.123-8.YI2.bin
[09:12]<sxrmns>+so, copy flash:128MB.sdf tftp:<what goes here> ?
[09:12]<fjzvxnz>+the rest are support files of one form or another
[09:13]<fjzvxnz>+tftp://ip.address.or.hostname/path/to/destination
[09:13]<fjzvxnz>+if you're using a unix in.tftpd or something it's probably under /tftpboot
[09:13]<fjzvxnz>+(and likely not writable -- check your inetd configuration)
[09:13]<rrnrmnvrl>+loather, or /var/lib/tftpboot
[09:14]<fjzvxnz>+right.
[09:15]<sxrmns>+lets see if this does it, if not I have to modify my ftp server's permissions for the write directory
[09:16]<fjzvxnz>+ftp != tftp
[09:17]<fjzvxnz>+see if you can actually specify an ftp:// path.
[09:20]<sxrmns>+oh
[09:20]<sxrmns>+let me try that too
[09:21]<fjzvxnz>+do 'copy ?' and see if ftp: Copy from ftp: file system is in the list
[09:21]<sxrmns>+%Error writing ftp://172.25.25.35/128MB.sdf (No such user)
[09:21]<sxrmns>+ftp is in there
[09:21]<fjzvxnz>+ftp://username:password@172.25.25.35/...
[09:21]<sxrmns>+don't I want to copy flash:128... ftp://<serverip> ?
[09:22]<fjzvxnz>+right
[09:22]<sxrmns>+ah
[09:23]<sxrmns>+copy flash:128mb.sdf ftp://ftp:@172.25.25.35 ; error writing ftp://ftp@172.25.25.35/128MB.sdf (no such user)
[09:23]<sxrmns>+but on my other box i'm doing an 'ftp 172.25.25.35' and putting ftp for the user, and then it tosses me into the ftp
[09:24]<fjzvxnz>+hm
[09:24]<fjzvxnz>+ACTION starts his ftpd
[09:24]<fjzvxnz>+i almost always use tftp 'cause there's no authentication to get in the way
[09:24]<fjzvxnz>+it is (as its name states) very trivial
[09:25]<sxrmns>+so setting up a tftp sever is different than setting up an ftp server?
[09:25]<fjzvxnz>+yes. it's largely trivial, though.
[09:25]<fjzvxnz>+what system are you running?
[09:25]<sxrmns>+on what box?
[09:25]<sxrmns>+the ftp one? fedora core 4
[09:26]<sxrmns>+yum install tftp seems to be working
[09:26]<fjzvxnz>+that makes it easy.
[09:26]<sxrmns>+let me man tftp to see if I need to cfg anything
[09:26]<fjzvxnz>+cd /etc/xinetd.d and edit tftp
[09:26]<sxrmns>+tftp isnt a file in there
[09:27]<fjzvxnz>+oh, yum install tftp-server
[09:27]<sxrmns>+odd yum install tftp worked, but service tftp start yeiled; unrecognized service
[09:27]<sxrmns>+oh, so I should remove tftp since I only need tftp-server?
[09:28]<fjzvxnz>+tftp is a command-line client -- useful for testing. I'd hang on to it.
[09:28]<sxrmns>+if a box is running samba, it doesn't need to be running ftp does it? or tftp?
[09:29]<fjzvxnz>+samba is CIFS. it's completely different
[09:30]<sxrmns>+but, for a system that's serving as a file server... ?
[09:30]<mrxmjum>+hello
[09:31]<fjzvxnz>+well, i suppose if you dont think you'll ever use it you can take it back off.. but regardless. let's see if we can at least get this working :)
[09:31]<sxrmns>+%Error opening tftp://172.25.25.35/128MB.sdf (Timed out) odd...
[09:31]<sxrmns>+yes 8 )
[09:31]<fjzvxnz>+you have to start the server. :)
[09:31]<fjzvxnz>+first, edit that file i mentioned earlier
[09:32]<sxrmns>+what should I change in there?
[09:32]<fjzvxnz>+ disable = no
[09:32]<fjzvxnz>+ server_args = -c -s /tftpboot
[09:32]<fjzvxnz>+they should look similar.
[09:32]<sxrmns>+what's the -c for?
[09:32]<fjzvxnz>+allow writes
[09:33]<sxrmns>+-s was already in there
[09:33]<fjzvxnz>+mkdir /tftpboot/cisco
[09:33]<fjzvxnz>+chmod 755 cisco
[09:33]<fjzvxnz>+chown nobody:nobody /tftpboot/cisco
[09:33]<fjzvxnz>+err, add the /tftpboot/ to the chmod line too
[09:33]<sxrmns>+ok
[09:35]<fjzvxnz>+now, /sbin/service xinetd restart
[09:35]<sxrmns>+xinetd is ?
[09:35]<sxrmns>+xinetd started
[09:36]<fjzvxnz>+the inet daemon. it takes programs designed to read/write from stdin/stdout and hooks them to sockets instead.
[09:36]<sxrmns>+I was use to using service <whatever> stop/start/restart
[09:36]<fjzvxnz>+now try the copy from the router, except instead of tftp://ipaddress/filename, tftp://ipaddress/cisco/filename
[09:36]<sxrmns>+or /etc/init.d or whatever
[09:37]<fjzvxnz>+inetd/xinetd is largely legacy
[09:37]<sxrmns>+whoa
[09:37]<sxrmns>+why did /cisco work but not /tftpdboot/cisco ??
[09:38]<fjzvxnz>+'cause paths are relative to /tftpboot (-s /tftpboot did that in the xinetd.d/tftp file)







