this post was submitted on 06 Mar 2024
25 points (93.1% liked)

Linux

48012 readers
855 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Not sure if that title is accurate, this field is not my strong point. Basically I'm about to move homes. And in my new (temporary) home I wont have access to ethernet, plus my server doesn't have a network card. I was therefore wondering if it was possible to bridge a connection between my laptop to my server with an ethernet cable. This would obviously be a short term solution, but I'm wondering if it's possible and if so, how? Or is it better to buy a cheap network card?

My laptop is running NixOS and my server Unraid, if it should be to any help.

you are viewing a single comment's thread
view the rest of the comments
[–] Nollij@sopuli.xyz 1 points 8 months ago

Your description isn't very clear on what exactly you have, or what you need.

It sounds like you have wired NICs in both server and laptop, which will be physically close to each other, but your only connection to the Internet will be WiFi that you don't control. How accurate is that?

Next question is how do you want them to connect to each other? You can do a P2P wired connection, which is more complicated but fully isolates your traffic. It also means that, unless each device has a separate connection and an appropriate routing config, it won't be online to the Internet (unless you set up some form of connection sharing). You can also connect them to a router that has no Internet. Simpler than the above, but the same limitations.

You could easily and cheaply get a USB Wi-Fi NIC. The major downside is that all traffic will be going across the wireless connection, both ways. This makes it slow and unreliable.

You can also connect them to a modified router configured as a wireless bridge. DD-WRT and others can be configured in a different way than usual. The wireless router will provide wired LAN ports to your local network, but then use the wireless connection to connect to an upstream WiFi.

None of this has anything to do with Linux, BTW. Once you choose a path, you should be able to implement it in whatever OS (or multiple OSes) you would like. None of it is new or special. You might get more options if you post in the Homelab, Data Hoarder, or Self Hosted communities.