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

OSS Leftovers

  • Open Source Networking Days: Think Globally, Collaborate Locally
    Something that we’ve learned at The Linux Foundation over the years is that there is just no substitute for periodic, in-person, face-to-face collaboration around the open source technologies that are rapidly changing our world. It’s no different for the open networking projects I work with as end users and their ecosystem partners grapple with the challenges and opportunities of unifying various open source components and finding solutions to accelerate network transformation. This fall, we decided to take The Linux Foundation networking projects (OpenDaylight, ONAP, OPNFV, and others) on the road to Europe and Japan by working with local site hosts and network operators to host Open Source Networking Days in Paris, Milan, Stockholm, London, Tel Aviv, and Yokohama.
  • The Open-Source Driving Simulator That Trains Autonomous Vehicles
    Self-driving cars are set to revolutionize transport systems the world over. If the hype is to be believed, entirely autonomous vehicles are about to hit the open road. The truth is more complex. The most advanced self-driving technologies work only in an extremely limited set of environments and weather conditions. And while most new cars will have some form of driver assistance in the coming years, autonomous cars that drive in all conditions without human oversight are still many years away. One of the main problems is that it is hard to train vehicles to cope in all situations. And the most challenging situations are often the rarest. There is a huge variety of tricky circumstances that drivers rarely come across: a child running into the road, a vehicle driving on the wrong side of the street, an accident immediately ahead, and so on.
  • Fun with Le Potato
    At Linux Plumbers, I ended up with a Le Potato SBC. I hadn't really had time to actually boot it up until now. They support a couple of distributions which seem to work fine if you flash them on. I mostly like SBCs for having actual hardware to test on so my interest tends to be how easily can I get my own kernel running. Most of the support is not upstream right now but it's headed there. The good folks at BayLibre have been working on getting the kernel support upstream and have a tree available for use until then.
  • PyConf Hyderabad 2017
    In the beginning of October, I attended a new PyCon in India, PyConf Hyderabad (no worries, they are working on the name for the next year). I was super excited about this conference, the main reason is being able to meet more Python developers from India. We are a large country, and we certainly need more local conferences :)
  • First Basilisk version released!
    This is the first public version of the Basilisk web browser, building on the new platform in development: UXP (code-named Möbius).
  • Pale Moon Project Rolls Out The Basilisk Browser Project
    The developers behind the Pale Moon web-browser that's been a long standing fork of Firefox have rolled out their first public beta release of their new "Basilisk" browser technology. Basilisk is their new development platform based on their (Gecko-forked) Goanna layout engine and the Unified UXL Platform (UXP) that is a fork of the Mozilla code-base pre-Servo/Rust... Basically for those not liking the direction of Firefox with v57 rolling out the Quantum changes, etc.
  • Best word processor for Mac [iophk: "whole article fails to mention OpenDocument Format"]
  • WordPress 4.9: This one's for you, developers!
    WordPress 4.9 has debuted, and this time the world's most popular content management system has given developers plenty to like. Some of the changes are arguably overdue: syntax highlighting and error checking for CSS editing and cutting custom HTML are neither scarce nor innovative. They'll be welcomed arrival will likely be welcomed anyway, as will newly-granular roles and permissions for developers. The new release has also added version 4.2.6 of MediaElement.js, an upgrade that WordPress.org's release notes stated has removed dependency on jQuery, improves accessibility, modernizes the UI, and fixes many bugs.”
  • New projects on Hosted Weblate
  • Cilk Plus Is Being Dropped From GCC
    Intel deprecated Cilk Plus multi-threading support with GCC 7 and now for GCC 8 they are looking to abandon this support entirely. Cilk Plus only had full support introduced in GCC 5 while now for the GCC 8 release early next year it's looking like it will be dropped entirely.
  • Software Freedom Law Center vs. Software Freedom Conservancy

    On November 3rd, the Software Freedom Conservancy (SFC) wrote a blog post to let people know that the Software Freedom Law Center (SFLC) had begun legal action against them (the SFC) over the trademark for their name.

  • What Is Teletype For Atom? How To Code With Fellow Developers In Real Time?
    In a short period of three years, GitHub’s open source code editor has become one of the most popular options around. In our list of top text editors for Linux, Atom was featured at #2. From time to time, GitHub keeps adding new features to this tool to make it even better. Just recently, with the help of Facebook, GitHub turned Atom into a full-fledged IDE. As GitHub is known to host some of the world’s biggest open source collaborative projects, it makes perfect sense to add the collaborative coding ability to Atom. To make this possible, “Teletype for Atom” has just been announced.
  • Microsoft Is Trying To Make Windows Subsystem For Linux Faster (WSL)
  • Microsoft and GitHub team up to take Git virtual file system to macOS, Linux

Ubuntu: New Users, Unity Remix, 18.04 LTS News

  • How to Get Started With the Ubuntu Linux Distro
    The Linux operating system has evolved from a niche audience to widespread popularity since its creation in the mid 1990s, and with good reason. Once upon a time, that installation process was a challenge, even for those who had plenty of experience with such tasks. The modern day Linux, however, has come a very long way. To that end, the installation of most Linux distributions is about as easy as installing an application. If you can install Microsoft Office or Adobe Photoshop, you can install Linux. Here, we’ll walk you through the process of installing Ubuntu Linux 17.04, which is widely considered one of the most user-friendly distributions. (A distribution is a variation of Linux, and there are hundreds and hundreds to choose from.)
  • An ‘Ubuntu Unity Remix’ Might Be on the Way…
    A new Ubuntu flavor that uses the Unity 7 desktop by default is under discussion. The plans have already won backing from a former Unity developer.
  • Ubuntu News: Get Firefox Quantum Update Now; Ubuntu 18.04 New Icon Theme Confirmed
    Earlier this week, Mozilla earned big praises in the tech world for launching its next-generation Firefox Quantum 57.0 web browser. The browser claims to be faster and better than market leader Google Chrome. Now, Firefox Quantum is available for all supported Ubuntu versions from the official repositories. The Firefox Quantum Update is also now available.
  • New Icon Theme Confirmed for Ubuntu 18.04 LTS
    ‘Suru’ is (apparently) going to be the default icon theme in Ubuntu 18.04 LTS. That’s Suru, the rebooted community icon theme and not Suru, the Canonical-created icon theme that shipped on the Ubuntu Phone (and was created by Matthieu James, who recently left Canonical).

OnePlus 5T Launched

  • OnePlus 5T Keeps the Headphone Jack, Introduces Face Unlock and Parallel Apps
    Five months after it launched its OnePlus 5 flagship Android smartphone, OnePlus unveiled today its successor, the OnePlus 5T, running the latest Android 8.0 (Oreo) mobile OS. OnePlus held a live event today in New York City to tell us all about the new features it implemented in the OnePlus 5T, and they don't disappoint as the smartphone features a gorgeous and bright 6.0-inches Optic AMOLED capacitive touchscreen with multitouch, a 1080x2160 pixels resolution, 18:9 ratio, and approximately 402 PPI density. The design has been changed a bit as well for OnePlus 5T, which is made of anodized aluminum.
  • OnePlus 5T Launched: Comes With Bigger Screen, Better Dual Camera, And Face Unlock
    Whenever costly phones like iPhone X or Google Pixel 2 are bashed (here and here) and their alternatives are discussed, OnePlus is always mentioned. In the past few years, the company has amassed a fan base that has found the concept of “Never Settle” impressive.
  •  

Fedora 28 and Fedora 27

  • Fedora 28 Hopes To Improve Linux Laptop Battery Life
    Red Hat's Hans de Goede is spearheading an effort to improve the Fedora battery life of laptops -- and should conserve power too for desktops running Fedora Workstation -- for the current Fedora 28 cycle.
  • Fedora 27 Atomic Host is available on multiple architectures
    The Fedora 27 Atomic Host now supports multiple architectures! Along with the x86_64 architecture, Atomic Host is also available on 64-bit ARM (aarch64) and PowerPC Little Endian (ppc64le). Both aarch64 and ppc64le architectures receive Atomic OSTree updates in the same way x86_64 does.