LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New to Redhat/Linux, problems with connection to internet (https://www.linuxquestions.org/questions/linux-newbie-8/new-to-redhat-linux-problems-with-connection-to-internet-4175601466/)

mj2017 03-10-2017 09:45 AM

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

rtmistler 03-10-2017 10:09 AM

Have you contacted RedHat support with your question?

mj2017 03-10-2017 10:14 AM

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!

rtmistler 03-10-2017 10:16 AM

Quote:

Originally Posted by mj2017 (Post 5681632)
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

TenTenths 03-10-2017 10:20 AM

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.

mj2017 03-10-2017 10:22 AM

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?

michaelk 03-10-2017 10:22 AM

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.

mj2017 03-10-2017 10:48 AM

1 Attachment(s)
I've attached a picture file. For some reason VBox guest additions failed to install so I cant easily copy paste.


All times are GMT -5. The time now is 03:24 AM.