>> And I just wanted to make sure that I could use something like:
>>
>> ifup -i /etc/network/interfaces eth0
>>
>> will process that file as is defined (like the example provided
>> below).  There isn't anythink like this with just ifconfig correct?
> No, ifconfig doesn't do all that.
>
>
> The 'example provided' is only a list of options.
>
> If I'm understanding correctly, you're probably thinking of something
> more like this:
> ===
> # eth0 here is manually configured ethernet, brought up by hand
> iface eth0 inet static
>       address 192.168.0.10
>       netmask 255.255.255.0
>       gateway 192.168.0.1
>       dns-nameservers 1.1.1.1 1.1.1.2 1.1.1.3
>       dns-search newdomain.local olddomain.local outside.com
>
> # wlan0 is wireless auto-configured by dhcp, brought up automatically
> auto wlan0
> iface wlan0 inet dhcp
>       wpa-conf /etc/wpa_supplicant.conf
> ===

Yeah, sorry about that, but you are correct in your assumption.


> Assuming you have resolvconf and wpa-supplicant installed, it should work.
> But unless you use wireless in a stationary PC, you would do better to
> use 'wpa-roam':
> ===
> # 'default' should not be marked 'auto'; IT IS MAGIC!! ;)
> # the wpa_supplicant plugin will bring up the logical interface specified
> # by 'id_str' in wpa_supplicant.conf, or 'default' if id_str is not
> # configured.
> # The physical interface you run wpa_supplicant on will be used for
> # any logical interfaces.
>
> iface default inet dhcp
>
> auto wlan0
> iface wlan0 inet manual
>       wpa-roam /etc/wpa_supplicant.conf
> ===
>
> "-i CONFIGFILE" is optional; it defaults to /etc/network/interfaces.

What's the advantage to using 'wpa-roam' vs 'wpa-conf'?


>> On 3/24/16, David Henderson <[email protected]> wrote:
>> > Good morning all!  I am working with the /etc/network/interfaces file
>> > and was curious what declarations are available to busybox.  So far
>> > I'm interested in using the following:
>> >
>> > address 192.168.0.10
>> > netmask 255.255.255.0
>> > gateway 192.168.0.1
>> > dns-nameservers 1.1.1.1 1.1.1.2 1.1.1.3
>> > dns-search newdomain.local olddomain.local outside.com
>> > wpa-conf /etc/wpa_supplicant.conf

Thanks again,
Dave
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to