From charlesreid1

Revision as of 04:15, 4 April 2017 by Admin (talk | contribs) (Created page with "See the following repo, which has details of how to configure <code>/etc/network/interfaces</code>: https://git.charlesreid1.com/rpi/pi-join-wifi The basics: ==Joining Une...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

See the following repo, which has details of how to configure /etc/network/interfaces:

https://git.charlesreid1.com/rpi/pi-join-wifi

The basics:

Joining Unencrypted Wifi

This supposes you want to join a wifi network called MyWifiNetwork that is unencrypted. Add the following wireless network information to /etc/network/interfaces.d/widy.cfg, which is a config file specific to this wifi router that you can use to swap wifi network configurations in and out:

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid OpenWrt

Next, include this config file in your /etc/network/interfaces file by adding the last line shown to it:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

source /etc/network/interfaces.d/mywifi.cfg