-->
Page 2 of 2

Re: SetIP(ipaddr) and SetDNS(dnsaddr)

PostPosted: Thu Jan 01, 2015 11:53 pm
by laidlow
Also really interested to know if this is possible, I can't change the router config for a static lease at my workplace so I really need a way of setting it on the node.

Re: SetIP(ipaddr) and SetDNS(dnsaddr)

PostPosted: Fri Jan 02, 2015 4:34 am
by zeroday
laidlow wrote:Also really interested to know if this is possible, I can't change the router config for a static lease at my workplace so I really need a way of setting it on the node.

setip is already added. but not doc-ed yet...

quick example:
Code: Select allwifi.sta.setip({ip="192.168.18.119",netmask="255.255.255.0",gateway="192.168.18.1"})

Re: SetIP(ipaddr) and SetDNS(dnsaddr)

PostPosted: Fri Jan 02, 2015 4:46 am
by laidlow
zeroday wrote:
laidlow wrote:Also really interested to know if this is possible, I can't change the router config for a static lease at my workplace so I really need a way of setting it on the node.

setip is already added. but not doc-ed yet...

quick example:
Code: Select allwifi.sta.setip({ip="192.168.18.119",netmask="255.255.255.0",gateway="192.168.18.1"})


Champion! You just gave me something to play with over the weekend :)