Win95ppp----->LINUXppp------>ISP

Win95ppp----->LINUXppp------>ISP

Post by Tim Sherv » Sun, 29 Sep 1996 04:00:00



Hello

     I have a strange one, got win95 connected to my Linux box
via ppp over null modem cable works great can run mail, news, www(local
only) the problem is I can call ISP from linux box and get connected and
call
linux box from win95 and get connected I would like to route ppp from win95
to ISP.
Now packets from win95 go to ISP but nothing returns. I've read man pages
for
days to no end and everything I see on the subject relates to ppp-->ether
routeing. I have ip forwarding in the kernel and modified routeing while
both are up
every which way it would let me I'm stuck.  Got a really nice setup going
news
and mail spooled on Linux and Win95 reads and posts fine.  Just would like
to use
internet explore without haveing to shut down ppp to linux and fire it up
from
windows

any help ?

Tim

Win95=Fancy interface   LINUX = True OS

 
 
 

Win95ppp----->LINUXppp------>ISP

Post by Joern Red » Sun, 29 Sep 1996 04:00:00


Hi Tim,

Quote:> Hello

>      I have a strange one, got win95 connected to my Linux box
> via ppp over null modem cable works great can run mail, news, www(local
> only) the problem is I can call ISP from linux box and get connected and
> call
> linux box from win95 and get connected I would like to route ppp from win95
> to ISP.
> Now packets from win95 go to ISP but nothing returns.

I think that you Win95 box has no real IP-adress which is known by the  
Internet? The only adress which is known by the Internet is the one you  
got from your ISP for your linux-box. You need to masquerade the adress of  
the Win95-Box.

Look at my homepage, section Linux, there is a Link to a great  
Masquerading page (I do not remember the URL now). There you will find all  
stuff you need.

__
 / Joern Reder
/
   homepage : http://ernie.mi.uni-koeln.de/~reder

## CrossPoint v3.02 R ##

 
 
 

Win95ppp----->LINUXppp------>ISP

Post by David Franc » Wed, 02 Oct 1996 04:00:00


Hello Tim

Did you ever get your network challange worked out ?
(I tried to email you but my server can't find "pailhorse.com")

Of course, the reason I ask is that I am in the same boat...
Here is a copy of a recent post and response...

_____________________ Start Post ______________________


> I'm getting very close to success... but not quite there. I have a LINUX box
> with a PPP connection to the internet. I have a Win95 box connected to the
> LINUX box over ethernet.

> I can ping, FTP, and telnet between Win95 and LINUX...
> I can ping, FTP, and telnet between LINUX and the internet

> I want to ping, FTP and telnet from Win95 to the internet through the LINUX
> box... right now, I cannot.

> The win95 box obviously sees the LINUX box and vica versa, so I don't
suspect
> the gateway config on WIN95.

> I have a hunch I have to 'route' of 'ifconfig' something in LINUX but so far
> no luck.

Been there, done that :)

Your answer is ARP!   You'll need to find the ethernet mac address of the
Win95 box, and add a public arp route to your linux box arp table.

(i.e. - arp -s win95 <win95.mac.address> pub

Also, make sure that you've got your ethernet talking at a different IP
address to that of your ppp link.

i.e. configure linux for 192.168.0.1, win95 for 192.168.0.2 and add a
route for 192.168.0.0 (ethernet).   This will definitely allow you to see
your win95 from linux and vice-versa.   Once you've done this, once your
ppp (MUST BE PPP) link is up, and a default-gateway is established, you
should be able to get around it.

Otherwise, if you just want to use WWW - Grab yaself a copy of the Cern
HTTP or Squid proxy server - use it on your internal network, and parent
it to your ISP's WWW proxy...

_________ end post __________________

If this helps you, great !
I don't if this is correct or how to implement the 'arp' command... So I'm
still seeking assistance....

Please let me know how you solved your networking problem...

Thanks in advance !

David


says...

- Show quoted text -

Quote:

>Hello

>     I have a strange one, got win95 connected to my Linux box
>via ppp over null modem cable works great can run mail, news, www(local
>only) the problem is I can call ISP from linux box and get connected and
>call
>linux box from win95 and get connected I would like to route ppp from win95
>to ISP.
>Now packets from win95 go to ISP but nothing returns. I've read man pages
>for
>days to no end and everything I see on the subject relates to ppp-->ether
>routeing. I have ip forwarding in the kernel and modified routeing while
>both are up
>every which way it would let me I'm stuck.  Got a really nice setup going
>news
>and mail spooled on Linux and Win95 reads and posts fine.  Just would like
>to use
>internet explore without haveing to shut down ppp to linux and fire it up
>from
>windows

>any help ?

>Tim

>Win95=Fancy interface   LINUX = True OS

--
                           \\\\|/////
                            ( o  o )
                   ---oO0o------U------oO0o---

http://www.dcfnet.com                   Such a long, long time to be gone...
http://www.dcfnet.com/home               ...and a short time to be there
 
 
 

1. Trunpet Winsock -> ppp[0 1] ->linux -> ppp[1 0] -> isp

OK, I've read (and re-read) all of the pertinent HOW-TOs, README files,
Linux Network System Administrator Guide, etc. and can't seem to figure
this one out.

My wifes `puter is (still) running Windoze 3.1 and has Trumpet Winsock
on it. I'm running Linux 2.0.29 and have a `stable' (been working for a
year or so...) pppd running to connect to my isp. We have a serial
connection between `puters (115200) between serial ports. I want to
connect her machine with a ppp connection and route this through my
modem to the isp. Every time I log on from her machine (using a username
that is supposed to run pppd as a `shell', like the HOW-TO sez) pppd
runs and then dies.

Is this a proxy-ARP problem? Every thing I read talks about using pppd
as a server and routing it to an ethernet connection, nothing about
passing 1 pppd process to another.

Any Ideas?

2. mgetty 0.98 & seyon & PPP 2.2.0c (Linux)

3. ISP -> UUCP -> Linux -> POP/SMTP -> endusers Please Advice

4. AIX 4.3 include files

5. <><><> MOUNTING EXTENDED PARTITION <><><>

6. How to identify ports in use

7. Wanted: <><><> Unix Specialist <><><>

8. index.cgi...how?

9. LILO help <><><><><><>

10. >>---> Software Jobs! >>--->

11. NT-->LinuxPPP-->SMB shares

12. Win95>LinuxPPP>net

13. >>>Connecting to ISP Questions<<<