- This topic has 4 replies, 2 voices, and was last updated Nov 19-7:36 am by anticapitalista.
-
AuthorPosts
-
November 14, 2019 at 1:26 am #29339Member
brudal1
Hello,
i want to use a nameserver on my AntiX 19 Core Live SystemMy /etc/network/interfaces is actual this:
————————————
auto lo
iface lo inet loopbackauto eth0
iface eth0 inet static
address 192.168.0.34
broadcast 192.168.255.255
dns-namservers 8.8.8.8
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
————————————–when i was insert the “dns-nameservers” i restart the network with:
service networking restartthen i test add it prepend domain-name-servers 8.8.8.8; to /etc/dhcp/dhclient.conf and i restart the network
but when i ping google.de i get allways:
“Name or service no know”
i want to insert the nameserver config to the /etc/resolve.conf file but i cant write this file ( Error writing /etc/resolv.conf: No such file or directory )
i test with
readlink /etc/resolv.confi get
../run/resolvconf/resolv.confbut the folder /run/resolvconf does not exists
how i can config the nameserver at the AntiX 19 Core Live System?
I dont no what can i do
November 14, 2019 at 11:59 pm #29365Memberbrudal1
::I make a test:
1. i config the eth0 with ceni to DHCP –> the /etc/resolv.conf exists –> DNS works
2. i config the eth0 with ceni to my static IP –> the /etc/resolv.conf exists –> DNS works
3. i remaster the system with live-remaster and reboot -> the /etc/resolv.conf does not exists –> DNS does not work
how can i insert the resolv.conf, when i remaster the system on my pendrive??
November 15, 2019 at 5:46 am #29369Forum Admin
anticapitalista
::Are you using disable=lxmd cheat ie the default on antiX-core? If so, make it disable=lx or don’t use it.
Also look in /usr/local/share/live-files/general-files/etc
Whatever changes you made to dhclient.conf and/or interfaces, copy to the correct folder here.
This will stop them from being overwritten.- This reply was modified 3 years, 5 months ago by anticapitalista.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 19, 2019 at 1:52 am #29499Memberbrudal1
::The Boot Options are “quiet disable=lxdF 3 kdb=de toram”
I copy the File
- /etc/network/interfaces
and
- /etc/resolv.conf
to
- /usr/local/share/live-files/general-files/etc/network/interfaces</u> respectively
- /usr/local/share/live-files/general-files/etc/resolv.conf
and the remaster the system with live-remaster.
But the system start allways with dhcp.
it’s the same when i change the Boot Options to “kdb=de toram”November 19, 2019 at 7:36 am #29507Forum Admin
anticapitalista
::Adding m to disable= will block all networking.
Does that help?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.