CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.


Tim Hall has done it again! He has just released the 2nd edition of "Max Power".
Rather than get into details here, I urge you to check out this announcement post.
It's a massive upgrade, and well worth checking out. -E

 

Results 1 to 7 of 7

Thread: CPINFO

  1. #1
    Join Date
    2009-02-03
    Posts
    4
    Rep Power
    0

    Default CPINFO

    I am trying to FTP/TFTP a file generated by CPINFO to CheckPoint. I am unable to send the file to either a FTP ot TFTP server and would like some help.

    The file is located in following local directory:

    /var/emhome/admin

    After connecting to the ftp server, I am trying to use the following command without success:

    ftp> put
    (local-file) /var/emhome/admin/cpconfig.cfg
    (remote-file) cp.cfg
    local: /var/emhome/admin/cpconfig.cfg remote: cpconfig.cfg
    ftp: local: /var/emhome/admin/cpconfig.cfg: No such file or directory

    I've probally got the syntax wrong but can't find any references on the web to it and would appreciate some help.

  2. #2
    Join Date
    2006-07-28
    Location
    San Francisco, USA
    Posts
    2,494
    Rep Power
    16

    Default Re: CPINFO

    Can you run "ls /var/emhome/admin/" and show us the output. Are you sure that the file you want to send is called cpconfig.cfg?

    And you really should be using scp to move files like that around, not ftp, and especially not tftp.

  3. #3
    Join Date
    2009-02-03
    Posts
    4
    Rep Power
    0

    Default Re: CPINFO

    Output as requested:

    gmd-fw[admin]# ls /var/emhome/admin/
    .clish_history .history .profile
    .cshrc .login CPCONFIG.CFG

    I tried WinSCP but couldn't get that working either - it was my 3rd party CP support that recommended FTP and TFTP LOL!

  4. #4
    Join Date
    2006-07-28
    Location
    San Francisco, USA
    Posts
    2,494
    Rep Power
    16

    Default Re: CPINFO

    Unix is case sensitive. CPCONFIG.CFG is a different file to cpconfig.cfg.

    So try your SCP/FTP command again, but use CPCONFIG.CFG as the local filename.

  5. #5
    Join Date
    2009-02-03
    Posts
    4
    Rep Power
    0

    Default Re: CPINFO

    The problem with WinSCP was that I couldn't get it to login - it wouldn't establish a connection for me to login.
    Anyway, I gav it another go last night and it worked. Managed to login and browse to the PCINFO output file.

    Thanks for your help.
    Matt

  6. #6
    Join Date
    2007-02-19
    Posts
    120
    Rep Power
    13

    Default Re: CPINFO

    You can also generate a cpinfo from within smartupdate (on your PC). When on the packages tab, right click on the device and select "generate cpinfo". It will even transfer the resultant file to your PC. Much more convenient than dealing with getting it off your gateway yourself because firewall rules do not get in the way.

  7. #7
    Join Date
    2007-08-04
    Posts
    181
    Rep Power
    13

    Default Re: CPINFO

    Matts, is it a splat box.
    Before you can use scp on a splat you to make a file called scpusers in the etc dir. In this file you put the name of the account that you want to use.

Similar Threads

  1. cpinfo
    By sleepytom in forum cpinfo/InfoView
    Replies: 3
    Last Post: 2009-11-20, 08:21
  2. DR from cpinfo
    By jyctan in forum cpinfo/InfoView
    Replies: 11
    Last Post: 2009-04-16, 08:14
  3. cpinfo Output
    By gladiatorkev in forum cpinfo/InfoView
    Replies: 4
    Last Post: 2008-09-01, 09:17
  4. cpinfo R65 and infoviewer
    By accesslimiter in forum cpinfo/InfoView
    Replies: 4
    Last Post: 2008-06-18, 05:29
  5. cpinfo
    By Ninno in forum cpinfo/InfoView
    Replies: 5
    Last Post: 2006-10-02, 07:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •