Created
February 10, 2018 19:32
-
-
Save AramZS/4ecf9c7ec9493ffb72798040a6ba4416 to your computer and use it in GitHub Desktop.
local access plus wifi access to raspberrypi0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# interfaces(5) file used by ifup(8) and ifdown(8) | |
# Please note that this file is written to be used with dhcpcd | |
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' | |
# Include files from /etc/network/interfaces.d: | |
source-directory /etc/network/interfaces.d | |
allow-hotplug usb0 | |
iface usb0 inet static | |
address 192.168.7.2 | |
netmask 255.255.255.0 | |
network 192.168.7.0 | |
broadcast 192.168.7.255 | |
gateway 192.168.7.1 | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment