[SOLVED] Network configuration in CentOS minimal
Re: Network configuration in CentOS minimal
Also, I looked in the Packages directory on the CD and did not find any system-config-network-tui rpm's.
Re: Network configuration in CentOS minimal
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?
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?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Network configuration in CentOS minimal
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.
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.
Re: Network configuration in CentOS minimal
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?
Can you give me more info about where to get the DVD's from?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Network configuration in CentOS minimal
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.
Re: Network configuration in CentOS minimal
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?
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?
Re: Network configuration in CentOS minimal
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.
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.
Re: Network configuration in CentOS minimal
Post the output from the command... I can't see your screen from here!
Re: Network configuration in CentOS minimal
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?
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?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Network configuration in CentOS minimal
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.
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.