3 AUTHOR: Max Schattauer <smax@smaximum.de>
6 Getting ISDN4LINUX to work with LFS
25 Setting up a working ISDN system has always caused a major trouble, although it
26 really isn't that complicated. The purpose of this hint is to help you set up a
27 working dial-in interface. This hint just covers the dial-in with dynamic IPs,
28 I haven't worked out how to set it up with static IPs yet.
34 You need the latest version of isdn4linux, which is available from
35 ftp://isdn4linux.de/pub/isdn4linux/utils.
37 For the usage of isdnlog you'll need gdbm (1.80), available at any gnu-mirror.
43 Make sure your kernel supports ISDN, synchronous ppp, general networking
46 Load modules slhc, isdn and hisax in that order. Note that hisax might require
47 irq and io parameters, like in my case (avm fritz) I would use
49 modprobe hisax io=0x200 irq=4 id=hisax protocol=2 type=5
51 Refer to /usr/src/linux/Documentation/isdn/README.hisax for more information on
52 these options, putting that info in here would somewhat exceed the scope of
55 If you want to use isdnlog install gdbm now.
57 After you loaded the modules you have to install isdn4linux utils. Do make
58 config to configure its options. You need ippp, hisaxctrl and isdnctrl,
59 everything else should be optional. After you finished the configure script
60 should be executed. If it fails in building the FAQ, edit the makefile and
61 comment that out, should be fine though. Do make and make install to install
65 These commands are used to actually set up the device (very rudimentary!):
68 isdnctrl eaz ippp0 <yourmsnhere>
69 isdnctrl dialmode ippp0 manual|auto|off (whatever you prefer)
70 isdnctrl dialmax ippp0 3 (or set any another number)
71 isdnctrl l2_prot ippp0 hdlc
72 isdnctrl encap ippp0 syncppp
73 isdnctrl huptimeout ippp0 <timeout in sec.>
74 isdnctrl pppbind ippp0 0
75 isdnctrl addphone ippp0 out <number to dial>
76 ifconfig ippp0 1.1.1.1 up
79 Next we have to set up the ipppd. Check if the ipppd is installed. Calling
80 ipppd should give you something like ipppd: Can't open options file
81 /etc/ppp/ioptions: No such file or directory. That's fine, since its config
82 file isn't installed right now. It should go into /etc/ppp/ioptions and look
85 # Begin /etc/ppp/ioptions
102 # End /etc/ppp/ioptions
105 Create /etc/ppp/pap-secrets and /etc/ppp/chap-secrets. Both have the same
106 content. They should look like:
108 <username> * <password>
112 Now you shoud be able to do isdnctrl dial ippp0. You can check what's going on
113 by executing imon, the isdn monitor. If you get any errors check
114 /var/log/sys.log. Error messages should go in here.
116 To actually do ping www.whatever.com set up your /etc/resolv.conf with
118 nameserver <namerserver ip>
120 It might be a good idea to write a little boot-script to execute the commands
121 stated above at boottime.
126 http://www.isdn4linux.de/faq/
128 http://www.tu-harburg.de/dlhp/HOWTO/DE-ISDN-HOWTO.html
129 (german only. I don't know if there's any english translation)
134 Thanks on creating this hint apply to the following people
136 Shine <shine@shinewelt.de>
139 various people from #LFS