Next Previous Contents

2. Setting the defaults

You must set various defaults which are inherited by all accounts. Some field of this dialog have no counter part in the PPP account dialog: They affect the behavior of the ppplogin script.

2.1 Using pppd 2.3

There are currently two version of the PPP daemon in use: pppd 2.2 and 2.3. Unfortunately, some key option have been renamed in 2.3, so a single ppplogin script can't work for both. This check-box instruct the ppplogin script to support one or the other.

2.2 Allocate remote IP from tty name

This check-box tells the ppplogin script to simply use the tty name as the remote IP. This assumes that there is an entry in the DNS which associate an IP to the tty name for your DNS domain. You have a bunch of entries like (case insensitive):

        ttys0.your_domain.com  x.y.z.1
        ttys1.your_domain.com  x.y.z.2
        etc...
        

Note that it is a very good idea to allocate IP this way. You NEED proper DNS configuration for the IP you allocate anyway. By using this strategy, you avoid completely the /etc/ppp/options.tty files. When you add new modems to your server, you simply assign one IP per modem (per tty) in the DNS and that's all.

Unless, you select this option, you must either provide the remote IP number manually (next field) or you are on your own...

2.3 Idle time

After some idle period, the PPP daemon may disconnect the link. You must specify this in seconds. 0 means that the feature is not used.

2.4 Maximum connect time

This set the maximum duration of a PPP session. This does not correspond to any PPP daemon option, but some session monitor may use this information to kill session which last too long. A value of 0 disable this feature.

We expect to deliver a complete solution (a monitor) for this in the future

2.5 Local IP number

Enter here the IP number used for the local side of the connection. All PPP session are sharing the same. One often use the IP number of the first Ethernet adaptor. This is the default value that will be used if this field is left blank. You may want to specify another value here if you intend to do firewalling based on the interface number (You wish to differentiate the firewalling rules based on the interface so you can tell eth0 traffic apart from PPP traffic).

2.6 Primary DNS

Enter here the IP number of your first DNS. This IP number will be passed to client using the PPP protocol. So there is no need to tell the client (the user) about the DNS.

2.7 Secondary DNS

If you have two DNS, enter the IP here.

2.8 Other pppd options

2.9 Post connect command

2.10 Post disconnect command


Next Previous Contents