Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-26-2012, 12:59 AM
|
#1
|
LQ Newbie
Registered: Sep 2011
Posts: 21
Rep:
|
Error when running example on ns-2.33
Hi There,
I have ns-2.33 patched with lte on Ubuntu 11.10.
When I try to run example "web-traffic.tcl" I get the following message ?
Code:
user@ubuntu:~/ns-allinone-2.33/ns-2.33/tcl/ex$ ns web-traffic.tcl
Invalide class id in DropTail::enque, Packet's class id is 4
Could you please tell me how to solve that error and if there are example for lte I can run and study ?
Thank You
|
|
|
03-26-2012, 04:03 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Quote:
ns web-traffic.tcl
Invalid class id in DropTail::enque, Packet's class id is 4
|
Default files are not supposed to work with an LTE patched 'ns'.
You will have to use a binary 'ns' from an unpatched ns-2.33.
The "ns-LTE" binary will work with dedicated "lte.tcl" files only.
A random 'ns<233>' will work OK. Example : /usr/local/bin/ns233-el5 :
$ ns233-el5 web-traffic.tcl : The nam window opens OK.
( ns233-el5 is a binary once created on CentOS 5.)
You can have as may binary ns versions as you want,
just rename ns to a recognizable name.
https://docs.google.com/open?id=0B7S...bjdMNUxheHFLUQ
.
Last edited by knudfl; 03-26-2012 at 08:45 AM.
|
|
1 members found this post helpful.
|
03-26-2012, 06:37 PM
|
#3
|
LQ Newbie
Registered: Sep 2011
Posts: 21
Original Poster
Rep:
|
Thanks a lot it worked perfectly
Code:
user@ubuntu:~/ns-allinone-2.33/ns-2.33/tcl/ex$ sudo /home/user/ns-allinone-2.33/ns-2.33/ns233 web-traffic.tcl
running nam...
|
|
|
03-26-2012, 06:42 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
One thing :
"sudo /home/user/ns-allinone-2.33/ns-2.33/ns233 web-traffic.tcl"
'sudo' is not required for any ns2 files, when ns2 is located in /home//.
May cause some troubles.
|
|
1 members found this post helpful.
|
03-26-2012, 07:15 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Quote:
... if there are example for lte I can run and study ?
|
Besides the file lte.tcl in ns-2.33/lte-model-read-only ,
... I have another one : eyana.tcl , which works OK.
http://www.linuxquestions.org/questi...930/page3.html
> post # 42.
.
|
|
1 members found this post helpful.
|
03-26-2012, 10:19 PM
|
#6
|
LQ Newbie
Registered: Sep 2011
Posts: 21
Original Poster
Rep:
|
Thank you so much for all these information.
The example you attached and example "simple-rtp.tcl" are giving me these warnings?
is there a way to fix that? should I worry about them ?
Code:
user@ubuntu:~/ns-allinone-2.33/ns-2.33/tcl/ex$ ns simple-rtp.tcl
warning: no class variable Session/RTP::debug_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Session/RTP::debug_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Session/RTP::debug_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Session/RTP::debug_
see tcl-object.tcl in tclcl for info about this warning.
Invalide class id in DropTail::enque, Packet's class id is 30
user@ubuntu:~/ns-allinone-2.33/ns-2.33/tcl/ex$
Last edited by vip2442; 03-26-2012 at 10:23 PM.
|
|
|
03-27-2012, 03:51 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 10 :
'simple-rtp.tcl' is not an lte file. Use the "unpatched ns binary".
'eyana.tcl' : The warnings doesn't really matter. Not errors.
( There may be a work around, that I don't know about.)
.
|
|
1 members found this post helpful.
|
04-09-2013, 11:29 AM
|
#8
|
LQ Newbie
Registered: Apr 2013
Posts: 1
Rep:
|
Invalide class id in DropTail::enque, Packet's class id is 30
Hi!
I have a problem when compile the lte.tcl.
The error that appears is:
warning: no class variable Session/RTP::debug_
see tcl-object.tcl in tclcl for info about this warning.
Invalide class id in DropTail::enque, Packet's class id is 30
someone knows how to help me??
Thank you!
|
|
|
04-09-2013, 12:48 PM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Post # 8, @Farf : Welcome to LQ.
'lte.tcl' : Please use an edited "lte.tcl", like eyana.tcl :
The file is attached to post # 5.
If $ 'ns eyana.tcl' fails : You have a corrupt build.
LTE examples : lte-examples-0213.tar.gz
https://docs.google.com/file/d/0B7S2...it?usp=sharing
All LTE at LQ : http://www.linuxquestions.org/questions/tags/lte/
-
Last edited by knudfl; 04-11-2013 at 04:05 AM.
|
|
1 members found this post helpful.
|
03-13-2014, 01:39 AM
|
#10
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Rep:
|
invalid ID
Hello..
I'm still having a problem when running eyana.tcl
there are some warning, but in the last line on warning there is a message:
Invalide class id in DropTail::enque, Packet's class id is 30
when I try run lte.tcl I got these message:
All the UEs are empty in DLS1Queue!
UE 9 is demarked in DLAirQueue.
UE 4 is demarked in DLAirQueue.
DLQueue::deque(), all the queues are empty, no packet to be sent.
UE 5 is demarked in DLAirQueue.
All the UEs are empty in DLS1Queue!
UE 6 is blocked in DLS1Queue.
All the UEs are blocked in DLS1Queue!
UE 11 is demarked in DLAirQueue.
UE 6 is blocked in DLS1Queue.
UE 10 is blocked in DLS1Queue.
All the UEs are blocked in DLS1Queue!
invalid classid 30
I'm using ns2.33 ubuntu 12.04 (64bit).
I hope anyone can help me solve this, I really need it for my project.
thank you
|
|
|
03-13-2014, 08:01 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Post #10, @sfsfajri : Welcome to LQ.
Generally : All ns2 is for a 32bits (i686) OS.
Some versions / patches / modifications will however also work with 64bits.
( You will always get an inferior validate result with 64bits.)
LTE has been done with 64bits : Works in Slackware64 - 13.37 →
See the LTE threads → http://www.linuxquestions.org/questions/tags/lte/
** But : No guaranty that anything ns2 will work well with Ubuntu 12.04 - 64.
-
|
|
|
03-13-2014, 09:29 AM
|
#12
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Rep:
|
Okay, I'll try that one.
and thanks for helping me.
|
|
|
03-18-2014, 01:05 AM
|
#13
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Rep:
|
dear sir knudfl
I have a question, is it possible to make UE become mobile using LTE patch?
if it possible could you make an example in tcl file
because I'm still a newbie, and I tried to make it and it goes to error.
thanks a lot
|
|
|
03-18-2014, 06:03 AM
|
#15
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Rep:
|
I mean to make a mobile node, not a static node
is it possible?
|
|
|
All times are GMT -5. The time now is 07:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|