LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2015, 08:52 AM   #1
punchy71
Member
 
Registered: Dec 2011
Posts: 160

Rep: Reputation: Disabled
Home networking question for a beginner


Hello,
I know that there are different styles of networks. I'm considering attempting to put in a very basic, simple, and small local area home network... which style or type should I use and what points should I watch out for in putting one in? Also what kind of hardware and software do I need to install on it?
Thank you
 
Old 07-10-2015, 09:09 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 359
Blog Entries: 8

Rep: Reputation: 83
a simple approach would be to just use the 4port / wifi router that your ISP gave you.
- plug any Desktops into some of those ethernet ports,
- connect the other things via the wifi connection.

the Windows based ones will detect each other & connect in a simple network.
- Linux ones should not need very much configuration, to get them networked, as well.

if you have a wifi connected printer, then connect that via usb to one desktop,
and use it's wifi connection for the rest of the devices.
 
Old 07-10-2015, 06:42 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Almost everyone uses tcp/ip. It is almost defacto standard on common OS's. The hardware is almost always built into the home computers. So, you only need some way to attach the computers.

I use homeplugs but many people use wireless or dedicated wires.
 
Old 07-10-2015, 09:16 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
Your user agent icon indicates that you are using Ubuntu or one of its derivatives.

This article should help:

https://www.howtoforge.com/creating-...er-with-ubuntu

If you are not using Ubuntu, the basic principles will be the same. The HOWTO might a little different.

I use Samba for my own file sharing (rather than NFS), as there are both Windows and Linux computers (and occasionally a Mac) in this house.
 
Old 07-12-2015, 10:57 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,321
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
If all your computers have ethernet. And are younger than 2008. You just need ethernet cables to connect two computers. And potentially multiple NICs or a multiport hub if you have more than two computers. Before 2008 the MDI-X standard wasn't well adopted or didn't exist and you might need a cross-over cable to connect two computers directly. Otherwise cables and something like an asus rt-n12 should get you a basic home network. It's also nice in client bridge mode to act as a wifi dongle that you attach to with ethernet.

There's basically three things to be familiar with as any one that is not setup or setup in a non-productive state can prevent your network from working. You have your interface, a route, and a firewall.

# ifconfig -a
(without the -a it only lists configured interfaces)

# route -n
(there's also netstat -r)

# iptables-save
(it doesn't actually save, but lists the current rules as they would appear in the save file)
 
Old 07-12-2015, 09:30 PM   #6
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by Shadow_7 View Post
# ifconfig -a
(without the -a it only lists configured interfaces)

# route -n
(there's also netstat -r)
Sorry to nitpick, and it might be off-topic. I agree that these are the most important commands, but the venerable 30 years old ifconfig, route and netstat are on the way to retirement. As an example, Centos/Redhat 7 doesn't have ifconfig anymore. Instead use
Code:
# ip addr
# ip route
The first lists your network interfaces, their status and MAC and IP addresses.
The second lists your network routes.
The replacement for netstat is ss (socket status); not sure if it has a -r option.

Last edited by berndbausch; 07-12-2015 at 09:31 PM.
 
Old 07-12-2015, 09:35 PM   #7
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by jefro View Post
I use homeplugs but many people use wireless or dedicated wires.
It may be worthwhile pointing out that wireless doesn't work well in some homes, and some people report health issues (I used to laugh about it, but a medical doctor friend of mine who is not so easily fooled by new-age assertments has exactly this problem). If you can't pull cables through your house, Powerline (or Homeplug as you call it) can be an excellent alternative. You can even use all of these technologies at once.
 
Old 07-12-2015, 10:27 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
Slackware also includes the ip command. It's quite versatile, but I've been just too lazy to learn it yet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginner to networking and servers.... Johnnie J Linux - Newbie 15 05-22-2009 06:02 AM
Linux networking beginner questions jcafaro10 Linux - Networking 3 04-09-2009 07:28 PM
Any good books on linux networking for a beginner? (re: OpenWRT) sofakng Linux - Networking 1 04-26-2005 01:18 AM
Beginner networking: sharing a drive LancerNZ Linux - Networking 3 02-25-2005 02:11 PM
Home Networking Question(s) gazza Linux - Networking 11 11-29-2004 07:17 PM


All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration