[Babel-users] Babel and hwsim virtual wireless interfaces
    Juliusz Chroboczek 
    Juliusz.Chroboczek at pps.jussieu.fr
       
    Mon Apr 27 17:11:58 UTC 2009
    
    
  
>> interface hwsim0 wired false
> I just want to know if Babel recognises the interface as wired or wireless.
Do ``kill -USR1 $(cat /var/run/babel.pid)''.
Babel will dump its internal tables to the log file.  For each
neighbour, it will say something like
  Neighbour fe80::cc78:f832:a600:e20e dev beta reach ffff rxcost 96 txcost 96
Assuming you didn't tweak the interface costs, if the rxcost is always
either 96 or 65535, the interface is recognised as wired.  If the rxcost
oscillates smoothly between 256 and 65535, then the interface is
wireless.
                                        Juliusz
    
    
More information about the Babel-users
mailing list