Advertisement
Guest User

batman-adv not selecting a gateway when using "client 1"

a guest
Jul 19th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. root@sandra:~# uci show batman-adv
  2. batman-adv.bat0=mesh
  3. batman-adv.bat0.interfaces=mesh0 mesh1
  4. batman-adv.bat0.bridge_loop_avoidance=1
  5. batman-adv.bat0.gw_mode=client
  6. batman-adv.bat0.gw_sel_class=1
  7.  
  8. root@sandra:~# batctl gwl
  9. Gateway (#/255) Nexthop [outgoingIF]: gw_class ... [B.A.T.M.A.N. adv 2012.2.0, MainIF/MAC: wlan1/f8:d1:11:0b:76:4b (bat0)]
  10. frigorifico_wlan1 ( 88) czuk_wlan0 [ wlan1]: 215 - 96MBit/96MBit
  11. czuk_wlan0 (255) czuk_wlan0 [ wlan1]: 19 - 256KBit/128KBit
  12.  
  13. root@sandra:~# batctl gw_mode
  14. client (selection class: 1)
  15.  
  16. root@sandra:~# batctl gw_mode client 1
  17.  
  18. root@sandra:~# batctl gwl
  19. Gateway (#/255) Nexthop [outgoingIF]: gw_class ... [B.A.T.M.A.N. adv 2012.2.0, MainIF/MAC: wlan1/f8:d1:11:0b:76:4b (bat0)]
  20. frigorifico_wlan1 ( 95) czuk_wlan0 [ wlan1]: 215 - 96MBit/96MBit
  21. => czuk_wlan0 (255) czuk_wlan0 [ wlan1]: 19 - 256KBit/128KBit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement