LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-19-2012, 07:55 AM   #1
dhruv87
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Internet connection to RHEL 5.4


Hi there, I am new to Linux? Can anyone tell me the procedure how to establish an internet connection to RHEL version 5.4. I have a modem for internet facility. In windows XP, I know how to establish the network but till now I haven't found RHEL as user friendly as windows. I hope someone can help me!
 
Old 03-19-2012, 10:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dhruv87 View Post
Hi there, I am new to Linux? Can anyone tell me the procedure how to establish an internet connection to RHEL version 5.4. I have a modem for internet facility. In windows XP, I know how to establish the network but till now I haven't found RHEL as user friendly as windows. I hope someone can help me!
RHEL is a PAY FOR version of Linux..unless you're going to pay for it, then don't use it. Also, RHEL and it's free alternates (CentOS or Scientific), are meant for SERVERS, not home systems. Servers typically don't have modems, wifi, sound, etc., so support for such things can be challenging. If you want a home version, try Mint or Ubuntu.

You don't say what kind of modem, or where it's plugged in, but there are MANY PPP dialers available for Linux, just as 'friendly' as the ones on Windows. KPPP or Gnome PPP are two. Typing in wvdialconf at a command-line will also set up your modem, and typing "wvdial" after configuration, will make the connection.
 
Old 03-19-2012, 08:26 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Actually, RHEL does have a desktop option and it works fine for me
(Actually Centos)

@OP: Anyway, if you have a broadband modem that already works with MS from that location, then it should just work with RHEL/Centos.
Try rebooting the system; it'll do a HW check and hopefully connect.
If not, tell us exactly what msgs you get.
If you haven't already setup the modem, most sane ISPs provide a set of setup instructions which usually consist of using the browser to surf to the modem's addr (eg 192.168.1.100) and then filling in the webform there.

We really need more detail as to what stage you've got to & eg are you running a GUI or not?
If you have an ISP that won't even talk about Linux and only provides a MS setup disk, then you'll have to google that ISP; bound to be someone whose done it already.
 
Old 03-20-2012, 09:58 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by dhruv87 View Post
Hi there, I am new to Linux? Can anyone tell me the procedure how to establish an internet connection to RHEL version 5.4. I have a modem for internet facility. In windows XP, I know how to establish the network but till now I haven't found RHEL as user friendly as windows. I hope someone can help me!
It is quite easy to make your internet service up and running.
If you are using some modem then I am sure you must have been provided with some IP, Netmask, Gateway and DNS server from your ISP. As you use these values in windows just use the same in your linux box

follow the graphical console as it is easier for newbie
Code:
#system-config-network
a console will open up just open up your ethernet card option and edit all the details as asked including the DNS server which you can find in a separate tab
and after saving the file run this command
Code:
#service network restart
for cli interface should be something like this just replace your IP address, netmask and gateway value
Code:
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:f5:64:f6
TYPE=Ethernet
IPADDR=10.10.10.97
GATEWAY=10.10.10.1
NETMASK=255.0.0.0
BOOTPROTO=none
NM_CONTROLLED=no
ONBOOT=yes
IPV6INIT=no
USERCTL=no
Code:
#vi /etc/resolv.conf
nameserver (enter your dns server)
Code:
#service network restart
if you have been asked to use dhcp for internet then just select dhcp in the gui console as I mentioned above and restart the network
 
Old 03-20-2012, 10:31 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by deep27ak View Post
It is quite easy to make your internet service up and running.
If you are using some modem then I am sure you must have been provided with some IP, Netmask, Gateway and DNS server from your ISP. As you use these values in windows just use the same in your linux box

follow the graphical console as it is easier for newbie
Code:
#system-config-network
....and since the OP may be using a dial-up modem (for all we know at this point), that information may confuse them. Also, you don't mention the fact they need to change the MAC address in your example, or tell them where to GET any of the information you're telling them to replace.

If they're using a broadband modem, none of this will really be effective, since they'll have to use a dialer to initiate the connection, and from there, will get an IP address, DNS server, etc.
 
Old 03-20-2012, 11:46 PM   #6
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by TB0ne View Post
....and since the OP may be using a dial-up modem (for all we know at this point), that information may confuse them. Also, you don't mention the fact they need to change the MAC address in your example, or tell them where to GET any of the information you're telling them to replace.

If they're using a broadband modem, none of this will really be effective, since they'll have to use a dialer to initiate the connection, and from there, will get an IP address, DNS server, etc.
where to get means the OP already said he knows how to work in windows and I guess if a provider is giving internet line they will give all the related info for connection. That is not something which I will tell him. As I have clearly said it will be given by your ISP.

and as per the details provided by the OP I think I have given all the types of help and if he/she comes up with any additional details then I can think otherwise.
 
Old 03-21-2012, 01:41 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it must not be too important
it has been almost two days ( 6 hours short)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection sharing on RHEL 5 eagle06 Linux - Networking 10 01-19-2011 08:41 AM
Problem: Internet connection setup with RHEL 5 SUMAN Linux - Newbie 2 11-03-2009 11:38 AM
Internet Connection sharing on RHEL 5 KinnowGrower Linux - Software 7 05-17-2008 12:37 PM
Internet connection sharing on RHEL 4 csghosh Linux - Networking 6 07-10-2006 10:11 PM
how to setup internet connection in rhel ws raid_hat Red Hat 9 01-10-2005 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration