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

Human
  • 1,138
  • 3
  • 14
  • 35
  • 1
    Your looking for `/etc/dhcpd.conf` not the `interfaces` file. [This](https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip-address/37921#37921) is a very good explanation. – mintyfreshpenguin Nov 03 '17 at 14:00
  • This helped, thanks, I just removed a line that made my IP static. – Zayyir Cornelio Nov 06 '17 at 09:46

2 Answers2

0
$ sudo raspi-config 
  • Select 'Network Options'
  • Select 'WiFi'
  • Enter SSID
  • Enter SSID passphrase
goldilocks
  • 56,430
  • 17
  • 109
  • 217
lloyd
  • 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 07: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.

jefferyear
  • 193
  • 3
  • 9