Solved

pppd setup, W95PC ppp login difficult and routing problems

Posted on 1997-06-20
4
308 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

948 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

20 Experts available now in Live!

Get 1:1 Help Now