Connecting to the Internet with Linux RedHat 5.X

Connecting to the Internet with Linux RedHat 5.X

Post by James Maddiso » Sun, 13 Sep 1998 04:00:00

There are 2 ways that you can do this: 1) via X Windows; and, 2) via
commnand line.  This advice is written from the persepective of the
system of being used a workstation, not as a server, and assumes that
you have properly configured kernel, i.e. mainly that you have PPP
support in the kernel.

I'll explain the X Windows method here and point you in the right
direction for the command line method:

1)  As root, startx,

2)  Open the Contol Panel if it's not already open,

3)  Select the Network Configuration icon,

4)  Under "Names" (the first tab visible by default), enter your ISP's
domain in "domain".  Enter your ISP's Namesever info.

5)  Click "Interfaces", then  "Add", then select PPP as the device type,
enter the appropriate information here.  I won't go into the detail
because once you get here it's pretty self evident and you'll know this

6)  Next, choose "Customize", the first visible tab is "Hardware",
again, enter the appropriate information here and make sure that you
select "Allow any user to (de)activate the interface" so that you can
activate the connection as an oridinary user.

7)  Next, select the "Communication" tab and enter your modem init
strings, etc here.

8)  Click "Done", and save the configuration when it asks you to.

Some notes on name server entries.  I have run across one situation
where the ISP's name server entries had to have leading 0's (zeroes) in
the name server IP addy's.  It wouldn't work any other way.  I assumed
that this was a naming convention on that ISP's part, though they  made
no mention of that in their information.  My setup works fine without
that format for the name servers IP addy's.  Example one of My ISP's
name servers's is, for this example of this one system setup
I would have had to enter this as instead.  Strange, but

Here's the link to RedHat's documentation on the Network portion of the
control panel:

If you want the general Control Panel link as well just change the
"doc068.html" at the end of the link to "doc064.html".

Information on how to set this up a PPP connection via the command line
can be found at:

There are some differences from this documentation for RedHat systems.
Mainly that to start the PPP connection you would issue, as root,
ifup-pppX, where X=the PPP device number, typicaly 0 on a workstation.
As an ordinary user you would issue ./sbin/ifup-pppX instead, as long as
you've set the permissions properly.  Actually all you have to do is
edit the network scripts to say "yes" to "USERCTL".  This is an option
in the /etc/sysconfig/network-scripts/ifcfg-pppX file, again where X=the
PPP device number (typically ppp0).  

Finally, below is another link to RedHat concerning "Network
Administration".  This should answer some of your questions.  Pay close
attention to the comments about the /etc/hosts.allow and /etc/hosts.deny
files as they concern access to your machine, and hence conern system
security.  You can also read the man files on your system for
information about these 2 files.

Hope this is of some help,


"Great spirits have always met * opposition from mediocre minds."
A. Einstein


1. Basic DNS Problem (I think) Connecting Linux (Redhat 6.1) to the Internet

I have just installed Redhat 6.1 and I'm trying to connect to the internet
using a standard (external) modem on the serial port. I am doing all of
this from within the Gnome environment.

I have setup an internet connection which seems to connect okay
(ifconfig correctly reports the existance of a PPP connection and
I can ping all the name servers and any other addresses I have tried.
However I have absolutely no hostname resolution so for example I
can't ping "" and Netscape can't get to any web sites
(by specifying names at least).

I have provided the correct DNS entries (primary and secondary) for my
ISP when setting up the internet connection and assumed this was all I
had to do (obviously not).

Sorry for being vague but if anybody can help I would appreciate it.

Thanks in advance,


2. Berkley Databases and btrieve

3. Connecting To The Internet Using Linux Redhat 5.2---Newbie Needs Help Pls!

4. G400 MAX DualHead ?

5. Trouble connecting Linux RedHat 5.0 to Internet via cable modem.

6. nntp Cache

7. Help connecting Redhat linux to demon internet

8. All RAM not being recognized

9. Anyone know how to setup RedHat Linux to connect to internet by Dial-up Networking?

10. connect a linux machine to the internet via internet connection sharing

11. uninstall REDhat linux uninstall REDhat linux uninstall REDhat linux uninstall REDhat linux uninstall REDhat linux uninstall REDhat linux uninstall REDhat linux

12. connecting redhat to cable internet .... or DSL

13. Redhat cannot connect to the internet