How to configure Citycell Zoom USB Modem for Linux

This is the configuration of the CDMA USB modem provided by citycell with their zoom connection to use in my linux distro (Centos 4.4) - Heres how to-

Attach the modem with your pc/laptop, Restart your computer

1. Now check with dmesg if it has been successfully probed
dmesg | grep tty

You will get some output like this

[ 2315.412106] usbcore: registered new interface driver usbserial
[ 2315.412508] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 2315.461938] usbcore: registered new interface driver usbserial_generic
[ 2315.461945] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 2315.480382] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[ 2315.480414] pl2303 2-6:1.0: pl2303 converter detected
[ 2315.480608] usb 2-6: pl2303 converter now attached to ttyUSB0 (You may get it as ttyACM0, if you get it as a /dev/usb/ttyACM0)

if you didn’t get the message follow the steps 3 and 4 and back to step 1

2. Now configure your wvdial.conf as shown here.
vi /etc/wvdial.conf

[Modem0]
Modem = /dev/ttyUSB0 or /dev/usb/ttyACM0
Baud = 230400
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = waps
Password = waps
Phone = #777
Stupid Mode = 1
Inherits = Modem0

Now save this file

If you Successfully complete the steps 1 and 2 no need follow steps 3 and 4

3. check if the USB device is detected properly
cat /proc/bus/usb/devices

you will get some output like this

…..
…..
T: Bus=02 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=Huawei Mobile
S: SerialNumber=HUAWEI EC3X1
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=pl2303
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=pl2303
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
…..
…..

4. Now probe for this USB device
modprobe usbserial vendor=0×12d1 product=0×1001

You are done!!

Now you can connect to internet by applying the following command in shell

wvdial cdma

Thats it!

Continue reading How to configure Citycell Zoom USB Modem for Linux

Install and Run the SDM Demo Application



1) extract SDM-V232.zip

2) setup the SDM program by pressing ( setup.exe )

3)
Extract the zip file SDM_demo_tool.zip.

4) Copy the 'dataFile.zip' to C:\

5) Have latest SDM2.3.2 build installed in your PC. If you do not have the SDM2.3.2 installed, you could get the build from the location http://www.cisco.com/pcgi-bin/tablebuild.pl/sdm

6) Disable any active pop-up blockers in the web browser that you will use to run SDM.



7) When SDM is installed on a PC , Internet Explorer may display HTML source code when you attempt to launch SDM. To fix this problem, go to Tools > Internet Options > Advanced. Then scroll to the Security section, check Allow active content to run in files on my computer, and click Apply. Then relaunch SDM.



8) Click on the Cisco SDM icon on your desktop to launch the SDM demo version. Enter the loopback address 127.0.0.1 and click on the launch button to start the SDM demo application. Accept any security certificate notification messages that pop up.

9) Use the ca.cer and router.cer certificates to demonstrate importing Certificate Authority (CA) and Router certificates. You could get these certificates from SDM_demo_tool.zip.



Download Link:

http://rapidshare.com/files/138650647/SDM_simulation.rar


Continue reading Install and Run the SDM Demo Application

Download Netsim for CCNP (Portable)

The Boson NetSim simulates both switching bridge tables and routing protocol tables to allow you to go OUTSIDE the labs. The Boson NetSim makes it possible to design and configure a network with 40 different router models and three different Catalyst switch models to choose from. BSCI, ISCW, BCMSN and ONT labs are available in the current version, for a list of supported technologies

This Product Covers:
Certification
640-802 :: CCNA CCNA
640-816 :: ICND2 (Interconnecting Cisco Networking Devices Part 2) CCNA
640-822 :: ICND1 (Interconnecting Cisco Networking Devices Part 1) CCENT
640-863 :: DESGN (Designing for Cisco Internetwork Solutions) CCDA
642-901 :: BSCI (Building Scalable Cisco Internetworks) BSCI


Important: This is a portable software. You do not need to install it. You use it without Install in your PC

Features included in the Boson NetSim for CCNP
  • IPv6 addressing
  • OSPFv3 using IPv6 addresses
  • Multicasting configuration
  • New command parser
  • Improved command speed
  • Lab compiler application to create your own lab packages
  • New structure for the Lab Navigator
  • New implementation of OSPF, now with Multi-Area
  • Summarization for RIPv2 and EIGRP
  • New implementation of the routing table
  • Update utility included to download latest files available
  • Smaller installer

Check It: http://rapidshare.com/files/137475376/Bsn_NS_CCNP_7.06-Portable.rar
Continue reading Download Netsim for CCNP (Portable)

103 Useful Run Commands

Accessibility Controls

access.cpl

Add Hardware Wizard

hdwwiz.cpl

Add/Remove Programs

appwiz.cpl

Administrative Tools

control admintools

Automatic Updates

wuaucpl.cpl

Bluetooth Transfer Wizard

fsquirt

Calculator

calc

Certificate Manager

certmgr.msc

Character Map

charmap

Check Disk Utility

chkdsk

Clipboard Viewer

clipbrd

Command Prompt

cmd

Component Services

dcomcnfg

Computer Management

compmgmt.msc

Date and Time Properties

timedate.cpl

DDE Shares

ddeshare

Device Manager

devmgmt.msc

Direct X Control Panel (If Installed)*

directx.cpl

Direct X Troubleshooter

dxdiag

Disk Cleanup Utility

cleanmgr

Disk Defragment

dfrg.msc

Disk Management

diskmgmt.msc

Disk Partition Manager

diskpart

Display Properties

control desktop

Display Properties

desk.cpl

Display Properties (w/Appearance Tab Preselected)

control color

Dr. Watson System Troubleshooting Utility

drwtsn32

Driver Verifier Utility

verifier

Event Viewer

eventvwr.msc

File Signature Verification Tool

sigverif

Findfast

findfast.cpl

Folders Properties

control folders

Fonts

control fonts

Fonts Folder

fonts

Free Cell Card Game

freecell

Game Controllers

joy.cpl

Group Policy Editor (XP Prof)

gpedit.msc

Hearts Card Game

mshearts

Iexpress Wizard

iexpress

Indexing Service

ciadv.msc

Internet Properties

inetcpl.cpl

IP Configuration (Display Connection Configuration)

ipconfig /all

IP Configuration (Display DNS Cache Contents)

ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents)

ipconfig /flushdns

IP Configuration (Release All Connections)

ipconfig /release

IP Configuration (Renew All Connections)

ipconfig /renew

IP Configuration (Refreshes DHCP & Re-Registers DNS)

ipconfig /registerdns

IP Configuration (Display DHCP Class ID)

ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID)

ipconfig /setclassid

Java Control Panel (If Installed)

jpicpl32.cpl

Java Control Panel (If Installed)

javaws

Keyboard Properties

control keyboard

Local Security Settings

secpol.msc

Local Users and Groups

lusrmgr.msc

Logs You Out Of Windows

logoff

Microsoft Chat

winchat

Minesweeper Game

winmine

Mouse Properties

control mouse

Mouse Properties

main.cpl

Network Connections

control netconnections

Network Connections

ncpa.cpl

Network Setup Wizard

netsetup.cpl

Notepad

notepad

Nview Desktop Manager (If Installed)

nvtuicpl.cpl

Object Packager

packager

ODBC Data Source Administrator

odbccp32.cpl

On Screen Keyboard

osk

Opens AC3 Filter (If Installed)

ac3filter.cpl

Password Properties

password.cpl

Performance Monitor

perfmon.msc

Performance Monitor

perfmon

Phone and Modem Options

telephon.cpl

Power Configuration

powercfg.cpl

Printers and Faxes

control printers

Printers Folder

printers

Private Character Editor

eudcedit

Quicktime (If Installed)

QuickTime.cpl

Regional Settings

intl.cpl

Registry Editor

regedit

Registry Editor

regedit32

Remote Desktop

mstsc

Removable Storage

ntmsmgr.msc

Removable Storage Operator Requests

ntmsoprq.msc

Resultant Set of Policy (XP Prof)

rsop.msc

Scanners and Cameras

sticpl.cpl

Scheduled Tasks

control schedtasks

Security Center

wscui.cpl

Services

services.msc

Shared Folders

fsmgmt.msc

Shuts Down Windows

shutdown

Sounds and Audio

mmsys.cpl

Spider Solitare Card Game

spider

SQL Client Configuration

cliconfg

System Configuration Editor

sysedit

System Configuration Utility

msconfig

System File Checker Utility (Scan Immediately)

sfc /scannow

System File Checker Utility (Scan Once At Next Boot)

sfc /scanonce

System File Checker Utility (Scan On Every Boot)

sfc /scanboot

System File Checker Utility (Return to Default Setting)

sfc /revert

System File Checker Utility (Purge File Cache)

sfc /purgecache
Continue reading 103 Useful Run Commands

MPLS BENEFITS

1) faster switching then IP as IP Forwarding is based on IP routing table search each address is 4 octets length and can cause some time to calculate

2) Core free from BGP as the MPLS is based on label switching there is no need any more for core routers to participate in the BGP network and only Edge routers need to be BGP aware. this is a huge memory and utilization saving.

3) MPLS TE Traffic Engineering is one of the major benefits as it is allowing you to have better path selections and it have a very good mechanism called FRR Fast ReRouting and this is allowing to re-route traffic from and unavailable router in a really fast speed of less then 50ms, and this is allowing us to build a stable and reliable Data and VoIP Network as you know less then 50ms loss will still keep the Voice Call Up, if it is more then that the call will be dropped. so this feature allows us in a good planed network to give us near PSTN solution.

4) MPLS VPN is another major benefit as it is reducing manageability and introducing simplicity to the client. before if the client wanted to create a VPN for his offices network he needed to either create tunnels between all his offices creating a lot of configuration and complex design when there are more then 4 branches or he needed to ask the provider to create all this VPN's and relay on his network design. but with MPLS VPN he simply need to make a Connection between his Customer Edge Router and Provider Edge Router.
Continue reading MPLS BENEFITS

Download Real World PHP Programming Basics

Download Real World PHP Programming Basics from here

http://rapidshare.com/files/136734322/VTC.Real.World.PHP.Programming.Basics.part1.rar
http://rapidshare.com/files/136755396/VTC.Real.World.PHP.Programming.Basics.part2.rar
http://rapidshare.com/files/136790558/VTC.Real.World.PHP.Programming.Basics.part3.rar
http://rapidshare.com/files/136807403/VTC.Real.World.PHP.Programming.Basics.part4.rar
Continue reading Download Real World PHP Programming Basics

Installing PostgreSQL

This is a quick guide to installing PostgreSQL on a Linux based system. We need to get this up and running before we can write PHP scripts to talk to the database. We need to install PostgreSQL before we can install PHP (since we need the PostgreSQL header files).

This is a little more complicated than installing Apache.

The best bet is to install from packages since this will make things easier, both now and for upgrades.

If you decide to install from source code, you'll need to create a user and compile the source.

Create a PostgreSQL user (you'll need root access). This is who owns the system. I use the "postgres" user and group, you can use something different but it's best to keep it related to the package.

See your system documentation on how to do this (hint - man useradd). Give the user a home directory of /usr/local/pgsql as this is where PostgreSQL defaults to when it installs.

Once all that is done, untar the source:

$ tar -zxf postgresql-.tar.gz (if you got the gzipp'ed version);
or
$ tar -xjf postgresql-.tar.bz2

Jump into the directory:

$ cd postgresql-

(replace with the version you downloaded from the website).

Again, configure has a lot of help:

$ ./configure --help

We'll just install into /usr/local/pgsql and leave the rest as-is:

$ ./configure --prefix=/usr/local/pgsql

Next we have to make it (this will take a while, it takes longer than Apache):

$ make

You will get a line:
All of PostgreSQL successfully made. Ready to install.

when everything is finished.

You'll need to log in as root to do the rest:

$ su -

Go back to the postgresql directory and do:

# make install

PostgreSQL doesn't allow root to start up the server for security reasons, so next you'll have to change the owner of the files:

# chown -R postgres:postgres /usr/local/pgsql

Change to the postgres user:

# su - postgres

Then, change to /usr/local/pgsql:

$ cd /usr/local/pgsql

We need to initialize a database cluster:

$ bin/initdb -D ./data

This will create a /usr/local/pgsql/data directory and initialize it ready for startup and use.

As usual, you can view options by using the --help switch:

$ bin/initdb --help

Then you can start:

$ bin/pg_ctl -D ./data -l data/logfile start

Now that postgresql is started, we need to create a database and another user before we go any further.

You should use a separate database for each of our projects, it's not essential though - it just makes things a little cleaner and easier to understand.

You should also use separate users for each database. This keeps everything separate and 'project a' won't be able to modify any of 'project b's data.

To create a new user in postgresql, it's pretty simple:

$ /usr/local/pgsql/bin/createuser

and follow the prompts - pretty simple :)

The new user should not be able to create new databases or create new users.


To create a database, it's a little different.

$ /usr/local/pgsql/bin/createdb --owner=username databasename

We have to set the owner of the database when we create it, otherwise the 'postgres' user owns it and then we have to grant access to allow our new user to access it.


Now that that's all done, log out of the postgres user, so we're back as root. In the postgres directory, the contrib/start-scripts/ directory has a few system start up scripts.

Follow the instructions in the relevant one to install a start-up script so postgres will start when your system does.

More detailed installation instructions are in the INSTALL file or by going to the PostgreSQL website http://www.postgresql.org/docs/ and going to the right version for you.

Continue reading Installing PostgreSQL

Use Notepad to Create a Log File

SUMMARY

Microsoft Notepad is a word processing tool included with Windows and is installed by default under the Accessories program group. You can use it to create a log-type file that adds the current date and time each time the Notepad file is opened. This article describes how to create a log file with Notepad.

MORE INFORMATION

To create a log file in Notepad:
1.Click Start, point to Programs, point to Accessories, and then click Notepad.
2.Type .LOG on the first line, and then press ENTER to move to the next line.
3.On the File menu, click Save As, type a descriptive name for your file in the File name box, and then click OK. When you next open the file, note that the date and time have been appended to the end of the log, immediately preceding the place where new text can be added. You can use this functionality to automatically add the current date and time to each log entry.
Continue reading Use Notepad to Create a Log File

How to Disable Security Center Alerts

If you're running Windows XP Service Pack 2 (SP2) Windows Security Center should tell you the status of your antivirus software, firewall, and automatic updates. Security Center will alert you if your antivirus is out of date or turned off, firewall is turned off, or if Automatic Update is not turned on.

If you have received multiple alerts and would like to turn notifications off, you can disable the antivirus, firewall, or automatic update alerts.

Note You should only disable these alerts if you are an expert user. If you are in the process of updating or installing software you may also want to temporarily disable alerts, but please be sure to turn alerts back on so Windows can keep your status up to date.

To turn off Security Center alerts

1.

Click Start and then click Control Panel.

2.

Double-click Security Center.

3.

In the Security Center, under Resources, click Change the way Security Center alerts me.

4.

In the Alert Settings dialog box, clear the Firewall, Automatic Updates, or Virus Protection check boxes, and then click OK.

When you use this procedure, the Security Center still displays your status, but does not send you alerts.

Note If your computer is part of a domain (a group of computers on a network), your security settings are typically managed by your network administrator. In this case, the Security Center does not display your security status or send alerts.

Continue reading How to Disable Security Center Alerts

Mount partition with ntfs file system

Introduction

Purpose of this article is to provide to reader step by step guide, how to mount partition with NTFS file system on Linux operating system. This article consist of two parts:

  • mount NTFS file system read only access
  • mount NTFS file system with read write access

Mount NTFS file system with read only access

NTFS kernel support

Majority of current Linux distributions support NTFS file system out of the box. To be more specific, support for NTFS file system is more feature of Linux kernel modules rather then Linux distributions. Lets check if we have NTFS modules installed.

ls /lib/modules/2.6.18-5-686/kernel/fs/ | grep ntfs

root@ensit~# ls /lib/modules/2.6.18-5-686/kernel/fs/ | grep ntfs
ntfs
root@ensit~#


NTFS module is presented. Lets identify NTFS partition.

Identifying partition with NTFS file system

One simple way to identify NTFS partition is:

fdisk -l | grep NTFS

root@ensit~#fdisk -l | grep NTFS
/dev/sdb1 * 1 261 210456 7 HPFS/NTFS
root@ensit~#

There it is: /dev/sdb1

Mount NTFS partition

First create mount point:

mkdir /mnt/ntfs

Then simply use mount command to mount it:

mount -t ntfs /dev/sdb1 /mnt/ntfs

root@ensit~#mkdir /mnt/ntfs
root@ensit~#mount /dev/sdb1 /mnt/ntfs
root@ensit~#cd /mnt/ntfs
root@ensit~#ls
test
root@ensit~#


Now we can access NTFS partition and its files with read write access.

Mount NTFS file system with read write access

Mounting NTFS file system with read write access permissions is a bit more complicated. This involves installation of addition software such as fuse and ntfs-3g. In both cases you probably need to use you package management tool such as yum, apt-get, synaptic etc.. and install it from your standard distribution repository. Check for packages ntfs-3g and fuse.

We take the other path which consists of manual compilation and installation fuse and ntfs-3g from source code.

Install addition software

Fuse Install

Download source code from: http://fuse.sourceforge.net/

wget http://easynews.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.1.tar.gz

Compile and install fuse source code:

Extract source file:

tar -xzvf fuse-2.7.1.tar.gz

Compile and install

cd fuse-2.7.1
./configure --exec-prefix=/; make; make install
root@ensit~#ls
fuse-2.7.1.tar.gz
root@ensit~#tar -xzvf fuse-2.7.1.tar.gz
root@ensit~#cd fuse-2.7.1
root@ensit~#./configure --exec-prefix=/; make; make install

ntfs-3g install

Download source code from: http://www.ntfs-3g.org/index.html#download

wget http://www.ntfs-3g.org/ntfs-3g-1.1120.tgz

Extract source file:

tar -xzvf ntfs-3g-1.1120.tgz

Compile and install ntfs-3g source code

NOTE: Make sure that you have pkg-config package installed, otherwise you get this error message:

checking for pkg-config... no
checking for FUSE_MODULE... configure: error: FUSE >= 2.6.0 was not found. Either it's not fully 
installed (e.g. fuse, fuse-utils, libfuse, libfuse2, libfuse-dev, etc packages) or files from an old
version are still present. See FUSE at http://fuse.sf.net/
cd ntfs-3g-1.1120
./configure; make; make install
root@ensit~#ls
fuse-2.7.1 fuse-2.7.1.tar.gz ntfs-3g-1.1120.tar.gz
root@ensit~#tar -xzvf ntfs-3g-1.1120.tar.gz
root@ensit~#cd ntfs-3g-1.1120
root@ensit~#./configure --exec-prefix=/; make; make install

Mount ntfs partition with read write access

mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/

NOTE: ntfs-3g recommends to have at least kernel version 2.6.20 and higher.

root@ensit~# mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/
WARNING: Deficient Linux kernel detected. Some driver features are
         not available (swap file on NTFS, boot from NTFS by LILO), and
         unmount is not safe unless it's made sure the ntfs-3g process
         naturally terminates after calling 'umount'. If you wish this
         message to disappear then you should upgrade to at least kernel
         version 2.6.20, or request help from your distribution to fix
         the kernel problem. The below web page has more information:
         http://ntfs-3g.org/support.html#fuse26

Continue reading Mount partition with ntfs file system