Feeds:
Posts
Comments

Today, got a Reliance Netconnect datacard. Trying to connect it with linux.

Googled for it and got more results. Here adding my experiences.

Here is a mini-how-to, as I did.

1. Connect the datacard to usb port.

2. Install wvdial
    sudo apt-get install wvdial

3. configure wvdial
   sudo wvdialconf

It could not find any modem in the usb port and threw the following error.

shrinivasan@shrinivasan-laptop:$ sudo wvdialconf
Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3  

Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

4. check for whether the usb card is detected using ‘lsusb’

shrinivasan@shrinivasan-laptop:$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 010: ID 19d2:fffd ONDA Communication S.p.A.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 003 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So it is detected in my laptop as

Bus 005 Device 010: ID 19d2:fffd ONDA Communication S.p.A.

Here, vendor = 19d2 and product = fffd

5. The kernel module for the usb data card is not loaded by default. so, we need to load the module manually. Now load the kernel module for the usb card, using following command.

sudo modprobe usbserial vendor=0×19d2 product=0xfffd

Thats all. Now, let us check whether wvdial can recognize the data card now.

6. shrinivasan@shrinivasan-laptop:$ sudo wvdialconf
Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3  
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 Z — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0<*1>: Modem Identifier: ATI — ZTEiT, Incorporated
ttyUSB0<*1>: Speed 9600: AT — OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″

7. Cool. The data card is recognized. :-)

Now, let us configure the file /etc/wvdial.conf with the authentication details.

shrinivasan@shrinivasan-laptop:$ sudo vim /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>

Username = 9xxxxxxxxx
Password = 9xxxxxxxxx
Phone = #777
Stupid Mode = 1

In the username and password section, give your reliance card no.

8. Now, connect to Internet using the command “wvdial”.

shrinivasan@shrinivasan-laptop:$ sudo wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected.  Starting PPP immediately.
–> Starting pppd at Thu Nov  5 15:45:26 2009
–> Pid of pppd: 3205
–> Using interface ppp0
–> pppd: 0$P
–> pppd: 0$P
–> pppd: 0$P
–> pppd: 0$P
–> pppd: 0$P
–> local  IP address 115.184.194.33
–> pppd: 0$P
–> remote IP address 220.224.141.145
–> pppd: 0$P
–> primary   DNS address 202.138.103.100
–> pppd: 0$P
–> secondary DNS address 202.138.96.2
–> pppd: 0$P

Wow. You are connected to net.

9. check it using

$ ifconfig ppp0

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:115.184.194.33  P-t-P:220.224.141.145  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:114 (114.0 B)  TX bytes:87 (87.0 B)

10. Now, you can browse Internet using the browser.

This will work until  you reboot the machine.

11. Let us create a small shell script to connect Internet easily.

vim net.sh

#!/bin/bash
modprobe usbserial vendor=0×19d2 product=0xfffd
wvdial

12. Now to connect Internet

sudo bash net.sh

This command will load the kernel module for the usb card and conect you to Internet.

:-)

Wow.

After years of waiting, Linux got the Google voice chat.

The new Ubuntu 9.10 karmic koala has brought the tool “Empathy“. It has the built in facility to have voice chat with google talk users.

Now I am talking with google talk users.

Thanks to the community.

Often, I am getting requests for a job from freshers who do there RHCE course.

If is tough to hire RHCE freshers as they dont have any practical experiences with realtime problems.

Recently, got a mail from a guy asking for a linux admin job, after finishing his RHCE. :-)

Here is my reply to him.

========================================================
Hi,

Nice to get the resume.

I hope you have much knowledge in linux administration.
But, being a fresher, it is tough to prove to the people
that you have much knowledge.

People hesitate to give linux admin jobs to freshers as
they could not handle REALTIME servers without experience.

This is a chicken and egg problem. :-)

To comeout of this, show your skills to the community
and put your community activities in your resume.

The following things will give you tons of opportunities.

1. Goto schools/colleges/Offices.

  Install Linux servers there. Setup a network with ubuntu desktops.
  you can do this for free or little cost.
  only thing is, you have to go and ask the people for the opportunity.
  Most of the time, you will be rejected. But even 1 opportunity will
  give you a great experience.
  Instead of asking for jobs, you can ask your friends for this opportunity.

2. Be a active member in Linux User Groups.

  Join Chennai Linux User Group and KanchiLUG.

  http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
  http://www.freelists.org/list/kanchilug

  http://kanchilug.wordpress.com

  ChennaiLUG is having monthly meeting on every 2nd saturday at IIT-Madras.
  KanchiLUG is having every sunday at siva kalvi nilaiyam, ppm.

  Attend meetings, teach people what you know.
  you can teach anything. from simple commands to servers setup.
  This will make people to notice you.

  Both LUGs have many people who can give you more opportunities.

  Join the mailing lists and answer to the questions people ask.
  This will increase your knowledge.

  Dont miss to participate in the public events these LUGS do.

3. Answer to Forums & IRC

  There are many forums where you can answer to questions.
  This is the easiest way to increase the knowledge.

  www.linuxquestions.org
  www.ubuntuforums.org
  www.fedoraforum.org
  www.linuxforums.org

  These are the best places where you can hangout. Answer the questions
  for the server related questions.

  learn IRC. answer questions on irc.freenode.net #linux-india,#ubuntu,#fedora

4. Have a blog.

  start a blog on www.wordpress.com or www.blogspot.com
  share your knowledge in the blogs.
  Whatever you learn/do/try/fail/fear/conquer related to linux, blog it.

5. Come out of RHCE

  Go beyond RHCE, Certification is just a start. Grow beyond it. Linux is vast,
  can not fix it into a 3 books. Learn lot of things like Subversion,
  Database administration,   Backups, Security, Clustering, Virtualization, Shell scripting, LTSP,
  Any language like Ruby/Python/Perl.

  People avoid who stops learning.

6. Read / Read / Read

  Read more tutorials, how-tos, blogs, forums etc.

  www.linux.com
  www.fs-daily.com
  www.lxer.com
  www.linuxhomenetworking.com
  www.howtoforge.com

  Keep on reading and do all the experiments.

7. Use Linux

  Use linux as your desktop. Be 100% away from windows.
  Install ubuntu or fedora. Install multimedia codecs.
  Play audio/Video. Play 3d games. Create graphics using gimp/Inkscape.
  Use OpenOffice, Burn CDs/DVDs, ..

  Live with Linux.

Yes. There are more things to do.

But the above list is what I did to get a job with linux and it worked for me.
It worked for many people too.

If you do all the above said and put them in your resume,
those text will start to glow in your resume and catch the companies eyes.

They will check the links you give in resumes like your blog and
community activities.

There wont be any need for any experience than what you show to the
community in web.

You should continue them after you get the job too.
That will take you to the higher levels.

Hope you get the points.

Keep on posting us what you are doing.

Wishes,
Shrinivasan

====================================================

Do you have any other points to add?
Please share in the comments.

Thanks.

Request Tracker, commonly abbreviated to RT, is a ticket-tracking system written in Perl used to coordinate tasks and manage requests among a community of users.

RT is built using Perl and runs on Apache web server with data stored in MySQL. It is possible to extend the RT interface using plug-ins written in Perl.

It has its other competitors like Trac, Mantis etc. But still, RT is being cake for its own lovers.

I had an opportunity to install RT in RHEL4.

RHEL4 is killing the admins. There is no YUM. No package repositories. Everything, you have to download the RPMS manually from any rpm sites like rpm.pbone.net or rpmfind.net

RT is written with perl and lot of perl modules should be installed. :-)

Oh No. I am missing my darling Ubuntu and debian.

But still, prepared for the war. Downloaded RT from http://bestpractical.com/rt/

The README file is an excellent companion to install it. Followed it.

The system I got was already spoiled with different versions of apache and various perl modules.

Removed all the apache and perl modules. Downloaded RPMS for apache and some perl modules.
Some modules required CPAN to install.

Through CPAN, removed the conflicted perl modules and installed the required modules.

Then, following the README file, configured apache and mysql.

Struggled to configure apache and google helped me to solve all the issues.

Finally, RT is installed. It is nice to see the application to be up and running after some days of war with it. :-)

Here are the links that helped me install RT:

http://wiki.bestpractical.com/view/RHEL4InstallGuide

http://nirlog.com/2006/02/17/rt-request-tracker-installation-centos-4/

http://www.ptitov.net/2008/07/request-tracker-installation-o.html

CentOS 4.x for error resolution CPAN

How to uninstall a CPAN module ?

IRC channel for RT :   #rt at irc.perl.org

Demo for RT is here : http://rt.easter-eggs.org/demos/

Test for SPAM

This post is intentionally created to test anti-spam techniques used in wordpress.

GiftWrap is a hassle-free way to create Ubuntu packages. It is designed for anyone who deals with distributing software – be it theme artists, software developers, or anyone else. In the future, it will support updating of existing packages, uploading to PPA’s split packages and more.

Download

A PPA is available is available and is the recommended method of installation.

Additionally, here are links to the individual .deb packages:

Ubuntu 9.04:32bit, 64bit, lpia

Ubuntu 8.10: 32bit, 64bit, lpia

The source code download along with md5 sums for the 0.1 release are available here

Video can be sen here.

giftwrap 0.1 demonstration

So , go-ahead make your own PPA and upload them all :)

Source : http://www.h3manth.com/2009/06/01/giftwrap-create-ubuntu-packages

Are you tired of manually rocking your baby to sleep? If your answer
is yes, then you should see this video and learn the Linux way :)

Linux Baby Rocker

Windows 7 Sins

Windows 7 Sins: The case against Microsoft and proprietory software.
With Windows 7, Microsoft is asserting control over your computer, and
is using this power to abuse computer users.

At windows7sins.org, the Free Software Foundation lists seven examples
of abuse committed by Microsoft.
1. Poisoning education
2. Invading privacy
3. Monopoly behavior
4. Lock-in
5. Abusing standards
6. Enforcing Digital Restrictions Management (DRM)
7. Threatening user security

http://en.windows7sins.org/

Dear all,

This is a formal announcement of Drupal Sprint India event happening
on October 30-31 2009. An event for those who love Drupal, geeks and
non-geeks alike.

Announcing Drupal Sprint India, a gathering of Drupal enthusiast from
all over India, to contribute to Drupal development.

The event is organized by Pune Linux Users Group with the support of
Bhaskaracharya Pratishthan as Venue Sponsors.

Drupal is probably the best community driven CMS in open source.
Community driven softwares need community contributions for regular
enhancements and this is your chance to contribute and gain karma.
Drupal sprint India is a two day non-stop event where Drupal
developers, documentation and translation guys will get together to
enhance Drupal. We will have code sprints, documentation sprints as
well as translation sprints.

Join coding sprints to fix patches for upcoming Drupal 7 release or to
port modules from Drupal 6 to Drupal 7 or to develop new modules from
scratch.

Join Documentation sprint to document Drupal. Documentation sprint
will be headed by Addison Berry, Drupal documentation project lead.

Those interested in localization can join the party to translate
Drupal to local languages.

You need not have *any experience* with enhancing Drupal before hand,
even newbies are invited.

That is not all, we have more in store for you.

Got any Drupal success story to share or you have put Drupal to any
innovative use or any magnificent case study where you have integrated
Drupal with third party web services or web sites? This is the time to
showcase this. Parallel to sprint, we will hold talks and workshops to
showcase the capabilities of Drupal beyond CMS to build website. If
you have a story to showcase, register for the event right ahead.

Talks/Workshop registration ends October 15 2009
. All talks and
registrations submitted will go through a community voting and top 10
talks plus workshops will be chosen for the event. We plan to hold
total of 8 hours of talks and 8 hours of workshops around Drupal over
two days.

Still interested in Drupal to use it in your next big venture… Just
drop in and learn from the best Drupal brains around the country on
how to put Drupal to best use.

So click   http://drupalindia2009.plug.org.in   now and register for the event.
The event is free, registration is free.  All you have to make sure
that your code is also FREE.

So, what are you waiting for? Mark your calendar for the event dates!!

Best regards,
–Sudhanwa Jogalekar

Pune GNU/Linux Users Group

THE ABC’S OF UNIX

A is for Awk, which runs like a snail, and
B is for Biff, which reads all your mail.

C is for CC, as hackers recall, while
D is for DD, the command that does all.

E is for Emacs, which rebinds your keys, and
F is for Fsck, which rebuilds your trees.

G is for Grep, a clever detective, while
H is for Halt, which may seem defective.

I is for Indent, which rarely amuses, and
J is for Join, which nobody uses.

K is for Kill, which makes you the boss, while
L is for Lex, which is missing from DOS.

M is for More, from which Less was begot, and
N is for Nice, which it really is not.

O is for Od, which prints out things nice, while
P is for Passwd, which reads in strings twice.

Q is for Quota, a Berkeley-type fable, and
R is for Ranlib, for sorting ar [sic] table.

S is for Spell, which attempts to belittle, while
T is for True, which does very little.

U is for Uniq, which is used after Sort, and
V is for Vi, which is hard to abort.

W is for Whoami, which tells you your name, while
X is, well, X, of dubious fame.

Y is for Yes, which makes an impression, and
Z is for Zcat, which handles compression.

Source is here :
http://www.mit.edu/people/yandros/humor/unix-alphabet

Older Posts »