[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

pppd setup, W95PC ppp login difficult and routing problems

Posted on 1997-06-20
4
Medium Priority
?
332 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

650 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