ssshake / vintage-computer-wifi-modem

TheOldNet.com WIFI Modem Emulator
GNU General Public License v3.0
82 stars 15 forks source link

Missing commands mean you can't use classic mac OpenTransport PPP #7

Closed jonthysell closed 2 years ago

jonthysell commented 3 years ago

I was trying to use the modem with Apple's OpenTransport PPP for MacOS 7.5.5 but it kept failing because certain commands aren't implemented.

Looking at the debug logs, it looks like it always tries the command ATX1, which makes sure that the CONNECT string contains the baud rate, i.e. CONNECT 115200. Since you already return the baud rate, I think this could be as easy as just returning OK for the command. (To be more accurate you'd want to stop returning the baud rate by default and add another setting so you can use ATX1 to turn it on and ATX0 to turn it off.

The other command it tries, if you disable the modem sound, is to call ATM0 to disable the modem speaker. Since obviously there is no speaker on the device, I see no reason why you couldn't just accept ATM0, ATM1, ATM2, ATM3, do nothing, and always return an OK result.

https://en.wikipedia.org/wiki/Hayes_command_set#The_basic_Hayes_command_set

ssshake commented 3 years ago

(copy paste from other issue) Great thanks for the submission. I'll do it when I get time or if you know how to change it yourself please do so and submit a PR!

I do have a Mac SE 30 and I plan to test with this device but I haven't gotten around to it yet. I need to make a compatible cable as well.

jonthysell commented 3 years ago

(copy paste from other issue) Great thanks for the submission. I'll do it when I get time or if you know how to change it yourself please do so and submit a PR!

I do have a Mac SE 30 and I plan to test with this device but I haven't gotten around to it yet. I need to make a compatible cable as well.

Here's what I use, if you're not in the mood to make a cable:

ssshake commented 3 years ago

Thanks! I recently received a 10 pack of null modem adapters. I have a db25 to din 8 cable from a US robotics 28.8 modem that came with my Mac LC575. I will convert that to DB9 and run a test.

Can you help me understand why I need a null modem adapter for this?

jonthysell commented 3 years ago

Can you help me understand why I need a null modem adapter for this?

While not labeled as such, that particular cable I linked is already wired as a null modem cable. So I add a null modem adapter to change it back so it works with your modem.

ssshake commented 2 years ago

Thanks for your help on this. I completely forgot about this conversation but it's probably got a lot to do with me stocking mac cables now on my store. I had to get them custom made from a factory.

Also since a community member has added PPP support to the firmware. You should have no problem doing what you were originally trying to do!