ppp-2.3.2.tar.gzのinstall (97/12/24) ppp-2.3.2にバージョンupすると共に外からpppでつなげられるようにした。 1) ppp-2.3.2.tar.gzをgetし展開 $ tar zxvf ppp-2.3.2.tar.gz -C /usr/src $ cd /usr/src/ppp-2.3.2 2) configure & make & install $ ./configure $ su # make kernel # make # make install 3) 環境設定 /etc/ppp/optionは空にしておく # touch /etc/ppp/option /etc/ppp/pap-secrets # Secrets for authentication using PAP # client server secret IP addresses shioji "" hogehoge vwf29203 "" foobar hugahuga alice mogomogo 192.168.10.50 /etc/hostsにpppのipを追加 192.168.10.50 ppp.nisoc.org ppp /usr/local/etc/mgetty-sendfax/login.configを修正 /AutoPPP/ - a_ppp /usr/sbin/pppd -detach auth -chap +pap \ 192.168.10.10:192.168.10.50 4)pppでこのserverに繋ぐ設定 ----- /etc/ppp/pap-secrets ----- hugahuga alice mogomogo 192.168.10.50 ----- /usr/sbin/ppp-on --------- /usr/sbin/pppd lock modem crtscts /dev/cua1 38400 \ asyncmap 20A0000 192.168.10.50:192.168.10.10 \ noipdefault netmask 255.255.255.0 defaultroute \ connect /etc/ppp/ppplogin name hugahuga ;; ----- /etc/ppp/ppplogin -------- #!/bin/sh # # Home LAN # exec /usr/sbin/chat -v \ TIMEOUT 3 \ ABORT '\nLINE OFF\r' \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nNO CARRIER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' AT \ 'OK-+++\c-OK' ATZ \ TIMEOUT 30 \ OK ATDT0123456789 \ CONNECT ''