Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello sir/ma
i have some challenges in installing network simulation NS2 on my Ubuntu 16.04 Whenever i trying to configure and modify the bash file by using this command
** (gedit:2287): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported.
please i need your urgent help to solve this problem so that i can continue with my installation.
First, this is NOT URGENT for anyone here, at all. We volunteer our time, so asking for/expecting 'urgent' help is plain rude. Secondly, gedit is only an editor...you are free to use any OTHER editor to edit that file. Chances are, you're logged in as a 'regular' user, and trying to run gedit as root...which can't connect to the X session, so it's dying. Either open the file in another editor, or change permissions on that TCL file so you can edit it as a regular user.
sorry if i have been rude with my approach. i appreciate your contribution. i am novice and still learning about the whole process. i only got to this level of installation through study. But now i am stuck with the installation and i could not move forward again after spending a whole day on the installatio. This is the reason i seek for help. i will really appreciate better explination on this.
sorry if i have been rude with my approach. i appreciate your contribution. i am novice and still learning about the whole process. i only got to this level of installation through study. But now i am stuck with the installation and i could not move forward again after spending a whole day on the installatio. This is the reason i seek for help. i will really appreciate better explination on this.
Thank you sir
There is no 'better explanation', if what was said makes no sense. It's as simple as it gets...you can't run gedit as root via sudo. Run it as your normal user. Edit the file. Or, edit it with vi, emacs, nano, or any one of about a hundred OTHER editors. Pick one.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
@Adaramola ojo jayeola : Welcome to LQ.
You are not supposed to add any *PATH text to .bashrc . Not required.
The old year ~1999 text is about a University computer, with you having no write permissions to /usr/.
And : The executable 'ns' or "ns-<any-name>" is hard coded to know the location of it`s libraries:
ns-allinone-2.35/{ lib/*/*, bin/tcsh8* }.
This is how it's done :
cd ns-2.35/
sudo make install ('make install' will copy 'ns' to /usr/local/bin/, i.e. a system path)
cd ../nam-1.15/
sudo make install
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.