Could someone explain why we can’t just plug the average PC etc into a ‘raw’ internet line (like just entering a house) and have a mini modem on the motherboard do the translation work?

I know there’s a limit to IP addresses, and that it’s maybe easier to have a little box do the work where it enters a building.

… but apart from that?

  • Nightwatch Admin@feddit.nl
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 year ago

    I think you wonder whether your PC can be connected directly to the internet. Yes, like every server, router, firewall, technically you can. You would need to set up your connection completely manually, as there is no one doing that for you.

    However, connecting millions of people is an epic task in itself. You would need at least as many public IP addresses as consumers have devices, and find a way to drag ethernet cables over enormous distances… while these won’t exceed about iirc 120m until signal loss is killing the connection. Then you would need all those consumers to have intricate network knowledge too.

    Hence why we’re modems that can use long distance connections (like DSL over phone lines), that can arrange internal network connectivity without you having any knowledge, and apply internal IP space instead of public. Also your ISP can apply efficient internal routing and even internal IP space to save on rare and expensive public space.

    There is much more to this, but I wanted to keep it ELI5. HTH!

    • Lophostemon@aussie.zoneOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      So theoretically if you didn’t need more than one device at your end connected, you could (in theory) plug the internet cable straight into a pc. In theory.

      • Nightwatch Admin@feddit.nl
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Yes. In fact, that is what a server does. It is much like your PC, just heavily optimised for providing services (like websites) to many users. There is no modem between the server and the first router, just straight ip with the router as the default gateway.

      • HarriPotero@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        You can. In practice

        If you have two or more network adapters in your computer it can do network address translation to share your connection with your other devices that would use private IP addresses. If one of those network adapters is WiFi, your computer can act as a wireless access point.

  • Goat@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    There’s no modem needed, actually. All of that can be done in software, and you can configure a desktop as a PPPoE client (that’s the protocol your router uses to log into your ISP’s network and receive internet connectivity). Obviously, you’d need to configure that PC as a router for other computers to also share the connection, and running a typical interactive system 24/7 as a router is hideously inefficient in terms of power use.

    • sunbeam60@lemmy.one
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Some ISPs just hand out an IP with a DHCP server directly on the line, so it might be even simpler.

      Setting up your own PPPoE client is extremely easy, so either way you most definitely can do what OP wishes for.

  • shrugal@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Most routers are actually small PCs, just optimized for the specific purpose of connecting to the internet over a phone or TV line, providing a separate internal network in your home and bridging the two. But you could do that with any regular PC with the right hardware.

    Your ISP could also just provide you with a standard network connection, so you don’t have to use a modem to transmit data over a line that was originally built for a different purpose. This is not very common since most houses still predate the internet, but it might become the norm at some point.

    The main benefit of having a separate network is that devices in it are not directly visible and accessible from outside. All others see is your router, and they can only access your devices if you establish the connection first or manually forward ports. You can also structure the local network however you like (e.g. assign IPs and domain names, create subnets), without being restricted by or affecting the outside world.

  • Lophostemon@aussie.zoneOP
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Thanks for all the responses. V interesting.

    The other day while shopping for a new modem-router, we kept finding good deals only to realise that they were only routers. No fibre-to-the-house for us yet so dems no good. Don’t want to chase around finding a separate modem too. Got a TP-Link Deco in the end. It seemed the easiest / best thing available to the physical Saturday consumer in need.

    • jamiehs@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Just to add a bit of discussion on the modem vs. modem + router thing. I know it’s a pain to have to get two devices; cost is higher; also two things to worry about hooking up/configuring.

      At my previous place I bought a Motorola modem in 2012 or so. I kept that modem for 10 years and it chugged along delivering the speeds I paid for. Because it simply had an Ethernet port on the back of it, it meant that I went through 3 or 4 routers in that period. Some were replaced because I got a router for free from a friend and wanted to install custom firmware. Some were swapped in because the previous one failed, and the last one was added because I upgraded to a Ubiquiti Edge Router and two separate WAPs.

      None of this would have been possible with a combo device.

      Again, I’m not trying to convince you or anyone else that this is a path for everyone, just adding a different way of viewing the two devices situation. It offers you flexibility and plug-ability.

      • Lophostemon@aussie.zoneOP
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Sure. Sounds good. I saw lots of stand-alone routers on the shelves, but nary a solo modem.

        My query was purely theoretical anyway.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    That’s actually more or less how it used to work. You’d plug your computer directly to the internet and connect that way. You’d have to dial into the internet. Constantly being online was a novelty. Especially when you paid by the minute. But then people started having more than one PC and thus home routers became a thing.

  • sunbeam60@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    If your ISP uses an Ethernet cable into your premises, then you most likely can do exactly that. Either you’ll get an IP from the ISP’s DHCP server or you’ll have to configure a PPPoE client with some login details before the ISP issues you an IP and connectivity.

    To do that to every device on the globe you’ll need a much larger address space to IPv6 is your only choice.

    That said, be mindful of the security that a router provides. Connecting your PC this way means you desperately need to keep it up to date and running restricted firewall.

    Some ISPs run a coaxial cable into your house, though. Most of these use (Euro)DOCSIS and finding an interface card for a regular PC seems impossible.

    All in all, it’s possible but it depends on the cabling standards and the protocols spoken. Don’t forget, at the end of the day, your modem is just a computer running Linux, most likely.