Hi ALL,
OK - sa usual - I write to the list and always invariably forget to add
pertinent information :)
My apologies to all ...
OK - This is what I want to have done:
client call server - authenticates with server to do callback - server
hangs up and call client back - authenticates and PPP connection is
established.
I have worked thru all the above - except running pppd as non root user??
I have set-up server side dial-in - that works - I can dial-in and get a
normal login as if by telnet. That works ok - except when I need to
redial - sometimes it does not work - but we are getting off the real
problem...
OK - next I set up a dial-back user in /etc/mgetty+sendfax/login.config -
called user_callback - before the /AutoPPP/ section in the login.config
scripty (otherwise the calback does not work ..) with the following line:
user_callback - - /usr/sbin/callback -S 253
the 253 is the number to callback - this is increasing the security - so
other people cannot dial-in and put their own number in !!
OK - I have a script that runs on the Win98 side - and the Linux client
side:
Win98 script is as follows:
proc main
waitfor "ogin: "
transmit "user_callback^M"
waitfor "RING"
transmit "ATA^M"
waitfor "ogin: "
transmit $USERID
transmit "^M"
waitfor "assword: "
transmit $PASSWORD
transmit "^M"
waitfor "> "
transmit "pppd^M"
endproc
This script runs well - except for the second last line - which gives the
error:
Apr 18 17:28:21 tag pppd[3120]: must be root to run pppd, since itis not
setuid-root
This is where the problem lies - HOW to run ppd as another user -other
than root?????
I hope this explains everything???
Thanks again
Tonino
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs