Network commands [Solved]
Network commands
Merry Christmas,
I can't seem to find correct networking commands compatible with MX running systemvint, I tried to run resolvectl but it states command not found and need systemd-resolved installed which will not work, this is just one example I'm sure there are lot more commands which I will not be able to use. Is there different commands compatible with systemvint which I can utilize? I have tried searching but can't seem to find it.
Any chance of going with systemd in next release?
Thanks
I can't seem to find correct networking commands compatible with MX running systemvint, I tried to run resolvectl but it states command not found and need systemd-resolved installed which will not work, this is just one example I'm sure there are lot more commands which I will not be able to use. Is there different commands compatible with systemvint which I can utilize? I have tried searching but can't seem to find it.
Any chance of going with systemd in next release?
Thanks
Thank you!
Nirav
Nirav

Re: Network commands
You should be able to run systemd just by selecting Advanced on grub and then choosing the systemd choice.
What you are probably looking for is systemd-resolve for sysvint?
What you are probably looking for is systemd-resolve for sysvint?
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Network commands
Yes, I can run systemd from advance options but I don't want it to cause issues since default OS uses systemvint, if you recommend it is okay to run then I don't mind trying. Will it cause any issues with all software and configuration already installed?CharlesV wrote: Mon Dec 25, 2023 11:54 am You should be able to run systemd just by selecting Advanced on grub and then choosing the systemd choice.
What you are probably looking for is systemd-resolve for sysvint?
Is there a systemd-resolve for sysvint?
Thank you!
Nirav
Nirav

Re: Network commands
Nope, otherwise MX developers wouldn't (never ever) provide such an option, and many MX users use that, no matter for they like it or just for they need it for some software ...nirav wrote: Mon Dec 25, 2023 12:22 pm... but I don't want it to cause issues since default OS uses systemvint, if you recommend it is okay to run then I don't mind trying. Will it cause any issues with all software and configuration already installed?..
You can even make it the default boot option with "MX Boot Options" - "Boot to" .. select from drop-down, Apply.
"Don't worry, Be happy" :)
(Just , there won't be systemd on live session even if you create snapshots when on systemd , and that's not a bug/harm etc..)
Re: Network commands
And exactly what networking things are you trying to do?
I run systemd very rarely and it always works fine. But I have not found anything that I cannot get done in sysvint either.
I run systemd very rarely and it always works fine. But I have not found anything that I cannot get done in sysvint either.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Network commands
If I want to flush/renew DNS records how can I do that? and can you recommend any site where there are network commands cheat sheet which will work with syvint.
Thank you!
Nirav
Nirav

Re: Network commands
Code: Select all
Linux commands Olds News
TASK IFCONFIG/ROUTE IP
Show all NICs ifconfig ip addr show
Show specific NIC ifconfig eth0 ip addr show eth0
Disable NIC ifconfig eth0 down ip link set eth0 down
Enable NIC ifconfig eth0 up ip link set eth0 up
Assign IP ifconfig eth0 [IP] netmask [NM] ip addr [IP]/[CIDR] dev eth0
Show routing table route / netstat -r ip route
Set standard route route add default gw [IP] eth0 ip route add default via [IP
TASK NSLOOKUP DIG
Forward lookup nslookup google.de dig google.de / dig +short google.de
Reverse lookup nslookup [IP] dig -x [IP] / dig +short -x [IP]
Use specific DNS server nslookup google.de [DNS] dig @[DNS] google.de / dig @[DNS] +short google.de
Ask for MX records nslookup -query=mx google.de dig google.de MX / dig +short google.de MX
Specific timeout nslookup -timeout=42 google.de dig google.de +time=42 / dig +short google.de +time=42
Desktop Mobo: BIOSTAR model: B450MHP
CPU AMD Ryzen 3 3200G
RAM: 8 GiB 2667 MHz DDR4
Device-1: AMD Picasso/Raven 2
STORAGE:Gigabyte model: GP-GSTFS31480GNTD size: 447.13 GiB
DISTRO: MX-23.6_x64 Libretto XFCE 4.20
CPU AMD Ryzen 3 3200G
RAM: 8 GiB 2667 MHz DDR4
Device-1: AMD Picasso/Raven 2
STORAGE:Gigabyte model: GP-GSTFS31480GNTD size: 447.13 GiB
DISTRO: MX-23.6_x64 Libretto XFCE 4.20
Re: Network commands [Solved]
from my archived debian linux general notes ...
Debian: DNS resolver(s) and cache(s)
https://unix.stackexchange.com/question ... y-on-linux
Plain Vanilla Debian (and all MX) comes with NO DEFAULT DNS-RESOLVER and NO DEFAULT DNS-CACHE !!
https://www.debian.org/releases/bookwor ... d-resolved
https://www.freedesktop.org/software/sy ... rvice.html"MQ: Installing this package will automatically give systemd-resolved control of /etc/resolv.conf.
Note that systemd-resolved was not, and still is not, the default DNS resolver in Debian."
Options for custom local DNS services are:
ff references and procedures ..apt policy systemd-resolved
systemd-resolved:
Installed: (none)
Candidate: 1:252.6-1mx23+1
apt policy bind9
bind9:
Installed: (none)
Candidate: 1:9.18.19-1~deb12u1
apt policy dnscache
dnscache:
Installed: (none)
Candidate: 1:1.05-15+b2
apt policy dnsmasq
dnsmasq:
Installed: (none)
Candidate: 2.89-1
apt policy unbound
unbound:
Installed: (none)
Candidate: 1.17.1-2+deb12u1
apt policy resolvconf
resolvconf:
Installed: (none)
Candidate: 1.91+nmu1
apt policy openresolv
openresolv:
Installed: (none)
Candidate: 3.12.0-3
https://unix.stackexchange.com/question ... -debian-11
https://serverfault.com/questions/11453 ... -debian-12
https://www.howtoforge.com/how-to-set-u ... on-debian/
https://www.howtoforge.com/how-to-set-u ... debian-12/
https://www.linuxbabe.com/debian/dns-re ... ster-bind9
https://vitux.com/two-ways-to-flush-the ... on-debian/
HTH l0dr3
Re: Network commands
Glad to be of help

ATM i'm in the middle of a transition from an ancient (but still in use!) Windows HomeServer (2011) to an All-in-One Debian/MX based HomeLabServer, that features all the classic services: ICS, NAS, VM/VDI, HTPC and of course: DNS/DHCP services.
I decided to go a slightly modified 'Pi-Hole-Way', but this time, using 'unbound' instead of 'dnsmasq' for DNS. Maybe of interest for you, here are some links to Tutorials, HowTos and WiKis, i 'borrowed' my ideas from ...
https://docs.pi-hole.net/guides/dns/unb ... s-solution
https://wiki.archlinux.org/title/unbound
https://www.howtoforge.com/how-to-set-u ... on-debian/
https://www.ricmedia.com/tutorials/set- ... esolv-conf
greetz l0dr3