Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Some questions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Some questions
Authored by: wfolta on May 10, '02 02:43:14PM

I don't use PPP anymore, but have two questions/suggestions:

1. What does the pppd command line look like? Looking through the pppd man page, I don't see that phone numbers or passwords should be on the command line.

2. If you invoke pppd directly (not through the connection tool or whatever it's called) you can cause it to read options from a file instead of from the commandline. That's one standard UNIX method for getting around this problem.

If it were a concern, I'd be tempted to save the pppd command line then do a man on ppd, looking at the "file" and "call" options and creating the appropriate files with the command line options in them. If you can put all the options in a file to be read with "file", you should be able to make it readable only by you, hiding everything from others.

Not sure what the implications are if you want others to be able to start PPP though.



[ Reply to This | # ]
Some questions
Authored by: Riken on May 11, '02 01:31:12AM

My PPPD output looks like this (with appropriate bits replaced):

root 382 0.0 0.1 1784 348 ?? Ss 0:00.36 pppd serviceid 0 logfile /tmp/ppp.log /dev/cu.modem 115200 connect /usr/libexec/CCLEngine -l 0 -f '/Library/Modem Scripts/Apple Internal 56K Modem (v.90)' -T '92790555' -E -S 150 -s 0 -e 1 -c 1 -p 0 -d 0 -C 'Cancel' -I 'Internet Connect' -i 'file://localhost/System/Library/SystemConfiguration/PPPController.bundle/Contents/Resources/NetworkConnect.icns' busycode 122 redialcount 1 redialtimer 30 disconnect /usr/libexec/CCLEngine -m 1 -l 0 -f '/Library/Modem Scripts/Apple Internal 56K Modem (v.90)' -E -S 150 -C 'Cancel' -I 'Internet Connect' -i 'file://localhost/System/Library/SystemConfiguration/PPPController.bundle/Contents/Resources/NetworkConnect.icns' remoteaddress PROVIDERSPHONENUMBER cancelcode 136 lcp-echo-interval 10 lcp-echo-failure 3 mru 1500 mtu 1500 receive-all ipparam 192.168.1.1 0:0 noipdefault ipcp-accept-local ipcp-accept-remote usepeerdns noauth user PLAINTEXTUSERNAME password PLAINTEXTPASSWORD forcedetach noccp plugin /System/Library/SystemConfiguration/PPPController.bundle/Contents/PlugIns/PPPDialogs.ppp noaskpassword call MYPROVIDER

Yes I suppose it could be possible to replace all this with a script but I think that would break Internet Connect. I haven't tried it and as it's not a security concern for me but keeping Internet Connect happy is I probably won't.

Bad Apple.



[ Reply to This | # ]