• About us
  • Products
  • Support
  • Catalogue
  • Distributors
  • Contact
  • Privacy policy

Newsletter
Stay up-to-date Subscribe our newsletter! Enter your e-mail address:
Products
  • G.shdsl+ Modems
  • Remote Power Management Systems
  • RS-232 Port Servers
  • V.35/Ethernet routers
  • G.703(E1)/Ethernet routers
  • Synchronous PCI Cards
    • Tahoe 931
    • Tahoe 932
    • Tahoe 971
    • Tahoe 972
  • Interface converters
polskiEnglish
FreeBSD Drivers for Tahoe WAN PCI Cards
  • Using sethdlc utility to configure card

 Download latest drivers:

plik FreeBSD 4.8-RELEASE, 4.9-RELEASE, 4.10-RELEASE, 4.11-RELEASE

plik FreeBSD 5.1-RELEASE

plik FreeBSD 5.2/5.2.1-RELEASE

plik FreeBSD 5.3-BETA7

plik FreeBSD 5.3-RELEASE

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:

     make install

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 194.204.168.238 194.204.168.237
    route add default 194.204.168.237

'99' is the DLCI number, 10.0.0.1 - local router address and 10.0.0.2 - remote router address.


Ściągnij najnowsze sterowniki:

  • FreeBSD 4.8-RELEASE, 4.9-RELEASE, 4.10-RELEASE, 4.11-RELEASE
  • FreeBSD 5.1-RELEASE
  • FreeBSD 5.2/5.2.1-RELEASE
  • FreeBSD 5.3-BETA7
  • FreeBSD 5.3-RELEASE

Sterowniki składają się z dwóch części - modułu do jądra oraz programu sethdlc służącego do konfiguracji karty.

Ściągnięte sterowniki należy rozpakować poleceniem:

     tar -zxvlf tahoe9xx-freebsd5.1.tar.gz

(zamiast 5.1 może być 4.8 w przypadku sterowników dla FreeBSD 4.8, itd.)

Powstanie katalog tahoe9xx-freebsd5.1, a w nim moduł sterownika i kod źródłowy programu sethdlc. Aby skompilować i zainstalować sterowniki należy wpisać:

     make install

Plik sterownika if_th.ko zostanie umieszczony w katalogu z innymi modułami - /boot/kernel w przypadku FreeBSD 5.x lub /modules w przypadku FreeBSD4.x. Od tego momentu można go załadować przy pomocy polecenia kldload if_th lub podnosząc odpowiedni interfejs: ifconfig th0 up. W przypadku karty jednoportowej zostaje dodany interfejs th0, a w przypadku dwuportowej - interfejsy th0 i th1.

Jeśli podczas ładowania modułu wystąpi błąd - pojawią się komunikaty dotyczące interfejsu wi0 to należy skompilować jądro FreeBSD bez modułu wi. Moduł ten, standardowo obecny w jądrze FreeBSD, nieprawidłowo rozpoznaje karty w systemie i próbuje uruchomić kartę Tahoe niedopuszczając do niej naszego sterownika.

Kartę należy najpierw skonfigurować poleceniem sethdlc, po czym można używać standardowych poleceń, takich jak ifconfig, route, itp.

Sekwencja poleceń w przypadku konfiguracji karty do pracy z siecią Polpak-T jest następująca:

    ifconfig th0 up
    sethdlc th0 fr lmi ansi
    sethdlc th0 create 99
    ifconfig pvc99 194.204.168.238 194.204.168.237
    route add default 194.204.168.237

...gdzie '99' to numer DLCI PVC do routera brzegowego, 194.204.168.238 - adres IP przydzielony dla routera klienta, a 194.204.168.237 - adres IP routera po stronie TP S.A.

 

Copyright © 2021 Tahoe

MostBet