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 02-09-2015, 04:50 PM   #1
RandyGG
Member
 
Registered: Jan 2015
Posts: 36

Rep: Reputation: Disabled
Centos 7 Yum Repository issue


This is the first time i've run into an issue that appear to be critical in nature, but the peculiar thing is that I have downloaded so many of these Centos 7 images (from everything iso's to dozens of mirrors), and this is a constant (when I get an image that will install)

Basic Virtual Box install, host is a windows 64 bit

Here's the first image, when I try to use yum for anything

It's probably something very obvious that im just brain farting
Attached Thumbnails
Click image for larger version

Name:	yum.PNG
Views:	18
Size:	233.8 KB
ID:	17548   Click image for larger version

Name:	yum3.PNG
Views:	12
Size:	190.7 KB
ID:	17549  
 
Old 02-09-2015, 05:16 PM   #2
edwardm
LQ Newbie
 
Registered: Mar 2014
Distribution: DragonFlyBSD
Posts: 18

Rep: Reputation: Disabled
Appears centos 7 network is not enable by default after installation?
this howto may help:

http://www.krizna.com/centos/setup-network-centos-7/

Last edited by edwardm; 02-09-2015 at 05:19 PM.
 
Old 02-09-2015, 05:20 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
you need to configure yum to use the VM network settings

is Firefox getting on line ?
if not then it is the whole install that can not use the VM's network settings
 
Old 02-09-2015, 05:48 PM   #4
RandyGG
Member
 
Registered: Jan 2015
Posts: 36

Original Poster
Rep: Reputation: Disabled
Its a little tricky because i set up the network connection post installation for these lab installations i basically use my alfa dongle via usb so it can run independantly of the host ip. Maybe ill need to install it and have the vbox settings dialed into the host to start then reconfig afterwards. That makes a lot of sense, thanks to both of you.
 
Old 02-09-2015, 06:00 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by RandyGG View Post
Its a little tricky because i set up the network connection post installation for these lab installations i basically use my alfa dongle via usb so it can run independantly of the host ip.
Could you describe this a bit more? What do you mean "so it can run independently of the host ip"? All you have to do is switch the VirtualBox network settings from NAT to Bridged and the VM will get its own IP on the main network. As far as any other system on the network is concerned, it's it's own real computer with it's own real NIC plugged into the switch like everyone else. From the sound of it, you're plugging in a USB NIC and passing it through to the VM to accomplish the same thing?
 
Old 02-10-2015, 12:53 AM   #6
RandyGG
Member
 
Registered: Jan 2015
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Could you describe this a bit more? What do you mean "so it can run independently of the host ip"? All you have to do is switch the VirtualBox network settings from NAT to Bridged and the VM will get its own IP on the main network. As far as any other system on the network is concerned, it's it's own real computer with it's own real NIC plugged into the switch like everyone else. From the sound of it, you're plugging in a USB NIC and passing it through to the VM to accomplish the same thing?
The short answer would be, that im a creature of habit, sometimes ill go bridged, other times NAT but once i started using Kali for some security courses the external nic (alfa) made life much easier, but i think that habit jumped up and bit me.


You're spot on that im basically passing the usb nic through to the visor, for pen-testing with kali in a virtual environment
 
Old 02-10-2015, 12:26 PM   #7
RandyGG
Member
 
Registered: Jan 2015
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Could you describe this a bit more? What do you mean "so it can run independently of the host ip"? All you have to do is switch the VirtualBox network settings from NAT to Bridged and the VM will get its own IP on the main network. As far as any other system on the network is concerned, it's it's own real computer with it's own real NIC plugged into the switch like everyone else. From the sound of it, you're plugging in a USB NIC and passing it through to the VM to accomplish the same thing?

Just wanted to let you know that you were spot on with that. Soon as I re-installed with bridged connection. VOILA! I knew it was something simple on my end.

Thank you!

-R
 
  


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
Linux (centos) server yum repository issue fear_matrix Linux - Server 19 11-11-2011 04:43 AM
CentOS 5.2 yum repository error - Please help tezarin Linux - Software 7 01-07-2009 01:18 PM
Redhat AS server upgrade via Yum using CentOS repository? yilang Red Hat 1 04-15-2006 11:02 PM
CentOS' YUM repository not updating? guest cAos 3 03-19-2005 04:57 AM
after updating RHEL AS 4 w/ CentOS' YUM repository.... guest cAos 2 03-17-2005 11:53 PM


All times are GMT -5. The time now is 01:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration