💾 Archived View for darknesscode.xyz › notes › network-interfaces-raspberrypi.gmi captured on 2024-02-05 at 09:46:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-05)

-=-=-=-=-=-=-

Setup Network interfaces for Raspberry Pi

Setup a static network IP address on your raspberry pi using interfaces. Open the file in any text editor /etc/network/interfaces add or change the values to your needs.

auto eth0
iface eth0 inet static
address 10.1.1.30
netmask 255.255.255.0
gateway 10.1.1.1

allow-hotplug wlan0
iface wlan0 inet static
address 10.1.1.31
netmask 255.255.255.0
gateway 10.1.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Save the file and restart your raspberry pi.

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode