weimarnetz / registrator-nodejs

registrator to register a weimarnetz knotennummer
http://reg.weimarnetz.de
0 stars 2 forks source link

registering new node number from client #5

Closed andibraeu closed 10 years ago

andibraeu commented 10 years ago

now it's like that:

case:

special cases:

eins78 commented 10 years ago

this is not an issue with the API, but with the clients using it. will add a 'getNumber' method to the jquery-client, though, to make that more clear…

eins78 commented 10 years ago

I found the shell script inside the firmware I was talking about all the time. So this seems to be the 'official' client: https://github.com/bittorf/kalua/blob/master/openwrt-addons/usr/sbin/cron.registrator_client.sh Maybe it is not even used, but you should be faster than me in finding out.

Edit: this file in weimarnetz/weimarnetz: https://github.com/weimarnetz/weimarnetz/blob/master/openwrt-addons/usr/sbin/cron.registrator_client.sh

andibraeu commented 10 years ago

I found the shell script inside the firmware I was talking about all the time. So this seems to be the 'official' client: https://github.com/bittorf/kalua/blob/master/openwrt-addons/usr/sbin/cron.registrator_client.sh Maybe it is not even used, but you should be faster than me in finding out.

we aren't in sync with bittorf/kalua, but our official client looks nearly the same: https://github.com/weimarnetz/weimarnetz/blob/master/openwrt-addons/usr/sbin/cron.registrator_client.sh

maybe we could enhance that script by the new feature of the registrator

eins78 commented 10 years ago

I am starting by commenting the script…

andibraeu commented 10 years ago

Am Freitag, den 14.02.2014, 12:12 -0800 schrieb Max Albrecht:

I am starting by commenting the script…

very nice! :-)

btw: http://reg.weimarnetz.de/static/jquery-client-test.html

eins78 commented 10 years ago

so, to summarize the mailing list and short IRL discussion from last tuesday:

  1. actually everything works how we want, but we should check the client implementation(s) — started here: weimarnetz/weimarnetz#29
  2. the 'special case' (dev kit router reset without backup but still keep number) can be solved by a password-reset — TBD, duplicate of eins78/registrator#1 :neckbeard: