-
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

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

YuanLey 8-Port 10G Ethernet Switch, 6 x 10Gbps RJ45 Ports, 2X 10Gbe SFP+ Ports
$149.99

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box
$23.99

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M
$229.99

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.02

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99