ubuntu 20.04 LTS network problem

Bug #1952496 reported by Steven Abner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
avahi (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Network afp only partially works. Two tries, Elementary OS 6, Ubuntu 20.04 installs both have identical problem. Resolved by reinstalling Ubuntu 18.04 LTS. Using different kernels doesn't matter. Specific problem is with afp protocol name resolution. Searching local network for ip address using afp://ip_address did connect, but using GUI Files/Other Locations/Networks with named hosts will not. Always returns can't resolve hostname.local. Tried multiple edits of different network files, even installed netatalk in attempts. Again, solution is to go back to downgrade, works right out of the box, as did on another, and this before upgrade. This was only attempted with 2 other computers, one mac, one ubuntu/elementary.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1952496/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Steven Abner (pheonixo)
affects: ubuntu → avahi (Ubuntu)
Revision history for this message
Trent Lloyd (lathiat) wrote :

To assist with this can you get the following outputs from the broken system:

# Change 'hostname.local' to the hostname expected to work

cat /etc/nsswitch.conf

systemctl status avahi-daemon

journalctl -u avahi-daemon --boot

avahi-resolve-host-name hostname.local

getent hosts hostname.local

Changed in avahi (Ubuntu):
status: New → Incomplete
Revision history for this message
Trent Lloyd (lathiat) wrote :

As a side note, it may be time to switch to a new protocol. As even Apple has dropped support for sharing AFP versions in the last few releases and is deprecating it's usage. You can use Samba to do SMBFS including the extra special apple stuff if you need timemachine support etc on your NAS

Revision history for this message
Steven Abner (pheonixo) wrote : Re: [Bug 1952496] Re: ubuntu 20.04 LTS network problem

Sorry for delay, installed 20.04 to assist. Requested data:

Revision history for this message
Trent Lloyd (lathiat) wrote :

Thanks for the data. I can see you queried 'steven-ubuntu.local' and that looks like the hostname of the local machine. Can you also query the hostname of the AFP server you are trying to connect to (using both getent hosts and avahi-resolve-host-name).

Revision history for this message
Steven Abner (pheonixo) wrote :

On Mon, Nov 29, 2021 at 10:33 PM, Trent Lloyd
<email address hidden> wrote:
> Thanks for the data. I can see you queried 'steven-ubuntu.local' and
> that looks like the hostname of the local machine. Can you also query
> the hostname of the AFP server you are trying to connect to (using
> both
> getent hosts and avahi-resolve-host-name).

To confirm, 'steven-ubuntu.local' is the hostname of the 20.04 system,
where
all queries are performed to data requests.
New data with a caveat:

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for avahi (Ubuntu) because there has been no activity for 60 days.]

Changed in avahi (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Steven Abner (pheonixo) wrote :

Was forced to update to 20.04 which found solution to resolving/loading
bug:

alter file /etc/systemd/resolved.conf to:
LLMNR=yes
MulticastDNS=yes

create file /etc/systemd/network/wifi.network with contents:
[Match]
Name=wlp3*

[Network]
DHCP=yes
LLMR=yes
MulticastDNS=yes

followed by:
sudo systemctl enable systemd-networkd
sudo systemctl start systemd-networkd

to fix smb loading in 'Network/Entire Network' of condition
for listed 'smb://Stevens-Mac-Mini.local:445/'
    Unable to Mount Folder
    Could not connect to the server for this folder.
    Failed to retrieve share list from server: Software caused
connection abort
alter /etc/samba/smb.conf just under:
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will
part of
   workgroup = WORKGROUP
add:
   client min protocol = NT1
   client max protocol = SMB3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.