First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Can I reprogram / change the OUI using Wireshark, provided that it is not write protected / read only?

I am trying to determine whether the OUI or phy UID is stored in a read-only memory or if it can be reprogrammed using Wireshark.

LostCircuits's avatar
1
LostCircuits
asked 2022-10-17 18:28:57 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Even with the lack of sufficient detail, it is certain the Wireshark cannot 'reprogram' anything. It is a passive monitoring program.

Jaap's avatar
13.7k
Jaap
answered 2022-10-17 19:32:35 +0000
edit flag offensive 0 remove flag delete link

Comments

Thank you!

LostCircuits's avatar LostCircuits (2022-10-17 19:34:15 +0000) edit

I'm guessing the questioner was thinking of the MAC address of an Ethernet or Wi-Fi adapter. If so, it might be reprogrammable on some adapters, but Wireshark has no code in it to reprogram it as, per the answer, it is a passive monitoring program.

Guy Harris's avatar Guy Harris (2022-10-17 23:15:33 +0000) edit

Thanks but I am not looking for the MAC address but the OUI. Anyway, you guys already answered my question, very much appreciated.

LostCircuits's avatar LostCircuits (2022-10-17 23:23:22 +0000) edit

The OUI of what? As far as I know, adapters only have an OUI as part of a MAC address. And what is a "phy UID"?

Guy Harris's avatar Guy Harris (2022-10-18 21:44:17 +0000) edit

Guy, I was referring to this article:

https://www.kernel.org/doc/Documentat...

About 3/4 down:

If you do need to write a PHY driver, the first thing to do is make sure it can be matched with an appropriate PHY device. This is done during bus initialization by reading the device's UID (stored in registers 2 and 3), then comparing it to each driver's phy_id field by ANDing it with each driver's phy_id_mask field. Also, it needs a name. Here's an example:

static struct phy_driver dm9161_driver = { .phy_id = 0x0181b880, .name = "Davicom DM9161E", .phy_id_mask = 0x0ffffff0, ...

LostCircuits's avatar LostCircuits (2022-10-19 00:56:17 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer