Hi,
I have one modem on /dev/ttyS3 and want users to call my phone line
attached to it and access my Linux box (turned into a PPP server). I
have redhat 5.0/kernel2.0.32 and mgetty is already installed on my
system.
I m configuring /etc/ppp/options.ttyS3 and something is not clear:
I know that there, I ve got to put the IP of my linux box and the Dns
entry for my dial up line.
So, I have:
192.168.1.5:192.168.1.67
192.168.1.1 is the Static Ip assigned to my Linux box by my ISP, and
192.168.1.67
is an IP I chose to assign to my dial up line.

Concerning the second IP in /etc/ppp/options.ttyS3, I understand that
it 's the one to assign to someone that connects to the mentionned  port
( In my case , it's the modem attached to
my /dev/ttyS3 and attached to my phone line). But normally that IP wont
be known by the user that dials to my machine. Should be transparent to
him..right?? . Or is it the IP that  the user who dials to my machine
will have to configure also on his system?/ (Exple, on a win 95 client,
in DialupNetworking Icon >Ip >Specify Domain Name servers.

Also, where to put these entries and how: some told me to put them in
/etc/rc.d/rc.local.
Should the entry look like:
for ie,
#/etc/rc.d/rc.local : Dns entry for my first dial-up-line
192.168.1.67   /dev/ttyS3  ?????

What about those people who told me that I can configure it that way:
#/etc/hosts
192.168.1.67  My_Linux_box.nanet.com  My_Linux_box
#/etc/resolv.conf
search    My_ISP.com
nameserver   I P_of_My_ISP. ( Mind you that in this exple, there's no
referrence to the port /dev/ttyS3)

***In pap secrets, there's normally an IP adress entry. I guess the dns
entry of my dial up line
should go next to the user that will call my system on the port where
that IP would be assigned (/dev/ttyS3) ..right..

And here's what I found in a ppp How TO:
"You will almost certainly wish to provide dynamic IP number allocation
to your dial up users. You
can accomplish this by allocating an IP number to each dial up port.
Now, create a
/etc/ppp/options.ttyXX for each dial up port.
In this, simply put the local (server) IP number and the IP number that
is to be used for that port. For
example
kepler:slip01"
...It's even more confusing, cause "kepler" would be my Linux box IP,
that'ok..But the second part of this line in /etc/ppp/options.ttyS3 was
supposed to be an IP adress, but not just mentionning "slip01".
So, can I have in etc/ppp/options.ttyXX, something like:
192.168.1.5:/dev/ttyS3
???

I ve read many , many docs (Ip networking,PPP..etc) and would really
like someone to just tell me how he/she configured that part in
/etc/ppp/options.ttyS3.
For ie, I tell you that My linux box is 192.168.1.5, and we choose on
the fly the IP 192.168.1.67
for the dial up line..just tell me how I should configure that dial up
line entry, in what files should I go and how to valid these files?? How
the user that calls into my system should configure it's system: with
the IP of my linux box or with the Dns entry of my dial up line???

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to