Some configuration examples can be found at: http://www.rosat.mpe-garching.mpg.de/~web/ISDN.html. If you have trouble setting it up, try to obtain the latest packages for isdn4linux (see question distrib_getlatest). As usual, you can also ask in the mailing list. In general, there are several ways to configure dialin, depending on how you want others to dial in.
secure off
to allow everybody to dial in, or set option secure on
to only allow dialin by the isdn numbers you configure, which you set
up with isdnctrl addphone <device> in <phonenumber>
.
It has been reported that you need to set option ms-dns
for ipppd to
have successful IPCP negotion.I0:56:respawn:/usr/local/sbin/mgetty ttyI0 I1:56:respawn:/usr/local/sbin/mgetty ttyI1
mgetty.config
, since
mgetty needs to know which MSN or EAZ to listen to. For example, if your MSN is
123456:
port ttyI0 modem-type data speed 38400 init-chat "" ATZ OK AT&E123456 OK AT&B512 OK
/etc/inittab
(here printed on two lines!):
i0:45:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&E123456 OK AT&B512 OK' -s 38400 ttyI0
AT&W0
command in the i4l modem emulation. You start iprofd
with a path as parameter, e.g. "iprofd /etc/i4lprofile"
Then with minicom or another terminal program, open an ISDN tty
device and enter the necessary AT command by hand.
When finished, enter the command AT&W0
, then the kernel notifies
iprofd to write the current configuration to the file. From now on it is enough
to start iprofd in you isdn init script, and to initialize the appropriate
ISDN tty devices with ATZ
.
You have to configure exactly as many gettys or network interfaces as the number of people allowed to call in at one time. These gettys or network interfaces can be set to the same MSN, since several people can be connected to a MSN at the same time (as long as there are B channels free). However, not more than one getty can be assigned to a single ttyI* device.
You can use the EAZ mapping feature for this to map incoming MSN numbers to new internal MSN numbers, in the same way as described for question dialout_manycards. Usage of a card can be prevented by using the dash during the mapping. Please note that it is not possible to have any limitations based upon the B channel, since channel assignment is normally done by the exchange.
Since the digital mode requires different register settings than the analog mode, this is not possible. Therefore you have to set up a two dedicated devices for this purpose. Please note that analog modem dialins are only possible if card and isdn4linux driver support it, which is only the case for a few cards.
Just specify the fixed ip address with the user name and password in the pap/chap-secrets file (see man ipppd).
No, it doesn't matter. It also has nothing to do with the number of the B channel (0 or 1). You just have to activate HDLC in the init string (ATS14=3).
Yes, it is. This feature is called `AutoPPP'. See the configuration for mgetty.
ipppd needs to be started with the options "login" and "auth". In /etc/ppp/pap-secrets, each user must have the following line to allow only certain users:
login-name * "" *
* * "" *
There are two possible explanations. Either your own MSN (here: YYY) is not correctly set with "isdnctrl eaz interface YYY". Or "isdnctrl secure interface on" was set, without allowing calls from the incoming number (here: XXX) with "isdnctrl addphone interface in XXX".
The Sun tries to communicate with asyncPPP. ipppd can't handle this, you have to use the ttyI* devices and the standard pppd.