Home Networking CCCC Linux Desktop SIG August 20, 2007.

Slides:



Advertisements
Similar presentations
Fred P. Baker CCIE, CCIP(security), CCSA, MCSE+I, MCSE(2000)
Advertisements

1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Configuring your Home Network Configuring your Home Network Jay Ferron ADMT, CISM, CISSP, MCDBA, MCSE, MCT, NSA-IAM.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
1 Chapter 19 Networks. 2 What’s Inside and on the CD? In this chapter you’ll learn: –Basic network terminology –To identify network components –About.
Wi-Fi Structures.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Introduction to Computer Networking. Wireless Network.
Module 9 - Networking. 1.Network Concepts and Commands 2.Network Files 3.Network Services 4.Configure a network device 5.Network File-System (NFS & CIFS)
INFO 320 Server Technology I Week 6 Networking 1INFO 320 week 6.
System Administration: Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
Basic Network Training. Cable/DSL Modem The modem is the first link in the chain It is usually provided by the ISP and often has a coax cable connector.
11 NETWORK PROTOCOLS AND SERVICES Chapter 10. Chapter 10: Network Protocols and Services2 NETWORK PROTOCOLS AND SERVICES  Identify how computers on TCP/IP.
1 ISA Server 2004 Installation & Configuration Overview By Nicholas Quinn.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Chapter 7: Using Windows Servers to Share Information.
Internet Addressing. When your computer is on the Internet, anything you do requires data to be transmitted and received. For example, when you visit.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
07/11/ L10/1/63 COM342 Networks and Data Communications Ian McCrumRoom 5B18 Tel: voice.
Internet Connection Sharing Ben Ramig Erik Tierney.
Computer Networking Part 1 CS 1 Rick Graziani Cabrillo College Fall 2005.
Home Networking. Objectives Understand the basics Network Addressing Learn the basic hardware needed to form a home network Learn basic Firewall functionality.
Linux Networking #2 Dr. Michael L. Collard 1.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
CTSP TRAINING Router 101 And Networking Basics. You Don’t Need Internet Access to Run or Connect your devices to an Ethernet switch or Router Enable DHCP.
Common Devices Used In Computer Networks
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Networking Components Presented by Jaisson Mailloux LTEC 4550 Network Systems Administration.
Portable SSH Brian Minton EKU, Dept. of Technology, CEN/CET)‏
0Gold 11 0Gold 11 LapLink Gold 11 Firewall Service How Connections are Created A Detailed Overview for the IT Manager.
HUB Connects multiple workstations, servers, and other devices to a network. Can be used to connect two or more computers to one network port. Handles.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Secure Wireless Home Networks Area 2 SIR Presentation Nov. 18, 2004 Dean Steichen Br. 8.
NETWORKING COMPONENTS AN OVERVIEW OF COMMONLY USED HARDWARE Christopher Johnson LTEC 4550.
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
NetTech Solutions Common Connectivity Problems Lesson Eight.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Linux Operations and Administration
How To Set Up A Wireless Network. What is a wireless network  A wireless network is a computer network that allows computers and other electronic devices.
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
Wireless Access Point. What is a WAP?  A Wireless access point (WAP) is a device that allows a wireless device to connect to a wired network.
Routing with Linux 'cause you really love the command line
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
Domain Resolution Configuration Files: File: /etc/resolv.conf - host name resolver configuration file search name-of-domain.com - Name of your domain or.
Wireless Network Security Wireless Gateways For Home And Office Use Muhamad Nur Ariffin Ajis TSI
Wireless Networking What You need to remember. What you need: A wireless router (Microsoft MN-700 Wireless router shown) A Wireless Adapter (Microsoft.
Wireless Ethernet Programming
Chapter 7: Using Windows Servers
Linux network troubleshooting
Chapter Objectives In this chapter, you will learn:
Network Configuration
Lab 05 Firewalls.
LINUX ADMINISTRATION
Installing and Troubleshooting Networks
FTP - File Transfer Protocol
How To Set Up A Wireless Network
Introduction to Networking
Introducing To Networking
Welcome To : Group 1 VC Presentation
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Hardware Appliance Installation and Configuration
Network Models, Hardware, Protocols and number systems
Wireless Home Networking Chapter 3 Outline
How To Configure Hotspot in Virtual Mikrotik on VMware
Module 12 Network Configuration
Instructor Materials Chapter 8: Applied Networking
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Home Networking CCCC Linux Desktop SIG August 20, 2007

Overview ● Goals ● Simple Setup ● Hardware ● Software

Goals ● Share your Internet Connection ● Share your files ● Archive your files

Soapbox ● This is an ugly hack. ● The real solution is to use a router. ● You need this hack because your ISP has not given you proper address space for your computers. ● Some people don't want the internet to work the way it should. You should have a name space and end to end visibility of all of your computers. ● IPV6 can fix this, but adoption is slow.

Simple Setup

Hardware ● Old Computer ● Cable/DSL Modem and Two Ethernet Cards. ● or Ordinary Modem and Ethernet Card ● Wifi Access Point and or Hub. ● Big Fat Hard Drive or Two.

Old Computer ● This is for your data server and gateway. ● Anything Will Do. ● PII, K6/2 and above will do X comfortably, so that you can use GUI configuration tools.

Modem ● Cable is fastest in BR. ● DSL has fewer restrictions. ● Dial up works but is slow and connection must be initialized. Be sure to use a real hardware modem. Old ISA and external are best.

Network Cards ● One is for the cable modem ● The other is for the local network ● Anything that works will do, but matching fast cards perform best.

Hubs and Access Points ● Wifi is cheap and easy if all you do is change the administrator password. ● Simple B is all you need. Others offer more range and speed. ● You can use most Wifi access points as a hub. ● A regular wired hub and static IP addresses simplify file sharing internally.

Big Fat Hard Drive ● Files take up space so bigger is better. ● Any drive will do, slow and quiet is best. ● It's a good idea to duplicate your archive with more than one machine, so get two drives and stick one in one of your regular computers.

Software ● Network Configuration. ● SFTP Server ● Kguarddog ● IP Chains / IP Tables ● Konqueror Web Browser ● Grsync

Network Configuration ● Gateway Configuration ● Workstation Configuration ● Both only require modification of a few files.

Gateway Configuration ● Interface cards ● Hosts File or DNS

Interface cards ● Magic file is “/etc/network/interfaces” ● Half of it is already working if you installed with a cable modem. ● Your first card is “eth0” and it should be working by DHCP already. ● Your second card is “eth1” and you will want to give this card a static IP address. ● Let's look at an example.

# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping eth0 script grep map eth0 mapping eth1 script grep map eth1 # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet static address netmask broadcast

mapping eth1 script grep map eth1 # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet static address netmask broadcast Important parts ● Duplicated Mapping ● Left eth0 alone ● Create or Modify eth1 with: – “static” instead of “dhcp” – address, netmask and broadcast shown or from another example. ● Works for me!

Interface cards ● Once you have modified /etc/network/interfaces ● Restart your network with: “/etc/init.d/networking restart” ● Or just try to bring up the interface with: “ifup eth1” ● Xandros and friends have GUI tools that do the same.

Hosts File ● I like static names for my computers. ● “/etc/hosts” keeps track of them. ● The x.x address space has been set aside for local networks. ● Here's an example of what to add: erris180.btnrug1.la.home.com erris erris150.btnrug1.la.home.com erris agamemnon.btnrug1.la.home.com agamemnon familypc.btnrug1.la.home.com familypc old76.btnrug1.la.home.com old76

Hosts File ● Demo ping of home systems by name. ● If you don't like this, you can install and configure a DHCP server, or just use the one in your wifi access point.

Client Configuration ● Same thing, but clients only have one static interface. ● Same hosts file. ● Here's an example /etc/hosts/interfaces: # The primary network interface #allow-hotplug eth1 iface eth1 inet static address netmask broadcast gateway

SFTP Server ● Secure File Transfer Protocol is used to move files safely under encryption. ● It takes a password or key authentication to keep unwanted users out. ● Get the “openssh-server” package ● Demo CLI client, “sftp homebox” ● Demo Konqueror, “sftp://homebox” ● Cool, eh?

SFTP Server ● Password Warning !!!! ● Internet Facing Passwords Must Be Good ● Use a letter or two from each word in a phrase from a book you own. Highlight the phrase. ● Don't be afraid of writing the phrase and keeping it in your wallet – someone who has access to your wallet that's interested in your computers already has you.

KDE GuardDog ● This is your MASQUERADE firewall. ● Get package guarddog and guidedog ● Run guidedog to start masquerading. ● Your internal computers should now see the big bad internet. ● Forward ports if you want. ● Run guarddog if you want to block ports.

Grsync ● Uses sftp to sync files with a nice GUI. ● Get package grsync. ● Start it from a CLI because you will be asked for a password there.

Grsync ● Demo grsync ● Notice source and destination conventions ● Shown is a transfer from a local machine to a directory on “homebox”

Fun stuff ● Demo Noatun ● Demo http over sftp ● Demo “ssh -X hostname” tunnel into home network