Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: dial-in server

Posted on 12-31-2001 01:39 p.m. ET  reply

Original Poster: Taboo Connections <>

Any one know whats worong with this setup?

I am trying to allow remote access to my machine via ppp, here is the setup:

# Automatic PPP startup on receipt of LCP configure request (AutoPPP).
# mgetty has to be compiled with "-DAUTO_PPP" for this to work.
# Warning: Case is significant, AUTOPPP or autoppp won't work!
# Consult the "pppd" man page to find pppd options that work for you.
# NOTE: for *some* users, the "-detach" option has been necessary, for
# others, not at all. If your pppd doesn't die after hangup, try it.
# NOTE2: "debug" creates lots of debugging info. LOOK AT IT if things
# do not work out of the box, most likely it's a ppp problem!
# NOTE3: "man pppd" is your friend!
# NOTE4: max. 9 arguments allowed.
#/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server

port ttyS1
init-chat "" ATZ OK AT&F0M2E1Q0S0=1 OK
answer-chat "" ATA CONNECT C R

asyncmap 0

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
7:2345:respawn:/sbin/mgetty ttyS1 -D /dev/ttyS1
After making these entries I "/sbin/init q"
I got the modem to answer the incoming call.
When it tried to "Log onto network" it failed and
I then edited pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
taboo * my-passwd *

when I tried to reconnect, the modem does not answer
the incoming call.
I then undid pap-secrets, and it still did not respond...
(I can succesfully dial out with this modem)

Any Suggestions?

Steve Brock

"UNIX is basically a simple operating system, but you
have to be a genius to understand the simplicity."
Dennis Ritchie.

< Previous 1 Next >

Site Contents