-
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
-
Senior Member
registered user
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
-
By knrh in forum General Support
Replies: 0
Last Post: 03-21-2005, 12:25 AM
-
By sci_fi in forum General Support
Replies: 3
Last Post: 11-20-2004, 03:53 AM
-
By gopikrish in forum General Support
Replies: 1
Last Post: 08-21-2004, 02:52 AM
-
By markgilmore1 in forum General Support
Replies: 1
Last Post: 02-25-2004, 04:24 PM
-
By gcoker in forum General Support
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
-
Forum Rules

M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health
$35.99

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

M2 2280 PCIe 4.0 solid-state drive high-speed storage device 1080P RO 2TB NGFF
$99.00

samsung 990 evo plus 2tb nvme m.2 ssd barely used
$250.00

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$63.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

128GB SSD M.2 PCIE NVME Solid State Drive Mix Brand Samsung, WD, SK Hynix Kioxia
$16.59

M.2 NVMe SSD 2280 Single Notch 128GB 256GB 512GB | Very Good health
$38.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Samsung 860 Evo 250GB MZ-76E250 - Internal 2.5 inch SSD
$39.50