Linuxathome.net - Linux news and help for home broadband internet users
 Home | Files | Case Mods | Reviews | Forum | Search | Links | RDF Feed | Contact
Sections

Installation Guide
Setting Up
Internet Sharing
Port Forwarding
Services Config
Installing Programs
Game Servers
Using IPTables
Useful Commands
Kernel Upgrading
System Recovery
Red Hat 7.2 Setup
OpenBSD Setup
BPA Login Setup
PPPoE Setup
Add New Hardware
Using PPTP VPN
VMware ESX Cmds
Our RC5 Team
Folding@Home
Help Support Us

 
Articles
Linux Security
NetStats FAQ
Linux KIS Trojan
CAT5/LAN Cables
Domain Names
Presario RH Install APC Debian DVD
 
Slashdot.org
  • Python Developer Survey: 55% Use Linux, 6% Use Python 2
  • 'Is It Ethical to Have Children in the Face of Climate Change?'
  • Tech Worker Builds Free AI-Powered Tool For Fighting US Health Insurance Denials
  • Oceanographers Mapping Underwater Mountain Find Flying Spaghetti Monster
  • Washington Post Calls Telegram 'a Haven for Free Speech - and Child Predators'
  • Inside Boeing's Factory Lapses That Led To the Alaska Air Blowout
  • Long Covid Knocked a Million Americans Off Their Career Paths
  • How Not To Hire a North Korean IT Spy
  • How a Group of Teenagers Pranked 'One Million Checkboxes'
  • Woman Mailed Herself an Apple AirTag To Help Catch Mail Thieves
  • Google Play Store Can Finally Update Multiple Apps At Once
  • Scientists Detect Invisible Electric Field Around Earth For First Time
  • US Government Opens Up 31 Million Acres of Federal Lands For Solar
  • Apple Stands By Decision To Terminate Account Belonging To WWDC Student Winner
  • Wells Fargo Worker Dies At Desk, Nobody Notices For Four Days
  •  
    Affiliates

    TweakTown.com
    ZGeek.com
    pebkac-consulting.com.au

      Optus@Home Cable Internet Connection & Sharing using Red Hat 7.2

     

    The following mini How-To was written by fat tony (from AusForum) to help people wanting to setup Red Hat 7.2 as an Optus@Home gateway server. It covers all the necessary points for setting up a machine, configuring your firewall and setting up your Windows clients.

    You can also download this mini How-To in PDF format here.

     

      Red Hat 7.2 Mini How-To

     
    Purpose
    • To be able to Setup your Optus cable connection and share the connection on your home LAN.
    • This howto is just one of many that u can use to setup your connection.
    • This howto is aimed at people who have a small fully functional LAN setup (via windows or another operating system) and are contemplating or curious about Linux with no prior experience with Linux.
    • There are other ready-made options that are available, e-smith, smoothwall, clarkconnect and others that will accomplish the same purpose and you should explore these options.
    • Preferably, you will want to install Linux on a separate machine and not on your existing gateway. Therefore, if you encounter any major problems, you can always revert to your windows gateway.
    • If you decide to use your existing gateway (and not dual-boot, highly recommend that you don't dual boot), please ensure that you backup as Linux will erase all your files.
    • I have opted not to use the dhcpd/dhcpcd method because on a small home LAN, it is easy to setup clients manually.

     

    Requirements
    • A new(ish) version of a Linux distribution with GNOME or at the least gnomelibs and gnome core. (This method has been used on Red Hat version 7 and will work with most other popular distributions)
    • A computer with two network cards.
    • * CPU approximately Pentium II or higher.
    • * RAM 32MB or higher.
    • * Hard Disk at least 800MB or higher.
    • CD-ROM drive
    • A Cable Modem fully Setup and Computer Monitor etc.

    * Recommendation

    Firestarter - A firewall/router tool that can be obtained from:

    http://firestarter.sourceforge.net/download.html (get the rpm version under Binary packages)

    http://firestarter.sourceforge.net/index.html is the home page for this tool.

    http://firestarter.sourceforge.net/cgi-bin/faqview.cgi will answer most of what you need to know.

     

    Before We Begin
    • Ensure that you do not use any default firewalls with the distribution that you use.
    • Install GNOME as either your default windows manager or gnomelibs and gnomecore (if you plan to use KDE).
    • Keep your hardware simple; the Linux gateway does not need any thing fancy.
    • Download the Firestarter tool and print any relevant information from the third link above.
    • If you have a windows cable gateway, type the command winipcfg (expand for all details) or ipconfig /all from a command prompt. Note down the dns server ip addresses and the connection-specific dns suffix.
    • Stay calm, this guide does not make any guarantees that it will be all smooth sailing.
    Procedure

    Even before connecting the cable to the modem, you need to ensure that both your network adapters have been detected and setup. To do this, open a console prompt and type the command: ifconfig

    The cxxxxxxx hostname is the name given to you by your Optus installer (Due to new changes to the Optus@Home network you are not required to have this as your hostname, you may choose anything you wish). Add the domain as above.

    Click the Hosts button and make it look like this:
    Note: To make a change, simply click the edit button from here on in each illustration

    The name firewall can be anything.

    Click the Interfaces button:

    Edit eth0 and eth1 to look like the above.

    eth0 is your external adapter connected to your modem
    eth1 is your internal adapter

    **** IMPORTANT ****

    If you do not see the two adapters eth0 and eth1 then you have a problem. You need to sort this out before u proceed. Stop and have a look at the last page.

    Click the Routing button:

    You are almost done and ready to connect.

    Before you reboot, install the Firestarter package mentioned on page 1.

    From their FAQ:
    If you got the RPM binary version, type "rpm -Uvh firestarter*" in a console to install it (you will need to be in the directory where this package resides). Make sure you are in the directory you downloaded firestarter to and that you are logged in as root. Alternatively, you can use a graphical RPM manager like GnoRPM.

    Once installed, check your gnome menu to ensure an icon exist.

    Connect the cable to your modem and reboot. Watch the screen as it scrolls by. If all goes well you should see:

    Loading… eth0 [ OK ]
    Loading… eth1 [ OK ]

    Once you have logged in, from a console prompt type the command:

    ifconfig

    You should see three adapters displayed with their statistics. eth0, eth1 and lo.

    Next, we will setup Firestarter.

     

    Firestarter Setup

    Click on the Firestarter menu item and you will see this:

    Click the first button, which is the wizard, click next. Select eth0 as your external adapter, select start on boot and select ip by dhcp.

    Click next.

    Click next.

    Click next.

    Click next.

    Click next and finish. This gateway is now ready.

     

    Client Configuration

    On the first client PC (in this case I am using Windows 2000 Professional Edition), right click on network neighbourhood, right click on your adapter, select properties:

    For Internet access all u need is what I have above. You may also have the other two options selected.

    Highlight Internet Protocol (TCP/IP) and click properties:

    If your not sure of the Preferred DNS servers, look back at page 1 where you noted them down from your windows network. What? you forgot

    No problems, go back to the gateway and from a console prompt type:

    cat /etc/resolv.conf

    This should give you the details you will need. Click Advanced:

    Note: the DNS suffix for this connection should be what you got when u type cat /etc/resolv.conf

    REBOOT the client PC. Click on your browser and smile

    Do the client Configuration Procedure for all the other machines on your network.
    Remember the first client is 192.168.0.2 the next should be 192.168.0.3 then 192.168.0.4 etc.

    You can also look at this link for other windows clients. Remember the DNS servers are not 192.168.0.1 in this case.

    www.wpool.com/cablesharing/4.htm

    Thanks to Phil Clayton (a.k.a. bukharin) from www.ausforum.com

    One last thing, the obstacle usually comes when the network adapters are not detected properly. Take a look at the link below:

    www.xmission.com/~howardm/ethernet.html

    I am still fairly new to Linux myself and wrote this with the intention of making it easier. Not sure if it does this, but I sincerely hope it does.

    Regards
    fat tony

    www.ausforum.com

    Minor Editing: Martin Andrew (a.k.a. mayhem) from www.linuxathome.net (mayhem (at) linuxathome.net).

    Proudly Hosted By:
    Hosted by PEBKAC Consulting

    Please read our Legal Notice for information concerning our site and its content.
    All logos and trademarks in this site are property of their respective owner. All the rest © 2000 - 2016 by Linuxathome.net

    Reviews

    D-Link DI-704P
    VIA EPIA-M 9000
    Tux Applique
    Ricoh MP5125A
    AMD XP 2600+
    3DProphet 9000Pro
    Radeon 9700 Pro
    XTNDAccess IrDA
    Netgear FS-524s
    DSR2161 KVM
    Game TheaterXP & XPS-510 Speakers
    3D Prophet 4000XT
    AutoView 400
    Back-UPS CS 350
    Dual Neon Kit
    SwitchView KVM
    20x4 LCD Kit
    Window Kit

     
    LinuxSecurity
  • 5 Open-Source Blockchain Technologies That Linux Users Need to Know About
  • The Three Best Tools You Need to Scan Your Linux System for Malware
  • Navigating the Linux Kernel's Latest DMA Security Vulnerability
  • Staying a Step Ahead of Adversaries: Mitigating Chromium's Security Flaws on Linux
  • Slackware: 2024-244-01: libpcap Security Advisory Update
  • Fedora 40: microcode_ctl 2024-5c5c384fa7 Security Advisory Updates
  • Fedora 40: python3.11 2024-985017d277 Security Advisory Updates
  • Fedora 40: xen 2024-91ddad6c8b Security Advisory Updates
  • Fedora 39: xen 2024-ed546e3543 Security Advisory Updates
  • Debian: DSA-5762-1: webkit2gtk Security Advisory Updates
  •  
    Google Search
    Enter Keywords:

     
    Bash Jokes

    % drink bottle: cannot open

    opener: not found

     
    Virtualization, Virtual Machine & Virtual Server Consolidation - VMware

    The Community ENTerprise Operating System

    Get Slackware Linux

    Use OpenOffice.org

    Use Asterisk