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

GNOME Software 3.22 Will Support Installation of Snaps, Flatpak Repository Files

The GNOME 3.21.4 desktop environment was released last week, which means that many of the default applications and components were updated with bug fixes and various enhancements. Read more

openSUSE Leap 42.2 Now Merged with SUSE Linux Enterprise 12 Service Pack 2

The development cycle of the openSUSE Leap 42.2 operating system continues, and today we would like to inform our readers about the availability of the third and last Alpha build in the series. Read more

Linux 4.7 and Linux 4.8

  • Linux Kernel 4.7 Officially Released, Introduces Support for Radeon RX480 GPUs
    Today, July 24, 2016, after a week of holiday fun, Linus Torvalds has had the great pleasure of announcing the release of Linux kernel 4.7 for all GNU/Linux operating systems. The Linux 4.7 kernel has been in development for the past two months, but that shouldn't surprise anyone who is either reading our website on a regular basis or keeping pace with the Linux kernel development cycle, which was very normal for this branch. A total of seven Release Candidate (RC) testing builds were released since May 29, 2016, which introduced numerous new features and improvements.
  • The Biggest Features Of The Linux 4.7 Kernel
    If all goes according to plan, the Linux 4.7 kernel will be released before the day is through.
  • The Size Of Different DRM Graphics Drivers In Linux 4.7
    Last October I looked at The Size Of The Different Open-Source Linux DRM/Mesa Graphics Drivers, but with it being nearly one year since then and Linux 4.7 due out today, I decided to run some fresh L.O.C. measurements on the popular DRM/KMS drivers to see their current sizes. This lines-of-code counting was mostly done out of a curiosity factor. In this article I'm just looking at the in-kernel DRM code and not the Mesa drivers, DDX drivers, LLVM back-ends, or anything else in user-space related to the open-source graphics drivers.
  • The Btrfs Windows Driver Updated With RAID Support & Other Features
  • Hardened Usercopy Appears Ready To Be Merged For Linux 4.8
    Yet another Linux kernel security feature coming to the mainline kernel that appears readied for the Linux 4.8 merge window is hardened usercopy. Hardened usercopy was originally based upon GrSecurity's PAX_USERCOPY feature but reworked into a whole new form, according to developer Kees Cook at Google. This hardened usercopy is to be exposed as the CONFIG_HARDENED_USERCOPY option within the kernel.

Ubuntu MATE 16.04.1 LTS Fixes the Raspberry Pi Partition Resizer, Adds MATE 1.14

As part of the Ubuntu 16.04.1 LTS (Xenial Xerus) announcement, Martin Wimpress informs us about the release of the Ubuntu MATE 16.04.1 LTS operating systems for users of Ubuntu MATE 16.04 LTS. Ubuntu MATE 16.04.1 LTS is not a major release, and if your Ubuntu MATE 16.04 LTS (Xenial Xerus) installation is up to date, you already have the latest software updates and security patches that have been injected in the new installation mediums generated mainly for those who want to reinstall or deploy the OS on new systems. Read more