?
Solved

pppd setup, W95PC ppp login difficult and routing problems

Posted on 1997-06-20
4
Medium Priority
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

801 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