LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-11-2001, 08:09 PM   #1
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Rep: Reputation: 15
Question isapnp ethernet card setup




I am trying to set up a Netgear EA201c Ethernet card in Linux Redhat
5.2, which supposedly uses the generic NE2000 driver. The boot-up
(list) says: "setting up isapnp devices: Board 1 has Identity......" Then
it lists the serial identifier & serial number. Does this mean that the
board is properly set up? /etc/isapnp.conf says that I should "edit the
files below..." to set up (the device). When I modify the file (uncomment
out ) I get error messages like "don't know what to do with....." Also,
when I run 'modprobe eth0' I get the following message: "/lib/modules/
preferred/net/ne.0: init_module: Device or resource busy." What does
this mean? That the card is working? Maybe I don't have dhcp client
configured properly. (This is on a home 2-computer set-up, not a serv-
er) It is kind of confusing the way the fields are worded. I would appreciate the help of someone out there who knows something about
netcard setup & network setup. Thanks!
 
Old 12-11-2001, 11:49 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Err, Redhat 5.2? There are a lot of here who can help you with network configuration, but I'm not sure if any of us will remember how to deal with that distro, as it is very old. Any particular reason you're still using that version?
You should also be aware that your particular card isn't listed as supported hardware for that version of Redhat, although it does seem to use one of the (older) ne modules.

If you want to know whether or not the NIC is correctly configured and active, type "ifconfig". You should get something similar to the following:
Code:
[root@penguinbox~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:29:5F:B9:29
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1703 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1741 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1142930 (1.0 Mb)  TX bytes:263958 (257.7 Kb)
          Interrupt:10 Base address:0x5000
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:310 errors:0 dropped:0 overruns:0 frame:0
          TX packets:310 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:30380 (29.6 Kb)  TX bytes:30380 (29.6 Kb)
The stats for eth0 are what you want to see. If you only get a listing for lo (the loopback device), the card is not configured correctly.
Repost with the results from ifconfig and we'll try to take it from there.


Also, "device busy" errors can come from IRQ conflicts. You might need to hard-assign the cards IRQ, which could involve the use of DOS configuration tools that may have come with the Card. It's been a long time since I've dealt with ISA, so I can't give you a definitve answer there.

Last edited by DMR; 12-11-2001 at 11:53 PM.
 
Old 12-12-2001, 07:01 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Same card, ISA in a 486 two days ago. We couldn't get the module to load in a Slack 7.0 box either. Its a matter of getting it the right i/o settings and irq. I'll post if we come up with anything.

Cheers,

Finegan
 
Old 12-12-2001, 07:27 PM   #4
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
Reply to DMR: isapnp setup/RedHat 5.2

In reply to why I am still using this version: I am a newbie to the Linux
experience; I bought this version approximately a year ago because I
wanted to try Linux, and it was the easiest way for me to install it. (The
machine is old, too; mid-90s, a Compaq , i486sx). It's the McMillan
Software version, 3-cd set w/install floppy. I'm writing this from SuSE
Linux 7.3 on an Emachine with Windows, but I may try other 'flavors'
of Linux later down the line. But back to the old machine; I just hate to
trash something if I can make it work.(!)

I tried ifconfig, but am only getting the listing for lo. It's possible that
the driver is not installed. The drivers provided for the card (as listed
on the box ) are: Microsoft, Novell Netware, SCO Unix, (3.2.4x SCO
Open Server), others. A DOS floppy is provided, but I guess what
I need to know now is how to get the proper driver installed. How
do I do this under Linux (or DOS)? When I try to boot the disk, I
get the 'Invalid System Disk' error message. (There is a 'SETUP.
EXE' on the floppy).

Incidentally, a salesperson at Best Buy said that if the card will work
under Unix it would work under Linux. I just took his word for it.


Thanks
 
Old 12-12-2001, 07:41 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Nothing on the disk is going to be of any help. Getting the card up is a matter of getting it the right addressing. Right now it needs an interrupt and an input/ouput setting. This is also a card that uses the ne.o driver. You already have the driver, the trick is going to be to get the kernel (and more or less, the driver), to recognize the card. Mucking about with interrupts used to be most of the time people spent getting their Linux boxen to work. Try:

insmod ne io=0x300 irq=10

It will probably produce the same error, device or resource busy...
You can try a bunch of irq's and see what happens, but I'm pretty blind on these old cards too.

Again, my friend needs a working NIC, so I'll post if he gets his to work.

-Cheers,

Finegan
 
Old 12-12-2001, 07:48 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try

lsmod

look for ne.o

if you see ne.o in the lsmod output the module is loaded, you can skip to configuring your card.

if it's not there try modprobe ne.o

if you get errors post them here, and try

insmod ne.o


if you get errors on that also post them here

configuring the card...

the module must be loaded..


look at /etc/modules.conf or /etc/conf.modules

it needs an alias like this

alias eth0 ne

then run this

depmod -ae
post errors for this if any

then try


ifconfig eth0 192.168.0.1


substitute your ip for the one I used.


then do ifconfig

you should see the card configuration

Last edited by DavidPhillips; 12-12-2001 at 07:51 PM.
 
Old 12-13-2001, 06:51 PM   #7
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
To DavidPhillips from Yesterday

lsmod: no
modprobe ne.o: 'device or resource busy'
insmod ne.o: 'ne.o: no such file or directory'

Apparently the module is not loaded, or not detected. What next?

Thanks
 
Old 12-21-2001, 05:54 PM   #8
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
Redhat 5.2 Macmillan Software publishing (1998) 2nd CDROM

How do I read what is on the 2nd cdrom of the Linux RedHat 5.2 3-cd set, (1998 edition, Macmillan Digital Publishing)? The manuel doesn't go into a lot of detail, except to say that...."
it contains the source code rpms (SRPM) for all of the Open Source applications on the 1st cdrom.
From these source rpms,you can build all the Open
Source applications we have in the distribution."

What I would like to do is to be able to see what is on the cd without having to input a particular
filename. I would appreciate any help that anyone can give, as I suspect that I probably need some or all of (the source code).


Thanks!
 
Old 12-21-2001, 06:33 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do a search for ne.o


it might be in /usr/lib/2.4.xx/kernel/drivers/net/

if it's not somewhere in the kernel folder of your current kernel then you might have to recompile the kernel and either select module suport or kernel support, kernel support should be better.

the source CD has the source files for the rpms that you installed from the first CD. The first CD rpms are precompiled, probably for a 386 machine.

you can compile the source rpms for your own machine to make it run better.

Last edited by DavidPhillips; 12-21-2001 at 06:36 PM.
 
Old 12-21-2001, 08:40 PM   #10
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
To DavidPhillips Re: cdrom

Is there any way that I can actually see what is on the 2nd cdrom (the files) without any particular filename? How do I know if I would need
a particular (file) on the cd?

Thanks!
 
Old 12-22-2001, 01:01 AM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mount the cdrom

mkdir /mnt/cdrom

mount /dev/cdrom /mnt/cdrom

if it says you need to give file type try this

mount -t iso9660 /dev/cdrom /mnt/cdrom

then use file manager to look in /mnt/cdrom

add a line like this to /etc/fstab so you can mount it from the desktop

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

Last edited by DavidPhillips; 12-24-2001 at 09:50 AM.
 
Old 12-23-2001, 07:29 PM   #12
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
To DavidPhillips Re: 'ne.o' search

When I type /usr/lib/2.4.xx/kernel/drivers/net/
from a root shell it says 'No such file or directory.' The only /libs I'm seeing that even
come close (this is in 'gvim/selfile') are 'blt
2.4/' & 'libBLT.so.2.4*' (What do the *s mean? I
look through various files and I see alot of these).That last one was a VERY long file which
looked like a lot of gibberish (<@$&>, something
to that effect). But it said 'incomplete line'
in there. So maybe I need to recompile. How do
I start?
Thanks
 
Old 12-23-2001, 09:30 PM   #13
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
A few thoughts:

Quote:
/usr/lib/2.4.xx/kernel/drivers/net/
The exact path to your network drivers will be somewhat different on your system (although I don't know exactly what it is).

The gvim libs are nothing useful here; they're part of the Vim editor's GUI.

Try insmod or modprobe without the ".o" suffix:
Code:
modprobe ne
Also, there actually might be something useful on the DOS floppy, in the way of a DOS config program which would allow you to hard-set the resources for the card. You would have to copy the utility program to a bootable DOS floppy to use it though, as it seems that the disk you have isn't a boot disk.
 
Old 12-24-2001, 06:52 PM   #14
hank@$3800
Member
 
Registered: Dec 2001
Location: Charlotte,N.C.
Distribution: Redhat Linux 5.2, SuSE Linux (personal 7.3)
Posts: 43

Original Poster
Rep: Reputation: 15
To DavidPhillips Re: CDmount

Thanks for advice on mounting cd; it worked. I
saw all kinds of files on 2nd cd. Now all I have
to do is figure out how to best utilize them!
(Some are kernel files).

In the files that are already installed (from 1st
cd), when I scroll through in gvim, I see quite
a number of *s (asterisks). What does this mean?

Thanks to everyone for input; I'm trying your
suggestions as soon as I get to a point where I'm
not busy with other things!

Merry Christmas _ Happy New Year!!

Last edited by hank@$3800; 12-24-2001 at 06:53 PM.
 
Old 12-24-2001, 09:21 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The files are Executable.

when you do ls -l you can see a listing of the file permissions / attributes

the x indicates it is executable
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does isapnp make my ethernet vanish? John Peterson Linux - Hardware 2 12-17-2017 09:38 PM
ethernet card setup problem linetnew Linux - Networking 2 10-12-2005 07:59 PM
ISAPnP support for ISA ethernet card OmegaBlac Arch 3 11-18-2003 02:07 PM
setup ethernet card m_rajkarnikar Linux - Hardware 3 09-20-2003 12:27 PM
ethernet card not being setup on startup kierse Linux - Hardware 6 05-06-2003 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:45 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