Ask Your Question
0

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

asked 2022-10-17 18:28:57 +0000

LostCircuits gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-17 19:32:35 +0000

Jaap gravatar image

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

edit flag offensive delete link more

Comments

Thank you!

LostCircuits gravatar imageLostCircuits ( 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 gravatar imageGuy 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 gravatar imageLostCircuits ( 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 gravatar imageGuy 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 gravatar imageLostCircuits ( 2022-10-19 00:56:17 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2022-10-17 18:28:57 +0000

Seen: 106 times

Last updated: Oct 17 '22