0

I need help changing my IP to dynamic or confirming that my is IP to dynamic because I may have set it to static when I installed PiVPN.

/etc/network/interfaces is basically empty

2
  • 1
    Your looking for /etc/dhcpd.conf not the interfaces file. This is a very good explanation. – mintyfreshpenguin Nov 3 '17 at 14:00
  • This helped, thanks, I just removed a line that made my IP static. – Zayyir Cornelio Nov 6 '17 at 9:46
0
$ sudo raspi-config 
  • Select 'Network Options'
  • Select 'WiFi'
  • Enter SSID
  • Enter SSID passphrase
1
  • That will connect you to a wireless network but not change the IP if it already has been statically assigned. Of the static address is not in the same range this would fail. – Andy Anderson Sep 20 '18 at 7:19
0

This command is to confirm you real IP address. If the IP changed in period of time, normally, it is regarded as not static IP.

curl -s http://ipv4.icanhazip.com

You mention you use a VPN service. If the VPN successfully run up, you are able to use the above command to check the IP address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.