Results 1 to 2 of 2

Thread: connecting internet in redhat 9

  1. #1
    Join Date
    Dec 2004

    connecting internet in redhat 9

    Hello mates,

    I have really really gone nuts. Last year I did connect one redhat box on my LAN server. One machine has redhat 9 and I want to connect to the internet on my LAN. server is win2k sever.

    Please guide me from the begenning. I will be very much thankful for your precious help.

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    It depends on what you've doen so far, and what condition
    the system is in by default. Sometimes all you need to do is plug it in.

    Assuming you are connecting through an ethernet connection.

    At a command prompt, type the command ifconfig
    It should have several lines of info about the eth0 interface,
    as well as the lo interface. You can't proceed without eth0

    If that is good, type the command ping localhost There's no sense
    going further if you can't ping localhost, also known as
    Now ping another host on your local network (if you have a local network)
    If you can ping other hosts, you are live, and so are the hosts that respond.

    There are several files that contain critical configuration info for your connection.

    The /etc/hosts file contains a list of numerical ip addresses, and the
    names that correspond to them. If you are not running a name server
    on your local network, it might be a good idea to add the names and addresses
    of other hosts to this file so you can reference them by name.
    By default, only localhost is listed.

    Code:       localhost.localdomain   localhost     router  gateway     coffee     genius     moron
    The file /etc/resolv.conf has a list of nameservers.

    The line nameserver will not be there unless you are
    running a name server like named on the local machine
    The others should ne the name servers of your own internet service provider

    I'm scatterbrained and can't remember everything.

    If you go to the directory /etc/sysconfig/network-scripts, you will find
    more files pertaining to your connection. In the file ifcfg-eth0
    pay attention to the line that says GATEWAY This will be the
    host that connects you to the net. If you connect through a router,
    its address will go here. If you connect directly to a cable modem
    or dialup, it will be the address of your Internet Service Provider.

    # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    # for the documentation of these parameters.
    Don't copy these values. They are just examples.
    There is a place in your graphical menus where you can configure your
    connection. Mine (fedora) is Applications-->System tools-->Internet configuration Wizard
    If the wizard doesn't get it right, go back and look into the config files for problems.


    I came in to the world with nothing. I still have most of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts