To Install Different Ns2 Versions On My System

hello kudfl,

I was working on ns2.32 . But now i require ns2.34 also . I read some of threads and found it is possible to have two diffrent ns2 versions on the same machine.
Installed ns2.32 and ns2.34 in diffrent directories.
Installed successfully . when i type ns % sign appears . But i dont know which ns version it is running ?

i read ur thread 2 on the following link
http://www.linuxquestions.org/questi...ne-4175503576/

so i delete the path varibale for ns2.32 from bashrc file .
and did the following
ns-2.32/ : $ cp ns ns-orig
cp ns-orig /usr/local/bin/
but it is giving me error : permission denied .

working on ubuntu 12.04
plz advise further

rgds
sims


Similar Content



Nam Error (not Running) With Ns2.32 On Ubuntu 12.04

I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04

i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command

sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)

then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .

I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.

if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.

Do I Have Two Versions Of LibreOffice Installed?

Hi everyone!

Having read about the latest LibreOffice version, I felt tempted to try it out. I uninstalled the default version on my Ubuntu machine and downloaded the .deb from the LibreOffice site and installed it. The new office has since worked without any trouble.

A few days later I decided to dump Unity and go back to Gnome. So I installed Ubuntu-Gnome-Desktop.

It was then that I noticed two versions of LibreOffice on the application dash (I think, because there are two sets of icons for each office application- see the attached screenshot).

Did Gnome install its own version of LibreOffice with it? Does it really have one? I don't know.

Whichever icon I use to launch the app, the office however always brings up the latest version. So, there's no problem in terms of application errors. As I thought there's no need to have an extra version of an app and eat up my space, I tried to uninstall through Aptitude, but it doesn't 'remove' LibreOffice.

Any advice, please! Thanks in advance.

Wubi Question

As you may know wubi has become thing of the past and will not work any more.
I tried to use it to reinstall Ubuntu on my Windows machine and it went thru the very 1st phase of install but gave an error which meant something like "the files are not on the ftp site"...and then quit.

I found out that there is no more WUBI support for UB 14.4 so now my question is:
Is there anyway I could install an Older version of Ubuntu (or even the new version)on my Windows machine without risk of destroying my partitions or Win OS?

I did search the site before posting this but most related subjects were from 2007 and so unrelated.
in a way I wished the heck it was 2007, life was much easier then! heh
Thanks!

P.S Frankly I am not impressed by discontinuation of WUBI and dont care for newer versions of Ubuntu. Seems like they did a lot of fixing on the things which were not broken in the 1st place!? Tell me if I am wrong...what's so good about newer versions except a lot more restrictions?

Securing /etc/profile And /etc/bashrc

Changing umask value for files and directories take effect after reload:
/etc/profile
/etc/bashrc
default permission for all users:
-rw-r--r--
above permission is edited to:
-rw-rw-r--
If a specific user in group having only read permission to a file/directory is created before reload,and Linux server reloads, that user gets rw permission to that file/directory. what is the alternative of securing:
/etc/profile
/etc/bashrc
apart from giving the two files access to root user only, and locking out all other users?

Error In Running Leach_test In NS-2.34

Hi all,

I am trying to simulate leach on NS2 but I've had problems with running the leach_test. I've followed all steps from installing NS2 up to installing the LEACH patch (used the latest one from exidus). Here's the error message in the leach.err I found.

Code:
couldn't read file "/mit/uAMPS/uamps.tcl": no such file or directory
    while executing
"source.orig /mit/uAMPS/uamps.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig[list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source /mit/uAMPS/uamps.tcl"
    (file "tcl/mobility/leach.tcl" line 18)
    invoked from within
"source.orig tcl/mobility/leach.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig[list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source tcl/mobility/$opt(rp).tcl"
    (file "tcl/ex/wireless.tcl" line 187)

Your help are very much appreciated, thanks!

Please READ This Before Posting!

If you're here for the very first time, and have a very
urgent problem I appreciate that you're quite likely to
have other things on your mind than reading on.

However, if you do take the time to read all that's
said here (and follow the links) you're more likely
to get helpful responses! :)


The following two posts from Linux-General are just as
valid here in Linux-Newbie as they are there.

http://www.linuxquestions.org/questi...hreadid=103564
http://www.linuxquestions.org/questi...threadid=45094



Thanks for reading!

Cheers,
Tink

Trying To Install SVN

Hello all,
I'm having real trouble trying to get SVN 1.8.9 installed on a linux box which is now my responsibility to look after, I think it is centos or scientific linux.
EDIT: it is Scientific Linux release 6.4 (Carbon)

What I've done so far: SVN 1.6 was installed and working fine. I installed smartsvn so that I had a 'nice' GUI to look at the repos on the machine. Smartsvn then upgraded my repos. The svn client on the command line does not work with the upgraded repos. I tried yum install svn but the latest svn is already installed (1.6). I then installed 1.7 from source and still that version was too old. I then installed 1.8.9 from source - yey this worked locally fine. There are cron jobs that run and use the svn client to push to an svn server The SVN I installed from source does not commit properly and gives this error:
svn: E170000: Unrecognized URL scheme for 'http://.....' I googled around and found I need to install svn with configure --with-serf option. This fails as the SVN install needs serf 1.2.1 or newer. So I install serf 1.3.something from an rpm. That installs fine and I retry the configure step but it fails giving the same error. rpm -ql serf returns: /usr/lib/libserf-1.so
/usr/lib/libserf-1.so.1
/usr/lib/libserf-1.so.1.3.0
So I think 1.3 is installed...?
Does anyone know how to make the configure step of svn know where serf is? --with-serf=/usr/lib/ did not work at all for me.

Thanks for any help and I'm happy to post more information.

Cheers

After Rebuild Of Tslib Qt Failed With Error Ts_config() 'no Such File Or Dir'

I downloaded tslib-1.1.tar.gz and configured to cross compiled for my ARM target machine.

Was able to build and make install on my Ubuntu host machine successfully. On my taget machine I copied created a backup of my original libts-1.0.so.0.0.0 and SFTP'd from my host the version I built to my target machine and over wrote current libts-1.0.so.0.0.0 to keep the links.
reboot my taget and now get

QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!

running ldd on the taget against the backup (.bu version) and new versions shows the same dependancies.

root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0.bu
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)

Using nm verified ts_config() existed in the new version.

Any suggestions why I am getting the error?

Install 3 Versions Of Linux On Same Hard Disk

Hi,

I am new to the installation of Linux, and wish to install 3 different distro's on the same hard disk.

I have installed Centos 7 successfully as follows :

The /boot is /dev/sda2

/dev/sda1 is listed as unknown so i assume it is the Master Boot Record with Grub installed. I do obtain the option to boot to the various kernels after updating the OS.

/dev/sda3 is a Linux LVM with the various partitions i required.

When i installed the CentOS 7 the installer stated an error about the bootable partition - which was effectively /boot, so i moved this to /dev/sda2.

What i am not sure about is that if i want to install 2 other Linux OS's will i run out of /dev/sdaX assignments ?.

I read somewhere that there are 4 maximum that can be used a /boot (SDA1, SDA2, SDA3, SDA4), so does this mean i can only install one other OS ?.

Any guidance gratefully received. Thanks.

Regards,

Richard.

Bash: Permission Denied Error

Linux Newbie here...running Ubuntu 14.04 LTS

Downloaded a couple of binaries/executables to the Downloads directory. ./command runs just fine but copying the binaries to /bin or /usr/bin says permission denied. I used chmol

After digging a bit more, realized that my FS is being mounted as read only!. Not sure why. /etc/fstab says UUID=8559f1a0-60e0-47e4-922d-9175f282fa8a / ext4 errors=remount-ro 0 1

Something is not right with the filesystem and I am not sure how to fix it.

Thanks
Raj