Set Static IP
#14
I must be brain damaged in some way.  I loaded the 20160403-1 version of longsleep's xenial os and have spend 3 hours trying to set the static IP.  Every thing I've tried has bricked the board, requiring me to re-load the base os.

I've tried editing /etc/network/interfaces.

The default file looks like this:
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# Disable wlan1 by default (8723bs has two intefaces)
iface wlan1 inet manual

I've added a static block to the end of the file:
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# Disable wlan1 by default (8723bs has two intefaces)
iface wlan1 inet manual

Auto eth0
iface eth0 inet static
address 192.168.1.206
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 4.2.2.1 4.2.2.2 8.8.8.8

I've removed the contents of the file and just tried this:
Code:
Auto eth0
iface eth0 inet static
address 192.168.1.206
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 4.2.2.1 4.2.2.2 8.8.8.8

I've also left the interfaces file alone and gone into  /etc/network/interfaces.d/eth0 and changed it to read:
Code:
Auto eth0
iface eth0 inet static
address 192.168.1.206
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 4.2.2.1 4.2.2.2 8.8.8.8

Nothing works, and everything bricks the Pine64.

I've also used nmtui to set the static IP, and it works for a bit, but then seeming-randomly it reverts back to dhcp mode.

What do I continue to do wrong?  I was able to make it work in the previous version of longsleep's xenial, but nothing seems to work in the latest version. 

Also, is there a non-destructive way to test setting the static IP, one where I don't have to reload the os everytime something doesn't work?

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: 2 Guest(s)