On Sun, 16 May 1999, Bernie Somes wrote:

> Hello, I seems to be having a problem getting my pppd and mgetty to cooperate.
> I am using pppd 2.3.7 in conjunction with mgetty 1.1.19 on my Slackware 3.4
> Linux 2.0.36 box.

I had some difficulties with this kind of setup which seemed to go away
when I installed a late 2.1.x kernel.  Now, I would try the latest 2.2.x
kernel.  I don't exactly understand, now 2.2 is pretty stable, why you
want to do it on 2.0.36.

> voice/data/fax modem on ttyS1 as well as a USR 28.8 external on ttyS0.  I
> have     over come modem initialization errors in the chat sequence from
> the mgetty.config
> so now the modems init and respawn correctly and do answer the incoming call.
> I have AUTO_PPP configed but the peers seem to fail negotiating a set of
> protocols.

In what way?  You seem to be referring to something the pppd logging has
told you.  Perhaps you could post the specifics from the log file.

> I used win95 dial-up networking as well as an old trumpet winsock dialer.
> I have also tried using a ppp shell script that gets called from the dialer
> script.
> All this seems to get called well enough but ppp doesn't establish a
> connections.
> I assume this is because my box does not have a gateway or calls to
> ifconfig and route??  Anyway I can set this up dynamically so that the

The W95 machine only needs to accept that the PPP link is the default
route, and I think it always does that.  With a Linux client you would use
the 'defaultroute' option.  pppd sets up the interface--there is no need
for ifconfig to create it, but once the link is up ifconfig will list it.

What options are you using on the server end?

If you are using Auto_PPP I think you must be giving the client a dynamic
IP address.  How are you doing that?

> route and ifconfig set themselves up?
> 
> 2).  I have tried having ttyS0 connect to my isp (the 28.8 external) and
> tried having the above mentioned ppp shell script setup the defaultroute as
> my ip address as given me by my isp (it is dynamic).  But still, when I
> dial-in to my linuxbox the peers do not establish a connection.  I am
> obviously doing something wrong and I am not inclined to give up.

You seem to be confusing two things.  Debug the link between your Linux
box and the ISP, and then turn your attention to the link between your
Linux box and its client.

Your server and your client can't have the same IP address.  Refer to
RFC1918, Address Allocation for Private Internets, choose a private
address space, install a 2.2.x kernel and ipchains, and configure a setup
which masquerades the private address that you will give to the client. 

On my reading of this you want your server to demand-dial the ISP when
your client has got a link to your server and goes to use the default
route.  Use the 'demand' option on the ISP link, and I guess that will
work.




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

Reply via email to