Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Ethernet Setup

Here's a pretty easy one, I hope:
I've got a MaxTech 16-bit ISA NE2000 compatible network
adapter (essentially "Generic Ethernet Card")
running on my Pentium with Slackware 2.0.29.
And I can't get Linux to work with it.  I compiled the kernel with NE2000/1000 support (not a module) and configured everything how it seems it should be.  When booting it croaks when trying to load the "eth0" interface with ifconfig from /etc/rd.c/rc.inet1--says "Device not found" a/o "Interface not found", then gives the lecture about "mebbe you don't have a card or the kernel don't support it"
The card works perfectly under Win95, and I previously had it working with a different kernel version under a UMSDOS filesystem that I killed off.

So, my questions (in addition to "How do ya fix it?") are:
Where is the card in /dev?
How do you specify an IRQ & I/O range for the card?
Where can I read more about interfaces and Linux networking in general?
Is the NE2000 support the appropriate and only driver necessary?
0
anopanen
Asked:
anopanen
  • 2
1 Solution
 
crbildCommented:
1) check with dmesg if your card was recognized (like eth0)
2) for setting the irq/port it depend if you use lilo or loadlin
   a) (lilo) when you install lilo (in the liloconfig-color
       command) you can specify for more parameters like
       eth0:300,9 or something so (check the howto of lilo)
   b)  in the file the launch loadlin you can add other        parameters like before
3) yes NE2000 support is the only required for this card.
 
0
 
crbildCommented:
1) check with dmesg if your card was recognized (like eth0)
2) for setting the irq/port it depend if you use lilo or loadlin
   a) (lilo) when you install lilo (in the liloconfig-color
       command) you can specify for more parameters like
       eth0:300,9 or something so (check the howto of lilo)
   b)  in the file the launch loadlin you can add other        parameters like before
3) yes NE2000 support is the only required for this card.
 
0
 
anopanenAuthor Commented:
Okey-

dmesg had this in it:

lance.c: PCI bios is present, checking for devices...
eth0: D-Link DE-600 pocket adapter: not at I/O 0x378. <=!!!
D-Link DE-620 pocket adapter not identified in the printer port
arcnet.c: v2.53 96/06/06 Avery Pennarun <apenwarr@foxnet.net>
  arc0: Stage 3: No ARCnet cards found.
Partition check:
-------------

I dunno exactly why it's searching for the DE-600 card--I didn't compile support in for it.
...and it's searching in the wrong place for it; my card's at IRQ 11 and I/O address 240-25F
I tried putting that in as an option with LILO, but it didn't seem to have an effect.

Any ideas?
0
 
timcCommented:
Try configuring the card to someone other than IRQ 11, like 10 or 5 since these are typically free and most commonly used for NICs. In your /etc/lilo.conf, add to the top something like:
append="ether=10,0x300,eth0" where 10 and 0x300 are your IRQ and base addrs respectively for your card.  Make sure the card is not in any sort of PnP mode.  NICs don't show up as devices in /dev, you will only need to have NE* support compiled in the kernel and the probe should do the rest upon bootup.  What other devices do you have in your system which could be confusing things?  Have you just compiled a bare minimum kernel with only the required drivers and no fancy stuff?

0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now