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
  • Privacy Complaint Targets Google Over Unsolicited Ad Emails
  • Psychedelics Help People With Alcoholism Drink Less
  • Japan Signals Return To Nuclear Power To Stabilize Energy Supply
  • Korea Shatters Its Own Record for World's Lowest Fertility Rate
  • New Aluminum-Sulfur Battery Tech Offers Full Charging In Under a Minute
  • New York State Bill Would Require Speed Limiting Tech In New Cars
  • Notorious DRM Company Takes Aim At Switch Piracy
  • Hackers Are Breaking Into and Emptying Cash App Accounts
  • New Film 'BlackBerry' To Explore Rise and Fall of Canadian Smartphone
  • Chattanooga, Tennessee offers America's First Community-Wide 25 Gig Internet Service
  • California To Ban the Sale of New Gasoline Cars
  • Experts Warn of Widespread Exploitation Involving Hikvision Cameras
  • Google Pixel Sees Huge Sales Growth, Has 2% of North American Market
  • Bay Area Startup Wants To Make Call Center Workers Sound 'White and American'
  • Biden is Canceling Up To $10K in Student Loans, $20K For Pell Grant Recipients
  •  
    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

     
    Kuro5hin.org
    XML error: Attribute without value at line 2.
     
    Google Search
    Enter Keywords:

     
    Bash Jokes

    % rm God

    rm: God nonexistent

     
    Virtualization, Virtual Machine & Virtual Server Consolidation - VMware

    The Community ENTerprise Operating System

    Get Slackware Linux

    Use OpenOffice.org

    Use Asterisk