/l3/users/kronas/nt-voip/linux5.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#cd /etc/asterisk/
|
#vim sip.conf
--- /tmp/l3-saved-2145.10684.10956 2013-04-09 16:52:40.000000000 +0300 +++ sip.conf 2013-04-09 16:52:43.000000000 +0300 @@ -2,7 +2,7 @@ [general] context=default -;language=ru +language=ru qualify=yes register => bobruisk:1234@192.168.60.1/minsk |
#[ ]
│ cli.conf │ 264│Jan 14 20:35│ │ cli_aliases.conf │ 6491│Jan 14 20:35│ │ cli_permissions.conf │ 2452│Jan 14 20:35│ │ codecs.conf │ 1655│Jan 14 20:35│ │ console.conf │ 4458│Jan 14 20:35│ │ dbsep.conf │ 1228│Jan 14 20:35│ │ dnsmgr.conf │ 190│Jan 14 20:35│ │ dsp.conf │ 221│Jan 14 20:35│ │ dundi.conf │ 8759│Jan 14 20:35│ │ enum.conf │ 592│Jan 14 20:35│ ... │ extensions.lua │ 5408│Jan 14 20:35│ │ extensions_minivm.conf │ 7481│Jan 14 20:35│ │ features.conf │ 8936│Apr 9 14:37│ │ festival.conf │ 929│Jan 14 20:35│ │ followme.conf │ 3710│Jan 14 20:35│ │ func_odbc.conf │ 5025│Jan 14 20:35│ │ gtalk.conf │ 519│Jan 14 20:35│ ├ ┤ │ │ └───────────────────────────────── 5826M/9386M (62%) ─┘ |
#mc
|
#cd /usr/share/asterisk/sounds/ru/
|
#wget https://github.com/pbxware/asterisk-sounds/archive/master.zip
--2013-04-09 16:55:25-- https://github.com/pbxware/asterisk-sounds/archive/master.zip Resolving github.com... 204.232.175.90 Connecting to github.com|204.232.175.90|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://nodeload.github.com/pbxware/asterisk-sounds/zip/master [following] --2013-04-09 16:55:25-- https://nodeload.github.com/pbxware/asterisk-sounds/zip/master Resolving nodeload.github.com... 207.97.227.252 Connecting to nodeload.github.com|207.97.227.252|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 16728768 (16M) [application/zip] Saving to: “master.zip” 14% [========> ] 2,379,611 64.2K/s eta 5m 19s ^C |
#ls -l
total 2336 -rw-r--r-- 1 root root 2387803 Apr 9 16:56 master.zip |
#rm master.zip
|
#ls -l
total 0 |
#wget http://ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz
--2013-04-09 17:01:18-- http://ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz Resolving ivrvoice.ru... 176.58.112.207 Connecting to ivrvoice.ru|176.58.112.207|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz [following] --2013-04-09 17:01:18-- http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz Resolving www.ivrvoice.ru... 176.58.112.207 Reusing existing connection to ivrvoice.ru:80. HTTP request sent, awaiting response... 404 Not Found 2013-04-09 17:01:18 ERROR 404: Not Found. |
#mv /root/master.zip .
|
#ls -l\
> ^C |
#ls -l\
> ^C |
#ls -l
total 24336 -rw-r--r-- 1 root root 8153347 Jan 8 23:39 asterisk-core-sounds-ru-alaw-current.tar.gz -rw-r--r-- 1 root root 16728768 Apr 9 17:02 master.zip |
#rm asterisk-core-sounds-ru-alaw-current.tar.gz
|
#apt-get install unzip
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. Suggested packages: zip The following NEW packages will be installed: unzip 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 179 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://192.168.15.253/debian/ squeeze/main unzip i386 6.0-4 [179 kB] Fetched 179 kB in 0s (4,485 kB/s) Selecting previously deselected package unzip. (Reading database ... 115904 files and directories currently installed.) Unpacking unzip (from .../archives/unzip_6.0-4_i386.deb) ... Processing triggers for man-db ... Setting up unzip (6.0-4) ... |
#unzip master.zip
Archive: master.zip 1fd21fa5a3209ab2a505d3f21f2ead76d8250618 creating: asterisk-sounds-master/ inflating: asterisk-sounds-master/CHANGES-asterisk-core-ru-1.8.14 inflating: asterisk-sounds-master/CREDITS-asterisk-core-ru-1.8.14 inflating: asterisk-sounds-master/LICENSE-asterisk-core-ru-1.8.14 inflating: asterisk-sounds-master/agent-alreadyon.wav inflating: asterisk-sounds-master/agent-incorrect.wav inflating: asterisk-sounds-master/agent-loggedoff.wav inflating: asterisk-sounds-master/agent-loginok.wav ... inflating: asterisk-sounds-master/vm-tohearenv.wav inflating: asterisk-sounds-master/vm-tomakecall.wav inflating: asterisk-sounds-master/vm-tooshort.wav inflating: asterisk-sounds-master/vm-toreply.wav inflating: asterisk-sounds-master/vm-torerecord.wav inflating: asterisk-sounds-master/vm-undelete.wav inflating: asterisk-sounds-master/vm-undeleted.wav inflating: asterisk-sounds-master/vm-unknown-caller.wav inflating: asterisk-sounds-master/vm-whichbox.wav inflating: asterisk-sounds-master/vm-youhave.wav |
#ls -l | less
|
#cd ..
|
#mv ru ru-x
|
#cd ru
|
#ls -l | less
|
#cd ../ru-x/
|
#cp master.zip /home/user/
|
#cd /etc/asterisk/
|
#vim sip.conf
--- /tmp/l3-saved-2145.23906.2129 2013-04-09 17:20:19.000000000 +0300 +++ sip.conf 2013-04-09 17:23:36.000000000 +0300 @@ -15,19 +15,26 @@ host=dynamic [2102] -context=user_group2 +context=user_group1 type=friend callerid="Sergey Kuranda" secret=4321 host=dynamic [2110] -context=user_group1 +context=user_group3 type=friend callerid="Sergey Kuranda" secret=4321 host=dynamic +[2111] +context=user_group3 +type=friend +callerid="Igor Chubin" +secret=1234 +host=dynamic + [minsk] context=incoming type=friend |
#[ ]
PING 192.168.50.103 (192.168.50.103) 56(84) bytes of data. 64 bytes from 192.168.50.103: icmp_req=1 ttl=64 time=156 ms 64 bytes from 192.168.50.103: icmp_req=2 ttl=64 time=170 ms 64 bytes from 192.168.50.103: icmp_req=3 ttl=64 time=276 ms 64 bytes from 192.168.50.103: icmp_req=4 ttl=64 time=13.5 ms 64 bytes from 192.168.50.103: icmp_req=5 ttl=64 time=31.3 ms 64 bytes from 192.168.50.103: icmp_req=6 ttl=64 time=53.8 ms 64 bytes from 192.168.50.103: icmp_req=7 ttl=64 time=77.8 ms 64 bytes from 192.168.50.103: icmp_req=8 ttl=64 time=100 ms 64 bytes from 192.168.50.103: icmp_req=9 ttl=64 time=18.6 ms ... 64 bytes from 192.168.50.103: icmp_req=15 ttl=64 time=52.0 ms 64 bytes from 192.168.50.103: icmp_req=16 ttl=64 time=75.9 ms 64 bytes from 192.168.50.103: icmp_req=17 ttl=64 time=97.8 ms 64 bytes from 192.168.50.103: icmp_req=18 ttl=64 time=137 ms 64 bytes from 192.168.50.103: icmp_req=19 ttl=64 time=142 ms 64 bytes from 192.168.50.103: icmp_req=20 ttl=64 time=168 ms ^C --- 192.168.50.103 ping statistics --- 20 packets transmitted, 20 received, 0% packet loss, time 19027ms rtt min/avg/max/mdev = 1.858/114.514/276.586/72.274 ms |
#vim sip.conf
|
#canreinvite=no
; ; Voicemail Configuration ; ; ; NOTE: Asterisk has to edit this file to change a user's password. This does ; not currently work with the "#include <file>" directive for Asterisk ; configuration files, nor when using realtime static configuration. ; Do not use them with this configuration file. ; "voicemail.conf" 370L, 18095C ... 2102 => 1234,Mailbox 2102,user@linux5.unix.nt central=America/Chicago|'vm-received' Q 'digits/at' IMp 2110 => 1234,Mailbox 2110,user@linux5.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' m|tz=central|maxmsg=10 military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' ;4300 => 3456,Ben Rigas,ben@american-computer.net 328,0-1 89% european=Europe/Kiev|'vm-received' a d b 'digits/at' HM ;1234 => 4242,Example Mailbox,root@localhost ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.coo |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux5 (pid = 1495) [Apr 10 09:48:06] NOTICE[1541]: chan_sip.c:20325 handle_request_invite: Call from 'bobruisk' to extension '380934177994' rejected because extension not found in context 'incoming'. linux5*CLI> dialplan reload ... -- Executing [380974698173@incoming:2] Dial("SIP/minsk-00000015", "SIP/external_sip/380974698173,30") in new stack == Using SIP RTP CoS mark 5 -- Called external_sip/380974698173 -- SIP/external_sip-00000016 is ringing -- SIP/external_sip-00000016 is making progress passing it to SIP/minsk-00000015 -- SIP/external_sip-00000016 answered SIP/minsk-00000015 -- Packet2Packet bridging SIP/minsk-00000015 and SIP/external_sip-00000016 == Spawn extension (incoming, 380974698173, 2) exited non-zero on 'SIP/minsk-00000015' -- Remote UNIX connection linux5*CLI> exit |
#cleat
bash: cleat: command not found |
#clear
|
#vim sip.conf
|
#[ ]
[local]roup1] exten => _21XX,1,Answer same => n,Dial(SIP/${EXTEN},10,wW) same => n,Voicemail(${EXTEN}@default) same => n,Voicemail(${EXTEN}@default) [ ] [include ]> national ;include => international [ ] [xten => _11XX]1,Dial(SIP/minsk/${EXTEN}) ... include => ukraine [user_group3] include => internal include => local include => national include => international include => ukraine [incoming] include => internal include => local |
#~
|
#vim sip.conf
--- /tmp/l3-saved-2521.15277.31359 2013-04-10 09:49:05.000000000 +0300 +++ sip.conf 2013-04-10 09:54:33.000000000 +0300 @@ -4,7 +4,9 @@ context=default language=ru qualify=yes + register => bobruisk:1234@192.168.60.1/minsk +register => 111:rootpass22@178.63.229.229/external ; SIP-peer [2101] @@ -43,3 +45,10 @@ host=dynamic canreinvite=no +[external] +type=friend +context=incoming +user=111 +secret=rootpass22 +host=dynamic +canreinvite=no |
#[ ]
PING 178.63.229.229 (178.63.229.229) 56(84) bytes of data. 64 bytes from 178.63.229.229: icmp_req=1 ttl=55 time=36.0 ms 64 bytes from 178.63.229.229: icmp_req=2 ttl=55 time=35.5 ms ^C --- 178.63.229.229 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 35.504/35.767/36.030/0.263 ms |
#vim sip.conf
--- /tmp/l3-saved-2521.22753.9680 2013-04-10 09:57:28.000000000 +0300 +++ sip.conf 2013-04-10 10:20:44.000000000 +0300 @@ -6,7 +6,7 @@ qualify=yes register => bobruisk:1234@192.168.60.1/minsk -register => 111:rootpass22@178.63.229.229/external +register => 222:rootpass22@178.63.229.229/external_sip ; SIP-peer [2101] @@ -45,10 +45,10 @@ host=dynamic canreinvite=no -[external] +[external_sip] type=friend -context=incoming -user=111 +host=178.63.229.229 +defaultuser=222 secret=rootpass22 -host=dynamic canreinvite=no +nat=yes |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux5 (pid = 1495) Verbosity is at least 3 -- Remote UNIX connection disconnected ... linux5*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 2101/2101 192.168.50.101 D N 5060 OK (22 ms) 2102/2102 (Unspecified) D N 5060 UNKNOWN 2110/2110 192.168.50.102 D N 53625 UNREACHABLE 2111/2111 192.168.50.103 D N 52104 UNREACHABLE external_sip/222 178.63.229.229 N 5060 OK (37 ms) minsk/bobruisk 192.168.60.1 D N 5060 OK (1 ms) 6 sip peers [Monitored: 3 online, 3 offline Unmonitored: 0 online, 0 offline] linux5*CLI> exit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux5 (pid = 1495) Verbosity is at least 3 -- Remote UNIX connection disconnected ... linux5*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 2101/2101 192.168.50.101 D N 5060 OK (22 ms) 2102/2102 (Unspecified) D N 5060 UNKNOWN 2110/2110 192.168.50.102 D N 53625 UNREACHABLE 2111/2111 192.168.50.103 D N 52104 UNREACHABLE external_sip/222 178.63.229.229 N 5060 OK (37 ms) minsk/bobruisk 192.168.60.1 D N 5060 OK (1 ms) 6 sip peers [Monitored: 3 online, 3 offline Unmonitored: 0 online, 0 offline] linux5*CLI> exit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux5 (pid = 1495) Verbosity is at least 3 == Using SIP RTP CoS mark 5 ... [Apr 10 12:23:53] NOTICE[1541]: chan_sip.c:18485 handle_response_peerpoke: Peer '2110' is now Lagged. (2168ms / 2000ms) [Apr 10 12:24:42] NOTICE[1541]: chan_sip.c:18485 handle_response_peerpoke: Peer '2110' is now Reachable. (1435ms / 2000ms) [Apr 10 12:25:44] NOTICE[1541]: chan_sip.c:18485 handle_response_peerpoke: Peer '2110' is now Lagged. (2300ms / 2000ms) [Apr 10 12:26:32] NOTICE[1541]: chan_sip.c:18485 handle_response_peerpoke: Peer '2110' is now Reachable. (445ms / 2000ms) [Apr 10 12:27:35] NOTICE[1541]: chan_sip.c:18485 handle_response_peerpoke: Peer '2110' is now Lagged. (2257ms / 2000ms) -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes linux5*CLI> Disconnected from Asterisk server |
#[ ]
; "sip.conf" file [general] context=default "sip.conf" 54L, 743C language=ru [ualify=]es [ ] register => bobruisk:1234@192.168.60.1/minsk register => 222:rootpass22@178.63.229.229/external_sip [2101] ... username=bobruisk secret=1234 host=dynamic canreinvite=no [external_sip] type=friend host=178.63.229.229 defaultuser=222 secret=rootpass22 canreinvite=no |
#;parkedmusicclass=default ; This is the MOH class to use for the parked channel
host=dynamic [sip.con]" 63L, 826C [ ] callgroup=1 pickupgroup=1 [2101] [ ] context=user_group3 type=friend callerid="Sergey Kuranda" ... context=user_group3 type=friend callerid="Igor Chubin" secret=1234=2 host=dynamic [minsk] context=incoming type=friend username=bobruisk "sip.conf" 63L, 826C written 31,0-1 Top |
#[ ]
;xferfailsound = beeperr ; to indicate a failed transfer pickupexten = *8 ; Configure the pickup extension. (default is *8) ; feature activation (default is 1000 ms) pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) ; By default, this is 2. ... ;atxfer => *2 ; Attended transfer -- Make sure to set the T and/or t option in the Dial() or Queue() app call! [parkcall =] #72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app call! [applicationmap] [ ] ; defined here. The value of DYNAMIC_FEATURES should be the names of the features [ ] ; to allow the channel to use separated by '#'. For example: ; ; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3) ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features 61,1 23% |
#[ ]
;xferfailsound = beeperr ; to indicate a failed transfer pickupexten = *8 ; Configure the pickup extension. (default is *8) ; feature activation (default is 1000 ms) pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) ; By default, this is 2. ... ) app call! ; Attended transfer -- Make sure to set the T and/or t option in the Dial() or Queue(( blindxfer => #1 ; Blind transfer (default is #) -- Make sure to set the T and/or t option in the Dial() or Quu ll!rkcall => #72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app caa n the Dial() or Queue() app call! One Touch Record a.k.a. Touch MixMonitor -- Make sure to set the X and/or x option ii [applicationmap] ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features ; defined here. The value of DYNAMIC_FEATURES should be the names of the features ; to allow the channel to use separated by '#'. For example: ; ; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3) |
#;
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: dahdi-source 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 912 kB of archives. After this operation, 1,044 kB of additional disk space will be used. Get:1 http://192.168.15.253/debian/ squeeze/main dahdi-source all 1:2.3.0.1+dfsg-2 [912 kB] Fetched 912 kB in 0s (20.3 MB/s) Selecting previously deselected package dahdi-source. (Reading database ... 115922 files and directories currently installed.) Unpacking dahdi-source (from .../dahdi-source_1%3a2.3.0.1+dfsg-2_all.deb) ... Setting up dahdi-source (1:2.3.0.1+dfsg-2) ... |
#module-assistant auto-install dahdi
Updated infos about 1 packages Getting source for kernel version: 2.6.39-bpo.2-686-pae apt-get install linux-headers-2.6.39-bpo.2-686-pae Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-2.6.39-bpo.2-686-pae E: Couldn't find any package by regex 'linux-headers-2.6.39-bpo.2-686-pae' Creating symlink... apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. Done! |
#apt-cache search source | grep '^[^ ]*-source '
acerhk-source - Source for the acerhk driver acl2-books-source - A Computational Logic for Applicative Common Lisp: library sources acl2-infix-source - A Computational Logic for Applicative Common Lisp: infix source acl2-source - A Computational Logic for Applicative Common Lisp: source files alsa-source - ALSA driver sources apt-show-source - Shows source-package information axiom-source - A general purpose computer algebra system: source files batman-adv-source - Source for the batman-advanced kernel module batmand-gateway-source - Source for the batmand-gateway kernel module bf-utf-source - Source for fonts needed to build Debian installers ... sysprof-module-source - Source for the sysprof module tp-smapi-source - ThinkPad hardware/firmware access modules source uclibc-source - Small C library implementation - source usbip-source - USB device sharing system over IP network (kernel module source) virtualbox-ose-guest-source - x86 virtualization solution - guest addition module source virtualbox-ose-source - x86 virtualization solution - kernel module source vloopback-source - vloopback modules for Linux vpb-driver-source - Voicetronix telephony hardware driver source xtables-addons-source - Extensions targets and matches for iptables [modules sources] openafs-modules-source - AFS distributed filesystem kernel module source |
#cat /etc/debian_version
6.0.7 |
#vim /etc/apt/sources.list
--- /tmp/l3-saved-2521.10626.21972 2013-04-10 12:05:12.000000000 +0300 +++ /etc/apt/sources.list 2013-04-10 12:09:34.000000000 +0300 @@ -6,6 +6,7 @@ deb http://192.168.15.253:9999/debian/ squeeze main deb-src http://192.168.15.253:9999/debian/ squeeze main +deb http://192.168.15.253:9999/debian-backports/ squeeze-backports main deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free |
#apt-cache search source | grep '^[^ ]*-source '
acerhk-source - Source for the acerhk driver acl2-books-source - A Computational Logic for Applicative Common Lisp: library sources acl2-infix-source - A Computational Logic for Applicative Common Lisp: infix source acl2-source - A Computational Logic for Applicative Common Lisp: source files alsa-source - ALSA driver sources apt-show-source - Shows source-package information axiom-source - A general purpose computer algebra system: source files batman-adv-source - Source for the batman-advanced kernel module batmand-gateway-source - Source for the batmand-gateway kernel module bf-utf-source - Source for fonts needed to build Debian installers ... vloopback-source - vloopback modules for Linux vpb-driver-source - Voicetronix telephony hardware driver source xtables-addons-source - Extensions targets and matches for iptables [modules sources] gdb-source - The GNU Debugger (source) linux-source - Linux kernel source (meta-package) virtualbox-guest-source - x86 virtualization solution - guest addition module source virtualbox-source - x86 virtualization solution - kernel module source virtualbox-ose-guest-source - x86 virtualization solution - guest addition module source virtualbox-ose-source - x86 virtualization solution - kernel module source openafs-modules-source - AFS distributed filesystem kernel module source |
#apt-cache search linux-image
alsa-base - ALSA driver configuration files linux-image-2.6-486 - Linux 2.6 for old PCs (meta-package) linux-image-2.6-686-bigmem - Linux 2.6 for PCs with 4GB+ RAM (meta-package) linux-image-2.6-amd64 - Linux 2.6 for 64-bit PCs (meta-package) linux-image-2.6-openvz-686 - Linux 2.6 for modern PCs (meta-package), OpenVZ support linux-image-2.6-vserver-686-bigmem - Linux 2.6 for PCs with 4GB+ RAM (meta-package), Linux-VServer support linux-image-2.6-vserver-686 - Linux 2.6 for modern PCs (meta-package), Linux-VServer support linux-image-2.6-xen-686 - Linux 2.6 for modern PCs (meta-package), Xen dom0 support linux-image-486 - Linux for old PCs (meta-package) linux-image-686-bigmem - Linux for PCs with 4GB+ RAM (meta-package) ... linux-image-2.6.32-5-686-bigmem-dbg - Debugging infos for Linux 2.6.32-5-686-bigmem linux-image-2.6.32-5-amd64 - Linux 2.6.32 for 64-bit PCs linux-image-2.6.32-5-openvz-686 - Linux 2.6.32 for modern PCs, OpenVZ support linux-image-2.6.32-5-openvz-686-dbg - Debugging infos for Linux 2.6.32-5-openvz-686 linux-image-2.6.32-5-vserver-686 - Linux 2.6.32 for modern PCs, Linux-VServer support linux-image-2.6.32-5-vserver-686-bigmem - Linux 2.6.32 for PCs with 4GB+ RAM, Linux-VServer support linux-image-2.6.32-5-vserver-686-bigmem-dbg - Debugging infos for Linux 2.6.32-5-vserver-686-bigmem linux-image-2.6.32-5-xen-686 - Linux 2.6.32 for modern PCs, Xen dom0 support linux-image-2.6.32-5-xen-686-dbg - Debugging infos for Linux 2.6.32-5-xen-686 linux-image-2.6.39-bpo.2-686-pae - Linux 2.6.39 for modern PCs |
#apt-get install linux-image-3.2.0-0.bpo.4-686-pae
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. Suggested packages: linux-doc-3.2 debian-kernel-handbook Recommended packages: firmware-linux-free The following NEW packages will be installed: linux-image-3.2.0-0.bpo.4-686-pae 0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded. Need to get 23.0 MB of archives. After this operation, 90.4 MB of additional disk space will be used. Get:1 http://192.168.15.253/debian-backports/ squeeze-backports/main linux-image-3.2.0-0.bpo.4-686-pae i386 3.2.41-2~bpo60+1 [23.0 MB] |
#init 6
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:b9:4f inet addr:192.168.50.1 Bcast:192.168.50.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:b94f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:89 errors:0 dropped:0 overruns:0 frame:0 TX packets:193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:21591 (21.0 KiB) TX bytes:40905 (39.9 KiB) Interrupt:19 Memory:f0180000-f01a0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1359 (1.3 KiB) TX bytes:1359 (1.3 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:b9:4f inet addr:192.168.50.1 Bcast:192.168.50.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:b94f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:89 errors:0 dropped:0 overruns:0 frame:0 TX packets:193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:21591 (21.0 KiB) TX bytes:40905 (39.9 KiB) Interrupt:19 Memory:f0180000-f01a0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1359 (1.3 KiB) TX bytes:1359 (1.3 KiB) |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=49 time=46.1 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=49 time=40.8 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 40.815/43.470/46.125/2.655 ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=49 time=46.1 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=49 time=40.8 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 40.815/43.470/46.125/2.655 ms |
#apt-get install linux-headers
Reading package lists... Done Building dependency tree Reading state information... Done Package linux-headers is a virtual package provided by: linux-headers-2.6.32-5-xen-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-vserver-686-bigmem 2.6.32-48squeeze1 linux-headers-2.6.32-5-vserver-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-openvz-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-amd64 2.6.32-48squeeze1 linux-headers-2.6.32-5-686-bigmem 2.6.32-48squeeze1 ... linux-headers-2.6-xen-686 2.6.32+29 linux-headers-2.6-vserver-686 2.6.32+29 linux-headers-2.6-vserver-686-bigmem 2.6.32+29 linux-headers-2.6-openvz-686 2.6.32+29 linux-headers-2.6-amd64 2.6.32+29 linux-headers-2.6-686 2.6.32+29 linux-headers-2.6-686-bigmem 2.6.32+29 linux-headers-2.6-486 2.6.32+29 You should explicitly select one to install. E: Package 'linux-headers' has no installation candidate |
#apt-get install linux-headers
Reading package lists... Done Building dependency tree Reading state information... Done Package linux-headers is a virtual package provided by: linux-headers-2.6.32-5-xen-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-vserver-686-bigmem 2.6.32-48squeeze1 linux-headers-2.6.32-5-vserver-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-openvz-686 2.6.32-48squeeze1 linux-headers-2.6.32-5-amd64 2.6.32-48squeeze1 linux-headers-2.6.32-5-686-bigmem 2.6.32-48squeeze1 ... linux-headers-2.6-xen-686 2.6.32+29 linux-headers-2.6-vserver-686 2.6.32+29 linux-headers-2.6-vserver-686-bigmem 2.6.32+29 linux-headers-2.6-openvz-686 2.6.32+29 linux-headers-2.6-amd64 2.6.32+29 linux-headers-2.6-686 2.6.32+29 linux-headers-2.6-686-bigmem 2.6.32+29 linux-headers-2.6-486 2.6.32+29 You should explicitly select one to install. E: Package 'linux-headers' has no installation candidate |
#apt-get install linux-headers-3.2.0-0.bpo.4-686-pae
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: linux-headers-3.2.0-0.bpo.4-common linux-kbuild-3.2 The following NEW packages will be installed: linux-headers-3.2.0-0.bpo.4-686-pae linux-headers-3.2.0-0.bpo.4-common linux-kbuild-3.2 ... Selecting previously deselected package linux-headers-3.2.0-0.bpo.4-common. (Reading database ... 119619 files and directories currently installed.) Unpacking linux-headers-3.2.0-0.bpo.4-common (from .../linux-headers-3.2.0-0.bpo.4-common_3.2.41-2~bpo60+1_i386.deb) ... Selecting previously deselected package linux-kbuild-3.2. Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.1-2~bpo60+1_i386.deb) ... Selecting previously deselected package linux-headers-3.2.0-0.bpo.4-686-pae. Unpacking linux-headers-3.2.0-0.bpo.4-686-pae (from .../linux-headers-3.2.0-0.bpo.4-686-pae_3.2.41-2~bpo60+1_i386.deb) ... Setting up linux-headers-3.2.0-0.bpo.4-common (3.2.41-2~bpo60+1) ... Setting up linux-kbuild-3.2 (3.2.1-2~bpo60+1) ... Setting up linux-headers-3.2.0-0.bpo.4-686-pae (3.2.41-2~bpo60+1) ... |
#apt-get install linux-headers-3.2.0-0.bpo.4-686-pae
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: mysql-common libmysqlclient16 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: linux-headers-3.2.0-0.bpo.4-common linux-kbuild-3.2 The following NEW packages will be installed: linux-headers-3.2.0-0.bpo.4-686-pae linux-headers-3.2.0-0.bpo.4-common linux-kbuild-3.2 ... Selecting previously deselected package linux-headers-3.2.0-0.bpo.4-common. (Reading database ... 119619 files and directories currently installed.) Unpacking linux-headers-3.2.0-0.bpo.4-common (from .../linux-headers-3.2.0-0.bpo.4-common_3.2.41-2~bpo60+1_i386.deb) ... Selecting previously deselected package linux-kbuild-3.2. Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.1-2~bpo60+1_i386.deb) ... Selecting previously deselected package linux-headers-3.2.0-0.bpo.4-686-pae. Unpacking linux-headers-3.2.0-0.bpo.4-686-pae (from .../linux-headers-3.2.0-0.bpo.4-686-pae_3.2.41-2~bpo60+1_i386.deb) ... Setting up linux-headers-3.2.0-0.bpo.4-common (3.2.41-2~bpo60+1) ... Setting up linux-kbuild-3.2 (3.2.1-2~bpo60+1) ... Setting up linux-headers-3.2.0-0.bpo.4-686-pae (3.2.41-2~bpo60+1) ... |
#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2.tar.gz
--2013-04-10 13:53:34-- http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2.tar.gz Resolving downloads.asterisk.org... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.asterisk.org|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1726548 (1.6M) [application/x-gzip] Saving to: “dahdi-linux-2.6.2.tar.gz” 100%[=================================================================>] 1,726,548 36.2K/s in 39s 2013-04-10 13:54:13 (43.5 KB/s) - “dahdi-linux-2.6.2.tar.gz” saved [1726548/1726548] |
#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2.tar.gz
--2013-04-10 13:53:34-- http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2.tar.gz Resolving downloads.asterisk.org... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.asterisk.org|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1726548 (1.6M) [application/x-gzip] Saving to: “dahdi-linux-2.6.2.tar.gz” 100%[=================================================================>] 1,726,548 36.2K/s in 39s 2013-04-10 13:54:13 (43.5 KB/s) - “dahdi-linux-2.6.2.tar.gz” saved [1726548/1726548] |
#tar -zxvf dahdi-linux-2.6.2.tar.gz
dahdi-linux-2.6.2/ dahdi-linux-2.6.2/LICENSE dahdi-linux-2.6.2/include/ dahdi-linux-2.6.2/include/dahdi/ dahdi-linux-2.6.2/include/dahdi/dahdi_config.h dahdi-linux-2.6.2/include/dahdi/user.h dahdi-linux-2.6.2/include/dahdi/wctdm_user.h dahdi-linux-2.6.2/include/dahdi/Kbuild dahdi-linux-2.6.2/include/dahdi/fasthdlc.h dahdi-linux-2.6.2/include/dahdi/kernel.h ... dahdi-linux-2.6.2/drivers/dahdi/xpp/xbus-core.h dahdi-linux-2.6.2/drivers/dahdi/xpp/Makefile dahdi-linux-2.6.2/drivers/dahdi/xpp/card_pri.h dahdi-linux-2.6.2/drivers/dahdi/xpp/card_fxs.c dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd.h dahdi-linux-2.6.2/drivers/dahdi/xpp/xframe_queue.h dahdi-linux-2.6.2/drivers/dahdi/xpp/init_card_5_30 dahdi-linux-2.6.2/Makefile dahdi-linux-2.6.2/README dahdi-linux-2.6.2/.version |
#tar -zxvf dahdi-linux-2.6.2.tar.gz
dahdi-linux-2.6.2/ dahdi-linux-2.6.2/LICENSE dahdi-linux-2.6.2/include/ dahdi-linux-2.6.2/include/dahdi/ dahdi-linux-2.6.2/include/dahdi/dahdi_config.h dahdi-linux-2.6.2/include/dahdi/user.h dahdi-linux-2.6.2/include/dahdi/wctdm_user.h dahdi-linux-2.6.2/include/dahdi/Kbuild dahdi-linux-2.6.2/include/dahdi/fasthdlc.h dahdi-linux-2.6.2/include/dahdi/kernel.h ... dahdi-linux-2.6.2/drivers/dahdi/xpp/xbus-core.h dahdi-linux-2.6.2/drivers/dahdi/xpp/Makefile dahdi-linux-2.6.2/drivers/dahdi/xpp/card_pri.h dahdi-linux-2.6.2/drivers/dahdi/xpp/card_fxs.c dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd.h dahdi-linux-2.6.2/drivers/dahdi/xpp/xframe_queue.h dahdi-linux-2.6.2/drivers/dahdi/xpp/init_card_5_30 dahdi-linux-2.6.2/Makefile dahdi-linux-2.6.2/README dahdi-linux-2.6.2/.version |
#make
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz --2013-04-10 13:54:28-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz Resolving downloads.digium.com... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.digium.com|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 149360 (146K) [application/x-gzip] Saving to: “dahdi-fwload-vpmadt032-1.25.0.tar.gz” 100%[=================================================================>] 149,360 38.8K/s in 3.8s ... LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxo.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.ko make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' |
#make
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz --2013-04-10 13:54:28-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz Resolving downloads.digium.com... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.digium.com|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 149360 (146K) [application/x-gzip] Saving to: “dahdi-fwload-vpmadt032-1.25.0.tar.gz” 100%[=================================================================>] 149,360 38.8K/s in 3.8s ... LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxo.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.ko CC /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.mod.o LD [M] /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.ko make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' |
#make install
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.4-686-pae/build SUBDIRS=/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi/dahdi-linux-2.6.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' VERSION /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' build_tools/uninstall-modules dahdi 3.2.0-0.bpo.4-686-pae ... install ../init_card_1_30 ../init_card_2_30 ../init_card_3_30 ../init_card_4_30 ../init_card_5_30 /usr/share/dahdi/ install -m 644 ../XppConfig.pm USB_FW.hex USB_FW.201.hex USB_RECOV.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex FPGA_1161.201.hex PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex /usr/share/dahdi/ make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/firmwares' ################################################### ### ### DAHDI installed successfully. ### If you have not done so before, install the package ### dahdi-tools. ### ################################################### |
#make install
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.4-686-pae/build SUBDIRS=/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi/dahdi-linux-2.6.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' VERSION /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' build_tools/uninstall-modules dahdi 3.2.0-0.bpo.4-686-pae ... install ../init_card_1_30 ../init_card_2_30 ../init_card_3_30 ../init_card_4_30 ../init_card_5_30 /usr/share/dahdi/ install -m 644 ../XppConfig.pm USB_FW.hex USB_FW.201.hex USB_RECOV.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex FPGA_1161.201.hex PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex /usr/share/dahdi/ make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/firmwares' ################################################### ### ### DAHDI installed successfully. ### If you have not done so before, install the package ### dahdi-tools. ### ################################################### |
#make all
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.4-686-pae/build SUBDIRS=/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi/dahdi-linux-2.6.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' VERSION /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' |
#make all
make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.4-686-pae/build SUBDIRS=/usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi/dahdi-linux-2.6.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' VERSION /usr/src/dahdi/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae' |
#dahdi_
dahdi_cfg dahdi_genconf dahdi_monitor dahdi_scan dahdi_tool dahdi_diag dahdi_hardware dahdi_registration dahdi_test |
#dahdi_
dahdi_cfg dahdi_genconf dahdi_monitor dahdi_scan dahdi_tool dahdi_diag dahdi_hardware dahdi_registration dahdi_test |
#dahdi_
dahdi_cfg dahdi_genconf dahdi_monitor dahdi_scan dahdi_tool dahdi_diag dahdi_hardware dahdi_registration dahdi_test |
#dahdi_
dahdi_cfg dahdi_genconf dahdi_monitor dahdi_scan dahdi_tool dahdi_diag dahdi_hardware dahdi_registration dahdi_test |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#modinfo dahdi
filename: /lib/modules/3.2.0-0.bpo.4-686-pae/dahdi/dahdi.ko alias: dahdi_dummy license: GPL v2 description: DAHDI Telephony Interface author: Mark Spencer <markster@digium.com> version: 2.6.2 srcversion: 0AFDAE1CD29137EA0FA18FB depends: crc-ccitt vermagic: 3.2.0-0.bpo.4-686-pae SMP mod_unload modversions 686 parm: initdir:charp parm: debug:Sets debugging verbosity as a bitfield, to see general debugging set this to 1. To see RBS debugging set this to 32 (int) parm: deftaps:int parm: max_pseudo_channels:Maximum number of pseudo channels. (int) parm: hwec_overrides_swec:When true, a hardware echo canceller is used instead of configured SWEC. (int) parm: auto_assign_spans:If 1 spans will automatically have their children span and channel numbers assigned by the driver. If 0, user space will need to assign them via /sys/bus/dahdi_devices. (int) |
#modinfo dahdi
filename: /lib/modules/3.2.0-0.bpo.4-686-pae/dahdi/dahdi.ko alias: dahdi_dummy license: GPL v2 description: DAHDI Telephony Interface author: Mark Spencer <markster@digium.com> version: 2.6.2 srcversion: 0AFDAE1CD29137EA0FA18FB depends: crc-ccitt vermagic: 3.2.0-0.bpo.4-686-pae SMP mod_unload modversions 686 parm: initdir:charp parm: debug:Sets debugging verbosity as a bitfield, to see general debugging set this to 1. To see RBS debugging set this to 32 (int) parm: deftaps:int parm: max_pseudo_channels:Maximum number of pseudo channels. (int) parm: hwec_overrides_swec:When true, a hardware echo canceller is used instead of configured SWEC. (int) parm: auto_assign_spans:If 1 spans will automatically have their children span and channel numbers assigned by the driver. If 0, user space will need to assign them via /sys/bus/dahdi_devices. (int) |
#rmmod dahdi
|
#screen
|
6.0.7
Время первой команды журнала | 15:50:40 2013- 4- 9 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:02:23 2013- 4-10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.91 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.58 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008