|
To ensure that the kernel have proper support for the ISDN subsystem and the TeleS ISDN
card I compiled it. But before I do that, I upgrade the kernel according to the RedHat
Linux General Errata because isdn4k-linux that I shall
install later will not compile on the original kernel (v. 2.0.36 rel 7 in RedHat 5.2).
Trust me, I've tried.. :)
After the upgrade is finished, I login as root go to "/usr/src/linux" and type "make menuconfig". (I'm used to this one, if
you prefer to use the X-version (make xconfig) or just "make config" it's up to
you. The following stuff is necessary:
- 'Networking Options - <*> IP: forwarding/gatewaying'
- 'Network device support - <*> PPP (point-to-point) support'
- 'ISDN subsystem - <*> ISDN support'
- 'ISDN subsystem - <*> Support synchronous PPP'
- 'ISDN subsystem - <*> Use VJ-compression with synchronous PPP'
- 'ISDN subsystem - <M> ICN 2B and 4B support'
- 'ISDN subsystem - <M> PCBIT-D support'
- 'ISDN subsystem - <M> HiSax SiemensChipSet driver support'
- 'ISDN subsystem - <*> HiSax Support for EURO/DSS1
- 'ISDN subsystem - <*> HiSax Support for Teles 16.3 or PNP or PCMCIA'
Then I press "Esc" and choose to save the config.
It tells me to do "make dep"
and "make clean", and I do so...
:) Then I do a "make zImage" copy
the new kernel to "/boot" and
since I'm using lilo I edit my "/etc/lilo.conf"
and run "lilo" to activate the
new kernel. (See here for more about compiling the kernel).
Also I had to goto /lib/modules and run "ln -s
2.0.36-3 2.0.36" so the kernel could find it's modules.
Then I edited a file called "rc.modules"
that is placed in "/etc/rc.d"
this contens the following on one line:
# Loading HiSax Driver
/sbin/modprobe hisax type=3 protocol=2 io=0x180 irq=10
Or when I installed two TeleS 16.3 in the same computer, with different IO and IRQ
recources (on one line!):
# Loading HiSax Driver
/sbin/modprobe hisax type=3,3 protocol=2,3 io=0x180,0x380
irq=10,15 id=teles_1%teles_2
Remember to run "chmod u+x" to
make it executable.
Then it's time to reboot the machine and see what happends :) When I login again (as
root) I type "cat /var/log/messages |grep HiSax"
and get the following (1 card installed):
Jan 26 14:56:14 ppp kernel: HiSax: Driver for Siemens chip set ISDN cards
Jan 26 14:56:14 ppp kernel: HiSax: Version 3.0b
Jan 26 14:56:14 ppp kernel: HiSax: Layer1 Revision 1.15.2.18
Jan 26 14:56:14 ppp kernel: HiSax: Layer2 Revision 1.10.2.10
Jan 26 14:56:14 ppp kernel: HiSax: TeiMgr Revision 1.8.2.6
Jan 26 14:56:14 ppp kernel: HiSax: Layer3 Revision 1.10.2.5
Jan 26 14:56:14 ppp kernel: HiSax: Linklayer Revisions 1.20.2.11
Jan 26 14:56:14 ppp kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Jan 26 14:56:14 ppp kernel: HiSax: Teles IO driver Rev. 1.11.2.9
Jan 26 14:56:14 ppp kernel: HiSax: Teles 16.3 config irq:10
isac:0x980 cfg:d80
Jan 26 14:56:14 ppp kernel: HiSax: hscx A:0x180 hscx B:0x580
Jan 26 14:56:14 ppp kernel: HiSax: DSS1 Rev. 1.16.2.5
Jan 26 14:56:14 ppp kernel: HiSax: 2 channels added
Jan 26 14:56:14 ppp kernel: HiSax: module installed
This indicates that the module was successfully loaded, and it's time to proceed with the installation.
|