I'm quite tired or I'd spend more time to try an help out here..If you
don't get it going this way let me know and I'll try harder tomorrow when
I'm awake. =)

http://www.valleynet.bc.ca/~dan/autoppp.html

It sounds like you can leave mgetty alone.
You should compile and install a fresh ppp-2.2.0g with the static patch
Then make the /etc/ppp/statics file.

Hopefully with this in place you won't need an any IP's in the
/etc/ppp/options.ttySwhatever file.

Have a look at /var/log/messages

less /var/log/messages then hit ctrl-f ctrl-c will take you out of live
viewing allowing you to scrollup that file. Find the error that is keeping
you from connecting then post it.

Good Luck.


Dan

At 04:09 PM 6/13/98 +0200, you wrote:
>Hi!
>
>I have a small Ethernet network with 2 PCs with Windows95/NT4.0 and a PC
>running RedHat 5.0 as server. I have also already a PPP connection from the
>server to the Internet through a provider. I have only one phone line
>available.
>
>Now I have bought a notebook with Windows95 and I would like to connect it
>to the LAN either with an Ethernet interface when I'm in the office or
>through a PPP modem connection, when I'm far away. 
>
>On my RedHat 5.0 server I have configured PPP to connect with my ISP with
>ppp0 on /dev/ttyS0 (I configured it with the graphical tool). I'm getting
>the ppp0 IP-address from my provider dynamically when I create a
>connection. I'm using PAP and everything works fine.
>
>On the same ttyS0 I have configured mgetty and now I can login on my RedHat
>server through a modem connection from a notebook. It also works fine. I
>can also receive faxes on the same line (ttyS0) and they are saved on the
>hard disk.
>
>Now I would like to dial-in also with a PPP connection from the notebook.
>I have read that it's possible to configure PPP so that it works on the
>same serial line (in this case /dev/ttyS0 with ppp0). A problem may be that
>the same ppp0 in one case is getting its IP-address dynamically from the
>ISP and in the other case, acting as "server" has to have either a static
>IP-address or to get it from the notebook that is trying to connect as
client.
>
>I have tryed a lot also with uncommenting the /AutoPPP/ line in the
>login.config file for mgetty. The line I have used is:
>
>/AutoPPP/ - a_ppp /usr/sbin/pppd -detach auth -chat +pap login kdebug 7 debug
>
>I have cheched that AutoPPP is active in mgetty. Using the following command
>
>  strings $(which mgetty) | grep PPP
>
>results in following lines:
>
>  getlogname (AUTO_PPP), read:
>  /AutoPPP/
>
>I've read in an old message in the redhat mail list, that I can check this
>way that mgetty is compiled with the AUTOPPP option.
>
>Unfortunately although I have read many messages concerning AutoPPP on the
>mailing list, I couldn't find enough information for my case. I need to
>connect from the LAN (RedHat server) to the Internet (dynamic-IP address)
>and to connect from the notebook with PPP through the same /dev/ttyS0 to
>the LAN (static or dynamic IP-address?).
>
>Now assuming that the right way is with AutoPPP:
>- I'm using ppp0, what's a_ppp a few lines above?
>- Does I need a clone of ppp0? or an alias? I didn't find any info about both
>  features of the graphical interface (what are they used for?).
>- Does I need to declare an a_ppp interface with the control_panel or
>  will it be created automatically?
>- Is a_ppp mapped to ppp0 and using /dev/ttyS0?
>
>When I try to login from the notebook with PPP the PAP authorization fails,
>and I don't know:
>- Does I have to log in with one of the users/passwords declared in the
>  passwd file or does I have to log in as AutoPPP?
>- In this case does I have to create an AutoPPP user?
>- An other possibility could be to use other special PPP passwords for the
>  same users and declare them in the pap-secrets file?
>
>How does I have to proceed?
>
>Thanks a lot in advance!
>
>Enrico


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to