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.
I want to simulate this file.tcl but this erreur was showen
bss_id lookup failed
(_o66 cmd line 1)
invoked from within
"_o66 cmd bss_id 0"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o66" line 2)
(SplitObject unknown line 2)
invoked from within
"$PAMac bss_id $AP_ADDR_0"
(file "dccp-wifi-lte line" 79
Can any one help me to solve this problem ??
Last edited by nassou19891; 10-31-2014 at 06:23 AM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #3 .
Reason for suffix .txt :
Text files must have suffix .txt to be attached.
Reason for suffix .tcl :
It's nice when the file can be recognized in your post (#3) as a tcl file.
I.e. the correct naming for the attachment is " dccp-wifi-lte.tcl.txt ".
(And you can also easily run the file with $ ns dccp-wifi-lte.tcl.txt
... A file.tcl isn't executed, but is interpreted by 'ns'.
Your error "bss_id lookup failed" : Where is "bss_id" defined ?
Here where i defined bss_id
#création de la station de base
set PA [$ns node 2.0.0]
$PA random-motion 0
#provide some co-ord (fixed) to base station node
$PA set X_ 250.0
$PA set Y_ 250.0
$PA set Z_ 0.0
set PAMac [$PA getMac 0]
set AP_ADDR_0 [$PAMac id]
$PAMac bss_id $AP_ADDR_0
$PAMac set-channel 1
$PAMac enable-beacon
[$PA set netif_(0)] setTechno 802.11
It's a tcl code for creation a BS
actualy i copied this one from another file but it have also the same problem that is why i ask what the problem is ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.