
Digium, Inc.
Page 52
Chapter 3: Configuration
3.
Reboot into the new Linux kernel.
4.
Uncomment the following line in
linux/drivers/dahdi/
dahdi_config.h
of the DAHDI complete source package:
#define CONFIG_DAHDI_NET
5.
Rebuild DAHDI in order to compile the
sethdlc
utility. Then execute
the following commands from the DAHDI complete source directory:
# make sethdlc
# make install
6.
Load and configure the driver:
# modprobe wct4xxp
# dahdi_cfg
7.
Use
sethdlc
to bring up the interface:
# sethdlc hdlc0 cisco
8.
Assign the interface an address:
# ifconfig hdlc0 192.168.0.1 netmask 255.255.255.0
9.
The interface may be addressed as any other networking interface
(i.e., eth0) in Linux.