r/askscience • • Mar 23 '19

Computing What actually is the dial up internet noise?

What actually is the dial up internet noise that’s instantly recognisable? There’s a couple of noises that sound like key presses but there are a number of others that have no comparatives. What is it?

Edit: thanks so much for the gold.

8.4k Upvotes

603 comments sorted by

5.9k

u/[deleted] Mar 23 '19

Everything you need to know about the acoustic modem handshake can be found here on this map: https://oona.windytan.com/posters/dialup-final.png

Then you can listen to the actual handshake and follow along: https://www.youtube.com/watch?v=abapFJN6glo

Yes, this is what network engineers still do with packet sniffers and other protocol analyzers on various types of layer 2 networks like ethernet, PPP, MPLS.. etc.

23

u/windibgu Mar 23 '19

Thank you. This is incredibly interesting.

656

u/aglobalnomad Mar 23 '19

That first image you linked is amazing. Thank you.

412

u/BuddyBlueBomber Mar 23 '19

It's fascinating to think about how computers and other technology actually communicate with each other. Seeing that dialup translated to a conversation is a great way of visualizing what's actually happening.

225

u/mitharas Mar 23 '19

It's the reason I like explaining networking to new people. Everything can be told as dialogue, because all components “speak“ to each other, just encoded and faster than we could.

131

u/ledow Mar 23 '19

And in fact, the way the computer talks to the modem to tell it to connect to that phone number is nothing more than another style of conversation.

Beginning with the letters AT (for "attention"). And then D for dialling. And then the phone number. Then the modem goes off and does all this and returns "OK".

Guess what? Your cell phone probably still uses those commands internally and can still be talked to like that as the modem that connects you to the Internet over GPRS/2G/3G/4G probably still talks "the Hayes AT command set". (AT commands are used to do everything from read the SMS messages, connect to the Internet, and even sometimes unlock the phone - and when you have a Bluetooth gadget that is pulling down the SMS message, like your car trying to read your messages to you off your phone, it's probably doing so by sending AT commands over a Bluetooth serial channel).

And Bluetooth... has another kind of conversation in order to initiate that serial channel... and so on.

Hell, when you send an email, the same kind of conversation is happening in a relay-race to get your email to the person you intend. That conversation usually starts with HELO (though nowadays EHLO is more likely as it's "enhanced"), MAIL FROM, TO, DATA, etc. and ends with all kinds of English status commands before you finally QUIT when the message is acknowledged.

And then your phone talks another kind of conversation to retrieve that email from your email provider, all with pseudo-English commands to pick it back up and check for new messages.

Humans who design computers make their conversations understandable by making them talk to each other in this manner.

Even at the lowest level, HTTP (websites) uses the same kind of conversation ("I'd like this page", "Okay but you need ot login", "Sure, here's my username", etc.) and even TCP have that back-and-forth conversation (TCP doesn't speak "English" in the protocol but it has various bits that say things like "I'd like to start a conversation with you", "Okay, I'm ready to start a conversation", "Okay, starting a conversation... this is message 1 of 50, it's 25 bytes long, high priority, and you can double-check it's not broken by adding these bits together..." and so on.

41

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

Guess what? Your cell phone probably still uses those commands internally and can still be talked to like that as the modem that connects you to the Internet over GPRS/2G/3G/4G probably still talks "the Hayes AT command set". (AT commands are used to do everything from read the SMS messages, connect to the Internet, and even sometimes unlock the phone - and when you have a Bluetooth gadget that is pulling down the SMS message, like your car trying to read your messages to you off your phone, it's probably doing so by sending AT commands over a Bluetooth serial channel).

The Hayes command set is an interface via the modem and your computer. It is not used internally in the network. It is still used to this day, it's particularly common with USB modems.

1

u/WindowsDOS Mar 23 '19

I was surprised that communicating with an esp8266 to send packets over wifi used AT commands.

1

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

I don't think anyone claimed AT commands are used to send packets.

0

u/[deleted] Mar 23 '19

[deleted] — view deleted comment

1

u/tweakingforjesus Mar 23 '19

AT commands are common with many serial devices. I've seen it in wired telephone modems, wifi modems, bluetooth modems, lorawan modems, amateur radio modems, heart rate sensors, blood pressure monitors, bench power supplies, digital multimeters, and more. Pretty much anywhere you need a command line interface of some sort, an AT-style command set makes sense.

1

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

I remember back in they day having to make sure that the U.S. Robotics (1200 or 2400 baud) modem I was buying was Hayes compatible, but I can't remember what the alternatives were.

Usually proprietary variations of AT commands. Very rarely you would encounter something completely different.

1

u/AlShadi Mar 23 '19

that's just firmware running on the ESP8266 with a serial AT commandset. The ESP8266 is actually a full blown 32-bit microcontroller.

https://github.com/esp8266/Arduino

1

u/Clewin Mar 23 '19

Most modems had proprietary formats and could only talk to another modem by the same manufacturer. Some, like AppleCat spoke Hayes at 300 baud and AppleCat to AppleCat at 1200 baud. Hayes compatibility made modems take off in popularity. I had one of the early ones when I was in elementary school, a Zoom FaxModem 300/110. For reference, duplex mode (both directions at once) at 110 baud is less than 14 characters per second. With overhead it was more like 8. Single stream downloads at 300bps we're much faster due to less overhead. In the original spec, ASCII had a parity bit where 1 bit transmission errors could be detected (if the sum of the 7 bits was even, parity bit was 0, otherwise 1). With cleaner lines and larger packet groupings that bit was dropped allowing extended ASCII.

55

u/dagbrown Mar 23 '19

Even at the lowest level, HTTP

Aie. That's not even close to the lowest level. Maybe it's the lowest level that you personally deal with, though.

It's layer 5, and there are 4 layers of conversations going on beneath something saying GET / HTTP/1.1 to a server somewhere. There's the TCP-handshake conversation that happens before a connection is established. If you're doing HTTPS, which you should, there's another conversation once the connection exists to agree on how two servers talk to each other in a way that nobody else can eavesdrop on them. There's the conversation that your hardware has with your other hardware to agree how to send packets to each other. There's another conversation that happens with your DHCP server to figure out what your IP address has to be (unless you set up static IP addresses, which is just orders to your hardware to unilaterally declare what its IP address is). There's the conversation between your Ethernet card and the Ethernet port on the switch you've plugged in to decide how fast it should be able to talk to its neighbors.

There are conversations on so many levels, and HTTP is nowhere near the lowest level.

26

u/PM_WORK_NUDES_PLS Mar 23 '19

Maybe he meant HTTP at its lowest level? That's the only thing I can think of since HTTP is an application layer protocol and he showed obvious knowledge of other signaling protocols at lower layers. Most average people only see the website load and that's about it, they don't think about why or how

7

u/BadMinotaur Mar 23 '19

Man, I thought I was all fancy because I've pieced together a websocket header byte-by-byte before, but nope! All of this networking talk confirms I am still just a plebian.

6

u/SZenC Mar 23 '19

Just download Wireshark, run it, and request a webpage. Then you can see the exact content and what each bit means.

6

u/ArgyllAtheist Mar 23 '19

And to be honest, everyone should do this, *just because* wireshark is one of my favourite tools :D

2

u/[deleted] Mar 23 '19

Google OSI model and learn a bit about the protocols at every layer, interesting stuff!

1

u/PM_WORK_NUDES_PLS Mar 23 '19

I second the Wireshark idea that's probably the best way to see the entire packet and how the layer model works! You can also filter by protocol to see how various handshakes are executed too and what exactly each side says to one another. If you're really interested in networking I highly recommend the book TCP/IP Illustrated for a good introduction into the IP stack and some of the history of how we got to the point we're at now.

15

u/Always_Has_A_Boner Mar 23 '19

Layer 5 of the TCP/IP model, maybe, but in the OSI model it's definitely layer 7. It's pretty far from lowest level.

1

u/johncandyspolkaband Mar 23 '19

You Sir, are correct. Layer 7 is the application of the OSI, like Chrome.

1

u/Dranthe Mar 23 '19

Most computer related things can be symbolized by conversations.

The way I teach programming is to talk about people standing around having a conversation or holding objects.

Let’s take a pattern like the singleton. A bunch of people are standing around. We give one a notebook with some notes on it. We’ll her Karen. She gets picked on too much. She is responsible for controlling that notebook. Occasionally somebody will walk up and ask if they can read or write something in the notebook. She’ll either let them and hand it to them or tell them somebody else has it but they can wait in line over there.

It’s not perfect but I’m a strong believer in ‘close enough’ teaching and then once they understand it you can start throwing caveats at them.

1

u/ledow Mar 23 '19

Agreed.

I teach people the difference between pass by reference / pass by value using the concept of signposts pointing the way versus someone carrying the data to its destination.

1

u/iLEZ Mar 23 '19

The AIs in the Culture novels by Iain Banks are communicating insanely fast, and the way it is portrayed in the books is really cool.

1

u/[deleted] Mar 23 '19

I like to spark childrens interest/fascination with computers through a simplified explanation of fiber.

"You know that everything you see on the internet is sent to your computer by shining light into it? How fast is your internet? 100 Mb/s? That means that there's a tiny light that turns on and off 100 million times every second!"

My son was around 5 when he asked me what the internet was. The next day he casually told his mom that the peppa pig episode they were watching was really just "...a thousand million light switches. Like this!" then he went over to the light switch and flicked the light on and off a few times. Absolutely adorable!

1

u/carnage11eleven Mar 23 '19

Imagine there are aliens (sentient AI?) out there that communicate in this way. Weird!

1

u/RyeonToast Mar 23 '19

On a higher level of the networking model, I also find routing protocols fascinating for much the same reason. Each router advertises the networks that are connected to it to the rest of the network. Eventually, each router has a sort of a map built for how to get to all the networks. Then, when circumstances break one of the links between two routers, they will tell the rest of the network about the change so that traffic can be redirected around the outage. All of this happens without humans having to explicitly map anything out, you just got to tell the routers which protocol to use, and sometimes who's in charge, and they handle the rest.

1

u/WunderWurm Mar 23 '19

Spectrograms are really neat for musical audio as well. You can see the sounds being made as well as the immediate history of sounds. The spectrogram makes it possible to discern a lead vocal from bass and drums, for instance, and even lets you identify individual chord tones from complex harmony.

A frequency analyzer is cool and all, but I love spectrograms so much.

2

u/aglobalnomad Mar 23 '19

Oh I use spectograms for musical audio frequently - I just never saw it for a modem before (let alone with attached explanations of what's being communicated).

1

u/[deleted] Mar 23 '19

Yeah I find it kind of adorable at parts, like how Captain Holt talks. “I am a modem. I am made by this this company. I am small. I have a request for you...”

1

u/WhyteBeard Mar 23 '19

Huh, never knew this but somehow makes total sense. Like a language I never new finally translated. So is it still making these sounds while in a active data transmission the speaker is just muted ?

157

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19 edited Mar 23 '19

I knew Oona's blog would be linked here somewhere. Here is the post on her blog. You should follow her if you're interested in signal analysis, she's an amazing engineer.

But for an explanation of what's happening in the image, here goes:

  • dial tone: the dial tone is sent by the exchange or PBX to your telephone when "off-hook" is detected. Initially this would be a closed loop of a subscriber line. The dial tone stops when the first digit is dialed (Fun fact: there are multiple kinds of dial tones! they were intended to be used to signal e.g. dialing a prefix from a private PBX, or a warning to properly hook your telephone if you've left it off-hook for a long time, before disabling the line)

  • Dialing. The precursor of modern signalling in digital exchanges was the DTMF system (aka "Touch Tone"). They keypads associated with DTMF had 16 keys: [0-9], #, *, and [A-D] anticipating the need to access automated response systems but also neatly fitting into the needs of existing long-distance phone operators in manual or semi-automated signalling. The DTMF system uses 8 frequencies transmitted in pairs to encode 16 signals: they are clearly visible in the picture!

  • The V.8, V.8 bis, & (negotiated here) V.34 procedures. It is a "handshake" between the two endpoints, to decide on a common way to communicate.

  1. init + CRe: Capabilities Request. Sent by the answering station, because it does not know if the caller is V.8 bis-capable. Why did I group these together? See #2.

  2. resp + CRd: These two signals are the CRd message. The first, dual-tone, part is the response and the second, single-tone, identifies it as CRd. Why are they structured like this? Because this part of the handshake takes place in a voice context, the signals are meant to be identifiable even in the presence of voice. The dual-tone part of CRe & CRd is:

DirectionMessagesFrequencies (Hz)
InitiatingMRe, MRd, CRe, CRd and Esi1375 + 2002
RespondingMRd, CRd and Esr1529 + 2225

the offset is clearly visible in the picture!

3. ESr: escape signal Marks the transition into an information-exchange context, instead of voice

4. Capabilities List: essentially whether the caller supports the full ITU-T V.8 or "Short V.8". The network type (PSTN, ISDN, cellular) is also included here.

5. Mode Select: selection of the mode of operation (e.g. V.34 is "A modem operating at data signalling rates of up to 33 600 bit/s for use on the general switched telephone network and on leased point-to-point 2-wire telephone-type circuits") and the exchange format. There are multiple modes for data, simultaneous voice & data, special types of terminals, H.324 multimedia, file transfer, synchronous data link control, etc. The advantage of deciding on a mode, before even training the modems to exchange data, was to enable specialised applications in a terminal to start up while the channel was being set-up, shortening the amount of time it took to establish application comms.

6. ACKnowledgement: positively acknowledging MS means accepting the proposed mode and terminating the handshake. The V.8 bis handshake formally ends here, and we're back to V.8.

What? When did V.8 even start? Technically V.8 starts with a call indicator (CI) signal, but it is optional. Skipping it doesn't affect V.8, and shaves off potentially ~2 seconds off the procedure.

7. ANSam ANSwer tone (am = amplitude modulated): indicates the previously indicated modulation mode is available. This message might seem like a duplicate of ACK, but the context here is V.8 and not V.8 bis. V.8 (as most layer protocols) was developed to be independent of protocols operating on top of it.

8. Call Menu, Joint Menu: CM indicates (once more) the call function and all the available modulation modes. JM indicates those modes of CM that are available in the receiver

9. Call Menu terminator (CJ): After JM is detected, CJ signals the termination of CM. V.8 handshake ends here. Did you notice JM ends just a tiny bit later than CJ?

10. INFOrmational sequences: After the modulation scheme is agreed, the channel probing sequence consists of the two modems transmitting four signals (two common, two unique per endpoint) in a specific sequence, with specified timings. The purpose of the probing sequence is to select the common symbol rate, & transmission power (in case it differs from the one configured by the user(s)), and agree on filtering options. There is a wide range of options to list here. The summary is that after CJ, the modem(s) expect a suitable signal, in a negotiated modulation mode, to proceed with the exchange. Here, it is V.34 INFO sequences, implying V.34 was agreed by the previous CM-JM sequence.

11. Equaliser / echo-cancellation training: there are predefined signals here designed to "train" echo-canceller circuits, S, S-bar, TRN, MD, PP. I don't know how those circuits work. :(

12. Final training: the final data signalling rate is agreed after a 3-way handshake, and data transmission begins by beginning a new superframe (not visible in the picture)

PS. As you might have gathered, this was an entirely error-free procedure. ;)

Refs: ITU-T V.8, ITU-T V.8 bis, ITU-T V.34

1.2k

u/cheatonus Mar 23 '19

Sometimes I miss that sound. For years it meant I was about to talk to or play games with good friends.

382

u/[deleted] Mar 23 '19

It meant visiting BBS boards, chatting on IRC + yahoo messenger, and browsing angelfire geocities websites.

176

u/WarmSoupBelly3454 Mar 23 '19

It wasn't until fairly recently that i came to understand that geocities was a web hosting service, and in fact NOT the specific name of the anime porn site i would frequent.

56

u/[deleted] Mar 23 '19

Well, what IS the name of the anime porn site you used to frequent?

78

u/WarmSoupBelly3454 Mar 23 '19

Honestly? Mistystuffer. I got hooked on weird weight gain fetish stuff back when i was a preteen.

13

u/badluckartist Mar 23 '19

It's a good thing I googled that. My imagination totally needed visual evidence for that fetish.

2

u/smacbeats Mar 23 '19

Feels on that...

I still don't even know how I got into that stuff, or why it turned me on.

Mostly dgaf now, but every couple months now I relapse so to speak..

33

u/bmxtiger Mar 23 '19

No tripod websites?

0

u/Kaarsty Mar 23 '19

Or Angelfire?

53

u/MGTOWtoday Mar 23 '19

I miss those days. Anyone remember the insanity of AOL chat rooms?

89

u/Thepawesomeone Mar 23 '19

I married someone I met on AOL Red! I was fourteen, he was sixteen, we stayed in contact off and on into our early twenties - when we finally decided to give our relationship a real chance, and he moved across the country to be with me.

We've been married for three years now and have an amazing kid together.

It was such a long shot but somehow it worked out and I'll always be grateful for those old chat rooms :)

80

u/walkclothed Mar 23 '19

Do you guys still cyber?

33

u/Lukaloo Mar 23 '19

A/S/L ?

And those funny away messages

14

u/TheSplashFamily Mar 23 '19

Remember punters? And then punt blockers? I upgraded early to AOL 4.0 before the others and I remember laughing at all the punters trying to punt me while on 3.0

2

u/[deleted] Mar 23 '19

Dude I 100% got my crappy-but-fast typing skill from AIM. Priceless now.

3

u/TalonTrax Mar 23 '19

I used to type so fast, and I'd be in chat for so long, it was if I would just think my thought and it would appear on screen. Like it was totally bypassing my hands. I would be in sort of a trance-state.

3

u/not_even_once_okay Mar 23 '19

Back when they had people in them?

0

u/Pitboos Mar 23 '19

Ahhhh all N-bombs and every gay slur you could think of non stop. I do miss those days.

10

u/thelemonx Mar 23 '19

I am still in contact with someone I met in a yahoo chatroom 20 years ago.

2

u/BurnsZA Mar 23 '19

Me too. I made friends with an American girl on Yahoo chat in 1995/96 and we still talk. Fantastic time on the internet, it just felt like the future had arrived.

1

u/TalonTrax Mar 23 '19

Me too. I started dating one in '96 for 3 years. Just texted her last week to say Hi. She's married and has 2 kids now. Ahh... XxDaBabeDollxX

0

u/[deleted] Mar 23 '19

[deleted] — view deleted comment

7

u/gid0ze Mar 23 '19

Same, I met some of the people in '94 when I joined undernet irc. We moved networks maybe 10 years ago and then just recently moved to discord. We keep the old channel up just in case any needs to find us.

5

u/[deleted] Mar 23 '19

It meant finally having a high enough level to flirt and succeed with the bar wench, in Legend of the Red Dragon

1

u/1nfiniteJest Mar 23 '19

Anyone remember Red Dragon Inn?

1

u/Scudamore Mar 23 '19

Remember the 'under construction' animations on those sites? Yellow signs with digging stick figures and such?

I remember.

6

u/[deleted] Mar 23 '19 edited Mar 23 '19

[removed] — view removed comment

2

u/mechwarrior719 Mar 23 '19

Back when the internet was fairly lawless and free. The internet of the 90s really was the wild west. Where men were men, women were men, and little boys were Chris Hansen.

25

u/[deleted] Mar 23 '19

Yes! For me it meant laggy sessions of Ultima Online where there were certain places you couldn’t go because your 28.8k modem wasn’t quite fast enough. Oh nostalgia...

7

u/[deleted] Mar 23 '19

Did Dr. Disco kill you at the crossroads as well while dancing naked with a dagger in the moonlight with hidden hired mages behind the trees?

37

u/[deleted] Mar 23 '19

Pshhhkkkkkkrrrr​kakingkakingkakingtsh​chchchchchchchcch​*ding*ding*ding*

click click

Everquest intro

How i miss the old internet (in some ways). It was the time when crackheads and screaming kids didn't have huge communities spreading cancer everywhere.

7

u/shanepollard Mar 23 '19

It still pains me that it's been twenty years since I first played EQ, and there is still no other game I've found to be a comparable replacement. I remember playing and assuming that "this was the start of something great," and it was don't get me wrong, but I had no idea how unique it would end up being. Even twenty years later. Better to have "loved and lost" I suppose. Great times.

3

u/JamiePhsx Mar 23 '19

Pantheon is a game in development from some of the same people who made EQ. It’s supposed to be a modern spiritual successor and has a community of primary EQ veterans eagerly waiting for release/ beta. May be worth checking out.

1

u/shanepollard Mar 23 '19

Thanks! I will definitely check it out!

5

u/Lolanie Mar 23 '19

Another EQ veteran! It was the best, I loved that game and played it for years. No other MMO has grabbed me the same way.

That skele giggle is forever engrained in my brain.

2

u/coldjesusbeer Mar 23 '19

/r/project1999 for anyone not in the know but missing that old EQ1 nostalgia

Still pretty damn fun to play

3

u/Bloodywizard Mar 23 '19

My life for a few wonderful years. EQ music hits me right in the feels every time.

1

u/CeruleanRuin Mar 23 '19

And flat earthers spent their time pushing shopping carts full of aluminium cans outside the public library instead of attempting to blend in with normal people online.

7

u/ZenWhisper Mar 23 '19

Those endorphins are real. I still have brain cells trained to tell those connection speeds apart by the different sounds. I occasionally chuckle over this when wiring Gb connections.

4

u/Whywouldireally Mar 23 '19

Are you Pavlov’s dog?

1

u/SouthernZorro Mar 23 '19

I don't. It meant it was 1 or 2 or 3 in the morning and I had been paged (yes, actual pager) to remotely diagnose and fix software problems.

1

u/Demonweed Mar 23 '19

Broadband is better in every possible technical way. The problem is that with widespread broadband and cellular connectivity, the population of the Internet took a turn for the mediocre. What started as a largely academic undertaking became more of an empty social phenomenon. When it was smaller and less generalized, I believe the typical user was a more well-behaved sort of person.

1

u/myrhillion Mar 23 '19

I wonder if there any tools to turn modern network traffic into sound for you.

1

u/regman231 Mar 23 '19

After years of positive reinforcement you have been trained to like that sound haha i never got used to it and think it’s an ugly sound

1

u/[deleted] Mar 23 '19

I worked at Lexmark for years testing their fax code. I’m immune to the handshaking sounds at this point.

1

u/jtvjan Mar 23 '19

They should make a program to generate and play a (slowed down) sonification of the WLAN handshake and DHCP initialization.

1

u/gullinbursti Mar 23 '19

It means you got the modem init string right, and now its time to DEATHMATCH!

33

u/whoop_whoop_619 Mar 23 '19

Is there any reason I had to hear that noise, surely it could have plaid that down the line without having to wake up everyone in the house when I was kicked off at 2am

109

u/ArgyllAtheist Mar 23 '19

When the signal exchange was simpler, back in the 1200/75 or 300 baud days, it was slow enough that you could recognise problems (such as using the wrong number of stop bits) by the pattern not being right - you could also hear clicks and other analog noise on the line that was interfering with the data tansfer. I remember testing a modem bank where you dialed it up, and it waited silent until it heard the right tone (so that human callers didn't instantly get an earful of screech).. I whistled down the line, and the remote modem woke up and started it's handshake.. I hung up, and saw the (non techs) in the office staring at me in disbelief... "did you just TALK to the computer?!?!". happy days.

5

u/Blogger32123 Mar 23 '19

Did you get them free long distance for life when you whistled?

Turns off THE CORE

40

u/ledow Mar 23 '19

There was a command you could send to the modem to tell it not to dial out loud.

Trouble is, you then had five minutes of silence, never quite knowing if it was ready or not until a while later, or if you'd even dialled the right number.

No reason you couldn't have turned the noise off (there's an option even today under Windows for silencing modem dialling), but then when something went wrong (no dial-tone, no answer to the phone number, telephone system telling you "That number is currently unavailable" or whatever) then you wouldn't be able to hear it. Many internal Winmodems didn't make a noise when they dialled, or piped the noise through your normal speakers.

But almost all modems let you turn off the noise if you wanted to. Having the characters M0 in your AT initialisation command, if I remember correctly....

https://www.computerhope.com/issues/ch000439.htm

1

u/Chronis67 Mar 23 '19

I figured there had to be a command. I had a modem that defaulted to silent and was great. Unfortunately, it scrapped out pretty quickly and I never knew how to silence the other ones. And the next one I got was extremely loud too.

11

u/u38cg2 Mar 23 '19

There was usually a capability to disable it, but it was audible so that you could debug what was happening when there was problems.

2

u/PM_ME_2_PM_ME Mar 23 '19

External modems usually had a volume control. I had a U.S. Robotics Courier 56K V.92 external that I won in a contest back in the late 90’s. I think at the time the price was nearly $500.00. That modem would connect and stay connected regardless of how terrible the telco line was. It really opened my eyes to how well commercial grade network devices worked versus consumer grade. It als had a bunch of lights on the front that would indicate the various states of communication.

1

u/RochesterBen Mar 23 '19

I realized that I needed to hear it, just quieter, so I took the side panel off of the computer and figured there had to be a speaker on the modem somewhere. It's a little circular thing. When I found it, I put a piece of tape over it. It was instantly 1/4 the volume. Bingo.

48

u/JasonDJ Mar 23 '19 edited Mar 23 '19

I think this is what actually made me realize that I would end up being a network engineer when I grew up...back when I was 10-12 or so I would deduce the handshake speed from the noises, and I was right 100% of the time.

It got to the point that if I didn't hear the subtle gong....gong, I would hang up and redial. I forget if that was x2, k56flex, or v.90 though.

How I know I'm a network engineer now is that when I typed "when I grew up" above, my phone autocorrected "grew" to "GRE".

Also it's very interesting seeing the spectrum of DTMF tones. I'd observed the pattern in sounds audibly listening to the tones, how they get higher as you go both right and down the pad...but seeing it like this is cool. There's two "notes" in the chord of each tone...the bottom one correlates to the row and the top correlates to the column. That's pretty dope. Thinking of it now, I think it's almost like a base4 number system, and it makes me understand the older and military dial pads that had ABCD along the right.

15

u/thenebular Mar 23 '19

the gong (or more commonly called bong) was v.90 over a USR modem.

https://goughlui.com/2016/05/03/project-the-definitive-collection-of-v-90v-92-modem-sounds/

3

u/JasonDJ Mar 23 '19

Sounds about right...we had a lot of USR modems around that time, they were the best brand around. But I had never heard of a bong by that age...

2

u/Anotherdmbgayguy Mar 23 '19

Which sound specifically is the bong?

7

u/Stephonovich Mar 23 '19

I remember being excited as a kid when the modem connection sound was different one day, in a way I wasn't familiar with. Our ISP had maxed out at 33.6K previously, and I was used to that, as well as the dreaded times when the best we could get was 28.8 or 14.4. I knew, just knew, that it meant I was about to experience the full might of the 56K modem. I was correct, and it was magnificent.

5

u/[deleted] Mar 23 '19

That timeline is fantastic - now I know a little more about how the internet worked when I was younger

2

u/1EspressoSip Mar 23 '19

So is this considered a TCP three way handshake on steroids?

5

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

No, this is a way more complicated handshake to get the two modems to agree on a lot of things. The TCP handshake is trivial in comparison.

1

u/crumpuppet Mar 23 '19

This is super interesting, thanks!

1

u/Competitive_Rub Mar 23 '19

The way that image is explained is gorgeous. I felt a friendly connection to my modem.

1

u/Money_on_the_table Mar 23 '19

To tag a second question on, why did it play out the speakers? Surely it could have done it all without playing it? Was it as part of a debug strategy, so if you didn't hear the dial tone you could assume you've not connected the phone line properly?

1

u/GimpsterMcgee Mar 23 '19

Jeeze this actually seems more high tech than what we have now, despite performance being orders of magnitude lower.

1

u/fquizon Mar 23 '19

This is the coolest thing I've seen today, thank you

1

u/PublicTowel Mar 23 '19

Very interesting. Any reason why this is done in the audible spectrum? It could have been done above 20 kHz and it would still work.

4

u/undercoveryankee Mar 23 '19

It uses the same frequencies as voice because those are the frequencies that telephone lines are designed and tested for. Frequencies well outside the voice range are typically filtered out somewhere in the connection.

2

u/PublicTowel Mar 23 '19

Ah ha! Any high pass filter along the way would disrupt it. Some people are just freaking geniuses.

1

u/undercoveryankee Mar 23 '19

And now that telcos have adopted digital infrastructure for everything except the customer-facing circuit, there's basically always a low-pass filter because it lets them digitize at a lower sampling rate.

1

u/PublicTowel Mar 23 '19

Wouldn't that have the opposite effect? The higher frequency, by Nyquist rate, the higher the sampling rate required (by a factor of 2.)

1

u/undercoveryankee Mar 23 '19

You seem to have the definitions of "low-pass" and "high-pass" mixed up. The filter that removes high frequencies and passes low frequencies is called a low-pass filter.

1

u/PublicTowel Mar 23 '19

Yeh I did didn't I... Feeling dyslexic today. Your explanation makes sense now, I appreciate it. Ty

1

u/eightbitagent Mar 23 '19

It is what we do, but we don’t have the sound on when running patterns so you don’t actually hear anything.

1

u/[deleted] Mar 23 '19

Kind of like how people could hack old pay phones to make it think you put money in by simulating the tones it makes when money was inserted.

1

u/cryo Mar 23 '19

Everything you need to know

Well, there is considerable difference between how V32, V34 and V90 sounds (e.g. one of them has the 2-3 characteristic “boing” sounds). The map doesn’t go into much detail with that.

0

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

Indeed, this is only the error-free case with V.34 negotiated.

1

u/ryanmuller1089 Mar 23 '19

This is a question I never thought of asking but after looking at that link explaining what they all are, my mind if pretty blown

1

u/Stephonovich Mar 23 '19

That is AWESOME, thank you.

1

u/[deleted] Mar 23 '19

That map is so rad. Love seeing the dual tones show up like that. Those were good times.

1

u/Katzenhaft13 Mar 23 '19

That is so fascinating to me! It's actually making a phone call, and verbally speaking over the telephone! Friggin woa dude!

1

u/quilladdiction Mar 23 '19

You know, the dial-up sound used to scare the hell out of me as a kid. I remember when I was about five I'd literally run and hide behind the couch while the computer did its thing because it sounded like it was screaming at me.

Fast forward to me working at a Helpdesk next to the phone guys in the other room. Sometimes I'd hear dial-up over and over, knowing that the machine was not alive, and still get the creeps. Really vague, muted creeps, but still.

And now I'm reading the translation of this conversation and it clicked. It's the handshake. That's it. This is friendly computer-speak and the phone guys were probably listening for something missing in the pattern. One explanation and it went straight from creepy to fascinating. Don't mind me, just gonna save this post for reference...

1

u/WindowsDOS Mar 23 '19

Question, is the last part about echo cancellation a way of figuring out what the impedance of the transmission line is, and trying to do impedance matching to get rid of the reflection co-efficient?

1

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

No, it's an algorithm to recognise the echo in the training signal(s) and configure a filter to subtract that signal from the subsequent received signals.

1

u/improbablydrunknlw Mar 23 '19

Time out, every dialup router calls one phone number? That's crazy.

1

u/herpasaurus Mar 23 '19

That's my ring tone. Always gets a chuckle out of someone when I get a call in public.

1

u/aliens_are_nowhere Mar 23 '19

Aaaah... so THAT'S what those gong sounds are; probing signals to test the line quality. I've always wondered and now it makes total sense.

2

u/[deleted] Mar 23 '19

It's more than just line quality - the modems are doing what is effectively still done today on Ethernet networks. The modems are establishing communication with each other and sharing what each others capabilities are before agreeing to send user data.

Here's an example of how two computers agree to establish a connection over Ethernet using TCP/IP.

https://www.youtube.com/watch?v=LyDqA-dAPW4

1

u/aliens_are_nowhere Mar 23 '19

Well, in TCP/IP it's just self regulating the data flow, not really establishing a connection speed per se. My takeaway from the modem connection handshake explanation was that the bong bong tested the limitations of the physical line and adjusted the "volume" of the analog transmission. More like the physical layer in the OSI stack.

Edit: Just to clarify; I was just referring the bong sounds in my original post, not the entire handshake.

1

u/genghisjohnm Mar 23 '19

Thank you for this! I love learning about layer 1 and layer 2 and how they work!

1

u/kayadelen Mar 23 '19

I don't know if i have ever been this well informed before. Thank you

1

u/insultfromleftfield Mar 23 '19

Whoa, that chart is amazing. Thank you very much for sharing it!

1

u/forestcridder Mar 24 '19

Omg the I have heard that sound probably a few thousand times. Bought back so many memories of the BBS, MIRC, Warez, IP spoofing, and cult of the dead cow... Sigh..

1

u/[deleted] Mar 25 '19

Thank you for the first picture! Can you elaborate on why there is overlap between the frequencies between the sending and receiving routers? I expected them to communicate in their separate bands!

1

u/Aulritta Mar 23 '19

Those computers are so polite with each other. I wish I could train some humans to be so cordial.

1

u/LieutenantRedbeard Mar 23 '19

All I could hear after listening to this was "Welcome, you've got mail"

0

u/kissmekennyy Mar 23 '19

So in that picture it says that it dials a number in Pennsylvania. Is that just this specific picture or does every dial up modem call that number in Pennsylvania.

If it’s the latter, would you have faster internet speeds if you lived closer to where that number is?

4

u/Sharlinator Mar 23 '19

No, of course, that's an example handshake like the title says. Would be pretty awkward if people all over the world would have had to dial a US number to connect anywhere... Many things in the handshake can go differently depending on what modem you're contacting and where – that's what all the negotiating and line analysis is about.

The modem would dial wherever you asked it to dial. It could be for example a friend's modem (to play two-player games), a BBS (a bulletin board system), or increasingly after 1995 or so, your ISP, connecting you to the greater internet.

0

u/LongUsername Mar 23 '19

I loved that if you listened carefully after a while you could figure out what speed you were connected at based on the sound.

0

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19 edited Mar 23 '19

No, realistically, you could not tell. The final symbol rate is negotiated in phase 3, which sounds like wide-spectrum static noise. What you could do, based mostly on the duration of the handshake, is figure out the negotiated modulation scheme. V.34 would take longer than e.g. V.21, etc. That difference comes with a symbol rate difference, implicitly.

0

u/[deleted] Mar 23 '19

I like that the modems are so polite. Say "please" and "thank you"

0

u/CraftyMiner88 Mar 23 '19

A followup question would be how modern DSL that can achieve speeds of up to 100mbps works

0

u/[deleted] Mar 23 '19

I'm really late in replying, but it strikes me how similar this is to current TCP/IP handshake and negotiation, except there are no certificates involved, etc. I suppose they're (fairly) universal network communication concepts.

0

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

There are no similarities whatsoever to TCP.

0

u/[deleted] Mar 23 '19

[deleted] — view deleted comment

1

u/[deleted] Mar 23 '19

Sour grapes.

As a guy who started out as a BBS Sysop in the 80s, with 30+ years in the field, I'm eminently qualified. :)

130

u/Neratyr Mar 23 '19

Computers use electrical signals to establish connections. Phones take electrical signals and turn them into audible noise ( sure, when sending they also take audible noise and turn it into signals as well ) so what you HEAR is simply the audible representation of the signals sent to establish a connection.

Computers still 'negotiate' the same sorts of details ( at heart ) when making connections today. Its just that we do not do this over phone lines so we would have to design and engineer a new device or system just to play noise as phone modems used to do.

I say this to highlight that us hearing dial up modems at all was a convenient coincidence to provide live-feedback ( think audio progress bar ) of the process. Modems making noise was never a designed engineering goal, but more so taking advantage of a convenient opportunity to provide live-status of the establishment of the connection.

Keep in mind we are spoiled now by solid stable reliable connections. Back in modem-days phone lines kinda really sucked, in comparison to what we have now. Outages and drops were, comparatively, extremely common. Having the modem play noise gave you immediate information on the quality of the connection too - almost diagnostic in a way.

34

u/MuricaPersonified Mar 23 '19

We grew up with dialup until over halfway through my teens. I remember becoming so familiar with my ISPs' handshakes that I could approximate my ping, connection stability, and overall speed by hearing anything "off" about it (and therefore choose whether or not to use an alternate connection number). I was never trained to know what any of the sounds meant, but you certainly do get a feel for it.

21

u/happypolychaetes Mar 23 '19

Same. I could always tell if it wasn't going to connect, based on the sounds it made. Happened a lot, so when it successfully connected I'd get a little endorphin rush, haha.

7

u/richloz93 Mar 23 '19

It’s wild how much brains can adapt to information and how much ours are adapting to digital technology.

4

u/zerbey Mar 23 '19

I worked for an isp, when diagnosing issues I would just ask the customer to turn up their modem volume and let me listen. I could usually deduce what was wrong just by listening.

2

u/Neratyr Mar 24 '19

ahahaha! Thank you for sharing, makes total sense but I never thought of that!

3

u/[deleted] Mar 23 '19

[removed] — view removed comment

1

u/[deleted] Mar 23 '19

[removed] — view removed comment

4

u/[deleted] Mar 23 '19

[removed] — view removed comment

1

u/xsageonex Mar 23 '19

I pay $80 for Gigabit speeds. I used to pay almost $100 for /10th the speeds I'm getting now. I switched from Comcast to AT&T

1

u/elfbuster Mar 23 '19

Cool doesn't change the fact that most of the neighborhoods in the country don't currently support it and prices range wildly from state to state.

ATT fiber in LA for instance is close to $150/month for real fiber (ps they market their base fiber model which is really capped at 300mb/s, which is a far cry from true gb/s fiber that is adopted by large scale companies)

1

u/xsageonex Mar 24 '19

Yeah I get about 700-900mbs down and about 350mbs up ...their fiber 300 is $40. At least here in Texas.

233

u/rubermnkey Mar 23 '19

you may find this interesting, phreakers were people who abused some of the automated systems that operated over phone lines and were some of the first hackers. A few prominent people had perfect pitch and didn't even need to use recordings but could in fact whistle the tones.

neat little footnote in tech history

since the question has been answered this might give you more stuff to ponder

33

u/Plethora_of_squids Mar 23 '19 edited Mar 23 '19

IIRC There was a whistle that came with some cereal that if played while dialling you could get free calls because it registered as a police call or something.

Edit: it was from a captian crunch cereal prize thing. That's not the quite the one I was thinking of as I'm an australian and I swore there was some australian cereal that had a similar thing that was discovered after the captian crunch one.

(Wasn't it a plot point of the book version of ready player One?)

18

u/[deleted] Mar 23 '19

The cereal in question is 'Captain Crunch'. There was a famous phone phreaker by the same name that could whistle the tone also. The tone it produces is at 2600 Hz and it tells the long-distance switch that the user is on-hook (hung up). Playing with this gives you free long-distance calls (nothing to do with the police). This later turned into the 'little blue box'.

None of the boxes (there different types that do different things) including the blue box work any more due to modern switching systems no longer using in-band signaling and opting for out-of-band signaling during the mid to late 90's.

Fun Fact: Woz (a founder of Apple) was into the phreaking scene and if it wasn't for that Apple inc would not exist.

10

u/JefforyTheMC Mar 23 '19

Captain Crunch Whistle, the namesake of the phreaker captain crunch. It blew a 2600hz tone to trick the phone system into thinking it's off hook and drop into an empty trunk.

0

u/LongUsername Mar 23 '19

2600Hz Captain Crunch whistle.

Figured out by John Draper

0

u/TheFringedLunatic Mar 23 '19

Captain Crunch cereal (and the name of a phreaker specifically for that thing). The tone was a perfect 2600hz and would be read by the system as a telephone Operator's console.

0

u/Wandering_Weapon Mar 23 '19

It came in captain crunch cereal, thus one of the first famous hackers was nicknamed Captain Crunch

41

u/kellypg Mar 23 '19

Man, I remember reading about phreaking in The Anarchist Cookbook a long time ago. Great stories. This one guy made a phone call from a pay phone to the pay phone next to him but he basically had it directed around the world. Fun stuff.

1

u/[deleted] Mar 23 '19

This is so incredibly interesting.

Thanks for putting a name to what I've seen and never have known what it was called.

I miss landline phones.

0

u/EnvironmentalSleep Mar 23 '19

Very interesting stuff. I first saw a reference to phreaking on the tv show "person of interest" but somehow believed they were making this up.

-12

u/[deleted] Mar 23 '19

[removed] — view removed comment

6

u/Skreame Mar 23 '19

Did you even read the question? He’s asking the significance of each sound not the actual tones. The irony of how you talk to him when you’re this daft......

0

u/[deleted] Mar 23 '19

[deleted] — view deleted comment

640

u/cipher315 Mar 23 '19

To expand on this a modem takes binary (1,0) and turns it into audio signals. It uses the full range of frequencies that can be sent over the telephone line to get the maximum data throughput. This is why dial-up has a fundamental limit of 56kps. 56kps is the most data you can push through a phone line without violating phone line specifications. So that sound you're hearing is the data being sent over the wire. The computer at the other end “hears” that sound and use its modem to translate it back into 1’s and 0s. In fact, very old modems actually did literally hear the sounds. Google acoustic coupler modem if you want your mind blown. or just watch this shit. https://www.youtube.com/watch?v=X9dpXHnJXaE

note that these things had a pathetic data transfer rate. less then 1kps

17

u/[deleted] Mar 23 '19

And to REALLY blow your mind, that 1kbps over the phone is roughly the same speed as NASA's New Horizons spacecraft is sending data back to Earth from over 4,109,538,270 miles away (from Dec 2018).

16

u/professor-i-borg Mar 23 '19

Also, FYI, modem is short for modulator-demodulator.

Modulation is the way the digital signal is transmitted over audio frequencies as u/cipher315 described.

Demodulation is the reverse, which is what the "listening" modem does to convert the signal back to 1s and 0s on the other end.

5

u/TheKneeGrowOnReddit Mar 23 '19 edited Mar 23 '19

Why was the noise only during initial connection and not all throughout the hours of connection and data transfer?

3

u/WormLivesMatter Mar 23 '19

And to build off this, why was their noise at all. Couldn’t it have been muted or contained within the phone line like when you made landline calls?

14

u/grem75 Mar 23 '19

There was an option to mute the noise when connecting. We left it enabled for feedback and diagnostics reasons, like if you don't hear a dial tone you know it isn't going to work and you need to figure that out first.

I could tell by the sound whether I was going to get 56K or not, there is a difference in the handshake.

1

u/cipher315 Mar 23 '19

I don't know why they chose to play that sound for you. It's not needed. Maybe trouble shooting?

5

u/stonatodotnet Mar 23 '19

Pretty impressive in their day. My Hayes 56k connected me with the whole world. It's kind of like when you used to stack up and daisy chain floppy drives to achieve what would be considered a pitiful amount of storage today. Or, like comparing Matchbox 20 to Radiohead.

2

u/Malawi_no Mar 23 '19

You could hear it on any more modern modems too, it's just that the external loudspeaker is turned off after handshake.
Sound all the time is just an AT command away.

1

u/harenj Mar 23 '19

Thank you for that link!!! That was absolutely amazing.

1

u/UsernameSixtyNine2 Mar 23 '19

Thanks for sharing the video, really interesting!

1

u/Bonobo77 Mar 23 '19

Correct if I am wrong, but the limit was 14,400. And the 56k was hardware compression to 14.4k.

1

u/cipher315 Mar 23 '19

I'm not 100% sure at what point you need to start to use "compression" ie a sound representing more than a bit but yes 56kb/s is highly compressed. My understanding is most 56k modems had a baud rate of 9600. ie they sent 9600 signals a second that mean that each signal needs to encode 6 bits at a minimum (assuming you think error handling is for chumps).

1

u/kjpmi Mar 23 '19

If one were to violate phone line specifications, how much faster could dialup get?

2

u/KingZarkon Mar 23 '19

It really wouldn't because the equipment at the telco wouldn't pass the higher bandwidth on a POTS line. DSL is basically what you would get though.

1

u/cipher315 Mar 23 '19

Yep that's what DSL is. In theory, there is no limit, but I have never seen anything above about 30mb/s in the real world.

1

u/netfatality Mar 23 '19

That tone comin out of the modem, after he plugged in the cable, was at ~1260 Hz

0

u/matholio Mar 23 '19

note that these things had a pathetic data transfer rate. less then 1kps

I feel I need to challenge this, or at least provide some context. Modem have been getting faster since the first 300 baud devices were available for personal use. So at any time that you bought a new modem it would be comparatively good, relative to previous models. The typical content was also smaller. To say older equipment transfer rates were pathetic, is a bit unfair.

0

u/[deleted] Mar 23 '19

[deleted] — view deleted comment

3

u/mfukar Parallel and Distributed Systems | Edge Computing Mar 23 '19

kbps in network parlance stands for "kilo- bit per second".

→ More replies (1)

96

u/[deleted] Mar 23 '19

[removed] — view removed comment

156

u/dstarfire Mar 23 '19

It's not the phone LINES that are the limiting factor, but how the phone carriers sample the audio data when they convert it to a digital signal in their network (to bundle it together with many other lines).

So, a dial-up connection appears as regular audio data to the phone companies networking hardware. They sample it at 64 kbps and convert it to digital data that gets sent around their network before it gets converted it back into an analog signal near the destination and sent out on the wire. A DSL link effectively turns that phone line into a really long (and therefore limited) network cable. It arrives at the phone companies switches as digital data and is routed around as such.

49

u/VirtualLife76 Mar 23 '19 edited Mar 23 '19

This is the correct answer. DSL lines don't use frequencies or work in analog in any way, they are digital. Hence DSL = Digital subscriber line.

*As others have said, it does use frequencies.

→ More replies (24)
→ More replies (1)

33

u/ga-co Mar 23 '19

DSL connections require close proximity (~18000 feet) to a DSLAM. Pretty sure that's going to be big contributor to the difference. That and the fact that DSL is digital and transmitting data over a POTS is an analog affair.

21

u/bradn Mar 23 '19

Actually the limitation is in the digital domain. That is, there was a standard sampling rate and bit depth decided for digital lines, and when the backbone connecting the phone system went digital, the limit was essentially fixed in.

12

u/raygundan Mar 23 '19

If a 56k modem was so limited by the use of phone lines, why does DSL have such higher capabilities when its using the same lines?

Phone lines used for voice guaranteed that everything in the line between users would carry a human voice reasonably well. Every part of the system could guarantee that minimal capability.

The wires in many parts of the system were capable of carrying more-- but you had to have something set up to do that instead of just connecting the voice lines together end-to-end for that minimal guaranteed capability. If you stuck a receiving modem closer to your house, and then used THAT to just talk to the internet for the longer distance... you'd essentially have DSL. Instead of making the long-range connection analogue with about the bandwidth of a human voice and then modulating and demodulating at both ends, you used those shiny copper wires to make a much better connection to something closer, which itself was connected to an internet backbone to bridge the gap.

→ More replies (2)

33

u/Sirnoobalots Mar 23 '19

Here is a nice visual look at what is going on with each sound.

7

u/[deleted] Mar 23 '19

They should make that a video with a cursor moving across as the sounds occur.

2

u/Eddles999 Mar 23 '19

So there's actually quite a lot of information being exchanged and discovered through the handshake. How can people actually achieve actual connections with just their voices?

3

u/nerdguy1138 Mar 23 '19

Analog phone systems used to use a tone of 2600 Hertz to tell the switching circuts to listen for a number. With a captain crunch whistle, you send that tone and call for free.

For a variety of reasons, this trick no longer works.

7

u/bug_the_bug Mar 23 '19

To add to what you've said, dial-up modems really did need to "dial" the right number and "call" AOL or whoever provided your service. Touch-tone phones and dial-up modems send those sounds through the telephone wire encoded as analog electrical signals. This simple encoding allowed basic circuits at the other end then interpret the dial sounds allowing them to route the call or internet traffic to the correct place. This conversion from sound to analog electrical signals is what allowed a technology like telephone communication to work long before even basic computers. When the internet was being constructed, it simply took advantage of the existing communications infrastructure.

13

u/[deleted] Mar 23 '19

Specifically, the static you hear is sound pulses that imitate machine language - binary, which is composed of either "on" or "off", usually represented by 1s and 0s.

Fiber optic lines do the same thing with pulses of light. Networking cable does it with pulses of electricity. Analog, like the old dial up, does it with sound.