index
netdoor-client
netdoor client is the client side used to ask a netdoor-server to open the door
it requires netlib and ccdns-client to find and talk to the door
both these dependency's will be automatically installed when installing netdoor-client
you are advised to turn on auto-dhcp server search by running dns set dhcp true
you call the door by using the "netdoor" command, it will ask you for the required input,
if you want it to go faster you can provide everything as arguments,
add the name/id of the server, then your username, then your password.
eg: netdoor ID user pass
netdoor-client has no configuration options or files, it does have one lua function you can call
netdoor.open(table)
table fields:
1:ID/name
2:username
3:password
it can return the following return codes:
100 door opened - accepted, the door is open
101 invalid user - username not provided
102 invalid password - password not provided
103 dns lookup failed - name/id not found
104 system ping failed - ID did not respond to ping (server crashed?)
105 failed to retrieve session id - did not get a session id (wrong system?)
106 failed to establish connection - could not establish connection (system/network overloaded?)
107 door reply failed - the door did not reply, it could be open, it could have crashed
108 Access denied! - this user is denied access, unknown user or wrong password
109 Unkown error! - we got an error but do not reconize it (contact us if this keeps happening)
110 DNS server not known - run "dns renew" to search for a dns server