I know that Comcast can be a bit dense, but if the tech came to the house, I'm pretty sure he would have tried the shut down and restart everything routine.
Did he have a laptop with him to test the connection?
Jim is absolutely correct in stating that the internet is platform/OS agnostic as far as the connection itself goes. You can still connect ancient Macs running OS 8.6 or even older; the problem there will be that the browsers fall over when they encounter anything but the simplest HTML. Your Mac per se is not the issue.
So, where to now? No harm in running through Harv's restart the modem routine again - you can then at least tell Comcast that you've just done that. I would call them back and ask them to ping your modem to make sure that it's not the issue, though as I stated above, I doubt it is. Ask them what they can "see" from their end. Ask for a second-tier tech if you get someone who doesn't seem knowledgeable or helpful. Tell them politely but firmly that the operating system and platform is NOT the issue, but you are trying to figure out if there is in fact a hardware issue on your end.
It is possible that the ethernet on your iMac has died. You've never used it, having dial-up, so wouldn't have noticed. Is there any chance you can take your iMac over to a friend's house who has cable internet and try connecting it to their connection? It will be especially easy if they have a router with a spare wired port - you can simply connect your iMac with the ethernet cable and start her up, and it won't require the friend's modem to be restarted.
Given the iMac's current value, I'm not sure that I'd advise taking it to a repair shop - you'll pay a minimum of about $60-$90 for diagnosis and if that diagnosis is "dead ethernet" you're not really much further ahead in that repair isn't worth it. Better to put the money towards a new machine.
If you do finally determine that the iMac's ethernet is indeed dead, then I would strongly advise that you buy an Intel Mac; anything else is about to become non-upgradeable as far as the OS is concerned. Mac OS 10.6 will not support PPC Macs from all reports. The lowest price MacBook right now is about $999, though can be had for less through places like
MacMall where it also comes with some nice freebies if you don't mind mail-in rebates. Used is another option - but only if you can find a good deal and are very confident in knowing what you're getting and who you're dealing with. Buying new you do get a one year warranty - used, you will not get that unless the owner is selling a Mac that is less than a year old and/or a machine with AppleCare. Laptops can be dropped/abused easily, so you need to be very, very careful.