![]() |
Forum Index : Microcontroller and PC projects : Finding the webmite MAC address
Author | Message | ||||
58kk90 Regular Member ![]() Joined: 14/06/2023 Location: United KingdomPosts: 61 |
Apologies if this is a stupid question, but I have searched the forum, and the Webmite manual without any luck. I need to find the MAC address of the Pico W as my wireless AP has media access control enabled for security, so I have to assign the MAC address and give it an IP address (no DHCP allowed) before the device can connect to WiFi. Obviously, I could use my phone as a wifi hotspot, then connect the Pico W to the phone, look up it's mac address on the phone, but I am sure there must be some way to get it from the console? mm.info(mac address) or something like that ? Anyone ever done it and if so how? Tony |
||||
Andy-g0poy Regular Member ![]() Joined: 07/03/2023 Location: United KingdomPosts: 73 |
I cannot see anything obvious. My usual method is to fire up, wireshark and sniff the packets. Andy |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 219 |
If your router/AP has a logfile you may see the failed connect request with the MAC address. 73 de OE1HGA, Gerald |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 335 |
Try pinging it from your PC and list your ARP cache in a terminal. Can't remember the windows syntax sorry..did not read carefully..I don't know yet Try: MM.INFO(TCPIP STATUS) Edited 2025-05-16 04:47 by dddns |
||||
barewires Newbie ![]() Joined: 13/04/2015 Location: United KingdomPosts: 32 |
Print "MMinfo" Print Time$,Date$ Print "MM.Ver", MM.VER, "MM.Device$", MM.DEVICE$ Print "MM.Info(version)", MM.Info(version) Print "MM.Info(SYSTEM HEAP)",MM.Info(SYSTEM HEAP) Print "MM.Info(FLASH)",MM.Info(FLASH) Print "MM.Info(VERSION)",MM.Info(VERSION) Print "MM.Info(ID),MM.Info(IP ADDRESS)",MM.Info(ID),MM.Info(IP ADDRESS) Print "MM.Info(TCPIP STATUS)",MM.Info(TCPIP STATUS) Print "MM.Info(WIFI STATUS)",MM.Info(WIFI STATUS) Print "MM.Info(BOOT COUNT)",MM.Info(BOOT COUNT) Print "MM.Info(CPUSPEED)",MM.Info(CPUSPEED) Print "MM.Info(CURRENT)",MM.Info(CURRENT) > RUN MMinfo 01:08:55 16-05-2025 MM.Ver 6.0002 MM.Device$ WebMite RP2350A MM.Info(version) 6.0002 MM.Info(SYSTEM HEAP) 80272 MM.Info(FLASH) 0 MM.Info(VERSION) 6.0002 MM.Info(ID),MM.Info(IP ADDRESS) A529D050D8A 192.168.1.7 MM.Info(TCPIP STATUS) 3 MM.Info(WIFI STATUS) 1 MM.Info(BOOT COUNT) 3 MM.Info(CPUSPEED) 150000000 MM.Info(CURRENT) NONE > option list WebMite MMBasic RP2350A Edition V6.00.02RC23 OPTION FLASH SIZE 4194304 OPTION CPUSPEED (KHz) 150000 OPTION WIFI TALKTALK*, ********, PICOA529D050D8A |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6226 |
MM.Info(ID) is the serial number, not the MAC ![]() If it is not in the AP logs, 58kk90 will have to get it the way mentioned in his first post. Jim VK7JH MMedit |
||||
58kk90 Regular Member ![]() Joined: 14/06/2023 Location: United KingdomPosts: 61 |
Thanks to everyone who replied, I had assumed it would be something that there was a specific command that would obtain the MAC address. As there was a time constraint in that I needed to test the idea, I used the method I mentioned in my opening post, that gave me the MAC address on the mobile phone hotspot, I then put it on a sticker and stuck it on the Pico W, I was then able to assign it an IP and get it on my wirelss AP. Perhaps something Peter could consider for the next release, something like mm.info(MAC) as I am sure that other people could have the same issue at some point. Tony Edited 2025-05-16 18:10 by 58kk90 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |