On Thu, Mar 24, 2016 at 11:40:06AM -0400, David Henderson wrote:
> Good morning all!  I am working with the /etc/network/interfaces file
> and was curious what declarations are available to busybox.  So far

Test it out; this is usually the fastest way to find out.

As a general rule, anything that doesn't require a plugin should work.
This is roughly 'allow-*' and anything that's not separated by '-'/'_'.
Anything that requires a plugin will require the appropriate package
and script.

> I'm interested in using the following:
> 
> address 192.168.0.10
> netmask 255.255.255.0
> gateway 192.168.0.1
Standard.
(I don't see code *explicitly* handling 'gateway', but I think there's
some trick such that it gets handled.)

> dns-nameservers 1.1.1.1 1.1.1.2 1.1.1.3
> dns-search newdomain.local olddomain.local outside.com

I think these are handled by an ifup plugin, given the hyphen.
They would become IF_DNS_NAMESERVERS/IF_DNS_SEARCH for scripts in
/etc/network/*.d/
...Ah, they are handled by the resolvconf ifup plugin.


> wpa-conf /etc/wpa_supplicant.conf

Handled by the wpa_supplicant ifup plugin (IF_WPA_CONF).

These 'plugins' I refer to are scripts in 
/etc/network/if-{,pre-,post-}{up,down}.d/
Depending on the directory, they will be executed before or after
interfaces go up or down.

> A list of available, working declarations would be greatly appreciated!

HTH,
Isaac Dunham
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to