Showing posts with label UBUNTU. Show all posts
Showing posts with label UBUNTU. 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





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.


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