PPP dialin server

PPP dialin server

Post by Kerry Co » Wed, 22 Dec 1999 04:00:00



Ok, I have a RedHat 6.1 machine here at work and am trying to get it so
that I can dial into it and use it to access the Internet rather than
using my ISP.  It has a 33.6 modem attached to it with a valid phone
number.  When I call in, the modem does answer and does attempt to make
a connection.  Here is the output from the /var/log/messages file.

Dec 21 09:46:44 quasi mgetty[719]: data dev=ttyS0, pid=719,
caller='none', conn='28800/ARQ/V34/LAPM/V42BIS', name='',
cmd='/usr/sbin/pppd', user='/AutoPPP/'
Dec 21 09:46:44 quasi modprobe: can't locate module char-major-108
Dec 21 09:46:44 quasi modprobe: can't locate module ppp0
Dec 21 09:46:44 quasi kernel: registered device ppp0
Dec 21 09:46:44 quasi pppd[719]: pppd 2.3.10 started by ppp, uid 0
Dec 21 09:46:44 quasi pppd[719]: Using interface ppp0
Dec 21 09:46:44 quasi pppd[719]: Connect: ppp0 <--> /dev/ttyS0
Dec 21 09:46:47 quasi kernel: PPP BSD Compression module registered
Dec 21 09:46:47 quasi kernel: PPP Deflate Compression module registered
Dec 21 09:46:47 quasi pppd[719]: found interface eth0 for proxy arp
Dec 21 09:46:47 quasi pppd[719]: local  IP address 209.181.xxx.21
Dec 21 09:46:47 quasi pppd[719]: remote IP address 209.181.xxx.20
Dec 21 09:46:50 quasi pppd[719]: CCP terminated by peer
Dec 21 09:46:50 quasi pppd[719]: Compression disabled by peer.
Dec 21 09:48:36 quasi pppd[719]: LCP terminated by peer
Dec 21 09:48:36 quasi pppd[719]: Hangup (SIGHUP)
Dec 21 09:48:36 quasi pppd[719]: Modem hangup
Dec 21 09:48:36 quasi pppd[719]: Connection terminated.
Dec 21 09:48:36 quasi pppd[719]: Connect time 1.9 minutes.
Dec 21 09:48:36 quasi pppd[719]: Sent 776 bytes, received 8757 bytes.
Dec 21 09:48:36 quasi pppd[719]: Exit.

I replaced a couple of the IP addresses with xx's for security reasons.
But as you can see it does connect from my home to the modem here at
work.  I am also able to ping the *.20 IP address while it is
connected.  But my wife while at home and connected is unable to use
Netscape or ICQ or anything else.
    Here is what I have in my /etc/ppp/options.ttyS0 file.  Again I have
replaced three numbers on each for security reasons.

    209.181.xxx.21:209.181.xxx.20

Here is what I have entered on the /etc/mgetty+sendfax/login.config
file.

    /AutoPPP/ -     ppp     /usr/sbin/pppd file /etc/ppp/options.srv

and then in the /etc/ppp/options.srv file, I have entered this.

auth
-chap
+pap
login
asyncmap 0
:209.181.xxx.20
debug
modem
crtscts
ms-dns 209.181.xxx.37
ms-dns 209.181.xxx.38
proxyarp

Everything appears to be working great.  I dial in as a user using the
correct name and password.  It authenticates, but the remote machine at
home is unable to go anywhere.
Any help would be greatly appreciated.  If you could point me to any
other files that I could consult for error messages, that might also
help.
Thanks.
KJ

--
For the very best in Linux software, www.gnuware.com

.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox         OnSat Network Communications     |

| (801) 526-6463       http://www.onsatnet.com          |
| ICQ# 37681165        http://quasi.onsatnet.com/linux/ |
`-------------------------------------------------------'

 
 
 

PPP dialin server

Post by Moritz Gmeli » Wed, 22 Dec 1999 04:00:00



>  Ok, I have a RedHat 6.1 machine here at work and am trying to get it
> so that I can dial into it and use it to access the Internet rather
> than using my ISP.  It has a 33.6 modem attached to it with a valid
> phone number.  When I call in, the modem does answer and does attempt
> to make a connection.  Here is the output from the /var/log/messages
> file.

> Dec 21 09:46:44 quasi mgetty[719]: data dev=ttyS0, pid=719,
> caller='none', conn='28800/ARQ/V34/LAPM/V42BIS', name='',
> cmd='/usr/sbin/pppd', user='/AutoPPP/'
> Dec 21 09:46:44 quasi modprobe: can't locate module char-major-108
> Dec 21 09:46:44 quasi modprobe: can't locate module ppp0
> Dec 21 09:46:44 quasi kernel: registered device ppp0
> Dec 21 09:46:44 quasi pppd[719]: pppd 2.3.10 started by ppp, uid 0
> Dec 21 09:46:44 quasi pppd[719]: Using interface ppp0
> Dec 21 09:46:44 quasi pppd[719]: Connect: ppp0 <--> /dev/ttyS0
> Dec 21 09:46:47 quasi kernel: PPP BSD Compression module registered
> Dec 21 09:46:47 quasi kernel: PPP Deflate Compression module
> registered
> Dec 21 09:46:47 quasi pppd[719]: found interface eth0 for proxy arp
> Dec 21 09:46:47 quasi pppd[719]: local  IP address 209.181.xxx.21
> Dec 21 09:46:47 quasi pppd[719]: remote IP address 209.181.xxx.20
> Dec 21 09:46:50 quasi pppd[719]: CCP terminated by peer
> Dec 21 09:46:50 quasi pppd[719]: Compression disabled by peer.
> Dec 21 09:48:36 quasi pppd[719]: LCP terminated by peer
> Dec 21 09:48:36 quasi pppd[719]: Hangup (SIGHUP)
> Dec 21 09:48:36 quasi pppd[719]: Modem hangup
> Dec 21 09:48:36 quasi pppd[719]: Connection terminated.
> Dec 21 09:48:36 quasi pppd[719]: Connect time 1.9 minutes.
> Dec 21 09:48:36 quasi pppd[719]: Sent 776 bytes, received 8757 bytes.
> Dec 21 09:48:36 quasi pppd[719]: Exit.

> I replaced a couple of the IP addresses with xx's for security
> reasons.  But as you can see it does connect from my home to the modem
> here at work.  I am also able to ping the *.20 IP address while it is
> connected.  But my wife while at home and connected is unable to use
> Netscape or ICQ or anything else.
>     Here is what I have in my /etc/ppp/options.ttyS0 file.  Again I
> have replaced three numbers on each for security reasons.

>     209.181.xxx.21:209.181.xxx.20

> Here is what I have entered on the /etc/mgetty+sendfax/login.config
> file.

>     /AutoPPP/ -     ppp     /usr/sbin/pppd file /etc/ppp/options.srv

> and then in the /etc/ppp/options.srv file, I have entered this.

> auth
> -chap
> +pap
> login
> asyncmap 0
> :209.181.xxx.20
> debug
> modem
> crtscts
> ms-dns 209.181.xxx.37
> ms-dns 209.181.xxx.38
> proxyarp

> Everything appears to be working great.  I dial in as a user using the
> correct name and password.  It authenticates, but the remote machine
> at home is unable to go anywhere.
> Any help would be greatly appreciated.  If you could point me to any
> other files that I could consult for error messages, that might also
> help.
> Thanks.
> KJ

> --
> For the very best in Linux software, www.gnuware.com

> .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
> | Kerry J. Cox         OnSat Network Communications     |

> | (801) 526-6463       http://www.onsatnet.com          |
> | ICQ# 37681165        http://quasi.onsatnet.com/linux/ |
> `-------------------------------------------------------'

  Did you turn on IP forwarding for your dialin server ?

M.

 
 
 

PPP dialin server

Post by Bill Unr » Wed, 22 Dec 1999 04:00:00



]--------------F55A715C4CB2E0B5C4E5C702
]Content-Type: text/plain; charset=us-ascii
]Content-Transfer-Encoding: 7bit

]Ok, I have a RedHat 6.1 machine here at work and am trying to get it so
]that I can dial into it and use it to access the Internet rather than
]using my ISP.  It has a 33.6 modem attached to it with a valid phone
]number.  When I call in, the modem does answer and does attempt to make
]a connection.  Here is the output from the /var/log/messages file.

]Dec 21 09:46:44 quasi mgetty[719]: data dev=ttyS0, pid=719,
]caller='none', conn='28800/ARQ/V34/LAPM/V42BIS', name='',
]cmd='/usr/sbin/pppd', user='/AutoPPP/'
]Dec 21 09:46:44 quasi modprobe: can't locate module char-major-108
]Dec 21 09:46:44 quasi modprobe: can't locate module ppp0
]Dec 21 09:46:44 quasi kernel: registered device ppp0
]Dec 21 09:46:44 quasi pppd[719]: pppd 2.3.10 started by ppp, uid 0
]Dec 21 09:46:44 quasi pppd[719]: Using interface ppp0
]Dec 21 09:46:44 quasi pppd[719]: Connect: ppp0 <--> /dev/ttyS0
]Dec 21 09:46:47 quasi kernel: PPP BSD Compression module registered
]Dec 21 09:46:47 quasi kernel: PPP Deflate Compression module registered
]Dec 21 09:46:47 quasi pppd[719]: found interface eth0 for proxy arp
]Dec 21 09:46:47 quasi pppd[719]: local  IP address 209.181.xxx.21
]Dec 21 09:46:47 quasi pppd[719]: remote IP address 209.181.xxx.20
]Dec 21 09:46:50 quasi pppd[719]: CCP terminated by peer
]Dec 21 09:46:50 quasi pppd[719]: Compression disabled by peer.
]Dec 21 09:48:36 quasi pppd[719]: LCP terminated by peer
]Dec 21 09:48:36 quasi pppd[719]: Hangup (SIGHUP)
]Dec 21 09:48:36 quasi pppd[719]: Modem hangup
]Dec 21 09:48:36 quasi pppd[719]: Connection terminated.
]Dec 21 09:48:36 quasi pppd[719]: Connect time 1.9 minutes.
]Dec 21 09:48:36 quasi pppd[719]: Sent 776 bytes, received 8757 bytes.
]Dec 21 09:48:36 quasi pppd[719]: Exit.

]I replaced a couple of the IP addresses with xx's for security reasons.
]But as you can see it does connect from my home to the modem here at
]work.  I am also able to ping the *.20 IP address while it is
]connected.  But my wife while at home and connected is unable to use
]Netscape or ICQ or anything else.
]    Here is what I have in my /etc/ppp/options.ttyS0 file.  Again I have
]replaced three numbers on each for security reasons.

]    209.181.xxx.21:209.181.xxx.20

]Here is what I have entered on the /etc/mgetty+sendfax/login.config
]file.

]    /AutoPPP/ -     ppp     /usr/sbin/pppd file /etc/ppp/options.srv

]and then in the /etc/ppp/options.srv file, I have entered this.

]auth
]-chap
]+pap
]login
]asyncmap 0
]:209.181.xxx.20
]debug
]modem
]crtscts
]ms-dns 209.181.xxx.37
]ms-dns 209.181.xxx.38
]proxyarp

]Everything appears to be working great.  I dial in as a user using the
]correct name and password.  It authenticates, but the remote machine at
]home is unable to go anywhere.
]Any help would be greatly appreciated.  If you could point me to any
]other files that I could consult for error messages, that might also

Switch on IP forwarding ( /etc/sysconfig/network under REdhat/Mandrake)
Possibly switch on proxyarp
echo 1 >/proc/sys/net/ipv4/conf/default/proxy_arp

Also make sure that you have defaultroute defined on the home machines.

 
 
 

PPP dialin server

Post by Kerry Co » Thu, 23 Dec 1999 04:00:00


Moritz,
    Ummm.  Feeling really stupid now.  I thought I had turned it on in the
kernel but I was wrong.  I set it to "yes" in /etc/sysconfig/network.
We'll see how that works now.  Thanks for the info.
KJ


>   Did you turn on IP forwarding for your dialin server ?

> M.

--

.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox         OnSat Network Communications     |

| (801) 526-6463       http://www.onsatnet.com          |
| ICQ# 37681165        http://quasi.onsatnet.com/linux/ |
`-------------------------------------------------------'

 
 
 

PPP dialin server

Post by Kerry Co » Thu, 23 Dec 1999 04:00:00


Bill,
    Thanks for the pointers.  I'm embarrassed to say that I had thought I had
compiled IP Forwarding into the kernel but had neglected to turn it on.  It's
working great now.  Thanks for the tips.  I had my wife dial in from home and
things are rocking now.
    One quick question, all I have now is one external USRobotics 33.6 modem
hooked up to my Linux box.  What is the best way to set up a bank of modems
to the same Linux box?  I'm going to be needing to provide access to several
here in the company.  It would be one valid phone number but as each modem
filled up it would switch over to another.  We just need some dial-in
capabilities for multiple users.
    Thanks again.
KJ

--
For the very best in Linux software, www.gnuware.com

.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox         OnSat Network Communications     |

| (801) 526-6463       http://www.onsatnet.com          |
| ICQ# 37681165        http://quasi.onsatnet.com/linux/ |
`-------------------------------------------------------'


> Switch on IP forwarding ( /etc/sysconfig/network under REdhat/Mandrake)
> Possibly switch on proxyarp
> echo 1 >/proc/sys/net/ipv4/conf/default/proxy_arp

> Also make sure that you have defaultroute defined on the home machines.

 
 
 

1. slip/ppp dialin server with dhcp server

Would someone point me to the right direction and reference material?  I
want to setup a small slip/ppp dialin server using Linux.  I read the
NET-3-HOWTO.  It has details on accomplishing this.  But I want to know
if it is possible to do this with dhcpd instead of a static file.  As I
understand the doc, dynamic IP assignment still binds the IP address to a
specific ttyS? port.  Is it possible to have the dialin server to make
request to an existing dhcp server then pass this onto the caller?  It
is my understanding that dhcp server could inform the dhcp client the
change of IP assignment.  How could this be accomplished in the
mentioned scenario?  I appreciate any idea and suggestion.

2. how to get filename from URL?

3. PPP dialin server problem

4. Kerberos not in root ACL

5. ppp Dialin Server

6. 2 NICs - 1 LAN -- How??

7. ppp dialin server -- Please Help!!!

8. xinit -d 24

9. 2.5 PPP dialin server IP number assignment question

10. ppp dialin server

11. PPP Dialin Server Authentication problems.

12. PPP dialin server

13. solaris 2.6 ppp dialin server setup