Showing posts with label LINUX. Show all posts
Showing posts with label LINUX. Show all posts

NS2 installation problems in ubuntu

Posted by Shashank Krishna Sunday, October 11, 2009

The ns2 version taken here is 2.31, if you downloaded any other version, please modify your version during installation

1)Uncompress the ns2

tar zxvf ns-allinone-2.31.tar.gz
or
gzip -d ns-allinone-2.31.tar.gz
tar xvf ns-allinone-2.31.tar

2) cd /opt/ns-allinone-2.31 (since /opt is the folder which is unused, so i have selected that folder to install, however you can install that in any folder)

3) ./install (execute the command)

4) If the installation fails in the middle, then try to install the linux packages that are

necessary to run NS2. (In any linux (ubuntu or fedora or redhat or suse), install the TCL/TK, Perl packages during the installation of linux...)

Common errors

While installing ns2, sometimes we get errors some of them are mentioned below (as keywords used to search). Apart from these errors there are many other types of errors also which occurs.

  • tcl8.4.18 make failed! exiting…
  • tk8.4.18 make failed!
  • make: *** [tk3d.o] error 1 tk8.4.18 make
  • tk8.4.18 make fail

Here are some steps and precautions to install ns2 in one shot.

  1. Always install your linux distro with full programming support, this will help you to install ns2 more easily, here programming support means support for perl, tcl, gcc etc.
  2. Also install this packages

    install autoconf

    install automake

    install gcc-c++

    install libX11-devel

    install xorg-x11-proto-devel

    install libXt-devel

    install libXmu-devel

Now try installing ns2, hope it should get install properly

5) Once the installation succeeded, then the path information will be provided by the NS2

6) Set the path in the /root/.bash_profile
(vi /root/.bash_profile)

or
If you are a user home//.bash_profile (for example, if your the username is tsp, then execute this command vi /home/tsp/.bash_profile)
7) set the PATH and the LD_LIBRARY_PATH according to the point number 11.

8) logout and login.

9) go to the terminal and try ns or nam





Drag ang drop files from a windows machine to a linux machine..

Posted by Shashank Krishna Tuesday, August 18, 2009

Canonical Announces Availability of Ubuntu 9.04 Desktop Edition

Posted by Shashank Krishna Saturday, April 25, 2009


Faster boot speed, enhanced application suite and more visual appeal -- give users more reasons than ever to choose Ubuntu

LONDON, April 20, 2009 – Canonical, the commercial sponsor of Ubuntu, announced today that Ubuntu 9.04 Desktop Edition is free to download from Thursday 23 April. Also announced were the simultaneous releases of Ubuntu 9.04 Server Edition and Ubuntu 9.04 Netbook Remix (UNR)

Ubuntu 9.04 Desktop Edition delivers a range of feature enhancements to improve the user experience. Shorter boot speeds, some as short as 25 seconds, ensure faster access to a full computing environment on most desktop, laptop and netbook models. Enhanced suspend-and-resume features also give users more time between charges along with immediate access after hibernation. Intelligent switching between Wi-Fi and 3G environments has been broadened to support more wireless devices and 3G cards, resulting in a smoother experience for most users.

Jane Silber, COO, Canonical, says: “With every release, we see Ubuntu Desktop Edition make significant steps forward in appealing to mainstream computer users. With access to the latest office productivity suite, support for Skype and Adobe Flash, and faster boot times, we're confident that Ubuntu 9.04 Desktop Edition will see more people join millions of others and make the switch to an open platform."

Ubuntu 9.04 features OpenOffice.org 3.0. This gives users a complete office suite that is entirely compatible with Microsoft Office. This free office software provides an immediate saving of at least $200 for users who need to create presentations, write documents or manage spreadsheets at work or at home.

A new integrated notification system appears in Ubuntu 9.04 for the first time. This system combines the notification methods of various applications and presents that information in a simple, unobtrusive manner. New icons and artwork also appear in this release, part of the continual improvement of the Ubuntu user experience.

Availability

Ubuntu 9.04 Desktop Edition is available from 23 April 2009. Get your copy by:

Professional Services, including support, can be purchased from www.canonical.com/services.

About Canonical

Canonical Ltd is an organisation that provides commercial services based on the Open Source operating system Ubuntu. Canonical helps hardware manufacturers install and market Ubuntu around the world. Canonical's Professional Services help businesses deploy and support their Ubuntu-based infrastructures. Canonical delivers services online direct to users who run Ubuntu on their desktops and servers. Canonical also provides much of the infrastructure that allows its employees, the Ubuntu community and the world's leading IT companies to collaborate on the Ubuntu platform.

About Ubuntu

Since its launch in October 2004, Ubuntu has become one of the most highly-regarded Linux distributions. With millions of users in homes, schools, businesses and governments around the world, Ubuntu is growing in popularity on both the server and the desktop. With the values of Open Source software at its core, Ubuntu costs nothing to download or update. Users are also actively encouraged to copy, reinstall, modify and share their Ubuntu software anytime, anywhere and with anyone. Visit www.canonical.com or www.ubuntu.com for more information.


ETTERCAP......ultimate hacker tool..!!

Posted by Shashank Krishna Friday, January 30, 2009

H o m e N e w s D o w n l o a d S t u f f H i s t o r y F o r u m F A Q S c r e e n s h o t s A u t h o r s S e a r c h...




NG-0.7.3 RELEASED !!

Short Description:

Ettercap is a suite for man in the middle attacks on LAN. It features sniffing of live connections, content filtering on the fly and many other interesting tricks.
It supports active and passive dissection of many protocols (even ciphered ones) and includes many feature for network and host analysis.

Interface: All this feature are integrated with a easy-to-use and pleasureful ncurses/gtk interfaces. (see screenshots)
Platform: Linux 2.0.x
Linux 2.2.x
Linux 2.4.x
Linux 2.6.x
FreeBSD 4.x 5.x
OpenBSD 2.[789] 3.x
NetBSD 1.5
Mac OS X (darwin 6.x 7.x)
Windows 2000/XP/2003
Solaris 2.x
Required Libraries: libpcap >= 0.8.1
libnet >= 1.1.2.1
libpthread
zlib
Optional Libraries: To enable plugins: libltdl (part of libtool)
To have perl regexp in the filters: libpcre
To support SSH and SSL decryption: openssl 0.9.7
For the cursed GUI: ncurses >= 5.3
For the GTK+ GUI: pkgconfig >= 0.15.0 and:
- Glib >= 2.4.x
- Gtk+ >= 2.4.x
- Atk >= 1.6.x
- Pango >= 1.4.x
If you want SSH1 and/or HTTPS support, ettercap requires OpenSSL libraries
Installation (Please Read):
  • Please note ettercap 0.6.x is deprecated; please upgrade to 0.7.
  • Binaries are not officially provided or supported - you have to compile it yourself (which can be tricky under Windows) or find a third-party binary provider. The developers are unlikely to be swayed on this.
  • Before installation, please ensure you have the correct versions of the above listed libraries. For the best experience you should have them all. Out-of-date or missing libraries are the most common reason for failure.
  • You need to read the documentation in the tgz before and after running ./configure; make; make install.
  • The command-line switches and the etter.conf have changed from 0.6.x to 0.7. You should read and edit the etter.conf to suit.
  • For HTTPS support you need to uncomment the right 'redir' command in etter.conf.
  • In short, read the docs, read the man pages, read the FAQ, read the forums, and then ask questions. ;)
Running Ettercap:
  • You need to select a user interface (no default) using -T for Text only, -C for the Ncurses based GUI, or -G for the nice GTK2 interface (thanks Daten...).




Before you leave, please promote this article with your favorite bookmarking site using the Share/save button! AND DO please give your valuable comment
Share/Save/Bookmark
Subscribe
Reblog this post [with Zemanta]

Enabling root login in ubuntu

Posted by Shashank Krishna Friday, January 23, 2009


Many of you must have noticed that root login in ubuntu is disabled in default. Even su doesnt work. The ubuntu documentation says that “ubuntu is shipped with root account is locked“. Actually its a good move. The newcomers to ubuntu do not want to get frightened hearing the name ‘root‘. If you have moved passed the n00b stage you might want to unlock it.
Firstly you should set the root password. Login to ubuntu with the user which you created during installation. Go to System> Administration> Users and Groups. Select root. Click on Properties. Set the root password.
Secondly enable the root login. Click on System> Administration> Login Window. Click on Security tab. Check “Allow local administrator login“. Click on OK.
Everything is done. Now logout and log in with your root account.

A Word of CAUTION: Use your root account only when absolutely necessary. Never user root account for daily works. For regular work use the account created at installation time.
Reason: Root is the superuser. It has got all the unrestricted privileges to perform any tasks. Its like “I can do anything“.
While running as normal user you would be prompted for your password when you try to make a major change to system settings. Thus you would be alerted that your step is making some changes if you are ignorant of the step you are taking.
A virus is a program or script that intends to harm your system by changing the settings or configuration. At that stage you would be prompted for password, thus you can get warned.

Share/Save/Bookmark
Subscribe

Are You Planning on Quitting Facebook? Why?

@Flickr

www.flickr.com

About Me

My Photo
Shashank Krishna
Bangalore, up, India
nothin much to say.........doin B.tech in IIIT allahabad loves bloggingn hacking.... :) and loooves blogging
View my complete profile

ads2

topads