Language Selection

English French German Italian Portuguese Spanish

a simple network question

Filed under
Hardware

Hello Forum!

I have a simple network question. I have a Linux Distribution on a lapton and I have the network hardware ready so so that I can connect to the internet. I already have a computer connected to the internet. So I suppose in order to have two computers I need some sort of hub device. Can anyone offer a suggestion about this?

Hub

So I guess I can just go to my local electronics / computer parts store and buy a hub. I wonder if my internet service provider needs to be informed about all this.

re: hub

A hub won't work if you only get 1 public IP from your ISP.

As mentioned, you probably need a cheap cable/dsl firewall (hard to tell exactly since you don't give the details of your existing setup).

Not only does that do the NAT (so you can have numerous private IP's and only 1 public IP) but most come with both a WAP and wired ports. For a few bucks more, you can get one that does SPI, which adds a layer of protection to simple NAT'd firewalls.

I wouldn't obsess over the brand, all the cheap ones (i.e. $40-$80) perform pretty much the same functions and for that price - anything over a year of 24/7 operation is bonus time in my book.

re: hub

well, a hub would work if he wanted to do masqing and forwarding through his desktop. Set up dhcpd or use static internal ips... even a crossover cable would work for connection sharing if he's trying to get by real cheap.

But yeah I agree the best advice is to get a router with the built in firewall and forwarding stuff. As stated, I'd suggest a wireless router so he could fully enjoy that laptop.

Get a router

It's unclear from your initial post whether you

- want to configure the computer you already have connected (to...what...a cable modem?) to share your Internet connection with other computers (which would also require two NICs in that PC, right?) or
- if you're just looking for the easiest way to connect your (let's assume) cable modem to more than one computer.

Getting a router, connecting your cable modem to it, and then connecting multiple computers to the router's ports would be the easiest solution (unless you know or want to learn how to configure a computer to act as a router).

Plus you'd get the benefit of the router acting as a firewall, since they usually do NAT. And Internet connection setup would also be very easy, since routers usually do DHCP.

(My experience with Netgear is good. I have an old (out of production) Netgear RP114 that's been solid. When we got wireless laptops, I bought a (ubiquitous) Linksys WRT54G to replace it, but found that the Linksys choked on bittorrent traffic, which caused me to have to frequently reboot the cable modem. So now the Linksys is plugged into the Netgear and is acting as a switch.)

As long as you've just got a half dozen computers or less on a home network with a broadband connection, you usually don't have to tell your ISP. But read your TOS to be sure.

(I defer to Susan. She's got way more experience than me.)

- Andrew

re: network question

Well, if you're going to do the firewall/forwarding from the desktop, a hub would work - or even just a crossover cable and another nic. But if you'd rather let the new device do the forwarding, then get a switch. Most have a firewall built in that will forward traffic to and from your cable or dsl modem. Any good commercial switch will work. In fact, if it's a laptop, you might even prefer to get a wireless router (which have rj-45 slots for your desktop).

I've had some bad experiences with netgears, in that they don't seem to last long. dlink and linksys are pretty good I reckon.

More in Tux Machines

Plasma Bigscreen – Updated Beta 2 Image Release For Raspberry Pi 4

Plasma Bigscreen project is pleased to announce the release of a newer beta image for the Raspberry Pi 4. The beta 2 release adds several new features and includes a number of bug fixes. Read more

Audiocasts/Shows: Lubuntu, Bad Voltage, Linux Gaming and Linux in the Ham Shack

  • How to install Lubuntu 20.10 - YouTube

    In this video, I am going to show how to install Lubuntu 20.10.

  • Bad Voltage 3×17: Such People In’t

    Stuart Langridge, Jono Bacon, and Jeremy Garcia present Bad Voltage, in which the reality distortion field is strong in this one, the middle name game continues unsuccessfully...

  • Linux Gaming and Lonely Noobs (w/ Batcastle of Drauger OS) - YouTube

    Welcome to the first in a series of conversations with Thomas of Drauger OS, a Linux distro optimized for gaming. Over the next few videos we'll discover his Linux origin story, hear about his new project that aims to help ALL gaming-focused Linux distributions, and learn more about Drauger OS.

  • LHS Episode #381: Enter the Dragon | Linux in the Ham Shack

    Welcome to the 381st episode of Linux in the Ham Shack. In this short topics episode, the hosts discuss SpaceX, the spectrum around 5.9GHz, Open WebRX, the non-free part of free software, the latest release candidate of WSJT-X, Kali Linux and much more. Thank you for listening and have a fantastic Thanksgiving week.

Best USB bootable distros of 2020

Trimmed distros aren’t only designed for ageing hardware. In fact, there are several lean distros that have been pruned and tuned and optimized for booting off of USB. There are several uses for shoving Linux distros inside a USB flash drive. For instance, they can be quite handy when you need to use somebody else’s computer. Or, perhaps you need to boot into a live Linux environment to troubleshoot issues with your computer, or perhaps to transfer data from a dying disk. Read more

Why MX Linux reminds me of old-school Linux--in the best ways

You might not know this, but according to Distrowatch, MX Linux is currently the No. 1 most downloaded Linux distribution. You're probably thinking, "MXWhat?" That's right, a distribution that seemingly came out of nowhere has shot up the ranks to the top of the class...sort of. MX Linux isn't all that new. In fact, it's been around since 2014. MX Linux was created as a cooperation between former MEPIS Linux communities and antiX, a lightweight, systemd-free Linux distribution. Although MX Linux defaults to the Xfce desktop as their flagship, you can download and install versions with KDE or Fluxbox for either a slightly more modern desktop (KDE) or a throwback to old-school Linux (Fluxbox). Read more