Advertisement
Guest User

Freifunk Configurator

a guest
Jun 18th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # sh -x /etc/configurator.sh
  2. sh -x /etc/configurator.sh
  3. + [ -f /etc/config/configurator ]
  4. + uci get configurator.@api[0].ipv4_address
  5. + API_IPV4_ADRESS=1
  6. + uci get configurator.@api[0].ipv6_address
  7. + API_IPV6_ADRESS=fe80::ff:feee:1
  8. + uci get configurator.@api[0].ipv6_interface
  9. + API_IPV6_INTERFACE=br-mesh
  10. + uci get configurator.@api[0].timeout
  11. + API_TIMEOUT=5
  12. + uci get configurator.@api[0].retry
  13. + API_RETRY=5
  14. + uci get configurator.@script[0].version
  15. + SCRIPT_VERSION=1
  16. + uci get configurator.@script[0].error_level
  17. + SCRIPT_ERROR_LEVEL=0
  18. + uci get configurator.@script[0].logfile
  19. + SCRIPT_LOGFILE=/var/log/configurator.log
  20. + uci get configurator.@script[0].sync_hostname
  21. + SCRIPT_SYNC_HOSTNAME=1
  22. + uci get configurator.@crawl[0].method
  23. + CRAWL_METHOD=hash
  24. + uci get configurator.@crawl[0].router_id
  25. + CRAWL_ROUTER_ID=1
  26. + uci get configurator.@crawl[0].update_hash
  27. + CRAWL_UPDATE_HASH=1
  28. + uci get configurator.@crawl[0].nickname
  29. + CRAWL_NICKNAME=1
  30. + uci get configurator.@crawl[0].password
  31. + CRAWL_PASSWORD=1
  32. + uci get configurator.@netmon[0].autoadd_ipv6_address
  33. + AUTOADD_IPV6_ADDRESS=1
  34. + API_RETRY=4
  35. + [[ 1 != 1 ]]
  36. + netmon_api=[fe80::ff:feee:1%br-mesh]
  37. + [ 0 -gt 1 ]
  38. + [ hash == login ]
  39. + [ hash == hash ]
  40. + err Authentification method: autoassign and hash
  41. + :
  42. + err Checking if the router is already assigned to a router in Netmon
  43. + :
  44. + [ 1 == 1 ]
  45. + err The router is not assigned to a router in Netmon
  46. + :
  47. + err Trying to assign the router
  48. + :
  49. + assign_router
  50. + cat /proc/sys/kernel/hostname
  51. + hostname=OpenWrt
  52. + awk { mac=toupper($1); gsub(":", "", mac); printf mac ";" } /sys/class/net/br-mesh/address /sys/class/net/eth0/address /sys/class/net/ath0/address
  53. + login_strings=112233445566;112233446688;
  54. + wget -T 5 -q -O - http://[fe80::ff:feee:1%br-mesh]/api_csv_configurator.php?section=test_login_strings&login_strings=10FEEDAFC88A;10FEEDAFC889;
  55. wget: can't connect to remote host: Connection timed out
  56. + ergebnis=
  57. + router_auto_assign_login_string=
  58. + ergebnis=
  59. + [ = error ]
  60. + wget -T 5 -q -O - http://[fe80::ff:feee:1%br-mesh]/api_csv_configurator.php?section=router_auto_assign&router_auto_assign_login_string=&hostname=OpenWrt
  61. wget: can't connect to remote host: Connection timed out
  62. + ergebnis=
  63. + ret=
  64. + errstr=
  65. + errstr=
  66. + [ != success ]
  67. + err The router has not been assigned to a router in Netmon
  68. + :
  69. + err Failure on router_auto_assign: . Exiting
  70. + :
  71. + exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement