RHITMacMan
Registered
I have been trying to figure out a way to write a script or execute a command from the terminal to dialup my ISP using PPPd. I notice when I type 'ps -ax' that there is a process for PPPd with part of the command. The problem is that the command is too long and it doesn't fit on the screen. I've tried redirecting the output to a text file but it still only captures a partial length of the command. The command is initiated by the Internet Connect GUI app, but I want to be able to do it from the terminal. Here's what I've been able to capture..
So I am wondering if there is a way to capture the whole length of the command so I can execute it from the terminal myself. I'd like to be able to do this remotely over an SSH session. Let me know if you have any ideas.
Code:
pppd serviceid 0 debug logfile /tmp/ppp.log /dev/cu.modem 115200 connect /usr/libexec/CCLEngine -l 0 -f '/
Library/Modem Scripts/Apple Internal 56K Modem (v.90)' -v -T '555-5555' -E -S 150 -s 1 -e 1 -c 1 -p 0 -d 0 -C 'Cancel' -I
'Internet Connect' -i 'file://localhost/System/Library/SystemConfiguration/PPPControll
So I am wondering if there is a way to capture the whole length of the command so I can execute it from the terminal myself. I'd like to be able to do this remotely over an SSH session. Let me know if you have any ideas.