first, a mild rebuke: please include a subject line with your messages.
Like many others, I get a lot of mail, and I generally ignore posts with
subject lines I'm not interested in, or posts with no subject at all.
But on to the important stuff.
PANKAJ KUMAR RATHORE wrote:
>
> i have gone thru the PPP howto, but it seems to stress upon
> setting up a client.
The HOWTO does describe setting up a server, but the information is
buried at the bottom (section 26). The pppd manpage also has some
information. It's confusing at first, but I think that all of the
necessary information is in those two sources, not counting any
information that you'll need to configure your modem-control program.
> The doubts :
> --->
> i would like to know if following entries need to be added
> in /etc/inittab file to accept serial connections.
>
> # Run gettys on Serial Port(s)
> #S0:3:respawn:/sbin/uugetty ttyS0 vt220
> #S1:3:respawn:/sbin/uugetty ttyS1 vt220
I don't use uugetty, so hopefully someone else can help you with the
specific syntax, but yes you will need something in your innittab which
starts a modem control program which can, in turn, start ppp when it
picks up the line. I use mgetty and like it a lot, and there are other
choices as well.
> interestingly whenver i try to enable them, i start getting error
> messages on the console like this :
>
> S0 respawing too fast : disabled for 5 minutes
> S1 respawing too fast : disabled for 5 minutes
This means that something is wrong with your uugetty, either because
you've given it the wrong command line, or because something else in
your system is not set up to provide this functionality. Do you have
modems attached to those serial ports? One thing I notice is that
you're passing uugetty the argument 'ttyS0' instead of '/dev/ttyS0';
again, I don't know about uugetty, but under mgetty that would certainly
cause problems.
> --->
> Is it necessary to run a named server on my system ? currently i
> am not .
The answer to that one depends upon what else you have available on your
network, and what you want to use your ppp link for. It is not
necessary to run named in order to run a ppp server, but you will
probably want to make sure that DNS service is available to your ppp
clients from _somewhere_. Do you presently have a DNS server on the
network which houses your ppp server? If so, then your clients can be
directed to that.
>
> --->
> Last but not the least !! how do i configure the ppp device !!
> where to specify the IP address for it !! is it possible
> to configure during bootup process !! as of now, there is a file
> /etc/sysconfig/static-routes :
>
> wln0 net 192.168.1.0 netmask 255.255.255.0
> eth0 net 163.122.6.0 netmask 255.255.255.0
>
> do i have to specify the details for ppp dev here ?
I don't think so. On my machine, I have a directory called /etc/ppp,
where all of my ppp configuration options live. One file,
/etc/ppp/options, describes general information for all ppp connections,
and there are specific files for each incoming line where line-specific
options are specified. On your system, those files will probably have
names like /etc/ppp/options.ttyS0 or /etc/ppp/options.ttyS1, and it is
in these files that the IP address (or hostname) of the dialup
connection can be specified. (Aside: this last bit of information is
lifted straight from the HOWTO. You might want to take another look at
it, since it can be confusing on the first few readings, and I suspect
that there may be other information you have missed.)
> what details if any are needed in the /etc/ppp/ip-up script ?
> what details if any are needed in the file :
> /etc/sysconfig/network-scripts/ifcfg-ppp0
I didn't touch either of these files when setting up my server. I may
be wrong, but I think that they are only important when dialing out.
Your pppd daemons will need some routing information. On my server, all
I did was pass pppd the 'proxyarp' option, which is enough for getting
packets to and from the modem. It's described in the pppd manpage.
Also note that you will need to have IP forwarding compiled into the
kernel and turned on at boot time. You can check this by the following
command line:
# cat /proc/sys/net/ipv4/ip_forward
A '1' means that ip forwarding is on, a '0' means that it is off. On
the boot, this is controlled in the /etc/sysconfig/network file.
Hope this helps. Good luck!
-m
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.