From: winsor (winsor@wi.net)
Date: Sun Mar 19 2000 - 09:41:47 CET
Michele,
I merely
modified /setup/ppp.fun(edits below) to "Not" update
/etc/ppp/options(also below) file after initial configuration and save
and created /etc/ppp/options.ttyS#(8^P) contents of which I can give. as
well as created "go" (starts pppd deamon)which is also below
modifications to inittab await yet.to allow both incoming and outgoing
at same time..but finished tonight I'm sure.....any questions??
It's after 2am here and I'm tired:) probably forgetting some detail or
another
thttpd is 45K :)
---------------/etc/ppp/options----------------
asyncmap 0
netmask 255.255.255.0
proxyarp
lock
crtscts
modem
-----------------------------------------------
-------------/etc/ppp/options.ttyS# (0) in my case--first number local
second assigned to incoming agetty---------
192.168.0.10:192.168.0.12
--------------------------------------------------------------
-----------/setup/fun/ppp.fun--------------------------------
(mods start here in your setup/fun/ppp.fun file (I just put comment # in
to modify))
# Create /etc/ppp/options base
#cat > /etc/ppp/options <<END
#$MODEM_DEVICE ${SPEED}
#lock $CONNECT
#debug
#$IPDEFAULT
#$DEFAULTROUTE
#$SPECIFIC
#$OTHER_OPTIONS
#END
# authentication type
case "$METHOD" in
*pap*|*PAP*)
#echo "user ${LOGIN}" >> /etc/ppp/options
cat <<END > /etc/ppp/pap-secrets
${LOGIN} * ${PASSWORD}
END
;;
*chap*|*CHAP*)
#echo "user ${LOGIN}" >> /etc/ppp/options
#cat > /etc/ppp/chap-secrets <<END
#${LOGIN} * ${PASSWORD}
END
;;
*chat*|*CHAT*)
cat <<END >> /etc/ppp/chat-ppp0
${LOGIN_PROMPT} \\d\\q${LOGIN}
${PASSWORD_PROMPT} \\q${PASSWORD}
${FINAL_EXPECT_SEND_PAIR}
END
;;
esac
# DNS settings
if [ "${NAMESERVER}" ] ; then
echo "search" > /etc/resolv.conf
echo "nameserver ${NAMESERVER}" >>/etc/resolv.conf
fi
}
----------------------------------------------------------
-----------------create "psuedo-bina-script thingie8^P-----
-----------------filename----/usr/bin/go--chmod 755----------------
#!/bin/sh
exec /usr/bin/pppd -detach
----------------------------------------------------------
user opens a terminal after dialing
logs in, and types
go
at the prompt
when "ppp garbage" shows in terminal #change initstring in inittab to
ATE1 etc??
exit terminal with no reset "or" continue under under goofy terminal
with netscape netscape 3.0#
opens browser and heads for the gateway*grin* or local files or internal
net etc etc
Michele Andreoli wrote:
>
> On Sat, Mar 18, 2000 at 10:54:12PM -0600, winsor nicely wrote:
> > just reporting that I've gotten pppd running in dial-in mode.
>>(clipped)
> > signed
> > winsor
>
> I'm interested. Please, explains step-by-step what you did and I
> will provide a script to automatize the setup.
>
> > BTW I've also managed to get thttpd(http deamon) running under muLinux.
>
> About httpd server in muLinux: I can put Boa Web server in MISC: it is
> only 60K and work satisfactorily.
>
> Michele
>
> --
> I'd like to conclude with a positive statement, but I can't
> remember any. Would two negative ones do? -- Woody Allen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
> For additional commands, e-mail: mulinux-help@sunsite.auc.dk
-- The more I use Linux, the harder Windows becomes to use. Point and click software is too restrictive and difficult to do anything productive with. --------------------------------------------------------------------- To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:13 CET