Welcome to iraf.net Thursday, April 25 2024 @ 09:08 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Start IRAF without internet connection
   
jmiguel
 05/19/2014 05:19PM (Read 3434 times)  
+----
Newbie

Status: offline


Registered: 12/12/2007
Posts: 14
Dear all,

I would like to know if there is some way to config IRAF when
the computer has no internet connection in order to avoid the next warning:

cannot access host 'iraf.noao.edu:80'

I have next versions:

- PC-IRAF Revision 2.16.1
- PyRAF 2.1.6
- Python 2.7.6

Thanks in advance,
José-Miguel

 
Profile Email
 Quote
fitz
 05/19/2014 05:57PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

The web connection is being done with the 'chkupdate' command in the login.cl file, which you can comment-out if you have one in the local directory, and/or comment out the system template version in iraf$unix/hlib/login.cl. Pyraf does use the ".iraf" global login mechanism, however CL users using the person install option should comment out their $HOME/.iraf/login.cl file as well.

 
Profile Email
 Quote
fitz
 05/19/2014 05:58PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

BTW, this used to fail gracefully but this is the second report of a problem in the connection status not being properly detected. What OS and version are you using?

 
Profile Email
 Quote
jmiguel
 05/20/2014 08:18AM  
+----
Newbie

Status: offline


Registered: 12/12/2007
Posts: 14
Quote by: fitz


The web connection is being done with the 'chkupdate' command in the login.cl file, which you can comment-out if you have one in the local directory, and/or comment out the system template version in iraf$unix/hlib/login.cl. Pyraf does use the ".iraf" global login mechanism, however CL users using the person install option should comment out their $HOME/.iraf/login.cl file as well.




Right ! problem solved commenting-out 'checkupdate' command.

However, I have found that IRAF CL is using $HOME/.iraf/login.cl:

*** Checking update status... Your IRAF system is up to date
*** Using global login file: /home/panic/.iraf/login.cl
*** Initializing SAMP .... No Hub Available


and Pyraf does use the $HOME/iraf/login.cl (without dot).


 
Profile Email
 Quote
jmiguel
 05/20/2014 08:19AM  
+----
Newbie

Status: offline


Registered: 12/12/2007
Posts: 14
Quote by: fitz


BTW, this used to fail gracefully but this is the second report of a problem in the connection status not being properly detected. What OS and version are you using?



I am using openSuSE 13.1.


 
Profile Email
 Quote
raph38
 08/27/2014 02:56PM  
+----
Newbie

Status: offline


Registered: 05/26/2014
Posts: 3
I also have that problem, turns out it's probably because of the imposed usage of a proxy here.
does the chkupdate command accepts configuring a proxy ?

I have disabled the command for my users because they have no way of upgrading the install anyways, but would like to enable it for myself as the administrator

 
Profile Email
 Quote
fitz
 08/27/2014 03:23PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

The CHKUPDATE command is a simple socket connection to http://iraf.noao.edu and doesn't accept any configuration parameters. Is it possible on your end to exclude iraf.noao.edu from the proxy?

 
Profile Email
 Quote
raph38
 08/28/2014 06:55AM  
+----
Newbie

Status: offline


Registered: 05/26/2014
Posts: 3
Quote by: fitz


The CHKUPDATE command is a simple socket connection to http://iraf.noao.edu and doesn't accept any configuration parameters.


that's unfortunate
Is it possible on your end to exclude iraf.noao.edu from the proxy?[/p]

unfortunately that's not an option according to the security manager

 
Profile Email
 Quote
   
Content generated in: 0.36 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login