Next Previous Contents

2. Setting the defaults

You must set various defaults, which are inherited by all accounts. Some fields of this dialog have no counterpart 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 options have been renamed in 2.3, so a single ppplogin script can't work for both. This checkbox instructs the ppplogin script to support one or the other.

2.2 Allocate remote IP from tty name

This checkbox 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 associates 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 IPs this way. You NEED proper DNS configuration for the IPs you allocate anyway. By using this strategy, you completely avoid 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 (the next field) or you are on your own.

2.3 Idle time

After a certain amount of idle time, the PPP daemon may disconnect the link. You must specify this in seconds. A 0 means that the feature is not used.

2.4 Maximum connect time

This sets the maximum duration of a PPP session. This does not correspond to any PPP daemon option, but some session monitors may use this information to kill sessions which last too long. A value of 0 disables 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 sessions share the same one. One often uses the IP number of the first Ethernet adapter. This is the default value that will be used if this field is left blank. You may want to specify another value 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 the IP number of your first DNS here. This IP number will be passed to the 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 servers, enter the IP of the second one here.

2.8 Other pppd options

2.9 Post connect command

2.10 Post disconnect command


Next Previous Contents