You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VintageNetWiFi's quick_connect functions have become super convenient and I reach for them all of the time when I need to configure WiFi. Even though wired Ethernet is simpler to configure, I still forget how to do it and have to copy/paste from the cookbook. I think it would be really nice to have a VintageNetEthernet.quick_connect/2 function that takes keyword arguments. Something like:
# configure eth0 for DHCPiex>VintageNetEthernet("eth0")
I'm not 100% sure on the static IP address case. This might be fine since the goal of the quick_* functions isn't to cover all of the use cases. It's just supposed to cover the most common ones so that people don't have to struggle with the map config.
See the VintageNetWiFi source since it would be good to implement this similarly. I.e., with a VintageNetEthernet.Cookbook module that comes up with the config maps and can be unit tested. And then the VintageNetEthernet.quick_configure function that calls into the Cookbook and then to VintageNet.configure
The text was updated successfully, but these errors were encountered:
VintageNetWiFi's
quick_connect
functions have become super convenient and I reach for them all of the time when I need to configure WiFi. Even though wired Ethernet is simpler to configure, I still forget how to do it and have to copy/paste from the cookbook. I think it would be really nice to have aVintageNetEthernet.quick_connect/2
function that takes keyword arguments. Something like:and
I'm not 100% sure on the static IP address case. This might be fine since the goal of the quick_* functions isn't to cover all of the use cases. It's just supposed to cover the most common ones so that people don't have to struggle with the map config.
See the VintageNetWiFi source since it would be good to implement this similarly. I.e., with a
VintageNetEthernet.Cookbook
module that comes up with the config maps and can be unit tested. And then theVintageNetEthernet.quick_configure
function that calls into the Cookbook and then toVintageNet.configure
The text was updated successfully, but these errors were encountered: