|
FreeBSD Drivers for Tahoe WAN PCI Cards
Download latest drivers:
Drivers consist of two parts - a kernel module and sethdlc
utility used to configure card.
Downloaded drivers should be unpacked using following command:
tar -zxvlf tahoe9xx-freebsd5.1.tar.gz
(instead of 5.1 there may be 4.8 in case of FreeBSD 4.8
drivers, etc.)
Directory tahoe9xx-freebsd5.1 will be created, containing
kernel module and source code of sethdlc utility. To compile and install
drivers enter:
Driver module if_th.ko will be installed in modules directory -
/boot/kernel in case of FreeBSD 5.x or /modules
in case of FreeBSD 4.x. Now it can be loaded using
kldload if_th command or by bringing the interface up:
ifconfig th0 up. One interface - th0 - is added when using
one-port card and two interfaces - th0 and th1 -
when using two-port card.
At first card should be configured using
sethdlc
command. Then you can use regular commands like ifconfig,
route, etc.
Following sequence is used to set up a connection to the frame relay
network:
ifconfig th0 up
sethdlc th0 fr lmi ansi
sethdlc th0 create 99
ifconfig pvc99 10.0.0.1 10.0.0.2
route add default 10.0.0.2
'99' is the DLCI number, 10.0.0.1 - local router address
and 10.0.0.2 - remote router address.
|