Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
SuSE Linux: Versions since 4.4
isdnctrl pppbind ippp0 0 isdnctrl pppbind ippp1 1Consequently, the net interface is connected to the corresponding ippp device.
Futhermore different option files should be used for the ipppd, in which
the different configurations are defined. The global
/etc/ppp/options
contains on the other hand, only the
parameters identical for all PPP connections (analog and ISDN).
For this purpose, the ipppd is called with the parameter file optionfile
, e.g.:
ipppd file /etc/ppp/options.ippp0Hint: The file
/etc/ppp/options
is always
read (both by ipppd
and pppd
).
/sbin/init.d/i4l
it is intended, that the ipppd
is started as described above. For every device (ippp0, ippp1, ....) is
checked, whether there is an /etc/ppp/options.ippp?
.
/sbin/ipppd file
/etc/ppp/options.ippp?
)
/sbin/ipppd ippp?
Enter additionally in /etc/rc.config
a variable
I4L_PPPBIND_?
per device, that enforces the execution of the bind command. E.g.
to start the net device _2
as ippp1, enter:
I4L_PPPBIND_2=1
/etc/rc.config
defines a PPP server and
client on the same computer to itself (the example is taken from the
S.u.S.E. ISDN server). Additionally, in
/etc/ppp
the files options.ippp0
and
options.ippp1
must exist.
# syncPPP Server NETDEV_5=ippp0 IPADDR_5="192.168.0.1" IFCONFIG_5="192.168.0.1 pointopoint 192.168.0.99 metric 1" I4L_IDLETIME_5=60 I4L_REMOTE_OUT_5= I4L_REMOTE_IN_5=9113206728 I4L_LOCALMSN_5=3206726 I4L_DEBUG_5=4 I4L_L2_5="hdlc" I4L_L3_5="trans" I4L_ENCAP_5="syncppp" I4L_CALLBACK_5="off" I4L_CBDELAY_5=5 I4L_CBHUP_5="on" I4L_SECURE_5="off" I4L_PPPBIND_5=0 # syncPPP Client NETDEV_6=ippp1 IPADDR_6="192.168.0.99" IFCONFIG_6="192.168.0.99 pointopoint 192.168.0.1 metric 1" I4L_IDLETIME_6=60 I4L_REMOTE_OUT_6=3206726 I4L_REMOTE_IN_6= I4L_LOCALMSN_6=3206728 I4L_DEBUG_6=4 I4L_L2_6="hdlc" I4L_L3_6="trans" I4L_ENCAP_6="syncppp" I4L_CALLBACK_6="off" I4L_CBDELAY_6=5 I4L_CBHUP_6="on" I4L_SECURE_6="on" I4L_PPPBIND_6=1
# /etc/ppp/options.ippp0 # for isdn4linux/syncPPP and dynamic IP-numbers # # # Klaus Franken, kfr@suse.de # Thanks to Kai Grossjohann# Stand: 05.03.97 # # The device /dev/ippp0 # # debug? debug # # The IP addresses: : # just "0.0.0.0:" for dynamic IP 192.168.0.1:192.168.0.99 # # my user name user suse # force authentication with pap +pap # # accept IP addresses from peer #ipcp-accept-local #ipcp-accept-remote #noipdefault # # try to get IP address from interface # option specific to ipppd (as opposed to pppd) #useifip # # disable header-compression -vj -vjccomp -ac -pc -bsdcomp # # max receive unit mru 1524 # max transmit unit mtu 1500
# /etc/ppp/options.ippp1 # for isdn4linux/syncPPP and dynamic IP-numbers # # # Klaus Franken, kfr@suse.de # Thanks to Kai Grossjohann# Stand: 05.03.97 # # The device /dev/ippp1 # # debug? #debug # # The IP addresses: : # just "0.0.0.0:" for dynamic IP 0.0.0.0: # # my user name user suse # # # accept IP addresses from peer ipcp-accept-local ipcp-accept-remote noipdefault # # try to get IP address from interface # option specific to ipppd (as opposed to pppd) useifip # # disable header-compression -vj -vjccomp -ac -pc -bsdcomp # # max receive unit mru 1524 # max transmit unit mtu 1500
pppbind
command seems to work only once.
Possible cause: Remove the line
p->local.pppbind = -1;in
/usr/src/linux/drivers/isdn/isdn_net.c
, around line 1730.
From 2.0.29 on, the problem wasn't observed any more.
See also:
Keywords: ISDN, IPPPD, PPPBIND
Categories:
Dialin Server
Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-ipppd2
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch