Thanks a lot Bernhard for the help!  Now I am finished with my
installation (after a few days of hard work, huh!).  Here's my
documentation should anyone in the list be interested:

PPP Server installation:

1. download mgetty1.1.9 and compile/install the binary 
2. edit the /etc/inittab file

  S1:2345:respawn:/sbin/mgetty ttyS0

3. restart the init process (init q)
4. create the /etc/ppp/options file

   asyncmap 0
   netmask 255.255.255.0
   proxyarp
   lock
   x.x.x.x:y.y.y.y
   crtscts
   modem
   /dev/ttyS0 115200   

5. create /etc/ppp/pap-secrets file
   
   *    *       ""      *

6. edit the mgetty login.config file

   /AutoPPP/ -  a_ppp   /usr/sbin/pppd auth -chap +pap login kdebug 7 debug proxyarp
   
   **** the proxyarp allows the remote user to set the server as its
        gateway.

7. edit the mgetty mgetty.config file to contain the ff lines:

   port ttyS0
        data-only y
        direct n
        term vt100
    
   debug 4
   speed 115200
   
NOTE:   make sure that the ff modifications were done to the policy.h file
during the mgetty compilation:

    a)  #define DEVICE_GROUP "modem"     

   *** the "modem" group shld be defined in the /etc/group file

    b)  #define DEFAULT_PORTSPEED 115200

    c)  #define MODEM_INIT_STRING "ATE1V1Q0&S0&D2&C1S0=0S13=1"
   
    
     edit the makefile generated when u invoked "./configure":

    a)  CFLAGS=-O2 -Wall -pipe -DAUTO_PPP 


FOR THE LINUX CLIENT SIDE:

1.      Install ppp

2.      /etc/ppp/options file

        asyncmap 0
        lock
        modem
        crtscts
        lcp-max-configure 30
       
3.      /etc/ppp/pap-secrets file

        *       *       ""      *

4.      /etc/ppp/pppon (my script to dial)

        #!/bin/sh

        /usr/sbin/pppd kdebug 25 lock modem crtscts /dev/ttyS2 115200 defaultroute 
connect '/usr/sbin/chat -v ABORT "NO CARRIER" "" at OK atdt1234567 CONNECT "" ogin: 
"^Umyaccount" word: "\qmypasswd" \~ ""' 


It has been very helpful, though, to have included the ff lines in the
syslog.conf file:

      daemon.*;kern.*   /var/log/ppp        


it showed me where i used to get stuck.

Nenita Manaois




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to