LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   network card in Red Hat 9 (https://www.linuxquestions.org/questions/linux-networking-3/network-card-in-red-hat-9-a-289995/)

jdoherty 02-14-2005 06:42 AM

network card in Red Hat 9
 
When building a Red Hat version 9 server, the network card is not reachable. It is there, but can't be found. When we installed the Red Hat, we were not asked to set up the network. We went in later and set it up, but then it didn't find the card. It is an Ethernet Express Intel e1000 card. Has anyone had this problem before or does anyone have a suggestion please?
Thanks if you can help
J Doherty

Donboy 02-14-2005 09:17 AM

Is this your only ethernet card in the machine? If so, it could be fairly painless.

Try typing "ifconfig" at the prompt and let's see what RH knows about the card. Here's an example output...

[root@tiny root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:F1:1F:CC:80 inet addr:192.168.37.40 Bcast:192.168.37.255 Mask:255.255.255.0 inet6 addr: fe80::230:f1ff:fe1f:cc80/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20310 errors:0 dropped:0 overruns:0 frame:0 TX packets:17150 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3335277 (3.1 Mb) TX bytes:3358212 (3.2 Mb) Interrupt:11 Base address:0xe800

Copy and paste yours here so we can see it. If you don't have anything for eth0, that's ok.

You may want to try running "kudzu" at the prompt and it should try to auto-detect your new card.

You may also want to try this...

cd /etc/sysconfig/network-scripts/
ls -l

See if you have a file called "ifcfg-eth0". If so, post the contents here for us to see. I'm assuming you probably don't have one. If not, try creating that file and put this...

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.20
NETMASK=255.255.255.0
GATEWAY=192.168.0.1

Of course you can substitute your IPs instead. Also, if you're on DHCP instead of static IPs, you can put "dhcp" in the place where it says "static".

Once you've done that, run the command...

service network restart

Now try running the ifconfig command again and see if it knows anything about your card.

fr_laz 02-14-2005 11:09 AM

Hi,

if none of what Donboy told you works, type 'lspci' or 'cat /proc/pci' at the prompt and post it.
In the output, you should see something about an Ethernet controller. Here's mine :
Code:

0000:00:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 40)
If not then your hardware isn't detected at all by your RH.

If you see the Ethernet controller but cannot do anything Donboy proposed, then try 'modprobe e1000' and then ifconfig should show you your ethernet controller.

If it still doesn't work, then you'll have to recompile your kernel, and select the e1000 support in the networking devices support.

jdoherty 02-14-2005 01:54 PM

thank you. I have to wait till next Monday to ty these ideas when I go back to my class.
JD


All times are GMT -5. The time now is 02:39 AM.