Solved

pppd setup, W95PC ppp login difficult and routing problems

Posted on 1997-06-20
4
305 Views
Last Modified: 2013-12-15
I have set up a pppd daemon and I am able to login through
dial up networking from a W95 PC. I have created a pppuser
that starts a login shell which initates pppd. This means
that I have to login in as a pppuser in a terminal window
then continue an login as normal user through dial up networking. Rather cumbersome and not like I am used to using f.e. NT server. Are there ways around this ?

Secondly there seem to be routing problems. I am able to access the internet through the LINUX proxy but routing directly from the ppp host (f.e. from MS-DOS ping) is
blocked. Any suggestion here ?
0
Comment
Question by:ossi
  • 2
4 Comments
 
LVL 3

Expert Comment

by:sauron
ID: 1628312
I assume that you are currently running a getty on ttyS0 (or whatever) which you're logging in to. The login then starts PPP. I *think* you can just run pppd directly on ttyS0 from your /etc/inittab, but I'm not really sure about this. You can of course, always use scripting at the Windows end to automate the connection.

As far as the routing goes, you haven't provided all the necessary information to answer the question. Is the IP address of the Windows machine a real IP address, i.e. will your ISP route packets back to it? If not, you'll need to use proxying or masquerading.
0
 

Author Comment

by:ossi
ID: 1628313
Thanks

1. I will look at /etc/inittab

2. The Windows machine has a real static IP address.
I am able to ping the client from the server.

Would a thing called proxyarp help ?

0
 
LVL 3

Expert Comment

by:sauron
ID: 1628314
Proxy ARP should not be needed here. Your IP setup will have an effect - your PPP client should really be set up on a differnt subnet to your server, and the default gateway should be set up as the server. On the Linux box, you must have IP routing enabled - you'll have needed to recompile the kernel at some point to switch this option on. If you can ping the Windows box from the Linux box, but not see the rest of the world from the windows box, I suspect routing. If you do a route -n on the Linux box, and a route print on the windows box, and post the results, I may be able to make a better guess.
0
 

Accepted Solution

by:
will031697 earned 100 total points
ID: 1628315
You may want to look at mgetty. It will detect PPP config requests and launch pppd which can then continue with PAP or CHAP authentication. In the absence of PPP packets it will give a normal login prompt. This way your 95/NT ppp users can do a script-less login, but you can still dialup and get a login prompt when needed.

Re: proxy arp, it completely depends on how the linux machine is on the net. If it is on an ethernet and is not the default gateway of other machines on the ether, proxy arp needs to be used, otherwise the gateway elsewhere on the ethernet will not know to send packets to the linux machine for routing over the PPP.

If the linux machine is also the default router for the ethernet, or if the linux machine simply has another PPP connection to the net, proxy arp won't be needed.

easy way: try it and see if it changes anything.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now