[SOLVED] Network configuration in CentOS minimal

Issues related to configuring your network
bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/04/28 03:08:00

Also, I looked in the Packages directory on the CD and did not find any system-config-network-tui rpm's.

bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/04/28 13:50:40

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?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] Network configuration in CentOS minimal

Post by pschaff » 2012/04/28 17:14:43

Don't use the live media at all. You need the full [i]installation[/i] 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 [url=http://wiki.centos.org/TipsAndTricks/CreatingUpdateMedia]TipsAndTricks/CreatingUpdateMedia[/url] and [url=http://wiki.centos.org/HowTos/CreateLocalMirror]HowTos/CreateLocalMirror[/url] and create a local repo on USB media.

bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/04/28 17:52:29

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?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Network configuration in CentOS minimal

Post by pschaff » 2012/04/28 20:46:59

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.

bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/05/01 05:14:58

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:

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

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

Does anybody have any ideas what could be causing this?

bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/05/01 05:21:07

Woops...

My mistake. I actually ran this:

[code]yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui[/code]

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.

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Network configuration in CentOS minimal

Post by TrevorH » 2012/05/01 10:43:16

Post the output from the command... I can't see your screen from here!

bdainis
Posts: 28
Joined: 2012/04/18 00:02:24
Contact:

Re: Network configuration in CentOS minimal

Post by bdainis » 2012/05/01 16:14:54

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.
[code]mount /dev/sr0 /media/CentOS[/code]

The output was:

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

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.

[code]yum --disablerepo \* --enablerepo c6-media install system-config-network-tui[/code]

I also tried:

[code]yum --disablerepo=\* --enablerepo=c6-media install system-config-network-tui[/code]

The sytem output for both was the following:

[code]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[/code]

I also tried:

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

and:

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

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

Any ideas of what is causing this?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Network configuration in CentOS minimal

Post by pschaff » 2012/05/01 18:00:38

Odd. Try[code]cd /media/CentOS/Packages
rpm -ivh system-config-network-tui-1.6.0.el6.2-1.el6.noarch.rpm[/code]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 [code]yum --disablerepo=\* --enablerepo=c6-media clean all[/code]and then try the yum install again.

Post Reply