Api/dhcp: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "the dhcp api is part of the a[https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=46&sid=2ce2c9aa6ecdc05c0058253d52fe37ce uth-client software package] and requires a working dhcp server '''''dhcp.renew()''''' broadcasts for a dhcp server and renews the id '''''dhcp.lookup(name)''''' does a lookup in the register for "name", can be either name or ID outputs data in _G.lookupid, _G.lookupname, _G.lookupowner for use by other programs....")
 
No edit summary
 
Line 2: Line 2:




'''''dhcp.renew()'''''
'''''[[Api/dhcp.renew()|dhcp.renew]]()'''''


broadcasts for a dhcp server and renews the id
'''''[[Api/dhcp.lookup()|dhcp.lookup]]()'''''


'''''dhcp.lookup(name)'''''
'''''[[Api/dhcp.register()|dhcp.register]]()'''''


does a lookup in the register for "name", can be either name or ID
'''''[[Api/dhcp.unregister()|dhcp.unregister]]()'''''
 
outputs data in _G.lookupid, _G.lookupname, _G.lookupowner for use by other programs.
 
'''''dhcp.register(systemname)'''''
 
registers this system as "systemname" and adds it to the lookup function. must be an actual name.
 
'''''dhcp.unregister(systemname)'''''
 
removes this system from the register and lookup function, can be either name or ID

Latest revision as of 23:02, 24 September 2024