netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergio Callegari <sergio.callegari@gmail.com>
To: netdev@vger.kernel.org
Subject: Regression with AX88179A: can't manually set MAC address anymore
Date: Tue, 5 Sep 2023 13:02:22 +0200	[thread overview]
Message-ID: <54cb50af-b8e7-397b-ff7e-f6933b01a4b9@gmail.com> (raw)

Hi, reporting here as the issue I am seeing is cross distro and relevant 
to recent kernels. Hope this is appropriate.

I have a USB hub with AX88179A ethernet. I was able to use it regularly, 
until something changed in recent kernels to have this interface 
supported by the cdc_ncm driver. After this change it is not possible 
anymore to work with a manually set MAC address.

More details:

- before the kernel changes, the interface was supported by a dedicated 
kernel driver. The driver had glitches but was more or less working. The 
main issue was that after some usage the driver stopped working. Could 
fix these glitches with the driver at 
https://github.com/nothingstopsme/AX88179_178A_Linux_Driver

- after the kernel changes, loading the ax88179_178a.ko does not create 
a network device anymore. The interface can be used with the cdc_ncm 
driver, however it is not possible anymore to use a manually set MAC 
address.

When you manually set a MAC this appears to be accepted (e.g. ip link 
reports it correctly), but the card does not receive data anymore. For 
instance, trying to connect to a DHCP server, you see that the server 
receives the request, makes an offer, but the offer is never received by 
the network card.

This may be the same issue reported here: 
https://discussion.fedoraproject.org/t/ax88179-178a-network-fails-to-start-usb-to-eth/77687 
where the user says he cannot use the adapter when Network Manager is 
configured to employ a randomized MAC address.

Would be great to have this regression fixed or at least to have the 
command setting the MAC address erroring out properly.

Thanks for the attention.

Sergio Callegari


             reply	other threads:[~2023-09-05 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 11:02 Sergio Callegari [this message]
2023-09-05 12:31 ` Regression with AX88179A: can't manually set MAC address anymore Bagas Sanjaya
2023-09-05 20:11   ` Sergio Callegari
     [not found]   ` <6315027e-d1ab-4dec-acf2-0a77bb948807@gmail.com>
2023-09-06  1:43     ` Bagas Sanjaya
2023-09-06 11:37       ` Sergio Callegari
2023-09-06 12:31         ` Andrew Lunn
2023-09-07  6:56           ` Sergio Callegari
2023-09-05 20:49 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54cb50af-b8e7-397b-ff7e-f6933b01a4b9@gmail.com \
    --to=sergio.callegari@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).