Displaying posts categorized under

Common Errors And Solutions

Ubuntu Tips and Tricks – 1

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 [...]

Taking a Screenshot From A Daemon/Shell Script/Command Line

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 [...]

Connecting Internet Using BSNL EVDO Card or Mobile GPRS in Fedora 9 / 10

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 #suPassword : Use wvdial command for connecting Internet … #wvdial–> WvDial: Internet dialer version 1.60–> Cannot get information for serial port.–> Initializing modem.–> Sending: ATZATZOK–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0ATQ0 V1 [...]

Joining Video Files Using Mencoder

Mencoder and cat commands are used to join the more than one video files .The video file may be .avi or .mpg. Here the steps for Ubuntu OS Step 1: Install the mencoder plugin sudo apt-get install mencoder mplayer Step 2 : Concatenate the files using cat command cat file1.avi file2.avi file3.avi > out.avi Step [...]

stdio.h: No such file or directory

sam.c:1:18: error: stdio.h: No such file or directorysam.c: In function ‘main’:sam.c:4: warning: incompatible implicit declaration of built-in function ‘printf’ This error occurs when you try to execute c program in Ubuntu . because of libc and libstdc++ package not installed in your Ubuntu. so first install the libc package using following command sudo apt-get install [...]

Netbeans Display Problem in Ubuntu

Sometimes in Ubuntu or other linux OS , when you try to install Netbeans, you will get only blank netbeans window. this problem occurs due to AWT_Toolkit error. Solution 1. Goto terminal # vim /etc/profile Add the following Sysntax export AWT_TOOLKIT=MToolkit Save the file , now run or install netbeans …

Netbeans 6.0 Installation Problem in Fedora 8

I Installed manually jdk 1.6.0 in my /usr/local/jdk1.6.0 path .When i try to install netbeans 6.0, i got some errors.Error details [root@antony]# ./netbeans-6.0-linux.sh Configuring the installer…Searching for JVM on the system…Java SE Development Kit (JDK) was not found on this computerJDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that [...]

Error Handling – Bad Interpreter : No such file or directory

Error : /bin/sh^M Bad Interpreter : No such file or directory This is one common problem when you try to execute shell script in Linux machine.When i install Octave in my Ubuntu Gutsy Gibbon i got this error.finally i changed all confiuration shell scripts into unix support formatusing dos2unix command . (Install sysutils package for [...]