LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2017, 10:45 AM   #1
mj2017
LQ Newbie
 
Registered: Mar 2017
Distribution: RHEL, CentOS
Posts: 4

Rep: Reputation: Disabled
New to Redhat/Linux, problems with connection to internet


Hello all,

I am new to linux and currently learning RedHat on my own. I am currently having problems connecting to the internet so I can download packages to continue my lessons (via RHCSA & RHCE Training Guide).

My current set up is the following:

2017 Dell XPS 15 (no ethernet connection/card) Wifi only (Windows 10).
VirtualBox (Latest update)
RHEL 7 virtual machine.

So this is my current scenario:

I have VirtualBox Host-Only Network in my wifi adapters settings. I have tried to connect using Bridged adapter, NAT, and creating a Host-Only Connection for my RedHat Internet connections. Nothing works.

When RHEL is open via VirtualBox, the Internet settings show it is connected yet when I ping google.com, I get host is not reachable. From my laptop I can ping my VirtualBox Host-Only adapter and I have 0% loss.

I'm a little lost trying to figure out where to go from here. I've tried many options that people have listed on various sites. If you could help out, it would be greatly appreciated.

-Mj
 
Old 03-10-2017, 11:09 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,422
Blog Entries: 13

Rep: Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740
Have you contacted RedHat support with your question?
 
Old 03-10-2017, 11:14 AM   #3
mj2017
LQ Newbie
 
Registered: Mar 2017
Distribution: RHEL, CentOS
Posts: 4

Original Poster
Rep: Reputation: Disabled
From what I was told RHEL is free but to gain support you must start paying. Is that not the case? Plus I didn't know for sure if this was a VirtualBox problem, RHEL problem or a issue between the two.. Thanks for the reply!
 
Old 03-10-2017, 11:16 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,422
Blog Entries: 13

Rep: Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740Reputation: 3740
Quote:
Originally Posted by mj2017 View Post
From what I was told RHEL is free but to gain support you must start paying. Is that not the case? Plus I didn't know for sure if this was a VirtualBox problem, RHEL problem or a issue between the two.. Thanks for the reply!
RHEL is not free, it is a commercial distribution which they sell. The interpretation that you pay for support only is incorrect. They expect you to pay for their distribution, as part of first payment you get support and then continue to pay for support annually.

CentOS is a free distribution which is very similar to RHEL and the best suggestion for a free option to learn RHEL.

As far a VirtualBox you may wish to look up solutions to attach your VM to the internet, here is one possible solution: http://askubuntu.com/questions/36300...-13-04-as-host

Last edited by rtmistler; 03-10-2017 at 11:19 AM.
 
Old 03-10-2017, 11:20 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,019

Rep: Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275
You can certainly download RHEL free and use it within an evaluation period, after that you are expected to pay your "subscription", there are many models including the cheapest "self-support" (~$350) which allows you to download updates but not access their customer support.
 
Old 03-10-2017, 11:22 AM   #6
mj2017
LQ Newbie
 
Registered: Mar 2017
Distribution: RHEL, CentOS
Posts: 4

Original Poster
Rep: Reputation: Disabled
I see. I was only sticking with RHEL becuase I plan on taking the test only after I compete the entire book multiple times in the future. I wanted to be sure that if I took the test I would have everything down without having to worry about any difference's if any between the two Distro's. I know they are very similar.

I will try to switch over to CentOS. Have you ever heard of the same problem stated originally with CentOS via VirtualBox?
 
Old 03-10-2017, 11:22 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,518

Rep: Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134Reputation: 3134
Either a bridged or NAT virtual adapter should be able to connect to the internet assuming your virtual machine is configured correctly. Post the output of the command:

ip a

I would also recommend installing CentOS. It is essentially RHEL and free.

Last edited by michaelk; 03-10-2017 at 11:23 AM.
 
Old 03-10-2017, 11:48 AM   #8
mj2017
LQ Newbie
 
Registered: Mar 2017
Distribution: RHEL, CentOS
Posts: 4

Original Poster
Rep: Reputation: Disabled
I've attached a picture file. For some reason VBox guest additions failed to install so I cant easily copy paste.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	4
Size:	45.1 KB
ID:	24458  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 in redhat linux using vmware avulamahesh Red Hat 1 08-25-2013 06:34 AM
Internet Connection with Linux Redhat sanlen Linux - Networking 1 07-14-2009 01:22 AM
internet connection shaaring in redhat linux 5 binu johney Linux - Networking 1 10-17-2008 06:19 AM
Help Wanted in setting internet LAN Connection for LINUX REDHAT a_ravichandar Linux - Networking 7 07-19-2003 01:22 PM
Redhat 9.0 Internet Connection Problems JoeykhCom Linux - Networking 9 06-25-2003 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration