Re: [expert] cron question

2000-06-06 Thread Ron Johnson, Jr.

Bill Shirley wrote:
 
 Before taking that route you might investigate:
 http://www.bizland.com/
 which will give you a free subdomain.bizland.com with website and e-mail.
 
 Or, if you have your own domain name but use a dynamic IP address you might
 check out:
 http://www.dyndns.com/
 along with:
 http://soa.granitecanyon.com/
 to have your domain mapped back to your dial-up IP address so you can use
 your own server for e-mail, http, etc.

http://www.dhs.org is similar to www.dyndns.com and works with 
dynamic or static IP addresses.  I don't know if dyndns.com is
free, but dhs.org and either runs on linux or *BSD.

Ron
-- 
+--+
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]   |
| Jefferson, LA  USA  WWW : [EMAIL PROTECTED] |
|  |
| Most overused words: feel, cool/kewl, fun, myBlah.com|
| Most underused word: think   |
+--+




Re: [expert] cron question

2000-06-06 Thread Anton Graham

Submitted 06-Jun-00 by Ron Johnson, Jr.:
 Bill Shirley wrote:
  
  Before taking that route you might investigate:
  http://www.bizland.com/
  which will give you a free subdomain.bizland.com with website and e-mail.
  
  Or, if you have your own domain name but use a dynamic IP address you might
  check out:
  http://www.dyndns.com/
  along with:
  http://soa.granitecanyon.com/
  to have your domain mapped back to your dial-up IP address so you can use
  your own server for e-mail, http, etc.
 
 http://www.dhs.org is similar to www.dyndns.com and works with 
 dynamic or static IP addresses.  I don't know if dyndns.com is
 free, but dhs.org and either runs on linux or *BSD.

dyndns.com is free for subdomain.dyndns.com, and provide for a
small fee dynamic dns hosting for your own domain.

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [expert] cron question

2000-06-05 Thread Tom Berger

On Sun, 04 (06/00) at 18:44 +, Fran Parker [EMAIL PROTECTED] wrote:
 Isn't running netscape as root dangerous?
 
 Bambi
---tom:--- 

Isn't running Netscape at all dangerous? ;)

tom


 
 
 "Michael E. Shea" wrote:
 
  Alex V Flinsch wrote:
 
   On Sun, 04 Jun 2000, you wrote:
I am trying to get dynamip (www.dynamip.com) to work with my linux box
and cable modem connection. Dynamip gives you a
"subdomain.dynamip.com" address for $3 buck a month. To get their
service to work with Linux, I will have to use cron to force netscape
to open a specific url every 15 minutes. I am in the process of
putting together some scripts to do just that.
   
As a test, I did the following.
I made a file called "netscapetab" with the contents:
   
#Start of netscapetab
   
   #! /bin/sh
   
   netscape  -noraise -remote 'openurl(http://www.news.com)'
   
#End of netscapetab
   
   
I did a "chkmod +x netscapetab" to make the script executable. Run
from the shell, this script will find the first open netscape window
and load up the News.com web site.
   
As a test of cron I modified my crontab as follows
   
   
#Start of crontab
   
   SHELL=/bin/bash
   PATH=/sbin:/bin:/usr/sbin:/usr/bin
   MAILTO=root
   HOME=/
   
   # run-parts
   01  * * * * root run-parts /etc/cron.hourly
   02  4 * * * root run-parts /etc/cron.daily
   22  4 * * 0 root run-parts /etc/cron.weekly
   42  4 1 * * root run-parts /etc/cron.monthly
   */1 * * * * root /usr/bin/netscapetab
   
   # Mandrake-Security : if you remove this comment, remove the next line too.
   0   0 * * *root/etc/security/msec/cron-sh/security.sh
   
#End of crontab
   
Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
browser window does not open News.com.
   
Any ideas.
  
   idea 1  --
  
   your script is running as root, your open netscape window isn't, and
   can't be found
  
   idea 2 --
  
   do you really need to waste all that memory running netscape to get
   the url? From the above, you just need to hit some website every few minutes to
   have your dynamic ip assignment working. And I assume that news.com is not the
 
   real website that you need to hit, it's probablly something on dynamip.com. Why
   not try something like
  
   wget -O /dev/null http://www.news.com
  
   in your crontab instead?
  
--
   Alex
   (Go easy on me, I'm a COBOL programmer in real life)
 
  Idea 1 is not the problem, as I ran netscape as root. But idea 2 I really like. I
  did not know about the wget program.  I am going to give that a try.
---end quoted text---

-- 
Thomas 'tom' Berger, [EMAIL PROTECTED], http://www.mandrakeuser.org/
"Alice moving under skies
Never seen by waking-eyes"
All advice provided without warranty of any kind. I *may* be wrong ...




Re: [expert] cron question

2000-06-05 Thread Charles Curley

On Mon, Jun 05, 2000 at 07:30:34AM +0200, Sebastian Dransfeld wrote:
- On Sun, 4 Jun 2000, Alex V Flinsch wrote:
- 
-  idea 2 --
-  
-  do you really need to waste all that memory running netscape to get
-  the url? From the above, you just need to hit some website every few minutes to
-  have your dynamic ip assignment working. And I assume that news.com is not the
-  real website that you need to hit, it's probablly something on dynamip.com. Why
-  not try something like 
-  
-  wget -O /dev/null http://www.news.com 
-  
-  in your crontab instead?
- 
- Or use lynx.
- 
- seb

If all you need to do is keep your net connection alive, use ping
instead. It uses ICMP, which imposes much less traffic on the net than
HTTP.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley




Re: [expert] cron question

2000-06-05 Thread Fran Parker

You have a good point about netscrappy :)

But truthfully...running any internet stuff as root is just not wise.

Bambi



Tom Berger wrote:

 On Sun, 04 (06/00) at 18:44 +, Fran Parker [EMAIL PROTECTED] wrote:
  Isn't running netscape as root dangerous?
 
  Bambi
 ---tom:---

 Isn't running Netscape at all dangerous? ;)

 tom

 
 
  "Michael E. Shea" wrote:
 
   Alex V Flinsch wrote:
  
On Sun, 04 Jun 2000, you wrote:
 I am trying to get dynamip (www.dynamip.com) to work with my linux box
 and cable modem connection. Dynamip gives you a
 "subdomain.dynamip.com" address for $3 buck a month. To get their
 service to work with Linux, I will have to use cron to force netscape
 to open a specific url every 15 minutes. I am in the process of
 putting together some scripts to do just that.

 As a test, I did the following.
 I made a file called "netscapetab" with the contents:

 #Start of netscapetab

#! /bin/sh

netscape  -noraise -remote 'openurl(http://www.news.com)'

 #End of netscapetab


 I did a "chkmod +x netscapetab" to make the script executable. Run
 from the shell, this script will find the first open netscape window
 and load up the News.com web site.

 As a test of cron I modified my crontab as follows


 #Start of crontab

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01  * * * * root run-parts /etc/cron.hourly
02  4 * * * root run-parts /etc/cron.daily
22  4 * * 0 root run-parts /etc/cron.weekly
42  4 1 * * root run-parts /etc/cron.monthly
*/1 * * * * root /usr/bin/netscapetab

# Mandrake-Security : if you remove this comment, remove the next line 
too.
0   0 * * *root/etc/security/msec/cron-sh/security.sh

 #End of crontab

 Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
 browser window does not open News.com.

 Any ideas.
   
idea 1  --
   
your script is running as root, your open netscape window isn't, and
can't be found
   
idea 2 --
   
do you really need to waste all that memory running netscape to get
the url? From the above, you just need to hit some website every few minutes to
have your dynamic ip assignment working. And I assume that news.com is not the
  
real website that you need to hit, it's probablly something on dynamip.com. Why
not try something like
   
wget -O /dev/null http://www.news.com
   
in your crontab instead?
   
 --
Alex
(Go easy on me, I'm a COBOL programmer in real life)
  
   Idea 1 is not the problem, as I ran netscape as root. But idea 2 I really like. I
   did not know about the wget program.  I am going to give that a try.
 ---end quoted text---

 --
 Thomas 'tom' Berger, [EMAIL PROTECTED], http://www.mandrakeuser.org/
 "Alice moving under skies
 Never seen by waking-eyes"
 All advice provided without warranty of any kind. I *may* be wrong ...




[expert] cron question

2000-06-04 Thread root

I am trying to get dynamip (www.dynamip.com) to work with my linux box
and cable modem connection. Dynamip gives you a
"subdomain.dynamip.com" address for $3 buck a month. To get their
service to work with Linux, I will have to use cron to force netscape
to open a specific url every 15 minutes. I am in the process of
putting together some scripts to do just that.

As a test, I did the following.
I made a file called "netscapetab" with the contents:

#Start of netscapetab

   #! /bin/sh

   netscape  -noraise -remote 'openurl(http://www.news.com)'

#End of netscapetab

 
I did a "chkmod +x netscapetab" to make the script executable. Run
from the shell, this script will find the first open netscape window
and load up the News.com web site.

As a test of cron I modified my crontab as follows


#Start of crontab

   SHELL=/bin/bash
   PATH=/sbin:/bin:/usr/sbin:/usr/bin
   MAILTO=root
   HOME=/

   # run-parts
   01  * * * * root run-parts /etc/cron.hourly
   02  4 * * * root run-parts /etc/cron.daily
   22  4 * * 0 root run-parts /etc/cron.weekly
   42  4 1 * * root run-parts /etc/cron.monthly
   */1 * * * * root /usr/bin/netscapetab

   # Mandrake-Security : if you remove this comment, remove the next line too.
   0   0 * * *root/etc/security/msec/cron-sh/security.sh

#End of crontab

Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
browser window does not open News.com.

Any ideas.




Re: [expert] cron question

2000-06-04 Thread Pj

I'm going to insert my foot on this one, but... as I understand it
News Groups are not like email per se and can only be received on your
local dial up. 

I base this on my own experience. I have two ISP accounts; one local one
out of state. I connect locally to retrieve/send mail from the second
ISP. I cannot get NEWS from the second ISP without logging onto that
account. I do not know if this is defacto or a pecularity of that
particular ISP. 

Please don't flame me if I am wrong. I don't belong to a news group. 

Pj 
[EMAIL PROTECTED]




Re: [expert] cron question

2000-06-04 Thread Alex V Flinsch

On Sun, 04 Jun 2000, you wrote:
 I am trying to get dynamip (www.dynamip.com) to work with my linux box
 and cable modem connection. Dynamip gives you a
 "subdomain.dynamip.com" address for $3 buck a month. To get their
 service to work with Linux, I will have to use cron to force netscape
 to open a specific url every 15 minutes. I am in the process of
 putting together some scripts to do just that.
 
 As a test, I did the following.
 I made a file called "netscapetab" with the contents:
 
 #Start of netscapetab
 
#! /bin/sh
 
netscape  -noraise -remote 'openurl(http://www.news.com)'
 
 #End of netscapetab
 
  
 I did a "chkmod +x netscapetab" to make the script executable. Run
 from the shell, this script will find the first open netscape window
 and load up the News.com web site.
 
 As a test of cron I modified my crontab as follows
 
 
 #Start of crontab
 
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
 
# run-parts
01  * * * * root run-parts /etc/cron.hourly
02  4 * * * root run-parts /etc/cron.daily
22  4 * * 0 root run-parts /etc/cron.weekly
42  4 1 * * root run-parts /etc/cron.monthly
*/1 * * * * root /usr/bin/netscapetab
 
# Mandrake-Security : if you remove this comment, remove the next line too.
0   0 * * *root/etc/security/msec/cron-sh/security.sh
 
 #End of crontab
 
 Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
 browser window does not open News.com.
 
 Any ideas.


idea 1  --

your script is running as root, your open netscape window isn't, and
can't be found

idea 2 --

do you really need to waste all that memory running netscape to get
the url? From the above, you just need to hit some website every few minutes to
have your dynamic ip assignment working. And I assume that news.com is not the
real website that you need to hit, it's probablly something on dynamip.com. Why
not try something like 

wget -O /dev/null http://www.news.com 

in your crontab instead?

 -- 
Alex
(Go easy on me, I'm a COBOL programmer in real life)




Re: [expert] cron question

2000-06-04 Thread Michael E. Shea

Alex V Flinsch wrote:

 On Sun, 04 Jun 2000, you wrote:
  I am trying to get dynamip (www.dynamip.com) to work with my linux box
  and cable modem connection. Dynamip gives you a
  "subdomain.dynamip.com" address for $3 buck a month. To get their
  service to work with Linux, I will have to use cron to force netscape
  to open a specific url every 15 minutes. I am in the process of
  putting together some scripts to do just that.
 
  As a test, I did the following.
  I made a file called "netscapetab" with the contents:
 
  #Start of netscapetab
 
 #! /bin/sh
 
 netscape  -noraise -remote 'openurl(http://www.news.com)'
 
  #End of netscapetab
 
 
  I did a "chkmod +x netscapetab" to make the script executable. Run
  from the shell, this script will find the first open netscape window
  and load up the News.com web site.
 
  As a test of cron I modified my crontab as follows
 
 
  #Start of crontab
 
 SHELL=/bin/bash
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 MAILTO=root
 HOME=/
 
 # run-parts
 01  * * * * root run-parts /etc/cron.hourly
 02  4 * * * root run-parts /etc/cron.daily
 22  4 * * 0 root run-parts /etc/cron.weekly
 42  4 1 * * root run-parts /etc/cron.monthly
 */1 * * * * root /usr/bin/netscapetab
 
 # Mandrake-Security : if you remove this comment, remove the next line too.
 0   0 * * *root/etc/security/msec/cron-sh/security.sh
 
  #End of crontab
 
  Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
  browser window does not open News.com.
 
  Any ideas.

 idea 1  --

 your script is running as root, your open netscape window isn't, and
 can't be found

 idea 2 --

 do you really need to waste all that memory running netscape to get
 the url? From the above, you just need to hit some website every few minutes to
 have your dynamic ip assignment working. And I assume that news.com is not the

 real website that you need to hit, it's probablly something on dynamip.com. Why
 not try something like

 wget -O /dev/null http://www.news.com

 in your crontab instead?

  --
 Alex
 (Go easy on me, I'm a COBOL programmer in real life)

Idea 1 is not the problem, as I ran netscape as root. But idea 2 I really like. I
did not know about the wget program.  I am going to give that a try.




Re: [expert] cron question

2000-06-04 Thread Fran Parker

Isn't running netscape as root dangerous?

Bambi


"Michael E. Shea" wrote:

 Alex V Flinsch wrote:

  On Sun, 04 Jun 2000, you wrote:
   I am trying to get dynamip (www.dynamip.com) to work with my linux box
   and cable modem connection. Dynamip gives you a
   "subdomain.dynamip.com" address for $3 buck a month. To get their
   service to work with Linux, I will have to use cron to force netscape
   to open a specific url every 15 minutes. I am in the process of
   putting together some scripts to do just that.
  
   As a test, I did the following.
   I made a file called "netscapetab" with the contents:
  
   #Start of netscapetab
  
  #! /bin/sh
  
  netscape  -noraise -remote 'openurl(http://www.news.com)'
  
   #End of netscapetab
  
  
   I did a "chkmod +x netscapetab" to make the script executable. Run
   from the shell, this script will find the first open netscape window
   and load up the News.com web site.
  
   As a test of cron I modified my crontab as follows
  
  
   #Start of crontab
  
  SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
  
  # run-parts
  01  * * * * root run-parts /etc/cron.hourly
  02  4 * * * root run-parts /etc/cron.daily
  22  4 * * 0 root run-parts /etc/cron.weekly
  42  4 1 * * root run-parts /etc/cron.monthly
  */1 * * * * root /usr/bin/netscapetab
  
  # Mandrake-Security : if you remove this comment, remove the next line too.
  0   0 * * *root/etc/security/msec/cron-sh/security.sh
  
   #End of crontab
  
   Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
   browser window does not open News.com.
  
   Any ideas.
 
  idea 1  --
 
  your script is running as root, your open netscape window isn't, and
  can't be found
 
  idea 2 --
 
  do you really need to waste all that memory running netscape to get
  the url? From the above, you just need to hit some website every few minutes to
  have your dynamic ip assignment working. And I assume that news.com is not the

  real website that you need to hit, it's probablly something on dynamip.com. Why
  not try something like
 
  wget -O /dev/null http://www.news.com
 
  in your crontab instead?
 
   --
  Alex
  (Go easy on me, I'm a COBOL programmer in real life)

 Idea 1 is not the problem, as I ran netscape as root. But idea 2 I really like. I
 did not know about the wget program.  I am going to give that a try.




RE: [expert] cron question

2000-06-04 Thread Bill Shirley

Before taking that route you might investigate:
http://www.bizland.com/
which will give you a free subdomain.bizland.com with website and e-mail.

Or, if you have your own domain name but use a dynamic IP address you might
check out:
http://www.dyndns.com/
along with:
http://soa.granitecanyon.com/
to have your domain mapped back to your dial-up IP address so you can use
your own server for e-mail, http, etc.

I haven't found the time to get this working for myself, but I belive it can
be done.

Hope this helps,
Bill



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of root
Sent: Sunday, June 04, 2000 3:37 PM
To: [EMAIL PROTECTED]
Subject: [expert] cron question


I am trying to get dynamip (www.dynamip.com) to work with my linux box
and cable modem connection. Dynamip gives you a
"subdomain.dynamip.com" address for $3 buck a month. To get their
service to work with Linux, I will have to use cron to force netscape
to open a specific url every 15 minutes. I am in the process of
putting together some scripts to do just that.

As a test, I did the following.
I made a file called "netscapetab" with the contents:

#Start of netscapetab

   #! /bin/sh

   netscape  -noraise -remote 'openurl(http://www.news.com)'

#End of netscapetab


I did a "chkmod +x netscapetab" to make the script executable. Run
from the shell, this script will find the first open netscape window
and load up the News.com web site.

As a test of cron I modified my crontab as follows


#Start of crontab

   SHELL=/bin/bash
   PATH=/sbin:/bin:/usr/sbin:/usr/bin
   MAILTO=root
   HOME=/

   # run-parts
   01  * * * * root run-parts /etc/cron.hourly
   02  4 * * * root run-parts /etc/cron.daily
   22  4 * * 0 root run-parts /etc/cron.weekly
   42  4 1 * * root run-parts /etc/cron.monthly
   */1 * * * * root /usr/bin/netscapetab

   # Mandrake-Security : if you remove this comment, remove the next line
too.
   0   0 * * *root/etc/security/msec/cron-sh/security.sh

#End of crontab

Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
browser window does not open News.com.

Any ideas.





Re: [expert] cron question

2000-06-04 Thread Sebastian Dransfeld

On Sun, 4 Jun 2000, Alex V Flinsch wrote:

 idea 2 --
 
 do you really need to waste all that memory running netscape to get
 the url? From the above, you just need to hit some website every few minutes to
 have your dynamic ip assignment working. And I assume that news.com is not the
 real website that you need to hit, it's probablly something on dynamip.com. Why
 not try something like 
 
 wget -O /dev/null http://www.news.com 
 
 in your crontab instead?

Or use lynx.

seb