Link to home
Start Free TrialLog in
Avatar of ossi
ossi

asked on

pppd setup, W95PC ppp login difficult and routing problems

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 ?
Avatar of sauron
sauron

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.
Avatar of ossi

ASKER

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 ?

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.
ASKER CERTIFIED SOLUTION
Avatar of will031697
will031697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial