Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:51 02 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Finding the webmite MAC address

Author Message
58kk90
Regular Member

Joined: 14/06/2023
Location: United Kingdom
Posts: 61
Posted: 04:27pm 15 May 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 75
Posted: 05:20pm 15 May 2025
Copy link to clipboard 
Print this post

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: Austria
Posts: 220
Posted: 06:06pm 15 May 2025
Copy link to clipboard 
Print this post

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: Germany
Posts: 469
Posted: 06:36pm 15 May 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 32
Posted: 12:18am 16 May 2025
Copy link to clipboard 
Print this post


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: Australia
Posts: 6266
Posted: 02:03am 16 May 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 61
Posted: 04:09am 16 May 2025
Copy link to clipboard 
Print this post

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
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 01:06pm 17 May 2025
Copy link to clipboard 
Print this post

Hello,

just setup my first WebMite! I'm very happy in first sight and have to find out now.
First thing was, to check if I could attach my LCD to it and found, that GP8 and GP9
seem to be not configurable. Any ideas beside bug?

> option list
WebMite MMBasic RP2040 Edition V6.00.01
OPTION SERIAL CONSOLE COM2,GP20,GP21
OPTION COLOURCODE ON
OPTION KEYBOARD US, 0, 0, 0, 0
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 50, 200
OPTION WIFI OpenWrt, *********, pico, 192.168.3.108, 255.255.255.0, 192.168.3.1
OPTION TELNET CONSOLE ON
> setpin gp7,off
> setpin gp8,off
Error : Pin 11/GP8 is reserved on startup
> setpin gp9,off
Error : Pin 12/GP9 is reserved on startup
> setpin gp10,off
>


Telnet works excellent with putty but not with my standard telnet unix cli which is slow within the editor. Maybe someone knows an option to look at?
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2579
Posted: 01:13pm 17 May 2025
Copy link to clipboard 
Print this post

I think WebMite MMBasic RP2040 Edition V6.00.01 still has some bugs in it so it may be a good idea to get the latest V6.00.02 RC23 version.
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 01:22pm 17 May 2025
Copy link to clipboard 
Print this post

Thank you! I will try immediately it was too late yesterday. I looked twice in this archive and overlooked it. So I thought for WebMite there is only the stable but was I very wrong :))
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 01:40pm 17 May 2025
Copy link to clipboard 
Print this post

Now this and my cli is now slow on the console as well. Maybe I'll let it be for the moment..
option list
WebMite MMBasic RP2040 Edition V6.00.02RC23
OPTION CPUSPEED (KHz) 252000
OPTION LCDPANEL SSD1963_7_16, LANDSCAPE,,,NORESET
OPTION WIFI OpenWrt, *********, pico.lan
OPTION TELNET CONSOLE ON
> option keyboard us
Error : Pin 11/GP8 is in use
> option keyboard gr 0,0,0,0
Error : Pin 11/GP8 is in use
> option keyboard repeat 1,1
Error : Pin 11/GP8 is in use
> option keyboard repeat 20,20
Error : Pin 11/GP8 is in use
> option keyboard repeat 1000,1000
Error : Pin 11/GP8 is in use
>
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 06:12pm 17 May 2025
Copy link to clipboard 
Print this post

Took a walk and found the explanation. GP8 and GP9 are the default pins for a PS/2 keyboard. As soon as only a different layout is chosen it will associate it with the physical but this was not setup. Setting up a keyboard first on different pins works.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025