Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # sh -x /etc/configurator.sh
- sh -x /etc/configurator.sh
- + [ -f /etc/config/configurator ]
- + uci get configurator.@api[0].ipv4_address
- + API_IPV4_ADRESS=1
- + uci get configurator.@api[0].ipv6_address
- + API_IPV6_ADRESS=fe80::ff:feee:1
- + uci get configurator.@api[0].ipv6_interface
- + API_IPV6_INTERFACE=br-mesh
- + uci get configurator.@api[0].timeout
- + API_TIMEOUT=5
- + uci get configurator.@api[0].retry
- + API_RETRY=5
- + uci get configurator.@script[0].version
- + SCRIPT_VERSION=1
- + uci get configurator.@script[0].error_level
- + SCRIPT_ERROR_LEVEL=0
- + uci get configurator.@script[0].logfile
- + SCRIPT_LOGFILE=/var/log/configurator.log
- + uci get configurator.@script[0].sync_hostname
- + SCRIPT_SYNC_HOSTNAME=1
- + uci get configurator.@crawl[0].method
- + CRAWL_METHOD=hash
- + uci get configurator.@crawl[0].router_id
- + CRAWL_ROUTER_ID=1
- + uci get configurator.@crawl[0].update_hash
- + CRAWL_UPDATE_HASH=1
- + uci get configurator.@crawl[0].nickname
- + CRAWL_NICKNAME=1
- + uci get configurator.@crawl[0].password
- + CRAWL_PASSWORD=1
- + uci get configurator.@netmon[0].autoadd_ipv6_address
- + AUTOADD_IPV6_ADDRESS=1
- + API_RETRY=4
- + [[ 1 != 1 ]]
- + netmon_api=[fe80::ff:feee:1%br-mesh]
- + [ 0 -gt 1 ]
- + [ hash == login ]
- + [ hash == hash ]
- + err Authentification method: autoassign and hash
- + :
- + err Checking if the router is already assigned to a router in Netmon
- + :
- + [ 1 == 1 ]
- + err The router is not assigned to a router in Netmon
- + :
- + err Trying to assign the router
- + :
- + assign_router
- + cat /proc/sys/kernel/hostname
- + hostname=OpenWrt
- + awk { mac=toupper($1); gsub(":", "", mac); printf mac ";" } /sys/class/net/br-mesh/address /sys/class/net/eth0/address /sys/class/net/ath0/address
- + login_strings=112233445566;112233446688;
- + wget -T 5 -q -O - http://[fe80::ff:feee:1%br-mesh]/api_csv_configurator.php?section=test_login_strings&login_strings=10FEEDAFC88A;10FEEDAFC889;
- wget: can't connect to remote host: Connection timed out
- + ergebnis=
- + router_auto_assign_login_string=
- + ergebnis=
- + [ = error ]
- + 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
- wget: can't connect to remote host: Connection timed out
- + ergebnis=
- + ret=
- + errstr=
- + errstr=
- + [ != success ]
- + err The router has not been assigned to a router in Netmon
- + :
- + err Failure on router_auto_assign: . Exiting
- + :
- + exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement