Any guides on what exactly I can try to retain my ip?
@Middleware & OS
Hey guys, am trying to retain and Configure a static IP address on Embedded Linux (Raspberry pi, Raspbian Os) am running a local server and would like retain same IP for port forwarding. Any guides on what exactly I can try to retain my ip? I tried configuring my router but it doesn't seem to work
Hey guys, am trying to retain and Configure a static IP address on Embedded Linux (Raspberry pi, Raspbian Os) am running a local server and would like retain same IP for port forwarding. Any guides on what exactly I can try to retain my ip? I tried configuring my router but it doesn't seem to work
Solution
To retain a static IP address on a Raspberry Pi running Raspbian OS:
- Edit
/etc/dhcpcd.confand add your static IP details. - Restart the
dhcpcdservice. - Edit
/etc/network/interfacesand set the IP address to static. - Reboot your Raspberry Pi.