Solved

PCI ethernet card setup

Posted on 1998-07-31
7
407 Views
Last Modified: 2010-03-18
Hi, I just finished installing slackware linux 1.2.13,
and XFree86 3.1.2. I am trying to configure my ethernet
card so that I can see our local network. Details:
card : PCI Ethernet DECchip 21040 Based Adapter
irq : 09
i/o : FC80h-FCFFh
Windows 95 detects and configures the card , and the
above details are from the device manager.

When I start up linux, during the boot I get messages
like :


SIOCSIFADDR : No such device
SIOCSIFBRDADDR : No such device
Network unreachable.

I have looked in /dev , and there is
no entry for eth0, eth1 etc , or anything
denoting an ethernet card. Is there any way
of forcing linux to find my card ?
Also, in a file called pci , the card is listed
there , meaning that linux can see it ??
So, where have I gone wrong ? Any ideas
would be greatly appreciated.

Jay.
0
Comment
Question by:bandaj
7 Comments
 
LVL 5

Expert Comment

by:JBURGHARDT
Comment Utility
In your bios you will see setings about OS set it no pnp and if this does not help you go to www.linuxmall.com and get RedHat 5.1 for 1.99 plus S&H . I have the same chip and redhat installed driver without any problem
0
 
LVL 5

Expert Comment

by:JBURGHARDT
Comment Utility
You can force to use ethenet card by adding line to lilo check out howto ethernet www.linux.org
0
 

Expert Comment

by:rasp
Comment Utility
I am using Slackware Linux 3.4,
from your kernel version (1.2.13) i assume you are
running Slackware 3.0. It would be a good idea to
upgrade to 3.5 or something with a version 2 kernel,
i am using slackware 3.4 using the 2.0.35 kernel
and this kernel has much better support for the PCI
bus and PCI network cards. I previously had some problems
like you are having and by upgrading my kernel things
have become much smoother.
ftp (or http) to ftp.kernel.org for the latest kernel
and docs.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Expert Comment

by:blasph
Comment Utility
You must have the appropriate driver.
I know there's support for that adapter in kernel version 2.0.33, cause that's what I have. The ethernet howto will help.
Linux will detect the existence of any pci cards, but it's a matter of having support a card before you can use it.
Since the pci file lists the card, linux is seeing it.
Also, I understand that the files in /dev are not involved in setting up ethernet, so missing /dev/eth0 doesn't matter.


0
 
LVL 3

Expert Comment

by:marcelofr
Comment Utility
for new kernels there´s a driver called ne2k-pci

to use it, assuming you have kerneld, write the following line in /etc/conf.modules:

alias eth0 ne2k-pci

Good Luck
0
 

Author Comment

by:bandaj
Comment Utility
Hi all,
sorry for the long silence, my service provider had a few hiccups.
Now for my replies :
    Marcelofr: I tried to download the driver you suggested,
and I got a file called ne2k-pci.c. I have no idea how to make
this into a module. Possibly you could give me a little more
info on that ??
    rasp: I upgraded the kernel to 2.0.4 , and when it asked if
I wanted to include support for ethernet and tcp/ip, I said yes.
However , at reboot time , the same messages keep on coming up.
    jburghardt: I did change my bios settings to a non- PnP OS,
to no avail. I would go to linuxmall to get Redhat @ $1.99, but
it would take forever to reach me ( I am in Zambia, Africa ).

Maybe I just don't know how to tell if the network card is detected.
I have been told that it does not show up in /dev as eth0,eth1
etc. So how does on know that the card is being seen by the OS
( I have been using ping to see if communication could be
established, but the only messages I get are that the network
is down or unreachable , when I know that the network is actually
alright. ) Any ideas ??
At this point I am willing to raise the points to 150.
Thanks for all the help so far. Please bear with the Newbie
questions :-))

Jay

0
 
LVL 3

Accepted Solution

by:
marcelofr earned 150 total points
Comment Utility
The driver ne2k-pci should be in /usr/src/linux/drivers/net/ but not that easy... Really, try to get a kernel which already has it and compile it... Or

compile kernel 2.0.4 and do the following:

1) boot single user: at the lilo prompt type "linux -b"
2) cat /proc/pci (if the directory doesn't exist, mount it: "mount -n /proc")
3) look carefully at the output to see what the irq and io has the ethernet adapter assigned.
3) mount / read/write: "mount -o remount,rw /"
4) edit /etc/conf.modules adding the correct information:

alias eth0 ne
options ne irq=y io=0xz

replacing y and z with the values you got from /proc/pci and save the file
5) mount / read/only: "mount -o remount,ro /"
6) type "exit"

This should keep it running at least while you don't add/remove any PCI hardware

Good luck.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now