• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Adding Wi-Fi to my Mac Colour Classic

hfrazier

Well-known member
@ants Unfortunately that didn't work. No LED's light up at all  :scrambled:  but that's good to know! Thanks!

Ordered a two more today, should have em on hand in a week or two, I'll see what I can do then.

Also, yeah, mucking with the HTTP reqs might be messy, but you never know....

 
Last edited by a moderator:

hfrazier

Well-known member
Ok, so I've had some time to play with this new VM300. It looks like it might not be that difficult to do. I've used Fiddler and Postman to probe and play around with the commands it will accept. Here's what I have so far:

Login:

HTTP POST /goform/login
Body: username=admin&z999=z999&password=admin&Login=&platform=pc

Successful login returns:
<html><head></head><body onLoad="top.location.href='/home.asp'"></body></html>

Failed login returns:
<html><head></head><body onLoad="top.location.href='/a.asp?error'"></body></html>



Get WiFi List:

HTTP GET /goform/get_web_hotspots_list

Returns (after 5-10 seconds) a list:
SSID MAC:ADDR CHAN RSSI ENC SECURITY ETC




There's a bit more involved in setting the AP, but this is a start...

Oh, and Restart Device:

Code:
HTTP POST /goform/SystemCommand
Body: command=reboot&SystemCommandSubmit=Restart
 

ants

Well-known member
Sweet! Great work. Well there's a definite possibility of writing a HTML & JS solution. Did you try sending an Accept header with your requests? I wonder if the VM300 can return other response types such as XML or Json?

e.g. Accept: application/xml or Accept: text/json

 

hfrazier

Well-known member
No, I’ll have to play with it some more!

(Also I’m sure you figured... all ports were closed besides 80 so no telnet. :( )

Oh, but there is also a serial header on the board. Not sure what that will get us though! Probably just a little bash prompt...

 
Last edited by a moderator:
Top