preload
May 25

Installing and Working NS2 [ Network Simulator ] is  very difficult in Ubuntu Linux . We need to change lot of configuration files and applying patches  . Like this lot of small issues are there in Ubuntu . so we decided to prepare small tips and tricks for those problems. one of my student prepared some tips for the following issues

  1. Procedure to create and login as root from GUI  [ Not Recommended for Normal users]
  2. Procedure to install NS2  [ Network Simulator] in ubuntu 8.10
  3. Procedure to install VLC player in Ubuntu 8.10
  4. Procedure to install Real player in Ubuntu 8.10                         ­

Solutions are available in PDF file format . Just Click Here to Download the file

Apr 01

Taking a screenshot is very simple in Linux. Just hit the print screen button and we’re presented with a PNG file.But there are situations when we want to take a screenshot from a command line. Perhaps in a shell script, a daemon tool that we use to
monitor the user’s activity. We would like to take a screenshot without  the user having to press the print screen button to log a user’s  activity. Perhaps to record the on screen activity in response to some suspicious user action.

This is done using the xwd command in combination with other commands.

The following command can be used to take screenshot without the user
having to click on any window:

xwd -root | xwdtopnm | pnmtopng > Screenshot.png

For this command to work you need the following packages:

1. x11-apps
2. netpbm

Raja Sekharan is a freelance web developer who writes web development tutorials on his blog. Prototype Pro.

Feb 19

http://linuxforadmin.blogspot.com/2008/03/how-to-connect-bsnl-evdo-datacard-in.html

refer this link for configuring BSNL EVDO card in Linux . After configuring Card goto terminal in super user mode

#su
Password :

Use wvdial command for connecting Internet …

#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 Feb 19 15:29:21 2009
–> Pid of pppd: 3989
–> Using interface ppp0
–> pppd: ���[08]`��[08]
–> pppd: ���[08]`��[08]
–> pppd: ���[08]`��[08]
–> pppd: ���[08]`��[08]
–> pppd: ���[08]`��[08]
–> local IP address 10.3.2.53
–> pppd: ���[08]`��[08]
–> remote IP address 10.64.64.64
–> pppd: ���[08]`��[08]
–> primary DNS address 218.248.240.181
–> pppd: ���[08]`��[08]
–> secondary DNS address 218.248.240.180
–> pppd: ���[08]`��[08]

Now Net is connected , even though You cant surf / browse / ping anything in Fedora . You need to configure the
name server . so goto the following file and add this “nameserver 218.248.240.181″

#vi /etc/resolv.conf
nameserver 218.248.240.181

save and exit from the file …. Now You can surf internet using firefox browser ………………..