> > And there is one thing > > which I would qualify as a mistake in the above description: $2 is > > actually in the form "/dev/ttyS1" than just "ttyS1". > > Doh! I wish they wouldn't do that. I guess it's for some kinda > security? > > .......A. P. [EMAIL PROTECTED]<URL:http://www.onShore.com/>
Well, as it was already pointed out by someone, $2 is in exactly the same form as the option passed to pppd. (Un)fortunately, pppd is flexible enough to accept port in both /dev/ttyS1 and plain ttyS1 forms. As a result, $2 can also be in one of the above two forms. The solution would be to detect in ip-up (and ip-down) which one is used and convert it to "ttyS1" form. Alex Y. -- _ _( )_ ( (o___ +-------------------------------------------+ | _ 7 | Alexander Yukhimets | \ (") | http://pages.nyu.edu/~aqy6633/ | / \ \ +-------------------------------------------+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .