Set Static IP
#1
I know this just me being a bonehead, but I can't figure out how to set a static IP on the Pine64.  I managed to set the address once with no problems, but after I re-imaged the sd card and tried to set the address the next couple of times, I managed to screw it up so badly that I had to re-image the sd card after each attempt.

I tried a couple of ways that failed (I can't remember what I did the first successful time):
Edited /etc/network/interfaces

Added these lines:
auto eth0
iface eth0 inet static
address 192.168.1.206
netmask 255.255.255.0
gateway 192.168.1.1

This didn't work.

Then I noticed a strange (to me) lines in the interfaces file:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

So I edited the eth0 file in interfaces.d and added the lines above to it.

Didn't work either.

Anyone have an idea on what I am doing wrong?
Thanks.


Messages In This Thread
Set Static IP - by JCMPine64 - 04-19-2016, 07:58 AM
RE: Set Static IP - by rakib-hasan - 04-19-2016, 11:48 AM
RE: Set Static IP - by JCMPine64 - 04-19-2016, 12:41 PM
RE: Set Static IP - by androsch - 04-19-2016, 01:01 PM
RE: Set Static IP - by rakib-hasan - 04-19-2016, 01:10 PM
RE: Set Static IP - by androsch - 04-19-2016, 01:24 PM
RE: Set Static IP - by JCMPine64 - 05-04-2016, 08:24 PM
Set Static IP - by Leoncito81 - 05-05-2016, 05:32 AM
RE: Set Static IP - by JCMPine64 - 05-05-2016, 08:34 AM
RE: Set Static IP - by tkaiser - 05-05-2016, 08:44 AM
RE: Set Static IP - by JCMPine64 - 05-05-2016, 09:06 AM
RE: Set Static IP - by tkaiser - 05-05-2016, 09:26 AM
RE: Set Static IP - by JCMPine64 - 05-05-2016, 10:31 AM
RE: Set Static IP - by JCMPine64 - 05-06-2016, 07:50 AM
RE: Set Static IP - by tkaiser - 05-06-2016, 08:02 AM
RE: Set Static IP - by JCMPine64 - 05-06-2016, 08:08 AM
Set Static IP - by Leoncito81 - 05-06-2016, 09:53 AM
RE: Set Static IP - by JCMPine64 - 05-06-2016, 10:05 AM
RE: Set Static IP - by tkaiser - 05-06-2016, 10:14 AM
RE: Set Static IP - by JCMPine64 - 05-06-2016, 10:33 AM
RE: Set Static IP - by g_t_j - 05-31-2016, 07:09 AM
RE: Set Static IP - by Inuyasha - 05-31-2016, 07:34 AM
RE: Set Static IP - by g_t_j - 05-31-2016, 08:24 AM
RE: Set Static IP - by Inuyasha - 05-31-2016, 08:44 AM
RE: Set Static IP - by g_t_j - 05-31-2016, 09:41 AM
RE: Set Static IP - by Inuyasha - 05-31-2016, 11:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)