Currently it only supports static ip (maybe I could add DHCP?)
Also, you need to put all the information of the interface, when actually only address, gateway and one of network, netmask or broadcast is necessary.
I'm not sure about copyright, so if I have to add any kind of notice, don't hesitate to ask.
Also, I use some functions/variables that are in wifi_set.go. I'm not sure about Go style, but I guess I should refactorize them to an external common file?
Title.
Currently it only supports static ip (maybe I could add DHCP?) Also, you need to put all the information of the interface, when actually only
address
,gateway
and one ofnetwork
,netmask
orbroadcast
is necessary.I'm not sure about copyright, so if I have to add any kind of notice, don't hesitate to ask.
Also, I use some functions/variables that are in
wifi_set.go
. I'm not sure about Go style, but I guess I should refactorize them to an external common file?