Anyone else having issue with raspbian stretch not setting host name and static IP?
I need to set a static IP and specific gateway and I am not familiar with debian’s methods.
If some can send me an example config file and location? I assume it goes to /etc/network/interfaces.d?
I just don’t know the format and what the file name should be.
I’ll worry about the host name another time.
Thanks.
I usually just set a static DHCP lease in my router for the mac address of that pi. That way I am not trying to mess around with setting a static IP on the pi itself. From what I remember, there was a specific way to do it in stretch, but I never got it to work and that’s when I started using static DHCP leases on the router.
···
Jeff Lehman, KC8QCH
E-mail: kc8qch@gmail.com
Hamshack Hotline: 4218
Yes I agree, I do the same. But I have one node that requires a custom setting due to how I am hopping on the network via a WIFI AP. I can’t rely on DHCP for this one.
···
On Jun 12, 2019, at 3:36 PM, Jeff Lehman kc8qch@gmail.com wrote:
I usually just set a static DHCP lease in my router for the mac address of that pi. That way I am not trying to mess around with setting a static IP on the pi itself. From what I remember, there was a specific way to do it in stretch, but I never got it to work and that’s when I started using static DHCP leases on the router.
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
–
Jeff Lehman, KC8QCH
E-mail: kc8qch@gmail.com
Hamshack Hotline: 4218
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
You may want to update /etc/resolv.conf and /etc/hostname to have the proper
host name in it.
That should make it static no problem.
···
On 6/12/19 3:28 PM, Lu V wrote:
Anyone else having issue with raspbian stretch not setting host name and
static IP? I need to set a static IP and specific gateway and I am not
familiar with debian’s methods. If some can send me an example config file
and location? I assume it goes to /etc/network/interfaces.d? I just don’t
know the format and what the file name should be. I’ll worry about the host
name another time. Thanks.
Thanks Bryan for the info.
One thing for certain is that the host name never gets set. I have done over 1/2 a dozen and each time I try to set host name or even domain name, it won’t set it. It defaults to repeated and no domain name.
But I’ll do it manually now that you refreshed my mind.
Thanks.
···
Sent from my iPhone, Lu Vencl
On Jun 12, 2019, at 9:29 PM, Bryan Fields <Bryan@bryanfields.net> wrote:
On 6/12/19 3:28 PM, Lu V wrote:
Anyone else having issue with raspbian stretch not setting host name and
static IP? I need to set a static IP and specific gateway and I am not
familiar with debian’s methods. If some can send me an example config file
and location? I assume it goes to /etc/network/interfaces.d? I just don’t
know the format and what the file name should be. I’ll worry about the host
name another time. Thanks.
I'm not aware of any bug, I've statically provisioned one before. Can you
confirm this?
Basically it's Debian, and uses /etc/network/interfaces
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.