On Tue, 27 Apr 1999, April Escamilla wrote:

> Hey everyone,
 
>         I have 2 laptops -- one running win95 with UT connect (dial-up
>via modem) and a redhat 5.2 laptop.  I am curious on how to set up my
>linux laptop with UT connect, or whatever dial-up service I can use with
>a modem and a linux box.  Really though, I am more interested in setting
>up my Linux box to use IP masquerading off of my win95 machine dial-up
>(mostly out of curiosity).  Has anyone done this?  Does anyone have any
>info about this?  Can I do it with 2 modems, or will I need an ethernet
>PCMCIA card for the linux box to masquerade off of my win95 system. 

  I'm not too sure if win95 can do nat or masquerading or anything like
that.  Usually, people connect with Linux or their favorite BSD and then
let windows and the other machines go through their unix machine.
You need to have some type of physical local network with your machines,
so they'd both need network adapters.  (You could use a parallel port
connection but I don't know if windows supports it this way).  Then setup
the local network, with the gateway as the masquerading machine.  It's
really easy once you've done it and know what to do.  You might want to
read the Masquerdaing HOWTO, as well as the Ipfwadm and ipchains howto's
as well.  try http://www.linux-howto.com


>         This and any info about dialing into UT with a linux system
>would be very much appreciated.  Thank you!

   Hmm.  Here is what I do to connect to telesys (I'm using debian 2.2 but
it's probably similiar with redhat).  I run ppp-ut to connect.  This is a
scripts that looks like this

#! /bin/sh
/usr/sbin/pppd noauth connect '/usr/sbin/chat -v -f /root/.pppscriptut' defaultroute 
115200 /dev/modem &

Where the setup is in /root/.ppscriptut, and /dev/modem is a symbolic link
to my actual modem, /dev/ttyS1.

The /root/.ppscriptut looks like this


ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT*674759996
Username: your_user_name
Password: secret_password
Telesys "ppp negotiate"


   where your_user_name and secret_password need to be replaced with the
right values.  You might need to change ATZ to a different init string if
you know better.  I don't think I'm forgetting anything, but I haven't
needed to change this in two years, and it works in both Linux and OpenBSD
without change.  
   My actual ppp-ut script is slightly more complicated than what I showed
since I have some other things to setup like updating the hostname, port
forwarding, etc. but you can read all about stuff like that in those
howto's.  
   If this had no chance of working, I think there is a ppp howto, as well
as a pppconfig type utility on metalab.unc.edu/pub/Linux somewhere.

   Adam

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to