Discuss EVDO PC Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards. Discuss Verizon and Sprint Coverage. CradlePoint CTR350 / PHS300/ MBR1000 & Kyocera KR1 / KR2 & LinkSys WRT54G3G-ST Forums!
EVDOforums.com
Discussion forum for EVDO users
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Our sites Include: EVDO Info :: EVDO Forums :: EVDO Maps :: EVDO Blog :: 3Gstore.com

To purchase your EVDO Card / Antenna / Amplifier / Router from the EVDO Experts, just contact us!

cron jobs on KR1?

 
Post new topic   Reply to topic    EVDOforums.com Forum Index -> Kyocera KR1 / KR2 Router Support Forum
View previous topic :: View next topic  
Author Message
boerio
EVDO Fledgling


Joined: 29 Mar 2006
Posts: 22

PostPosted: Wed May 03, 2006 10:40 am    Post subject: cron jobs on KR1? Reply with quote

So this might be for tz1, since he's been hacking the KR1 a lot.

Are there any default cron jobs on the KR1? Perhaps something that checks to see if the pppd daemon is actually running?

I notice from time to time in the log file that the /bin/ip-down will get run after pppd exits ("Terminating on signal 15"). Searches on Google seem to indicate that Signal 15 is when the pppd detects a hangup.

So is there something that automatically causes the KR1 to reconnect? Is it in cron? Or does the /bin/ip-down script try to run /bin/ip-up?

- Jeff
Back to top
View user's profile Send private message
Mackieman
EVDO Junkie


Joined: 31 Oct 2005
Posts: 453

PostPosted: Wed May 03, 2006 10:48 am    Post subject: Reply with quote

The PPPd is designed to ping a list of hosts every 30 seconds to determine if the link is still live. If it isn't, the reconnect/reset process begins. I'm currently greazing the cogs in my head trying to come up with a nicer way to accomplish this.

Anyway, that function is coded into the PPPd; KR1 does not use cron jobs that I am aware of.
Back to top
View user's profile Send private message
PrimeSuspect
EVDO Newbie


Joined: 03 May 2006
Posts: 8

PostPosted: Wed May 03, 2006 10:56 am    Post subject: Reply with quote

The current method definitely doesn't seem to be the most efficient. Not to mention it doesn't take into account if there are any routing issues between your connection and the list of hosts it is trying to ping. This could also be another reason why some people don't get as good of performance on the KR1 as they do with the EVDO card in their laptop. I would at least think that you could skip the ping test if any traffic has recently went across the WAN link?
Back to top
View user's profile Send private message
boerio
EVDO Fledgling


Joined: 29 Mar 2006
Posts: 22

PostPosted: Wed May 03, 2006 12:30 pm    Post subject: Reply with quote

I'm no network genius by any stretch of the imagination. (When I got hired into my role as a sys admin, I had a 1hr interview with a network guy. After he asked me all his questions, to which I answered almost all of them with "I don't know", we still had 45 minutes to kill.)

But to characterize "live connections" via a ping command doesn't seem to be the right thing to do. Or maybe it is. Are the sites that are used for this contact the upstream DNS server or the gateway? Or are they known IP addresses to the KR1?

If the ping addresses are internally generated by the KR1, is that the right thing to do? What if there's some network flop going on and the ones it tries to connect to are off the air? Initiate a restart, even though its connection is still alive otherwise?

Any way to watch traffic and say that "any network traffic in the past 30 seconds?" If that fails, try generating some network traffic (RPC info? ping? otherwise?).

Or maybe if the IP addresses were generated from the route table? But that's pretty limited, probably.

- Jeff
Back to top
View user's profile Send private message
tz1
EVDO Junkie


Joined: 29 Sep 2005
Posts: 427
Location: http://kr1gps.dyndns.org:8888/

PostPosted: Thu May 04, 2006 8:00 am    Post subject: Reply with quote

There is no cron job as such, but as MM pointed out there is a periodic ping watchdog. The "webs" program may have threads which act like cron, but I'm not certain about that.

I know of no clearly periodic process on the KR1 - they are all event driven.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EVDOforums.com Forum Index -> Kyocera KR1 / KR2 Router Support Forum All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum








Sprint Rev A USB: Compass 597



Sprint Rev A ExpressCard: Merlin EX720


Purchase an V740 Rev A ExpressCard


Sprint U727


CTR350 Router


CradlePoint PHS300


Purchase a MBR1000


Purchase an EVDO Booster Antenna

Purchase a LinkSys 3G Router



Purchase an EVDO Amplifier


Your Mac EVDO Experts









EVDO Antenna Booster





Digg Us :: del.icio.us :: technorati :: furl

4G :: 4G Forums :: PHS300 :: MBR1000 :: KR2