65
19.
<channel>
theylogin
Syntax:
<channel> theylogin pap|chap|none
Description:
This command describes how we require the far end to log in on this channel. Requiring the other
end to log in most frequently happens when they dial us (rather than the other way round), so this
is likely to be one of several channels which are set using
svc listen
. Because of this, exact names
and passwords are not attached to individual channels but are matched to particular users, as
defined using the
user
command. This command specifies that when using this channel, the user
must log on using the specified protocol, and that they must provide any name/password
combination which has been defined for that protocol, using the
user
command. To remove this
information on a channel, call
theylogin
with a single argument of
none.
Configuration saving saves this information. By default no login is required.
20.
<channel>
welogin
Syntax:
<channel> welogin <name> <password> [pap|chap]
<channel> welogin none
Description:
This command describes how we should log in to the far end when a connection is established.
A name and password are supplied, and whether these should be used with the PAP or CHAP
authentication protocol. CHAP is the default. To remove this information on a channel, call
welogin
with a single argument of
none
. If
chap
is specified, we will also log in using
pap
if the
other end prefers this. If
pap
is specified we will only log in using
pap
.
Configuration saving saves this information. By default no login is performed.
21. bcp
Syntax:
bcp stp|nostp
Description:
This command describes parameters for BCP, the Bridge Control Protocol, which is used to
transport MAC (Ethernet) packets over the PPP link. See the protocol conformance section of this
spec for BCP option settings which are not controllable. If
stp
is specified, the Spanning Tree
Protocol is in use by the Bridges, to control bridge loops. In this case STP frames should be carried
over any links using BCP. If
nostp
is specified, STP frames should not be carried. Configuration
saving saves this information. By default STP is not supported.
22. interface <n> localip
Syntax:
interface <n> localip <address>
Description:
This command describes parameters for IPCP, the IP Control Protocol, when providing the server
end of an IPCP connection. The server knows its own IP address (and may allocate an IP address to
the remote end). This command tells the PPP process, for a particular interface, the local IP address
to be associated with the local end.
For interface 1, this should be the same IP address as possessed by the device
ppp_device
in the IP
stack. See the IP dial-in server console example, at the start of this section. If PPP channels are now
associated with this interface, remote users can dial in to those channels and will be connected to
the IP stack. They can be allocated IP addresses, see the command
<channel> remoteip.
Call with 0.0.0.0 to remove any IP address setting. This is the default state.
Configuration saving saves this information