/l3/users/angell2807/nt-voip/linux2.unix.nt.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
![]() linux/ linux-headers-2.6.26-2-686/ linux-headers-2.6.26-2-common/ linux-kbuild-2.6.26/ |
#cd /usr/src/linux
|
#ll
итого 484 drwxr-xr-x 3 root root 4096 Окт 28 14:12 arch lrwxrwxrwx 1 root root 38 Окт 28 14:12 block -> ../linux-headers-2.6.26-2-common/block lrwxrwxrwx 1 root root 39 Окт 28 14:12 crypto -> ../linux-headers-2.6.26-2-common/crypto lrwxrwxrwx 1 root root 40 Окт 28 14:12 drivers -> ../linux-headers-2.6.26-2-common/drivers lrwxrwxrwx 1 root root 35 Окт 28 14:12 fs -> ../linux-headers-2.6.26-2-common/fs drwxr-xr-x 5 root root 4096 Окт 28 14:12 include lrwxrwxrwx 1 root root 37 Окт 28 14:12 init -> ../linux-headers-2.6.26-2-common/init lrwxrwxrwx 1 root root 36 Окт 28 14:12 ipc -> ../linux-headers-2.6.26-2-common/ipc lrwxrwxrwx 1 root root 39 Окт 28 14:12 kernel -> ../linux-headers-2.6.26-2-common/kernel lrwxrwxrwx 1 root root 36 Окт 28 14:12 lib -> ../linux-headers-2.6.26-2-common/lib lrwxrwxrwx 1 root root 41 Окт 28 14:12 Makefile -> ../linux-headers-2.6.26-2-common/Makefile lrwxrwxrwx 1 root root 35 Окт 28 14:12 mm -> ../linux-headers-2.6.26-2-common/mm -rw-r--r-- 1 root root 479520 Сен 16 22:36 Module.symvers lrwxrwxrwx 1 root root 36 Окт 28 14:12 net -> ../linux-headers-2.6.26-2-common/net lrwxrwxrwx 1 root root 40 Окт 28 14:12 samples -> ../linux-headers-2.6.26-2-common/samples lrwxrwxrwx 1 root root 30 Окт 28 14:12 scripts -> ../linux-kbuild-2.6.26/scripts lrwxrwxrwx 1 root root 41 Окт 28 14:12 security -> ../linux-headers-2.6.26-2-common/security lrwxrwxrwx 1 root root 38 Окт 28 14:12 sound -> ../linux-headers-2.6.26-2-common/sound lrwxrwxrwx 1 root root 36 Окт 28 14:12 usr -> ../linux-headers-2.6.26-2-common/usr lrwxrwxrwx 1 root root 37 Окт 28 14:12 virt -> ../linux-headers-2.6.26-2-common/virt |
#apt-get install kernel-source
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Пакет kernel-source недоступен, но упомянут в списке зависимостей другого пакета. Это может означать, что пакет отсутствует, устарел, или доступен из источников, не упомянутых в sources.list E: Для пакета kernel-source не найдены кандидаты на установку |
#apt-cache
![]() add depends dotty dump dumpavail gencaches madison pkgnames policy rdepends search show showpkg showsrc stats unmet xvcg |
#apt-cache search kernel
acerhk-source - Source for the acerhk driver acpidump - utilities to dump system's ACPI tables to an ASCII file adjtimex - Utility to display or set the kernel time variables aespipe - AES-encryption tool with loop-AES support alsa-base - ALSA driver configuration files alsa-source - ALSA driver sources alsa-oss - ALSA wrapper for OSS applications amd64-libs - Amd64 shared libraries for use on i386/x86_64 systems aoetools - tools to assist in using ATA over Ethernet apmd - Utilities for Advanced Power Management (APM) ... linux-patch-debian-2.6.26 - Debian patches to version 2.6.26 of the Linux kernel linux-source-2.6.26 - Linux kernel source for version 2.6.26 with Debian patches linux-support-2.6.26-1 - Support files for Linux 2.6.26 linux-support-2.6.26-2 - Support files for Linux 2.6.26 linux-tree-2.6.26 - Linux kernel source tree for building Debian kernel images quagga - BGP/OSPF/RIP routing daemon samba - a LanManager-like file and printer server for Unix smbfs - mount and umount commands for the smbfs (for kernels >= than 2.2.x) user-mode-linux - User-mode Linux (kernel) zaptel-modules-2.6.26-2-686 - zaptel modules for Linux (kernel 2.6.26-2-686). |
#apt-cache search kernel | less
|
#lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) 01:09.0 Bridge: PLX Technology, Inc. Device d00d (rev 01) 04:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) |
#apt-get install zaptel-source
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Уже установлена самая новая версия zaptel-source. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 4 пакетов не обновлено. |
#lspci | grep tor
01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) |
#lshal | less
|
#lspci -n
00:00.0 0600: 8086:2770 (rev 02) 00:02.0 0300: 8086:2772 (rev 02) 00:02.1 0380: 8086:2776 (rev 02) 00:1b.0 0403: 8086:27d8 (rev 01) 00:1c.0 0604: 8086:27d0 (rev 01) 00:1c.1 0604: 8086:27d2 (rev 01) 00:1c.2 0604: 8086:27d4 (rev 01) 00:1c.3 0604: 8086:27d6 (rev 01) 00:1d.0 0c03: 8086:27c8 (rev 01) 00:1d.1 0c03: 8086:27c9 (rev 01) 00:1d.2 0c03: 8086:27ca (rev 01) 00:1d.3 0c03: 8086:27cb (rev 01) 00:1d.7 0c03: 8086:27cc (rev 01) 00:1e.0 0604: 8086:244e (rev e1) 00:1f.0 0601: 8086:27b8 (rev 01) 00:1f.1 0101: 8086:27df (rev 01) 00:1f.2 0101: 8086:27c0 (rev 01) 00:1f.3 0c05: 8086:27da (rev 01) 01:04.0 0180: 1283:8211 (rev 11) 01:09.0 0680: 10b5:d00d (rev 01) 04:00.0 0200: 8086:108b (rev 03) |
#cd /etc/asterisk/
|
#lsp
![]() lspci lspgpot |
#lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) 01:09.0 Bridge: PLX Technology, Inc. Device d00d (rev 01) 04:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) |
#find /sys -name \*01:09.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:09.0 /sys/bus/pci/devices/0000:01:09.0 /sys/bus/pci/drivers/tormenta2/0000:01:09.0 |
#find /sys -name \*01:04.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:04.0 /sys/bus/pci/devices/0000:01:04.0 /sys/bus/pci/drivers/ITE821x IDE/0000:01:04.0 |
#lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) 01:09.0 Bridge: PLX Technology, Inc. Device d00d (rev 01) 04:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) |
#modinfo tormenta2 | head
modinfo: could not find module tormenta2 |
#modinfo tor2 | head
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 |
#lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) 01:09.0 Bridge: PLX Technology, Inc. Device d00d (rev 01) 04:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) |
#find /sys -name \*01:09.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:09.0 /sys/bus/pci/devices/0000:01:09.0 /sys/bus/pci/drivers/tormenta2/0000:01:09.0 |
#modinfo tormenta2
![]() modinfo: could not find module tormenta2 |
#lsmod | grep tor
tor2 85476 0 zaptel 185060 3 tor2 |
#modinfo tor2
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 parm: debug:int parm: loopback:int parm: timingcable:int parm: japan:int |
#zaptel_hardware
|
#zaptel_hardware
|
#zaptel_hardware
|
#zaptel_hardware -v
|
#zaptel_hardware -v
|
#modinfo tor2 | head
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 |
#vi /etc/zaptel.conf
![]() |
#~
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 |
#zapconf
|
#vi /etc/zaptel.conf
|
#~
![]() ztscan ztspeed |
#zts
![]() ztscan ztspeed |
#zts
![]() ztscan ztspeed |
#ztscan
[1] active=yes alarms=UNCONFIGURED description=Tormenta 2 (PCI) Quad E1 Card 0 Span 1 name=Tor2/0/1 manufacturer=Digium devicetype=Tormenta 2 Quad T1/PRI or E1/PRA location=PCI Bus 01 Slot 10 basechan=1 totchans=31 ... basechan=94 totchans=31 irq=0 type=digital-E1 syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=HDB3 framing_opts=CCS,CRC4 coding= framing= |
#vi /etc/zaptel.conf
|
#~
# Autogenerated by /usr/sbin/zapconf on Fri Oct 29 10:01:33 2010 -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # Span 1: Tor2/0/1 "Tormenta 2 (PCI) Quad E1 Card 0 Span 1" (MASTER) span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 ... ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
#less /etc/zaptel.conf
|
#modinfo tor2 | head
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 |