Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi all i hav problem in NS2. whenever creating an new simulator it shows an error for invalid command name "new". how to solve this problem plz help me
i hav executed ur coding its not working throws an same error. I think i hav problem in my software, can u guide me how to install d ns 2.33.
Codings r correct but problem in only s/w i didnt installed ns and nam
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,512
Rep:
The commnand 'ns' will work only, when ns-2.33 +
nam-1.13 are compiled with no errors.
Suggest :
Install from source to /usr/local/ , in this order :
otcl-1.13, tclcl-1.19, ns-2.33, nam-1.13 .
cd /home/"user"/tmp
tar xvf <application>
cd <application>
./configure .......
make .. 'su' (or sudo) make install.
The source code for the tcl8.4 + tk8.4 installed on
your OS must be unpacked to the folder with otcl and
tclcl. Please configure otcl with :
'./configure --with-tcl=../tcl8.4(.xx)'
And tclcl :
'./configure --with-tcl=../tcl8.4(.xx) --with-tk=../tk8.4(.xx)'
The build requirements : It is a little different from Fedora's
to various Ubuntu's. Please tell which Linux, name, version,
to be used.
.....
Ubuntu, Debian : (sudo) apt-get install libx11-dev libxmu-dev \
libxmu-headers libxt-dev tcl8.4-dev tk8.4-dev
.....
Hi i hav installed ns2 with cygwin environment nam also working fine now thanks for ur kind reply. i need one more help how to transfer file between one computer to another using ns2. if u hav any coding plz attach
Hi while running my program it shows an following error:
$ ns tcp.tcl
invalid command name "Application/TCPCNT"
while executing
"Application/TCPCNT create _o65 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Application/TCPCNT"
("for" body line 17)
invoked from within
"for {set i 0} {$i < $streams} {incr i} {
# 3. Create objects for the TCP sender and receiver and specify maximum
# window sizes
set tcpz($i) [new ..."
(file "tcp.tcl" line 37)
I want to send the file to another computer if u hav any coding plz attach me..!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.