Linux notebook / ISDN / pppd
Description: Documents various Linux or *nix programs and concepts, including qmail, djbdns, emacs, Perl, hardware, bash, TCP/IP, DNS, etc...
Keywords: find djbdns system dns typical bash less gdb daemontools mirrordir math tables mysql qmail isdn make http ezmlm shell pppd cftp regexps intro awk dhcp test hardware ucspi-tcp apache html perl php3 fetchmail versions emacs email peripherals

Apache Awk Bash C cftp daemontools DHCP djbdns DNS Emacs Email ezmlm Fetchmail find GDB Hardware HTML HTTP Intro ISDN less Make Math mc mirrordir MySQL Peripherals Perl PHP3 pppd qmail Regexps Shell System Tables test To do Typical ucspi-tcp Versions Index TCP/IP slides
ISDN |  | top

> Example installation for ISDN

> Note: this applies to the Debian Linux slink distribution, requires changes for other distributions

> Install /debian/main/binary-i386/net/isdnutils_*.deb
> Use isdnconfig option 1 network devices, entering ippp0, to create /etc/isdn/device.ippp0
> Use isdnconfig option 2 synchronous ppp daemon, entering ippp0, to create /etc/isdn/ipppd.ippp0
> > Edit /etc/isdn/device.ippp0 as per example (search for XXX_), placing the right arguments for LOCALMSN, REMOTEMSN, LEADINGZERO and LEADINGZERO. The DIALMODE entry controls auto dialing.
> >     LOCALIP=10.0.0.1        # XXX_ these IPs are fake, just to define a route
> >     REMOTEIP=10.0.0.2       # XXX_
> >     LOCALMSN=123456789      # XXX_ full MSN for the host
> >     REMOTEMSN=671700000     # XXX_ full ISP's access MSN
> >     LEADINGZERO=''          # XXX_ use LEADINGZERO='' if you have no area-codes
> >     DIALMODE=auto           # XXX_ auto|manual|off
> You can also change the following line, 170 seconds to time out or other value isdnctrl huptimeout ${device} 170
> > Edit /etc/isdn/ipppd.ippp0 as per example, commenting out anything not mentioned below:
> >     debug                   # enable debugging
> >     lock                    # create a lock file for device
> >     +pwlog                  # log password (WARNING: possible security hole)
> >     lcp-restart 1           # Set timeout for LCP
> >     name username           # set local name for auth, as per pap-secrets below
> >     noauth                  # (don't) require peer (the other) to auth
> >     nolzs                   # LZS compression off (not yet supported fully)
> >     noipdefault             # don't use name for default ip addr
> >     defaultroute            # (don't) set default route
> >     mtu 1500                # set maximum size of transmit units to X (1500 is OK)
> >     ipcp-accept-local       # Accept peer's address for us
> >     ipcp-accept-remote      # Accept peer's address for it
> >     noipx                   # en/disable ipx
> Edit /etc/ppp/pap-secrets, adding a line with the username and password the ISP has given us. Note that /etc/ppp/pap-secrets must be chown root.root and chmod 600. username * password
> Also remember to add the appropriate module to /etc/modules (hisax,pcbit, whatever). The options for the ISDN drivers are in /etc/conf.modules and some of them are as follows: Teles 10.3 options hisax type=3 protocol=2 io=0x280 irq=12 or options hisax type=3 protocol=2 io=0xd80 irq=9 Ovislink options hisax type=20 protocol=2
> The complete list of types and parameters for the hisax driver is as follows:
> Type | Adapter | Parameters
> --- | --- | ---
> 1 | Teles 16.0 | p0=irq p1=membase p2=iobase
> 2 | Teles 8.0 | p0=irq p1=membase
> 3 | Teles 16.3 | p0=irq p1=iobase
> 4 | Creatix PNP | p0=irq p1=IO0 (ISAC) p2=IO1 (HSCX)
> 5 | AVM A1 (Fritz) | p0=irq p1=iobase
> 6 | ELSA PC | [p0=iobase] or nothing (auto-detect)
> 7 | ELSA Quickstep | p0=irq p1=iobase
> 8 | Teles PCMCIA | p0=irq p1=iobase
> 9 | ITK ix1-micro | p0=irq p1=iobase
> 10 | ELSA PCMCIA | p0=irq p1=iobase
> 11 | Eicon.Diehl Diva | p0=irq p1=iobase
> 12 | Asuscom ISDNLink | p0=irq p1=iobase
> 13 | Teleint | p0=irq p1=iobase
> 14 | Teles 16.3c | p0=irq p1=iobase
> 15 | Sedlbauer speed | p0=irq p1=iobase
> 15 | Sedlbauer PC/104 | p0=irq p1=iobase
> 15 | Sedlbauer speed PCI | no parameter
> 16 | USR Sportster internal | p0=irq p1=iobase
> 17 | MIC card | p0=irq p1=iobase
> 18 | ELSA Quickstep 1000PCI | no parameter
> 19 | Compaq ISDN S0 ISA card | p0=irq p1=IO0 (HSCX) p2=IO1 (ISAC) p3=IO2
> 20 | Travers Technologies NETjet PCI card | no parameter
> 20 | PCBIT PCI (and other TigerJet 300 boards) | no parameter
> 21 | TELES PCI | no parameter
> 22 | Sedlbauer Speed Star | p0=irq p1=iobase
> 24 | Dr Neuhaus Niccy PnP/PCI card | p0=irq p1=IO0 p2=IO1 (PnP only)
> 25 | Teles S0Box | p0=irq p1=iobase (from isapnp setup)
> 26 | AVM A1 PCMCIA (Fritz) | p0=irq p1=iobase
> 27 | AVM PnP/PCI | p0=irq p1=iobase (PCI no parameter)
> 28 | Sedlbauer Speed Fax+ | p0=irq p1=iobase (from isapnp setup)

pppd |  | top

> pap-secrets

> The pap-secrets file has the following format

> > clientname servername secret [ipaddress...]

Last update: Wed, 2 Nov 2005 10:16:21 GMT | top