CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Networking Support
  [SOLVED] Network configuration in CentOS minimal

 

 Bottom   Previous Topic   Next Topic
12>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  AlanBartlett
      AlanBartlett
Re: [SOLVED] Network configuration in CentOS minimal
#26
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9138
Thank you for confirming your satisfaction.

On your behalf (and for posterity) this thread is now marked [SOLVED].
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/5/1 23:20
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#25
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
I would consider the issue resolved. Thank you everybody for your help. CentOS is a great community!
Posted on: 2012/5/1 22:09
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Network configuration in CentOS minimal
#24
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Good. Please let us know if you consider the issue resolved, or if you have additional questions.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 18:38
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#23
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
It worked!!!!

Thats what it needed. To clean out the repos on there.

Thank you for your help!!!!

Ill be working through the configuration on this in a bit. Ill post back if there is any more issues, but it looks good.
Posted on: 2012/5/1 18:32
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#22
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
I actually did try that earlier and did not post it on there. The rpm -ivh command ...

I just did the following on a fresh boot:

logged in as root

dmesg

fdisk -l

mount /dev/sr0 /media/CentOS

cd /media/CentOS

rpm -ivh system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm


The output was:

error: open of system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm failed: No such file or directory


So then I did:

cd Packages

rpm -ivh system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm


That gave me this output:

warning: system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
  dbus-python is needed by the system-config-network-tui-1.6.0.el6.2-1.el6.noarch
  pciutils is needed by the system-config-network-tui-1.6.0.el6.2-1.el6.noarch
  python-ethtool is needed by the system-config-network-tui-1.6.0.el6.2-1.el6.noarch
  python-iwlib is needed by the system-config-network-tui-1.6.0.el6.2-1.el6.noarch
  usermode is needed by the system-config-network-tui-1.6.0.el6.2-1.el6.noarch


So that is what the yum is suppose to take care of I believe since the installation of the network tool requires those packages to also be installed as well.

When I ran:

cat /media/CentOS/.discinfo 


The output was:

1323560292.885204
6.2
x86_64
1


This is very odd. I cannot quite figure out whats going on here.

When I installed CentOS I installed in minimal of course. Is there any configuration of the network that should take place during the install?

Ill try your additional edit recommendation now.
Posted on: 2012/5/1 18:25
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Network configuration in CentOS minimal
#21
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6361
Or perhaps, more informative, what does

cat /media/CentOS/.discinfo 


show?
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 18:05
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Network configuration in CentOS minimal
#20
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Odd. Try
cd /media/CentOS/Packages
rpm -ivh system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm
If there are missing dependencies add them to the command.

Edit: I really can't understand why the c6-media repo is failing. Has /etc/yum.repos.d/CentOS-Media.repo been modified? As an alternative to the above you might try
yum --disablerepo=\* --enablerepo=c6-media clean all
and then try the yum install again.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 18:00
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#19
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
I apologize for not being more specific in the last post. I really appreciate you helping me through this whole configuration ordeal.

So heres what I did:

Logged in to CentOS as root.

Inserted DVD1 into the drive.

Ran the following command to mount the DVD.
mount /dev/sr0 /media/CentOS


The output was:

mount: block device /dev/sr0 is write-protected, mounting read-only


I then checked the /media/CentOS directory to make sure it mounted properly and it did.

I then moved to the /media/CentOS/Packages directory and checked to make sure that contains system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm which it does contain the file.

I then ran the following command in an attempt to yum install the file.

yum --disablerepo \* --enablerepo c6-media install system-config-network-tui


I also tried:

yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui


The sytem output for both was the following:

Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * c6-media:
Setting up Install Process
No package system-config-network-tui available.
Error: Nothing to do


I also tried:

yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm


and:

yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui-1.6.0.el6.2-1.el6


The system output was the same as above with the added name showing in the error.

Any ideas of what is causing this?
Posted on: 2012/5/1 16:14
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Network configuration in CentOS minimal
#18
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6361
Post the output from the command... I can't see your screen from here!
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 10:43
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#17
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
Woops...

My mistake. I actually ran this:

yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui


I copied the wrong line from above by mistake on my last post. Please ignore the above command as this is what I really ran after mount of the DVD.
Posted on: 2012/5/1 5:21
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#16
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
So I got the mirrors on a DVD, followed the steps to mount them on /media/CentOS. Upon further inspection of the Packages directory I was able to locate the system-config-network-tui file.

I ran the following command after the DVD was mounted and inspected:

mount -t iso9660 -o loop,ro /path/to/CentOS-6-whatever.iso /media/CentOS


I got an error stating that it could not perform the action.

Does anybody have any ideas what could be causing this?
Posted on: 2012/5/1 5:14
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Network configuration in CentOS minimal
#15
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
From one of those mirrors directly, or using a torrent. You want CentOS-6.2-i386-bin-DVD1.iso or CentOS-6.2-x86_64-bin-DVD1.iso.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/28 20:46
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#14
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
Please excuse me for being ignorant, but I'm not really sure where to get DVD1 or DVD2. I usually go to http://www.centos.org/modules/tinycontent/index.php?id=30 and download an ISO from one of those mirrors.

Can you give me more info about where to get the DVD's from?
Posted on: 2012/4/28 17:52
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Network configuration in CentOS minimal
#13
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Don't use the live media at all. You need the full installation media - DVD1. The live media just copies an image to disk and does not contain the complete installation tree. Depending on what you want to install you might need DVD2 as well.

You could also follow see TipsAndTricks/CreatingUpdateMedia and HowTos/CreateLocalMirror and create a local repo on USB media.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/28 17:14
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#12
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
So first I tried mount a LiveCD of CentOS to the /media/CentOS directory and running the yum command you suggested. I got the same message that basically said No package system-config-network-tui available.

I then tried it from a minimal LiveCD. Same error.

So then I downloaded the ISO for LiveCD and put that on a USB drive. I mounted that to /mnt/usbdrive then mounted that directory to /media/CentOS. Same error.

Then I tried downloading the ISO for CentOS minimal, put that on a USB drive. Mounted it twice like above. Same error.



What am I doing wrong here? Can anybody help?
Posted on: 2012/4/28 13:50
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#11
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
Also, I looked in the Packages directory on the CD and did not find any system-config-network-tui rpm's.
Posted on: 2012/4/28 3:08
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#10
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
I take back that last statement. When I unmounted the CDrom files disappeared from the /media/CentOS directory. However I did not see an ISO file. I used magic ISO to burn the ISO file into a bootable CDrom. Is it possible to use the CDrom to do what I am trying to do?
Posted on: 2012/4/28 3:01
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#9
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
Update...

When I look in /media/CentOS I do not see the ISO image that is on the CD. Maybe it got mounted incorrectly.
Posted on: 2012/4/28 2:55
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#8
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
I just gave it a shot.
I ran:

mount -t iso9660 /dev/sr0 /media/CentOS

then 

yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui


It came back with:

Loaded plugins: fastestmirror, presto
Loadeing mirror speeds from cached hostfile
 * c6-media
Setting up Install Process
No package system-config-network-tui available
Error: Nothing to do


Not sure what to do from here.
Posted on: 2012/4/28 2:52
Create PDF from Post Print
Top
  •  bdainis
      bdainis
Re: Network configuration in CentOS minimal
#7
Jr Board Member
Joined: 2012/4/18
From
Posts: 28
Oh, I see what your saying. I thought you were referring to something additional.

I do have a CD that I burned an ISO onto for the initial installation.

Ill give that a shot first thing tomorrow. Thanks for the tips.
Posted on: 2012/4/28 2:17
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
12>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com