Timeline for Raspberry Pi 3 can't update IP address
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:56 | history | edited | CommunityBot |
replaced http://raspberrypi.stackexchange.com/ with https://raspberrypi.stackexchange.com/
|
|
Aug 31, 2016 at 6:57 | history | edited | Varad A G | CC BY-SA 3.0 |
deleted 1308 characters in body
|
Aug 31, 2016 at 6:51 | comment | added | Varad A G | @Miren can you please update the question with your /etc/network/interfaces , uname -a and /etc/os-release. | |
Aug 31, 2016 at 6:30 | comment | added | Miren | I still have the same problem....Allocate IP is the same that DHCP server gave me. root@raspberrypi:/home/pi# sudo service dhcpd status ● dhcpd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) | |
Aug 31, 2016 at 6:17 | comment | added | Varad A G | Let us continue this discussion in chat. | |
Aug 31, 2016 at 6:15 | history | edited | Varad A G | CC BY-SA 3.0 |
added 178 characters in body
|
Aug 31, 2016 at 6:06 | comment | added | Milliways | If you are suggesting I edit your post, I normally refrain from editing other peoples's posts (except for formatting) or to add a note indicating obsolete information. I do not know what you would want me to say. I have already posted a detailed tutorial covering Raspbian Jessie, and normally refer people to this. This includes information for those who want to use standard Debian networking. Earlier posts e.g. raspberrypi.stackexchange.com/a/26927/8697 address standard Debian networking | |
Aug 31, 2016 at 0:30 | comment | added | Varad A G | @Milliways It would begreat if you can please go ahead and edit the post. Then it would be easy for some one to refer it in future. | |
Aug 30, 2016 at 23:53 | comment | added | Milliways |
The reason it works is because you call dhcp in /etc/network/interfaces . dhcpcd detects this and deactivates itself, as you would see from boot messages. The original you posted, and that posted by the OP would not work. Incidentally your file is strange - it calls wpa_supplicant , but also includes wpa-ssid - not a good example for others. I suspect it is ignoring wpa_supplicant because you don't use manual .
|
|
Aug 30, 2016 at 16:36 | history | edited | Varad A G | CC BY-SA 3.0 |
Tested on Raspberry pi B+ and updated the answer.
|
Aug 30, 2016 at 16:28 | comment | added | Varad A G | @Milliways I tried this out in my Raspberry pi and this configuration works for me. I am pasting my "interfaces" file by editing the answer. | |
Aug 30, 2016 at 12:43 | comment | added | Milliways |
It probably works on Ubuntu (although I have not tried on 16.04 - but then I spend most of my time trying to convince people NOT to use static) and does work on Wheezy and you can configure Jessie to use the traditional Debian networking. For better or worse (I see improved performance) the Foundation uses dhcpcd by default. Ubuntu (at least current releases) uses Network Manager . Either works, but they are not the only way. See How do I set up networking/WiFi/Static IP for the Raspbian approach.
|
|
Aug 30, 2016 at 12:34 | comment | added | Varad A G | @Milliways Yeah I have tried it on my debian system but not on my raspberry pi. I have a Ubuntu 12.04 in which I have set static ip for some testing purpose. I will be accessing my Rpi once I reach home and I don't have access now. I will give detailed steps once I set it up on my Raspberry pi. I will delete the answer if this is not allowing to set it up in my raspberry pi. Also what you mentioned is a striking point we have to disable the dhcpd service to pick up the static ip. | |
Aug 30, 2016 at 9:59 | comment | added | Milliways |
Have you actually tried this before giving others advice. Unless you disable dhcpcd it will still attempt to allocate addresses.
|
|
Aug 30, 2016 at 9:44 | history | edited | Varad A G | CC BY-SA 3.0 |
Added the name server. Looks like debian versions released recently needs this.
|
Aug 30, 2016 at 9:38 | comment | added | Miren | I still have the same problem. IP address doesnt update. | |
Aug 30, 2016 at 9:31 | history | answered | Varad A G | CC BY-SA 3.0 |