LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2024, 07:10 PM   #1
yllug
LQ Newbie
 
Registered: Mar 2024
Posts: 6
Blog Entries: 1

Rep: Reputation: 0
Antix static IP DNS configuration not works, no address resolution


Hi, me again.

I have the problem with my Antix-Linux that I can't set a static IP configuration on my hotplug-able NIC (ASIX ax88772). "I can't" means, domain name resolution would fail.

Connman manages the networks. I've already disabled it for eth0 - or let's say I tried it, no idea if it worked. I added the line NetworkInterfaceBlacklist=eth0 in /etc/connman/main.conf.

I also tried to enter a DNS in the file /etc/resolv.conf, but after a reboot this file is overwritten with a symlink to /run/connman/resolv.conf

I have made the following configuration in the file /etc/network/interfaces:
Code:
allow-hotplug eth0
iface eth0 inet static
    address 192.168.2.112
    netmask 255.255.255.0
    gateway 192.168.2.1
    dns-nameservers 9.9.9.9
This worked - to the extent that I was able to ping IPs. However, name resolution also failed here. Ping returns: unknown host.



Something else that may be relevant: When I try to configure eth0 with ceni, it doesn't work either. Sometimes it hangs on the try to "up" eth0:
ip link set dev eth0 up
(The "up" is preceded by three spaces)
When it hangs, the entire system hangs. Means, I can then no longer end the session. Unless I press and hold the power-button.


Generally, how is it intended in Antix to specify own DNS servers?
 
Old 03-11-2024, 07:09 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,117
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
All I could do is search for you.

Link
 
1 members found this post helpful.
Old 03-11-2024, 09:27 AM   #3
yllug
LQ Newbie
 
Registered: Mar 2024
Posts: 6

Original Poster
Blog Entries: 1

Rep: Reputation: 0


I have always assumed that connman can primarily manage WLAN networks. I didn't realize that connman can also make IP settings. I thought the "Details" tab was purely informative.

If I make the settings with connman instead of ceni, it works straight away. I just hadn't found the option.

I was confused because I thought that ceni would take over at this point, because ceni is opened by the Control Center when I want to configure the network interfaces.
 
  


Reply

Tags
antix, connman, dns, eth0, static ip



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration