On Tue, 20 Aug 2002 08:38:48 MST Craig wrote:

> Hi folks,
> How do you copy from some of the newsgroup messages (scripts, etc. that
> people have given examples of) and paste in into your firewall files. I
> know to just save it as a text file to floppy, but how do I open the
> file to then copy and paste at the firewall? Thank you.

It's much easier if you're using ssh: on a computer with a
full-blown Linux or Windows distribution open the source
file in one window and a ssh in another.  Copy and paste as
you would normally copy and paste between two apps.

If you don't have remote terminal access to the firewall, this
procedure might work for you:

  - save the files to an msdos formatted diskette

  - mount the diskette from the firewall:
      mount -t msdos /dev/fd0u1440 /mnt   # for 1.44 MB floppies
      mount -t msdos /dev/fd0u1680 /mnt   # for 1.68 MB floppies

  - append the source file to the target file in a temporary file:
      cat target_file source_file > /tmp/newfile

  - edit the temporary file with your editor to make it look like
    you want (exact instructions depend on what editor you're using)

  - back up the original
      cp target_file target_file.bak

  - move the temp file over the original
      mv /tmp/newfile target_file

Again, if you're doing much of this, ssh is *the* way to go.  If
you need an ssh client for windows, I highly recommend putty[1].

HTH,
Brad

[1] www.chiark.greenend.org.uk/~sgtatham/putty/



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to