You are not logged in.
Hello people,
I am lost with my fresh new install of Devuan Jessie.
Network configuration for eth0 is static with all entries.
ifconfig -a shows the correct info, IP, Netmask, gateway
after reboot all is lost
ifup --force eth0 will read the configuration and after that
ifconfig -a shows again the correct info
reboot and all is gone and starting all over.
Even with /etc/init.d/networking restart same result
This is reproducable.
This should be my replacement for Debian 8 as webserver machine, so ???? what do I have to look for ?
Any help appreciated.
Thank you.
Johannes
Last edited by turbo (2020-01-11 22:23:36)
Offline
Is the networking init script enabled?
# sysv-rc-conf
Brianna Ghey — Rest In Power
Offline
I had to wakup my interface eth0 static this way.
from my: "/etc/network/interfaces"
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.132
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
dns-nameservers 8.8.8.8 8.8.4.4
Just change mine data to yours and ping 8.8.8.8 once your system finish booting.
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
^ Google's nameservers? Really?
And you don't need to specify the broadcast address (it's the bitwise OR of the IP address and the bit complement of the subnet mask so it can be derived from those) or the network (again, implied by the netmask & IP address). And the netmask can be defined as part of the IP address in CIDR format, like this:
address 192.168.1.132/24
EDIT: sorry for the diversion.
Last edited by Head_on_a_Stick (2020-01-13 16:10:49)
Brianna Ghey — Rest In Power
Offline
^Where i have the data doesn't matter very much about Google, I use many Google producst like Chrome, Youtube, GMAIL etc... I stoped worrying about Google security-complex in other networks.
However do you have DNS to suggest?
I've tried 1.1.1.1 , 1.0.0.1 , 9.9.9.9 i didn't find them stable as 8.8.8.8, sometimes i see my Network unreachable with other DNS's, so i sets Google because looks always reachable to me.
I have to remove broadcast IP, I don't know how it ends there because I don't remember having to manually set it. I'm trying to remove it now thank you.
netmask 255.255.255.0 it belongs to 192.168.1.132/24 - i'm fixing this part by add /24 thanks.
Thanks so much, nothing to sorry, always pleasure to hear your suggestions & corrections.
Regards!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
However do you have DNS to suggest?
Sorry Nili, I wasn't being entirely serious. I should have added a
FWIW I use Quad9 'cos I like IBM.
Brianna Ghey — Rest In Power
Offline
Thanks @Head_on_a_Stick.
Offline