anyone?


martini.spy wrote:
> 
> 
> Hi all!
> I am trying to use the beacon messages as in mac-802_11.cc to trigger some
> changes when a new access point is detected. I haven't changed anything
> there yet. I have in my tcl script something like this:
> set AP_ADDR1 [$mac_(2) id]
> $mac_(2) ap $AP_ADDR1
> 
> set AP_ADDR2 [$mac_(5) id]
> $mac_(5) ap $AP_ADDR2
> 
> $mac_(4) ScanType ACTIVE
> for {set i 2} {$i < 4} {incr i} {
> $mac_($i) ScanType PASSIVE ;#Passive
> }
> for {set i 5} {$i < 7} {incr i} {
> $mac_($i) ScanType PASSIVE ;#Passive
> }
> 
> But when I run it, it stops quite early and  it writes: "Illegal
> instruction"
> 
> Can anyone help me? What may be wrong??
> Could anyone tell me how to use the ScanType ACTIVE/PASSIVE command
> because I haven't found what's the difference...
> Does anybody know if this is the right way to detect the presence of a new
> access point? I hope to get what I want if the recvBEACON function is
> called; can it work???
> any help will be highly appreciated, because it is urgent and important!!!
> thanks in advance!
> 
> 
> 
> 
>       
> ___________________________________________________________ 
> Χρησιμοποιείτε Yahoo!; 
> Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
> διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
> μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Beacon-messages-scanType-HELP%21%21-tp22023240p22034920.html
Sent from the ns-users mailing list archive at Nabble.com.


Reply via email to