LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-16-2004, 07:34 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
Is there a "kudzu.conf" or equivalent file


I want to force kudzu to re-detect everything ie serial modem, usb stuff and nic etc but not use answers I have given before.

What file(s) should I delete/edit to make kudzu run "clean"

Thanks,

mark

ps Fedora Cora 1
 
Old 05-16-2004, 09:08 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
See man pages for kudzu
 
Old 05-16-2004, 10:00 AM   #3
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Quote:
Originally posted by michaelk
See man pages for kudzu
I posted this in the "newbie" section because I want to know if it is safe to delete the files or if I have to edit them. I am a newbie

congrats on the addition to your post count

 
Old 05-16-2004, 10:43 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Quote:
From the man pages
kudzu detects and configures new and/or changed hardware on a system. When started, kudzu detects the current hardware, and checks it against a database stored in /etc/sysconfig/hwconf, if one exists. It then determines if any hardware has been added or removed from the system. If so, it gives the users the opportunity to configure any added hardware, and unconfigure any removed hardware. It then updates the database in /etc/sysconfig/hwconf.
If no previous database exists, kudzu attempts to determine what devices have already been configured, by looking at /etc/modules.conf, /etc/sysconfig/network-scripts/, and /etc/X11/XF86Config.
From reading the man pages
1. The "kudzu.conf" file is /etc/sysconfig/hwconf
2. If no database i.e. the hwconf file does not exist kudzu will run clean. Instead of deleting the hwconf file I would rename it to something like hwconf.bak

Now was that difficult?







BTW thanks I hope to hit 3000 by mid year.

Last edited by michaelk; 05-16-2004 at 11:21 AM.
 
Old 05-16-2004, 11:20 AM   #5
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
My sincerest apologies, michaelk I was/am having a bad day (but I know that is no excuse for my rudeness)

Thank you for the replies, and once again sorry.

mark

ps you could probably hit 30,000 let alone 3000 if I really posted my problems here lol
 
Old 05-16-2004, 12:23 PM   #6
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
I wish to add that michealk is a God amongst men, gentleman and scholar etc etc:

Removing /etc/sysconfig/hwconf and /etc/sysconfig/hwconf~ then rebooting has finally got my usb working again.

I will email him to ask permission to remove my inappropriate posts above, but will not remove them until/if he gives consent as I do not wish his comments to be read out of context.

mark
 
Old 06-10-2004, 11:31 PM   #7
Linner
Member
 
Registered: May 2004
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
michaelk, chefmark thanks!

this helps solved my problem too.
 
Old 01-22-2010, 09:18 AM   #8
roeseler
LQ Newbie
 
Registered: Jan 2010
Location: Portugal
Posts: 1

Rep: Reputation: 0
how to force kudzu in virtual machine

Hello.

I'm running red hat 5.4 in a Virtual machine in Lab Manager in VMWare.

I have a configuration with two VMachines that need to connect to each other by SSH.
From what I was told, each machine needs to have two nics with internal IPs that connect externaly via NAT, automatically configured by Lab Manager. This is due to the middleware that will be installed on top of redhat.

Configurations:

machine A:
eth0: 15.15.15.1
eth1: 16.16.16.1
external IP : lab IP x.x.x.1

machine B
eth0: 15.15.15.2
eth1: 16.16.16.2
external IP : lab IP x.x.x.2

Everything works ok and I can ping both the machines from each other(A<->B) but I can not SHH from one to the other.(SSH from A<->B not possible)
The firewall is disabled and sshd ir running.
From my laptop I can SHH both the machines.

I was told that I need to restart both machines and run Kudzu to change the nics IP configuration to "use dynamic IP configuration".
The problem is that I can not run Kudzu. Everytime I type the command nothing happens.
Added kudzu to the startup services but nothing happens.
Tried to force the start by removing the cards but Lab manager automatically restores the nics and kudzu is never started.
Also tried to start kudzu manually with root account but nothing happens.

Is there a way that I can force Kudzu to start?

Thanks in advance for your help!

BR,
Pedro Röseler

Last edited by roeseler; 01-22-2010 at 09:23 AM.
 
  


Reply



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
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
How do you run "xorg.conf.back" file? in Toshiba laptop hajime_saitou0 Linux - Laptop and Netbook 1 09-14-2005 09:03 PM
How to create a ".bat" equivalent file Micro420 Linux - Software 4 11-11-2004 03:41 PM
Help,I can't find my USB mouse when I run "kudzu" command in RH9. aeolus Red Hat 0 03-27-2004 09:14 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 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
Open Source Consulting | Domain Registration