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. Lu KA4EPS
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. On Wed, Jun 12, 2019 at 3:28 PM Lu V <luvencl8@gmail.com> 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.
Lu KA4EPS _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
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.
-- Jeff Lehman, KC8QCH E-mail: kc8qch@gmail.com Hamshack Hotline: 4218 Webmaster Hamilton County ARPSC http://www.hamcoarpsc.org E-mail: hamcoarpsc@gmail.com Phone: 513-452-6480 Multimode System Administrator World Wide Amateur Radio Guild *https://hamradiohub.com/ <https://hamradiohub.com/>* E-Mail: kc8qch@hamradiohub.me
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. Sent from my iPhone, Lu Vencl
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.
On Wed, Jun 12, 2019 at 3:28 PM Lu V <luvencl8@gmail.com> 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.
Lu KA4EPS _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
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.
-- Jeff Lehman, KC8QCH E-mail: kc8qch@gmail.com Hamshack Hotline: 4218
Webmaster Hamilton County ARPSC http://www.hamcoarpsc.org E-mail: hamcoarpsc@gmail.com Phone: 513-452-6480
Multimode System Administrator World Wide Amateur Radio Guild https://hamradiohub.com/ E-Mail: kc8qch@hamradiohub.me _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
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.
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 quick example: auto eth0 iface eth0 inet static address 44.98.248.123 netmask 255.255.255.0 network 44.248.0.0 broadcast 44.248.0.255 gateway 44.248.0.1 dns-nameservers 44.103.0.4 dns-search allstarlink.org 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. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
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
quick example:
auto eth0 iface eth0 inet static address 44.98.248.123 netmask 255.255.255.0 network 44.248.0.0 broadcast 44.248.0.255 gateway 44.248.0.1 dns-nameservers 44.103.0.4 dns-search allstarlink.org
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.
-- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
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.
participants (3)
-
Bryan Fields -
Jeff Lehman -
Lu V