LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Eth0 problem (https://www.linuxquestions.org/questions/linux-newbie-8/eth0-problem-18654/)

BoldKiller 04-16-2002 11:31 AM

Eth0 problem
 
I know there are similar questions already posted on the subject but none completely answered my question!

I am running Red Hat on a 486 for server testing purpose.

Initially I used 7.0. In setup, I told him what card I was using and the system asked my for the setup info (I have a DHCP on an NT Server). It was working fine (could ping other computers without problems).

Lately, I upgraded to 7.2. Actually I installed a fresh copy. The setup asked me for the card type and told me he found it but did not ask for setup info (dhcp, ip, mask, etc...)

I know I have to use ifconfig to setup the card. The problem is the card uses non standart io and IRQ. (io = 300 IRQ = 5) I have tried many variation to try and include those setting in the ifconfig command but with no luck. Can someone please help me!

To summarize:
I need to know how to setup the eth0 device to work
- io = 300
- IRQ = 5
- Type = Ne2000 compatible (ISA model) (no PCI bus on the 486!!)
- Using a DHCP

Thanks in advance for any help!

Mara 04-16-2002 12:41 PM


 
insmod ne2 irq=5 io=0x300
then use ifconfig to configure eth0.
Insmod installs module for your nic and setups hardware (that's why you use hardware parameters with it).
One thing, it may be ne2 or ne. One of them will work.

BoldKiller 04-16-2002 02:55 PM

Thanks for that, now how do I tell ifconfig to use DHCP ??

While on subject, why is it called ifconfig and not lets say ipconfig??

Thanks in advance!

augamecock 04-16-2002 05:07 PM

You could try /sbin/pump

That's what I always used when I used DHCP

BoldKiller 04-16-2002 05:58 PM

tried the insmod ne2 irq=5 io=0x300 says unknown module.

tried the insmod ne irq=5 io=0x300 gives me a list of errors.
5 path fallowed with : " unresolved symbols"

Any other idea??

DMR 04-16-2002 07:41 PM

Quote:

Originally posted by BoldKiller
tried the insmod ne2 irq=5 io=0x300 says unknown module.
Right- it should be ne. Also, IRQ 5 and an I/O address of 300 are pretty standard; have you configured the card itself for those settings via jumpers or software? If the card doesn't have jumpers, it should have come with some (probably DOS-based) configuration/utility floppy. If you don't have the software, you can try isapnptools.

Quote:

tried the insmod ne irq=5 io=0x300 gives me a list of errors.
5 path fallowed with : " unresolved symbols"

The ne driver is dependent on 8390.o, which must load before ne. Insmod isn't smart enough to know this; try updating the dependency database by running depmod -a, then do:
modprobe eth0
or
modprobe ne io=0x300 irq=5

If you get no errors, run lsmod and verify that the driver is in the resulting list of loaded modules.
After that, put the following in /etc/resolv.conf:

alias eth0 ne
options ne io=0x300 irq=5


As far as DHCP goes, you'll need to be running a DHCP client daemon. Augamemcock mentioned pump, dhcpcd is the other common one. Redhat 7.2 uses the graphical utility NEAT (NEtwork Administration Tool) to set up your networking parameters; just type neat at a command prompt to run it. You'll find the option to enable DHCP there.

BoldKiller 04-17-2002 03:29 PM

Let me just rephrase my question. I'm new to Linux, so I need help with the Linux part of the configuration.

My network uses a DHCP on an NT server.
My card uses io=300, IRQ=5. (That is a fact I am sure of, it was configured like that by me a long time ago! And RedHat 7.0 installed it at those parameters.)


What I would like to is to have a full procedure as to how to make the installation. I have read on linuxdocumentation about it but what they were saying did not work (the only how-to I found was for RH 6.0).

DMR: I tried the NEAT command and it said: unknow Bash command (or similar to this).

Please dont asume I know what you are talking about unless it is Network related. I am completely new at this Linux stuff! (made my first step with DOS and been working with NT server since then)

Note: My linux box is a 486, I have xserver working on it (with window maker). But if you could give me the procedure for the command line I would really appreciate it!!

Thanks in advance!


All times are GMT -5. The time now is 10:30 PM.