I want to be a PPPserver !

I want to be a PPPserver !

Post by YANG Ton » Fri, 05 Feb 1999 04:00:00



Hello !

PPP is very difficult to configure when I want to use it as server !

I found some articles and tips about it but ... not good !
So, if it possible to have a perfect script for :

  - use mgetty program
  - My modem is a USRobotics Sportster Message Plus
  - I want that the PPP client use an CHAT identification and not
    an PAP !

In fact, I search a script similare to "Internet providers" !!!

Please...and Thanks !

 
 
 

I want to be a PPPserver !

Post by Tor Arnts » Sat, 06 Feb 1999 04:00:00




Quote:

>Hello !

>PPP is very difficult to configure when I want to use it as server !

True, most descriptions apply to clients only.  However, it's actually
simple, even simpler than setting up a client.  Below I'll describe how I
did it.  However, just yesterday I found a reference to a possibly
useful document:

http://www.swcp.com/~jgentry/dialin2.html

I haven't looked at it much yet, I think it uses mgetty though (which is
what I'm using).

Here is a quick description of how I did it a while back:

- Installed pppd as per pppd's installation description

- Enabled ppp in kernel, rebuilt & restarted

- got mgetty, enabled AUTO_PPP in the Makefile (-DAUTO_PPP in CFLAGS),
  built and installed it

- In the directory /usr/local/etc/mgetty+sendfax/ I edited the file
  login.config to enable automatic PPP startup on receipt of LCP config
  request, that was just to remove a # in front of /AutoPPP something
  (Actually, I removed the whole file, made a new one, and put in this
  slightly different single line:)
  /AutoPPP/ -     a_ppp   /usr/sbin/pppd
  THEN (important, or nothing works): chmod 0600 login.config

- In /etc/inittab I put this line:
s2:45:respawn:/sbin/mgetty -x 9 -s 38400 -D /dev/ttyS1
  You must find what your own serial port is, of course.

- In /etc/ppp I have these files:

   /etc/ppp/options:
   auth
   debug
   lock
   asyncmap 0
   crtscts
   proxyarp

   /etc/ppp/chap-secrets:
   Here you just put in something like:
   username  servername  passwd ipaddress(of client)
   Let's say your user is 'santa', your server's pppd interface address
   is 'serverppp', santa's password is christmas, santa's connection should
   be given the address 'dial3' (all defined in /etc/hosts or somewhere)
   Then /etc/ppp/chap-secrets should look like this:
   santa        serverppp       "christmas"   dial3
   These /etc/ppp files should be read/writable by root only.

That's all I think.  But have a look at that web page, it could be more
useful than my description, I don't know.

- Tor

 
 
 

I want to be a PPPserver !

Post by Matt Kresse » Sat, 06 Feb 1999 04:00:00





> >Hello !

> >PPP is very difficult to configure when I want to use it as server !

> True, most descriptions apply to clients only.  However, it's actually
> simple, even simpler than setting up a client.  Below I'll describe how I
> did it.  However, just yesterday I found a reference to a possibly
> useful document:

> http://www.swcp.com/~jgentry/dialin2.html

> I haven't looked at it much yet, I think it uses mgetty though (which is
> what I'm using).

The document is OK, with a few small technical errors. Overall, though,
I think it was good, at least for beginners and I learned stuff I didn't
know %).  The author was notified of the errors.

-Matt

--

+---------  Northrop Grumman Corporation, Bethpage, NY ---------+
+---------  TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+

 
 
 

1. I am wanting a SWiM motif

Where should I go/call if I want SWiM (Motif for Linux) ?

--
---====****)))))) Sean
 aka a whole bunch of other ppls on other mushes *grin*

 ***************************
 * Don't try this at home  *
 *      Boys & Girls       *
 *********grin**************

2. pthread_cond_timedwait limitations

3. I am interested in Linux Admin, wanted to self learn, what are important things in Admin?

4. How to read a CDROM

5. minimum 2x ISDN pppserver?

6. kenrle 2.4.0 causes problems with RAID

7. Linux PPPserver:Macintosh OK, Wintel No way

8. Firewall in transparent mode

9. Linux as pppserver for Win95 boxes?

10. pppserver and routing

11. help pppserver

12. Routing [Win95]--serial--[Linux]--modem--[PPPserver]