LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-27-2009, 04:24 AM   #1
aaswad.w2006
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
Not able to use netconfig command


Guys m not able to install netconfig command as dependecies exists between pkgs....I tried --nodeps option but it makes command not to work...how to install it and i need some dependent packages which m not getting for ma RHEL5 distro...these are libnewt.so.0.50 and libslang.so.1 n can nybody tell me wht is kudzu?
 
Old 11-27-2009, 04:55 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aaswad.w2006 View Post
Guys m not able to install netconfig command as dependecies exists between pkgs....I tried --nodeps option but it makes command not to work...how to install it and i need some dependent packages which m not getting for ma RHEL5 distro...these are libnewt.so.0.50 and libslang.so.1 n can nybody tell me wht is kudzu?
how are you trying to install?? have you tried using yum??
or

download the package and run

Code:
yum localinstall packagename.rpm

Code:
whatis kudzu
kudzu                (8)  - detects and configures new and/or changed hardware on a system
 
Old 11-27-2009, 05:03 AM   #3
aaswad.w2006
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
basically m nt able to configure yum as ma system is nt connected to RHN and to internet...so i need to manually do it.....Can I cofigure yum without using internet..somebody has suggested me the procedure but it is asking me to register to RHN which is not falling in its place...so what can be done please suggest every possible suggestion I downloaded the package from net n jus tried to install using rpm -ivh ...
 
Old 11-27-2009, 06:45 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aaswad.w2006 View Post
basically m nt able to configure yum as ma system is nt connected to RHN and to internet...so i need to manually do it.....Can I cofigure yum without using internet..somebody has suggested me the procedure but it is asking me to register to RHN which is not falling in its place...so what can be done please suggest every possible suggestion I downloaded the package from net n jus tried to install using rpm -ivh ...
question - do you have yum installed???
yum can be installed from an rpm.

if you do, yum localinstall packagename should work
 
Old 11-27-2009, 11:05 PM   #5
aaswad.w2006
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
No man I dont have yum installed will you provide me d procedure??? I followed a procedure suggested by my friend which is

Steps to make yum repository

1. Install vsftpd package. This package will create a ftp directory in var directory.

2. create a directory at this location
/var/ftp/pub/my-repository

3. copy all the rpm packages in this newly created directory.

4. run following command

createrepo -v /var/ftp/pub/my-repository

5. create a file ---->>>>> my-repository.repo

/etc/yum.repos.d/my-repository.repo

6. contents of my-repository.repo file

[my-repository]
name=rhel5.0 repository
baseurl=file:///var/ftp/pub/my-repository
gpgcheck=0
enabled=1

7. Thats it.......

now run command

yum list available

But it gives some error warnings n messeges...than ur system is not registered with RHN
RHN support will be disabled
No match for argument netconfig
nothing to do

so suggest me something
 
Old 11-28-2009, 04:12 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aaswad.w2006 View Post
No man I dont have yum installed will you provide me d procedure??? I followed a procedure suggested by my friend which is

Steps to make yum repository

1. Install vsftpd package. This package will create a ftp directory in var directory.

2. create a directory at this location
/var/ftp/pub/my-repository

3. copy all the rpm packages in this newly created directory.

4. run following command

createrepo -v /var/ftp/pub/my-repository

5. create a file ---->>>>> my-repository.repo

/etc/yum.repos.d/my-repository.repo

6. contents of my-repository.repo file

[my-repository]
name=rhel5.0 repository
baseurl=file:///var/ftp/pub/my-repository
gpgcheck=0
enabled=1

7. Thats it.......

now run command

yum list available

But it gives some error warnings n messeges...than ur system is not registered with RHN
RHN support will be disabled
No match for argument netconfig
nothing to do

so suggest me something
question is - what files are in the repo you created?
i assume you have the RH installation disks right???
this should at least be one of your repos??
you can check in /etc/yum.repos.d/
one of the repo files there should be pointing to the cd...
either way, this yum package must be on the cd..??? i dont really know how the RHN thing works.....as im using centos, maybe a RH user can answer this for you??

main thing to remember is that the repo file path /var/ftp/pub/my-repository must consist of a repository layout with files etc otherwise it would never work.

best thing is forget this repo thing and just install your packages off the install cd...

Last edited by centosboy; 11-28-2009 at 04:14 AM.
 
Old 11-28-2009, 04:20 AM   #7
aaswad.w2006
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Man if I try to install netconfig utility in shows dependencies....with two more packages libnewt.so.0.50 and libslang.so.1 so m nt able to install that using CD....thats y problem is more complecated
 
Old 11-28-2009, 04:21 AM   #8
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aaswad.w2006 View Post
Man if I try to install netconfig utility in shows dependencies....with two more packages libnewt.so.0.50 and libslang.so.1 so m nt able to install that using CD....thats y problem is more complecated
ok..hang on..will find where those dependencies belong
why do you need netconfig anyway?? tell me what you need to do and i will tell you how
 
Old 11-28-2009, 04:23 AM   #9
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
http://rpmfind.net/linux/rpm2html/se...submit=Search+...

http://rpmfind.net/linux/rpm2html/se...&system=&arch=
 
Old 11-28-2009, 04:32 AM   #10
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
alternatively, check if you have neat installed. it does the same thing
 
Old 11-28-2009, 10:32 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,660

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
'netconfig' is an ancient tool, last seen in Redhat 7 ?
eight years ago.

'system-config-network' is the modern tool in your OS.

1) su
2) system-config-network
.....
 
Old 11-28-2009, 12:08 PM   #12
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Iagree with knudfl, use system-config-network (or from GUI: System -> Administration -> Network), and follow this guide to set up your ADSL Modem.

Yum without network is giving you error mostlikely because other repo files are still in /etc/yum.repos.d/ folder. Move them in subfolder like "backup" (create subfolder with command "mkdir /etc/yum.repos.d/backup") and then try again.

When you fix your internet connection issue, be sure to move your repo file to backup subfolder and original repo files back to main folder to restore internet based yum.
 
Old 11-29-2009, 04:05 AM   #13
aaswad.w2006
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I need to configure DHCP so I need to use that netconfig commands.. Thanx for your valueble support I'll try those stuff n get back to you as early as possible..
 
Old 11-29-2009, 05:28 AM   #14
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aaswad.w2006 View Post
I need to configure DHCP so I need to use that netconfig commands.. Thanx for your valueble support I'll try those stuff n get back to you as early as possible..
configure networking

set

Code:
BOOTPROTO=dhcp
in /etc/sysconfig/network-scripts/ifcfg-ethX


that will sort that out....
 
  


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
Help with netconfig command zeeple Linux - Newbie 4 12-04-2008 01:26 PM
help with netconfig leftty Slackware 1 08-23-2008 12:35 PM
"netconfig: command not found" in minimal install of Slack 12 sandugo Slackware 1 07-29-2007 09:11 AM
netconfig knoxville Linux - Newbie 6 11-30-2003 01:56 PM
NetConfig XPediTioN Slackware 2 07-13-2003 08:08 PM


All times are GMT -5. The time now is 04:38 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