Tech Support Forum banner
Status
Not open for further replies.
1 - 8 of 8 Posts

·
Registered
Joined
·
8 Posts
Discussion Starter · #1 ·
I have a RedHat 8.0 system that I want to use as the NAT Router / Firewall for a local home network with about 8 PC's all connecting over a cable connection. The default kernel doesn't support NAT anymore so a full recompile (From what I have read) is required and I wanted to do it anyway because it's a dual PII and I wanted that extra boost! So in anyevent I placed 2 network cards in the machine and kudzu set them up (Sorta) but all I wanted to know is that the machine could see them and it did, and they got their DHCP info everytime I would reboot. Now here is where it get's GOOD.
After much fiddling with the Kernel config using "make xconfig" through trial and error I FINALLY got the kernel to recompile. (Finding documentation for that is IMPOSSIBLE) Now I had a real problem on my hands, my network cards were no longer loading with the new kernel that now supported NAT among other cool tricks. Meaning that when it booted it would say "Failed to get ip info" or what ever that message was. When I boot the origional kernel this is not a problem. So I tried and tried without success to make the kernel see the cards with my custom Kernel. Never happened, so I removed the cards and let kudzu remove their configs, hoping that when I placed them back in 1 by one that kudzu would at least tell me what module the kernel wanted to load for them. Never happened, the cards configs were removed but kudzu now rolls right on by them when I stick them back in the machine like they aren't there. So I moved them to different PCI slots, no effect. I then started reading about kudzu and learned that it stores all of the hardware info in a file called hwconf so I open that file up and there was the network card I was trying to set back up. I thought I had the world licked at this point and removed the cards info from this file and rebooted the machine. To my amazement you wouldn't beleive it, nothing, kudzu searched and moved on like nothing happened. I was blasted by this and looked back into that hwconf file and there it was again so I removed it and ran kudzu myself, nothing, but the card was back in the hwconf. I went through the system and systematically moved any files related to eth0 or eth1 and tryed again. Nothing. How can I resolve this issue? Please if anyone can help I would love to know what I can do, this problem which plages me is becoming a bear.
The cards ids as LINUX sees them are
ACCTON:SCM2-1211TX - eth1
-
Realtek:RTL-8139/8139C - eth0
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #3 ·
OK I tried that and the weirdest thing happened.

I was already fiddling with things when I had gotten your message. I had removed the cards from the hwconf file and changed the only option in the kudzu config file. I booted to the newest default kernel that came frrom the update and it kicked into kudzu detection mode and said the mouse wasn't there so I told it to do nothing. Then it found the network cards again. This is strange because it wouldn't do it at all under any kernel before. So I did the lsmod and there was only one network driver listed yet both cards are running fine under this default kernel. (I am using this now) That driver is 8139too. I rebooted and checked for the mod and it was compiled into the kernel already because I had done my home work on all the hardware as not to add anything to the kernel that didn't need to be there. I changed the options to module and did a "make modules" then "make modules_install". I then trried to insmod that this is what I Got.
[[email protected] root]# insmod 8139too
Using /lib/modules/2.4.18-18.8.0-smp-router-josh/kernel/drivers/net/8139too.o
/lib/modules/2.4.18-18.8.0-smp-router-josh/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
[[email protected] root]#
I also tried insmod 8139too.o eth0 and got the same message. I feel that I am closer to solving this though.
Anymore suggestions would be appreciated.

Joshuua:bandit:
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #4 ·
OK it's the bottom of the 9th..

And I have it narrowed down, now when booting it says the cards don't appear to be present. I am going to attempt to compile Plug And Play support at the bios level.. I will update you on what happens from there.

Joshua
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #5 ·
That failed with mysery...

The PNP bios which is "Experimental" will not compile, it errors out. There something in my config or missing from my config that is in the default install. If only I could figure it out.

The state kidnapped my daughter, wanna read about it?
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #6 ·
One other thing..

How in gods name do I make this thing STOP booting to X-WIndows? I selected in accident and now it plauges me!

Joshua L. McDowell
The state kidnapped my daughter! Wanna read abou t it? Visit my website!
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #8 ·
I fixed the booting to X-WIndows Problem

I found the iinformation about linunx booting to xwindows and how to turn it off.
/etc/inittab contains the script for that, switching the run level to 3 fixes that issue.:D Now as far as the kernel config I can't do that because I already changed it. I might be able to back it up and then do a make mrproper and it should be set back to defaults. However, I don't think this will change anything because I have tried EVERYTHING that my tiny little mind can come up with. I downloaded the 2.5.9 Kernel source and compiled that to no avail. The message has changed now though to "Unable to get IP information." But if I boot under a regular kernel it works fine. I don't think the config files as far as the system is concerned are "Kernel specific" I am 99.9% sure they are not so this shouldn't be an issue at all. Leaving only that I left some key element for the network cards operation out of the kernel if the default kernels boot. Grrrr. So close yet so far. 2.5.9 Kernel is in NO way support by redhat, I am starting to think I should have installed a very generic platform and then compiled and installed X, windows, Gnome, and what ever else I may or may not neeed.
I am also compiling XFREE 86 but will not attempt to install in untill I get this problem worked out. I am trying to Master Linux so I can help to develop it. I also want everything that runs on the system to be compiled for the system for absolute maximum performance.

Joshuau
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #10 ·
Hmmm.. I remember slackware from a long time ago..

I tried to set up slackware a long time ago when I thought I knew everything. (you know before you relize that you know NOTHING) and I don't recall it being remotely compatable with my personality. I also have IMAP set up and have been sending and recieving my mail on the linux box.. Grrrr I so don't want to do that, so I guess I will pull out the dual pentium machine with the 1/10 speed cdrom drive and install it on there for a test run. I already downloaded the ISO. 1 ISO I couldn't beleive that.

Joshuha
The state kidnapped my daughter! Wanna read about it?
http://geocities.com/joshmia2001/
 

·
Registered
Joined
·
8 Posts
Discussion Starter · #11 ·
Re: Does the dirty little Slackware Dance

If you feel comfortable, PM a user/pass I can use on the machine you're working on and let me take a peek..

Grrr I am mulling that one over, I mean there really isn't anything to worry about for me anyway, the system will be reformatted and re-installed when I am finished learning it so it can all be done cleanly. (After a back up of course).. Grr I will have to think about that one.

How old are you anyway?

Joshua
 
1 - 8 of 8 Posts
Status
Not open for further replies.
Top