Results 1 to 2 of 2

Thread: kppp execute on connect ... only sometimes!

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    1

    kppp execute on connect ... only sometimes!

    Anyone else have the problem of kppp not always executing the command provided in the "execute on connect" field?

    There's no problem with the pathname, as it sometimes runs OK, and I'm running as root - so no problem with permissions.

    Any ideas?

    Phil

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    I had kppp running my firewall, and it didn't have (much) of a problem with it.

    The problem I found with the "execute on connect" setting, was sometimes if would fire off the "command" before I actually "connected" - i.e. sometimes kppp would fire off the "on connect" command during say... modem handshaking, at which point, it really isn't connected to a server at the other end yet, and then sometimes, it would delay a few seconds, and my "command" would be fired off after kppp actually completed connecting...

    What I would suggest... place a "sleep 5 ; [and your command]" in front of your command - that will delay the "actual" command you want - which you place right after the "sleep" part... You may want to adjust the time to your needs, the 5 will place the complete "command" into a delay of 5 seconds, before the command continues to what you want. Take note that their is spaces between the "sleep" and "5" and between "5" and the ; [semicolor] - not sure if this has to be this way, or not, but, you can try it without the spaces, and see if it works.

    I have this same "sleep" thingy in my START XScreenSaver imediately - since, when you might click on the icon, you might move your mouse a few "mickeys" and cause the screensaver to falsely think to not run.

    Hope this might help you out on your issue,
    Cuddles

Similar Threads

  1. kppp and post-connect-script
    By knrh in forum General Support
    Replies: 0
    Last Post: 03-21-2005, 12:25 AM
  2. Auto execute script after boot
    By sci_fi in forum General Support
    Replies: 3
    Last Post: 11-20-2004, 03:53 AM
  3. Can't execute a file since bad interpreter
    By gopikrish in forum General Support
    Replies: 1
    Last Post: 08-21-2004, 02:52 AM
  4. /etc/profile won't execute xterm or konsole
    By markgilmore1 in forum General Support
    Replies: 1
    Last Post: 02-25-2004, 04:24 PM
  5. Replies: 1
    Last Post: 01-31-2003, 01:38 AM

Posting Permissions

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


IBM Power 710 Express 8231-E2B POWER7 16GB DDR3 RAM 2U Rack Server No HDD. picture

IBM Power 710 Express 8231-E2B POWER7 16GB DDR3 RAM 2U Rack Server No HDD.

$409.99



Lot of 2 IBM blade center Type H chassis 8852 picture

Lot of 2 IBM blade center Type H chassis 8852

$559.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$200.00



IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power 710 Express 8231-E2B POWER7 8GB DDR3 RAM 2U Rack Server No HDD. picture

IBM Power 710 Express 8231-E2B POWER7 8GB DDR3 RAM 2U Rack Server No HDD.

$399.99



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$281.25



IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD picture

IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD

$87.96