background image

6

4.8. 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.

Now the card sould be configured using the 

sethdlc 

utility.

3.3.

Using sethdlc

The 

sethdlc

 utility is used to configure the WAN card. In case of 

FreeBSD drivers it is compiled and installed along with the kernel 
modules. In case of Linux drivers it is supplied in a separate file and 
additional steps must be followed to install it:

 root@linux /usr/src # tar -zxvf sethdlc-1.15t.tar.gz
 root@linux /usr/src # cd sethdlc-1.15t
 root@linux /usr/src/sethdlc-1.15t # make
 root@linux /usr/src/sethdlc-1.15t # make install

3.3.1.

WAN protocol choice

The 

sethdlc 

utility may be used to select the protocol used on the 

WAN link. Some of the options are available in the Linux driver only. 
Under Linux configure the hdlc0 and hdlc1 interfaces and under FreeBSD 
- th0 and th1.

¡

transparent HDLC

 (Linux driver only)

:

 

sethdlc hdlc0 hdlc [encoding] [parity]

where:

encoding

nrz nrzi fm-mark fm-space manchester

¡

 is one of: 

parity

no-parity  crc16  crc16-pr0  crc16-itu  crc16-

¡

,

,

,

,

itu-pr0  crc32-itu

,

¡

HDLC treated as an Ethernet interface 

(Linux driver only)

:

sethdlc hdlc0 hdlc-eth [encoding] [parity]

parameters same as above

® 

¡

Cisco HDLC:

sethdlc hdlc0 cisco [interval value] [timeout value]

where:

interval value

¡

 is the time between subsequent keepalive 

packets sent through the interface

timeout value

¡

 is the time, after which in case of no 

reception 

of keepalive frames the link is treated as unusable

¡

 

Frame Relay:

sethdlc hdlc0 fr [lmi type [parameter]]

where:

type none ansi ccitt

¡

is the LMI type: 

parameter

dce 

(Linux 

¡

 is a Frame Relay protocol parameter: 

only)

 t391 value  t392 value  n391 value  n392 value  n393   

,

,

,

,

,

value

Moreover in case of Frame Relay protocol you can create and 

delete 

PVCs (Permanent Virtual Channels) with given DLCI values:

 sethdlc hdlc0 create 99
 sethdlc hdlc0 delete 99

After creating a PVC, a new interface is created. Under Linux 

these interfaces have names pvc0, pvc1 and so on. Under FreeBSD 
the name depends on the DLCI number. In the example above a 
pvc99 interface would be created

¡

Synchronous PPP:

sethdlc hdlc0 ppp

3.3.2.

Timeslots selection

For a proper operation of the G.703 port you have to specify, 

which 

timeslots are used for transmission. Timeslots can be given in two 

ways - as a list of numbers (from 1 to 32) and ranges separated by 
commas or as a string of zeros and ones (where '0' means an unused slot 
and '1' - an used one, with the first slot at the beginning of the string):

¡

sethdlc hdlc0 slotmap 2-8,20-21,25

¡

sethdlc hdlc0 slotmap 01111111000000000001100010000000

Use of the first timeslot automaticaly enables unframed mode, 

where whole 2048 kbps are used for data transfer. Otherwise the first 
timeslot is used for framing synchronization. You can also enable the 
unframed mode by typing:

sethdlc hdlc0 slotmap all

7

3.3.2

3.3

3.3.1

Summary of Contents for 971

Page 1: ...G 703 PCI Extension Cards TAHOE 971 972 FREEDOM OF COMMUNICATION USER MANUAL ...

Page 2: ......

Page 3: ... CONTENTS 1 Introduction 1 2 Card installation 2 3 Drivers installation 3 3 1 Linux drivers 3 3 2 FreeBSD drivers 5 3 3 Using sethdlc 6 4 Frame Relay setup 9 5 Technical data 10 6 Declaration of Conformity 11 i ...

Page 4: ...her trademarks of other companies are used only for explanation and to the owner s benefit without intent to infringe Tahoe assumes no responsibility for any errors or omissions that may appear in this document Tahoe makes no commitment to update the information contained here and may make changes at any time without notice ...

Page 5: ...er was that easy now the data stream may be plugged directly into the PC and the operating system treats it as a regular network interface The built in hardware HDLC controller fully services the data transmission thus the PC processor isn t unnecessarily loaded Both Linux and FreeBSD drivers are available supporting Frame Relay HDLC Cisco HDLC X 25 and synchronous PPP protocols ...

Page 6: ...r installing the card connect the G 703 port to the external G 703 device e g a HDSL modem The G 703 port has a RJ 45 connector The G 703 standard doesn t specify the connector pinout but the pinout used is the most common in the industry thus in most cases a regular straight patch cord may be used to connect the card to the external device Anyway the pinout should be carefully checked before conn...

Page 7: ...linux 2 4 24 tar gz original Linux kernel source code linux 2 4 24 tahoe tar gz Linux kernel source code with driver patch applied 3 1 1 Linux kernel compilation Follow these steps to compile the Linux kernel with drivers included linux 2 4 24 copy the kernel sourced from the CD ROM tahoe tar gz with patch applied uncompress it in the usr src directory root linux cd usr src root linux usr src tar ...

Page 8: ...ing its name to a more meaningful one root linux usr src linux cp arch i386 boot bzImage boot vmlinuz 2 4 24 tahoe Then you have to install it The most widely used kernel loader is LILO Linux Loader In its configuration file etc lilo conf at the end you should add new section image boot vmlinuz 2 4 24 tahoe label Tahoe root dev hda1 read only Instead of dev hda1 you may need to enter the name of t...

Page 9: ... boot You can review them using the dmesg command Since now there are new interfaces available hdlc0 and hdlc1 or hdlc0 alone in case of one port cards The next step is to configure the card using the sethdlc utility described after the FreeBSD installation section 3 2 FreeBSD drivers The freebsd directory contains if_th ko a kernel module sethdlc 1 15t tar gz sethdlc source code Copy the drivers ...

Page 10: ...sr src cd sethdlc 1 15t root linux usr src sethdlc 1 15t make root linux usr src sethdlc 1 15t make install 3 3 1 WAN protocol choice The sethdlc utility may be used to select the protocol used on the WAN link Some of the options are available in the Linux driver only Under Linux configure the hdlc0 and hdlc1 interfaces and under FreeBSD th0 and th1 transparent HDLC Linux driver only sethdlc hdlc0...

Page 11: ... FreeBSD the name depends on the DLCI number In the example above a pvc99 interface would be created Synchronous PPP sethdlc hdlc0 ppp 3 3 2 Timeslots selection For a proper operation of the G 703 port you have to specify which timeslots are used for transmission Timeslots can be given in two ways as a list of numbers from 1 to 32 and ranges separated by commas or as a string of zeros and ones whe...

Page 12: ...spectively the CRC4 checksum transmission sethdlc hdlc0 crc4 on sethdlc hdlc0 crc4 off 3 3 4 Port range and sensivity selection The command below switches betweed short haul 50m range and long haul 2000m range mode sethdlc hdlc0 short sethdlc hdlc0 long 3 3 4 3 3 3 ...

Page 13: ...be issued to configure the Frame Relay access set the LMI signaling and create the PVC interface 4 1 Linux sethdlc hdlc0 fr lmi ansi sethdlc hdlc0 create 99 ifconfig hdlc0 up A new pvc0 interface would appear It should be configured using the ifconfig command to set supplied IP addresses ifconfig pvc0 194 204 100 130 netmask 255 255 255 252 pointopoint 194 204 100 129 4 2 FreeBSD ifconfig th0 up s...

Page 14: ...onnector G 704 framing CRC4 support receiver sensitivity 12 dB or 43 dB reach 50 m or 2000 m PCI connector 32 bit 5V 33MHz PCI v2 1 compliant maximum power consumption Tahoe 971 630 mA 5V 3 15W Tahoe 972 700 mA 5V 3 50W environmental conditions storage temperature 20 C to 65 C humidity 5 to 95 operation temperature 0 C to 40 C humidity 0 to 85 5 ...

Page 15: ...ication terminal equipment requirements The compliance of Tahoe 971 and Tahoe 972 with the requirements of the above mentioned directives is ensured by complete application of the following harmonized European Standards EN 60950 2000 EN 55022 1998 EN 61000 6 1 2002 EN 61000 6 3 2002 Signed Piotr Kaczmarzyk Position Director Signature Date 30 Mar 2004 Place Wroclaw Poland TAHOE Piotr Kaczmarzyk ul ...

Page 16: ...12 ...

Page 17: ...13 ...

Page 18: ...nly for explanation and to the owner s benefit without intent to infringe Tahoe assumes no responsibility for any errors or omissions that may appear in this document Tahoe makes no commitment to update the information contained here and may make changes at any time without notice ...

Page 19: ......

Page 20: ... TAHOE Uniwersytecka 1 50951 Wroc aw Poland phone 48 71 344 2637 fax 48 71 344 2642 http www tahoe group com ...

Reviews: