• 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.

Wifi Extension Development Thread

joethezombie

Well-known member
A couple of hiccups...

1st, if you (stupidly) place an incorrect password for the wireless network you are attempting to connect to, the VM300 interface gives no indication that something is wrong.  It just happily tells you to reboot to finalize, so make sure you are using the correct password, and not the old one you’d changed a couple months back.

2nd, the VM300 interface will not let you enter in a password with a comma, so now go back and change the password you’d just set a couple months ago to a new one without a comma.

3rd, gasp in disbelief as you slowly realize just how many wireless devices you have that now cannot connect to the network and must have their settings updated manually... ugh.

Other than that, easy peasy!

 

ants

Well-known member
haha! It's a shame that the device needs to reboot when changing networks - I guess I'll need to make the extension poll the device until it's rebooted which is a bit yuk.

Thanks for the feedback.

 

ants

Well-known member
No dev today, but I drew the icons for the various states - it's been a very long time since I last did pixel pushing like this!

wifi-icons.png

 

TechEdison

Well-known member
No dev today, but I drew the icons for the various states - it's been a very long time since I last did pixel pushing like this!

View attachment 22853
I've been lurking on the development of this... This is a really neat project!

What are the bottom 4 icons for? What state do those serve that the top don't? Or is that just for low res or 1 bit displays?

 

hfrazier

Well-known member
@ants The icons look great!

@joethezombie Weird mine doesn't work then with my MacCon. I'll have to take it out and see if resetting it works. I do know that it was properly connected to my WiFi.. Hmm. The VM300 is quite flaky, I'm going to see if there's an OpenWRT route we can do as well.

(Still waiting on that OpenWRT mini router from Newegg..) Once I have it I'll see what can be done.

 

hfrazier

Well-known member
Ok, so after a few more attempts I was able to get it to work.. Not sure what went wrong in the first place since it worked on another computer without changing any settings!

 
Last edited by a moderator:

ants

Well-known member
Great news. I agree that the VM300 can be flaky at times - so I'm still keen to explore the OpenWRT route. But since quite a few people have already bought a VM300, I feel somewhat obliged to get the extension working with the VM300 first. I would love for an OpenWRT device to also support a https proxy, and perhaps other proxies such as image conversion, CSS or even streaming audio conversion.

I've spent more time working on the extension, but I've burned countless hours trying to get my signal strength icons working in the network list. I've tried everything I can think of, but I keep getting a blank gap where the icon should be. Are there any veteran Mac coders out there who could help me? I'm patching the MenuSelect toolbox trap, but calling SetItemIcon or SetMenuItemIconHandle inside this function refuse to work - my resources are non-purgeable.

Anyway, I'm going to move onto the network connection (by displaying a dialog box to enter a WPA password). Hopefully I'll have more luck with that. @hfrazier were you able to figure out the http commands for connecting to a network?

 

CC_333

Well-known member
That looks pretty neat!

A very dumb nitpick, though: are the signal strength icons movable to the right side of the menu?

Also, is it possible to poll the networks to see if they're secured, and display a padlock next to the names of those that are?

c

 

ants

Well-known member
@CC_333 I knew somebody was going to ask that :p  

The functions provided by the toolbox in System 7 only allow for a single icon on the left (which I assume is the same for OS 8 and 9). However, I believe it's possible to write a custom Menu Definition (MDEF) which would allow for whatever layout you like, using QuickDraw.

For now I'll put it on the "nice to have" list, as there's a lot of core functionality still missing.

 

techknight

Well-known member
I am loving this thread more and more. Just having the WiFi Icon with various SSIDs show up on a 68K mac just astonishes me in a weird way. lol. 

 

olePigeon

Well-known member
Late to the thread, just trying to understand what's going on. :)

This is what I understand so far, so please correct me if I'm wrong:

So the VM300 wifi module has a web interface, and is connected to a standard NuBUS ethernet card.  The wifi module does all the heavy lifting because it's self contained, so actual device drivers, modern encryption support, etc. aren't required by the host computer (something that's even lacking in OS 9.)

The Extension works as an intermediary, interfacing with the web sever on the wifi module by sending it relatively simple HTTP commands, then reporting back.  Stuff like available wifi networks, then populating the pull-down menu.  Then perhaps eventually stuff like encryption options, setting a password, etc.  All through HTTP requests to the web server on the wifi module.

Is that correct?

Also, is there something a layman like me can do to help contribute to the project?

 

CC_333

Well-known member
I also have a cheap Rosewill router (well, several) with OpenWRT I can volunteer as well.

c

 

ants

Well-known member
@olePigeon your summary of the project is spot on. Thanks for the offers of help with devices & testing, inevitably this project will need a heap of testing.

I've made a start on the password dialog, it just doesn't do anything yet...

password.png password-bw.png

 
Top