Archive for the ‘ Tech Tips ’ Category

This problem is associated with a 2MB PRI’s “clock controller data” still programmed in Nortel Meridian Systems. Last week, I instructed my tech staff to remove all the programs in our newly purchased Nortel Option11 SSC and he told me that he cannot remove the PRI2 (E1) record in the Common Equipment Overlay (LD17).

PROBLEM:

>ld 17
REQ chg
TYPE cequ
DDCS
TDS
CONF
DTDT
DLOP
PRI2 x(n) *(n) is the loop number where the PRI2 is programmed

SCH5619

PROBLEM DEFINITION:

SCH5619 - Must remove the clock controller data first before delete the digital loop.

SOLUTION:

The solution is pretty simple, remove the clock controller data then remove the PRI2 program.

.LD 73
REQ OUT
TYPE PRI2
FEAT SYTI
CLKN X

.LD 17
REQ CHG
TYPE CEQU
PRI2 X(n)

Where (n) is the loop number where the PRI2 is programmed.

Popularity: 2% [?]

Rate this:
2.5

The configuration below comes after you have successfully compiled all necessary sources to run wcte11xp or wct1xxp card, the sources include zaptel, libpri and asterisk.

#modprobe zaptel
#modprobe wcte11xp (for wcte11xp card)
#modprobe wct1xxp (for wct1xxp card)

Configure /etc/zaptel.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
loadzone = us
defaultzone = us

Configure /etc/asterisk/zapata.conf

[trunkgroups]
[channels]
language=us
context=default
signalling=pri_cpe
switchtype=euroisdn
rxwink=300
loadzone=us
defaultzone=us
channel => 1-15,17-31

callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=no
busycount=6
callprogress=no
faxdetect=incoming

Popularity: 2% [?]

Rate this:
2.5

Cisco Router Basics

Cisco Router Configuration Commands

Tasks Cisco Command
Set a console password to cisco Router(config)#line con 0Router(config-line)#login
Router(config-line)#password cisco
Set a telnet password Router(config)#line vty 0 4Router(config-line)#login
Router(config-line)#password cisco
Stop console timing out Router(config)#line con 0Router(config-line)#exec-timeout 0 0
Set the enable password to cisco Router(config)#enable password cisco
Set the enable secret password to cisco.This password overrides the enable password and is encypted within the config file Router(config)#enable secret cisco
Enable an interface Router(config-if)#no shutdown
To disable an interface Router(config-if)#shutdown
Set the clock rate for a router with a DCE cable to 64K Router(config-if)clock rate 64000
Set a logical bandwidth assignment of 64K to the serial interface Router(config-if)bandwidth 64Note that the zeroes are not missing
To add an IP address to a interface Router(config-if)#ip addr 10.1.1.1 255.255.255.0
To enable RIP on all 172.16.x.y interfaces Router(config)#router rip
Router(config-router)#network 172.16.0.0
Disable RIP Router(config)#no router rip
To enable IRGP with a AS of 200, to all interfaces Router(config)#router igrp 200
Router(config-router)#network 172.16.0.0
Disable IGRP Router(config)#no router igrp 200
Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, the next hop is 172.16.2.1, at a cost of 5 hops Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5
Disable CDP for the whole router Router(config)#no cdp run
Enable CDP for he whole router Router(config)#cdp run
Disable CDP on an interface Router(config-if)#no cdp enable

Cisco Router Show Commands

Tasks Cisco Command
View version information show version
View current configuration (DRAM) show running-config
View startup configuration (NVRAM) show startup-config
Show IOS file and flash space show flash
Shows all logs that the router has in its memory show log
View the interface status of interface e0 show interface e0
Overview all interfaces on the router show ip interfaces brief
View type of serial cable on s0 show controllers 0 (note the space between the ’s’ and the ‘0′)
Display a summary of connected cdp devices show cdp neighbor
Display detailed information on all devices show cdp entry *
Display current routing protocols show ip protocols
Display IP routing table show ip route
Display access lists, this includes the number of displayed matches show access-lists
Check the router can see the ISDN switch show isdn status
Check a Frame Relay PVC connections show frame-relay pvc
show lmi traffic stats show frame-relay lmi
Display the frame inverse ARP table show frame-relay map

Cisco Router Basic Operations

Tasks Cisco Command
Enable Enter privileged mode
Return to user mode from privileged disable
Exit Router Logout or exit or quit
Recall last command up arrow or <Ctrl-P>
Recall next command down arrow or <Ctrl-N>
Suspend or abort <Shift> and <Ctrl> and 6 then x
Refresh screen output <Ctrl-R>
Compleat Command TAB

Cisco Router Copy Commands

Tasks Cisco Command
Save the current configuration from DRAM to NVRAM copy running-config startup-config
Merge NVRAM configuration to DRAM copy startup-config running-config
Copy DRAM configuration to a TFTP server copy runing-config tftp
Merge TFTP configuration with current router configuration held in DRAM copy tftp runing-config
Backup the IOS onto a TFTP server copy flash tftp
Upgrade the router IOS from a TFTP server copy tftp flash

Cisco Router Debug Commands

Tasks Cisco Command
Enable debug for RIP debug ip rip
Enable summary IGRP debug information debug ip igrp events
Enable detailed IGRP debug information debug ip igrp transactions
Debug IPX RIP debug ipx routing activity
Debug IPX SAP debug IPX SAP
Enable debug for CHAP or PAP debug ppp authentication
Switch all debugging off no debug allundebug all

Popularity: 7% [?]

Rate this:
2.5

If you are new to Linux, finding files via “Command Line Interface” (CLI) is different from browsing them through a desktop file browser. Fortunately, there is a Linux command called ‘find’ that helps you find the files you are looking for. The command comes with different options you can use to easily find the files you are looking for.

The purpose of this blog post is to introduce new Linux users to the command find. Below is the default syntax of this command:

find [path] [expression]

Where path is the folder (directory) where the command will start looking for files (including all directories inside) and expression is the expression matching the files we have to find.

Examples:

1.) Finding files based on their file extensions.
You can use the command below if you want to search for all .jpg files in /root directory:

# find /root -name ‘*.jpg’

Use the command below if you want to search for all .php and .jpg files in /root directory:

# find /root -name ‘*.php’ -o -name ‘*.jpg’

If you are expecting a case sensitive results then you can use the -iname switch:

# find /home -iname ‘*.php’ -o -iname ‘*.jpg’

2.) Adding more search criteria:

The example commands we used above might display a lot of files on your screen, making it a bit hard for you to locate the files you are looking for. But that is not a problem, you can narrow down your search by adding more criteria like file size and file modification date.

Use the command below if you want to find .jpg files bigger than 3MB in /root directory:

# find /root/ -name ‘*.jpg’ -a -size +3M

You can still narrow down your search by adding the file modification date.Use the command below if you want to search for .jpg files bigger than 3MB and were modified less than 9 days ago in /root directory:

# find /root/ -name ‘*.jpg’ -a -size +3M -mtime -9

3.) Adding actions to the search results.

Now that you know the basic on how to find files using the find command, the next step is to add actions to the result of the find command that you used. Action can be done using the -exec switch.

Based on the example we used above, it is easy for us to find all .jpg files larger than 3MB and modified less than 9 days ago in the /root folder. You might want to move the results of the command to folder /home/dumbuser/ folder. You can use the command below to achieve this:

# find /home/ -name ‘*.jpg’ -a -size +3M -mtime -9 -exec mv ‘{}’ /home/dumbuser/ \;

Please take note of the ‘{}’ and \;
NOTE: there is a space before \;

The ‘{}’
matches the file that was found
The \; terminate the exec statement.

:D

Popularity: 1% [?]

Rate this:
2.5

This tool is for Linux System Administrators like me who are maintaining several Linux boxes and getting tired of repeating the same commands to all the servers doing the same tasks. ClusterSSH controls a number of xterm windows via a single graphical console window to allow commands to be interactively run on multiple servers over an ssh connection. Cluster SSH opens terminal windows with connections to specified hosts and an administration console. Any text typed into the administration console is replicated to all other connected and active windows. This tool is intended for cluster administration where the same configuration or commands must be run on each node within the cluster.

You may download Cluster SSH here.

:D

Popularity: 2% [?]

Rate this:
2.5

I have been working almost the whole day resolving a problem in my newly configured Linux Predictive Dialer which will be used in our remote office. The message that keeps on flooding my asterisk screen is “HDLC Bad FCS (8) on Primary D-channel of span 1” and then the the delta channel (DCH) of the ISDN interconnection between the Digium and Telco switch keeps on failing. I began to scout for answers from other Digium users who might have experienced the same problem in the past. Finally, I got an information from Digium website that the cause of the problem can be an I/O error or bad configuration. I hurriedly checked my configuration and found no error since it is exactly the same with other six dialers I configured previously which are all working properly. I was surprised at the other information I found from Digium website that the cause of the problem can be the driver of the built-in Intel 100Mbps ethernet card in my system. I began to wonder about the relationship of a network card and a Digium card installed in my Linux machine. Since I had no other choice, I tried to compile a new ethernet driver for my Linux but the problem after recompiling a new driver is still there. I also tried to recompile the Linux Kernel hoping that the problem will be resolved after I enabled ACPI but the result is still negative. I took my dinner thinking about the problem and I began to realize that I need to check for timing and clocking issue between the Digium card and the Telco switch. Without finishing my dinner, I hurriedly get back to the office and configure the proper clocking and T1 timing between the Digium card and the Telco equipment. ALAS! I was able to resolve the problem and now I will treat myself for another dinner since I wasn’t able to finish the previous dinner I had.

:D

Popularity: 5% [?]

Rate this:
2.5