mpd.links files have the same
An entry consists of a label followed by a sequence of
A label begins at the first column and ends with a colon
character. Commands are usually indented with a tab character
(this is not required) and follow the label immediately on the
next and subsequent lines.
An entry ends at the first blank line after the label.
Here is an example
mpd.conf that contains a single
config1 that defines a single bundle
containing two links
# # mpd.conf configuration file # config1: new myisp modem1 modem2 set auth authname "mylogin1" set iface enable on-demand set iface addrs 126.96.36.199 188.8.131.52 set iface route default set iface idle 300 link modem1 set modem var $Telephone "123-4567" link modem2 set modem var $Telephone "123-4567"
mpd.links file might look like this:
# # mpd.links configuration file # # my internal modem which is on COM3 modem1: set link type modem set modem device /dev/cuad2 # my external modem which is on COM2 modem2: set link type modem set modem device /dev/cuad1
Note that the telephone number to dial for each link is set
mpd.conf instead of
this is specific to
config1. On the other hand,
the serial port device is a property of the link and independent
of the configuration; hence this is set for each link