Raiders of the Lost Downboat

This room is a place to coordinate the discussion and review ...
Jun 21 17:55
This post is a hardware issue with a faulty cable. This is not an Ubuntu problem and should be closed.
May 11 22:51
@NotTheDr01ds No doubt! I've been close for a while. Just need some more kind soles to upvote. 😉 I've got many accepted answers with no votes. But I'll get there when I do. Not in any hurry.
May 11 22:49
@NotTheDr01ds Perhaps with iptables. I'd have to research and test, though. Personally, if I was letting someone on my network it'd be on its own VLAN for sure, just like a guest Wi-Fi network. Best security is to keep it isolated. Anyway, I'll think about it before flagging and see if I can come up with a viable solution.
May 11 21:06
@NotTheDr01ds I agree but when it's about physical configuration and configuring the router, I feel it's off topic. To achieve what the OP wants isn't about Ubuntu unless I'm missing something.
May 11 15:41
I think this is off-topic because it seems to be more about network configuration vs Ubuntu. I didn't flag it yet. Wanted to see what others here thought about it first.
Apr 9 23:13
@BeastOfCaerbannog Better luck next time!
Mar 29 15:46
The profile of this user mentions @Rinzwind in what I would say is a bit inflammatory, and they have a crude opinion of the newest Ubuntu release. Shocking when considering this person nominated themselves as a moderator. 😮
Mar 27 15:37
i'm unable to flag for some reason. It gives me an error and says to try again
Mar 14 15:52
@BeastOfCaerbannog This comment is great and I can relate to the sentiment. It's the reason I stuck around as well. 🤗
Feb 24 21:06
@BeastOfCaerbannog I'm down with helping but I'm still a few hundred points away from being able to review Close Votes. So until then...
Feb 20 12:49
This question is no repro. OP indicates in comment problem outside of Ubuntu. askubuntu.com/questions/1541605/…
Feb 19 03:34
@stumblebee Thanks! Next time you'll beat me to the punch. 🤪
Feb 15 15:22
@andrew.46 Too funny. The edit by @karel has now brought it back full circle to my initial edit. Anyway, thanks Andrew for all the effort. I presume there was some behind-the-scenes communication to resolve this.
Feb 15 06:23
@andrew.46 Well, looks like he's reversed all posts that you've edited. At least the ones not locked. He really doesn't seem to care what the general practice is around here and if it's for the sake of improvement. But what's hypocritical is that I've seen and actually approved edits of his for other's posts. So he just doesn't get it.
Feb 13 22:45
🍿
Feb 13 21:08
@andrew.46 Thanks! Much appreciated. Time will tell
Feb 13 20:36
@BeastOfCaerbannog I see that. And the commentary has been deleted. Now FYI, there are others from him that I've either edited or are in need of editing. Do I dare try again?
Feb 13 20:29
@BeastOfCaerbannog Thanks. I was starting to wonder if I was in the wrong. Anyway, I do realize that the commentary was getting too much, and I apologize. I can delete them if you want, or feel free to do yourself.
Feb 13 17:15
The user to the following answers has reverted my edits. I edited to remove superfluous content. This and this. There are other answers from this user that are similar. Am I wrong or can this user be notified? I commented to help inform the user, but not sure of its effects
 
May 24 05:27
@quill I did some testing between two VMs and got it working. You'll see my answer to your question to compare settings. Anyway, one specific thing I never asked you to check was if nmbd was running on both systems. Most specifically on jelly. It needs to be running on the system you're pinging for NetBios name resolution. Check with systemctl status nmbd.
May 23 00:57
When I think about your problem, I'm stumped. The output of Wireshark looks like the NetBios name of jelly is resolving to the correct IP address. But why is that not enough? It's as if the IP address isn't passed on to the app doing the query. In your case, the app is ping. That's why I was asking about libnss-winbind. That's the library that should be providing the code to pass it on. It's the service that is listed as wins on the hosts line of nsswitch.conf.
May 23 00:47
This is what you want, because you don't want the dns resolver to resolve a domain name ending in .local. That's Avahi's job.
May 23 00:46
It basically means that if jelly.local is not found during Avahi resolution, then to return. In essence, don't continue to the dns resolver.
May 23 00:44
@quill This answer will explain what [NOTFOUND=return] means. askubuntu.com/a/1517560/1684306
May 22 22:58
As to the question mark in output of arp, I haven't found any documentation on that. I would need to play around with it to see if I could come up with an understanding
May 22 22:56
What I don't understand is why NetBios resolution isn't working for you. I would like to setup some VMs and try to reproduce the setup. I just haven't had the time yet
May 22 22:55
When resolving single level domain names, such as jelly, then in your case, wins is used, which treats the single level domain name as a NetBios name. If wins wasn't listed, then the resolving would fall to the dns` service, but it would automatically append any search domains listed in /etc/resolv.conf. This would then look at the local stub resolver cache, and if not there, the query would be forwarded to any uplink nameservers.
May 22 22:55
@quill Pinging jelly is different than pinging jelly.local because two different services are used to resolve the domain name. Look back at the hosts line in /etc/nsswitch.conf. That outlines the order of which service resolves the name. When resolving jelly.local, the mdns service is used, which is Avahi.
May 22 03:27
@quill Have you tried flushing your arp cache with ip -s -s neigh flush all?
May 19 19:00
@quill linss-winbind is not a package. I never suggested that. If I did, it was a spelling mistake. It should be libnss-winbind with an "n". Please check that and install. This is required for NetBios to work.
May 19 16:21
Additionally, the search domains listed in /etc/resov.conf are appended to the single level domain name once it gets to the DNS resolver. These are then forwarded to your DNS server. Again, this is not related to NetBios name resolution. So don't edit this config file. That file is automatically generated anyways. If you did want to use search domains, then this is a different topic than yours.
May 19 16:19
This packages @bodo mentioned are to allow Avahi to work. That's why you can now ping jelly.local. But you want to ping a single level domain name via NetBios. So their suggestion isn't a solution to your problem.
May 19 16:15
Also, please ping me with @mpboden. Otherwise I don't get notiications
May 19 16:15
@quill In your post you mentioned "Ubuntu 24.04 does not have the package libss-winbind as it is no longer available via apt install.". But this package is available in the Main repository for 24.04. See [here](https://launchpad.net/ubuntu/noble/+package/libnss-winbind). Did you not see it because you misspelled the package? The output of `apt policy libnss-winbind` on a 24.04 systems shows:

libnss-winbind:
Installed: (none)
Candidate: 2:4.19.5+dfsg-4ubuntu9
Version table:
2:4.19.5+dfsg-4ubuntu9 500
May 17 19:41
@quill
I think the default is no. Therefore, try changing this setting on both hosts to yes.
May 17 16:33
At this point, I'm out of ideas. I'd have to research this some more and try to troubleshoot with some VMs, but I would need to find the time.
May 17 16:24
This is probably already set, but make sure in /etc/samba/smb.conf that you have in the Global section: wins support = yes
May 17 16:22
Also, what is output of /etc/samba/smb.conf? Look for the line name resolve order = wins lmhosts bcast. If not there, add and then restart: sudo systemctl restart nmbd smbd winbind.
May 17 16:22
Do you have nscd installed? What is output of apt policy nscd and/or status with systemctl status nscd? If installed, try stopping it with sudo systemctl stop nscd. If that works, you can permanently disable with sudo systemctl disable nscd. Otherwise you can uninstall it.
May 17 16:22
Can you run nbtscan -v 192.168.0.0/24 to list and scan for NetBIOS name information on the network?
May 17 16:22
Is Samba, winbind, and libss-winbind installed on both systems?
May 17 16:22
Don't change your gateways. That's not the problem.
May 17 16:22
Also, did you install Samba and winbind on the 24.04 system? They're not installed by default. What about on the 22.04 system? What's going on is you're trying to resolve Netbios names. That's what the wins service does on the hosts line in /etc/nsswitch.conf indicates. You also mentioned in a comment about two Windows XP systems, so it appears that Samba and winbind are intentional. If so, then I would think they need to be installed along with libnss-winbind on both systems, 24.04 AND 22.04.
May 17 16:22
What is the output of apt policy libnss-winbind?
May 17 16:22
What command are you running? ping jelly? Show us along with the output. Also, what happens if you try ping jelly.local?
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Apr 10 00:43
@muru @NotTheDr01ds Congratulations! Good luck with the new role.
 
Apr 2 03:03
I voted today. First time as AskUbuntu! Best of luck to all the candidates. Looks like a good group of people.
Apr 1 02:45
@andrew.46 I swear I read that!!! I must need new glasses. Haha Thank you
Apr 1 01:55
Who can vote in this election?