OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [Documentation/] [isdn/] [README.syncppp] - Diff between revs 1275 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1275 Rev 1765
Some additional information for setting up a syncPPP
Some additional information for setting up a syncPPP
connection using network interfaces.
connection using network interfaces.
---------------------------------------------------------------
---------------------------------------------------------------
You need one thing beside the isdn4linux package:
You need one thing beside the isdn4linux package:
  a patched pppd .. (I called it ipppd to show the difference)
  a patched pppd .. (I called it ipppd to show the difference)
Compiling isdn4linux with sync PPP:
Compiling isdn4linux with sync PPP:
-----------------------------------
-----------------------------------
To compile isdn4linux with the sync PPP part, you have
To compile isdn4linux with the sync PPP part, you have
to answer the appropriate question when doing a "make config"
to answer the appropriate question when doing a "make config"
Don't forget to load the slhc.o
Don't forget to load the slhc.o
module before the isdn.o module, if VJ-compression support
module before the isdn.o module, if VJ-compression support
is not compiled into your kernel. (e.g if you have no PPP or
is not compiled into your kernel. (e.g if you have no PPP or
CSLIP in the kernel)
CSLIP in the kernel)
Using isdn4linux with sync PPP:
Using isdn4linux with sync PPP:
-------------------------------
-------------------------------
Sync PPP is just another encapsulation for isdn4linux. The
Sync PPP is just another encapsulation for isdn4linux. The
name to enable sync PPP encapsulation is 'syncppp' .. e.g:
name to enable sync PPP encapsulation is 'syncppp' .. e.g:
  /sbin/isdnctrl encap ippp0 syncppp
  /sbin/isdnctrl encap ippp0 syncppp
The name of the interface is here 'ippp0'. You need
The name of the interface is here 'ippp0'. You need
one interface with the name 'ippp0' to saturate the
one interface with the name 'ippp0' to saturate the
ipppd, which checks the ppp version via this interface.
ipppd, which checks the ppp version via this interface.
Currently, all devices must have the name ipppX where
Currently, all devices must have the name ipppX where
'X' is a decimal value.
'X' is a decimal value.
To set up a PPP connection you need the ipppd .. You must start
To set up a PPP connection you need the ipppd .. You must start
the ipppd once after installing the modules. The ipppd
the ipppd once after installing the modules. The ipppd
communicates with the isdn4linux link-level driver using the
communicates with the isdn4linux link-level driver using the
/dev/ippp0 to /dev/ippp15 devices. One ipppd can handle
/dev/ippp0 to /dev/ippp15 devices. One ipppd can handle
all devices at once. If you want to use two PPP connections
all devices at once. If you want to use two PPP connections
at the same time, you have to connect the ipppd to two
at the same time, you have to connect the ipppd to two
devices .. and so on.
devices .. and so on.
I've implemented one additional option for the ipppd:
I've implemented one additional option for the ipppd:
 'useifip' will get (if set to not 0.0.0.0) the IP address
 'useifip' will get (if set to not 0.0.0.0) the IP address
 for the negotiation from the attached network-interface.
 for the negotiation from the attached network-interface.
(also: ipppd will try to negotiate pointopoint IP as remote IP)
(also: ipppd will try to negotiate pointopoint IP as remote IP)
You must disable BSD-compression, this implementation can't
You must disable BSD-compression, this implementation can't
handle compressed packets.
handle compressed packets.
Check the etc/rc.isdn.syncppp in the isdn4kernel-util package
Check the etc/rc.isdn.syncppp in the isdn4kernel-util package
for an example setup script.
for an example setup script.
To use the MPPP stuff, you must configure a slave device
To use the MPPP stuff, you must configure a slave device
with isdn4linux. Now call the ipppd with the '+mp' option.
with isdn4linux. Now call the ipppd with the '+mp' option.
To increase the number of links, you must use the
To increase the number of links, you must use the
'addlink' option of the isdnctrl tool. (rc.isdn.syncppp.MPPP is
'addlink' option of the isdnctrl tool. (rc.isdn.syncppp.MPPP is
an example script)
an example script)
enjoy it,
enjoy it,
    michael
    michael
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.