Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Linux Networking question

Posted on 1997-08-26
Medium Priority
Last Modified: 2010-03-18
I just bought a NE2100 Compatible VLB ethernet card to use in my 486 Linux box.  It is a Mitron LX-2100v with an AMD PCnet-32 chipset on it.
When I start up Linux (RedHat 4.2 distro) the lance driver loads, but not the Lance32 driver.  I can't get out on the network, and I get a long delay when I run the route command.  I have the route set for the subnet and loopback, but it hangs for about 70 seconds when looking at the default gateway.  This is all when running route.
I would like to know how to force the lance32 driver to load.  I believe this will help my problem.  If you have any other suggestions, besides getting a new card or computer, I would love to hear them.
Question by:straznp
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 51

Expert Comment

ID: 1586272
Check your boot.msg (in /var/adm or /var/log), it should contain something similar to:
<4>eth0: PCnet32 at 0x7000, 00 08 f5 43 81 34 lance32_probe:  4
<4> assigned IRQ 11, no DMA needed.
<4>lance32.c:v0.10 28.4.96 tsbogend@bigbug.franken.de

If those messages are missing, there may be a hint what's wrong.
May be you have to specify kernel parameters to lilo, loadlin, etc., see HOWTOs.


Author Comment

ID: 1586273
Well, that's great to see what I should be getting.  But I've been pouring over the HOWTOs for three days now trying to get this card to work.  I haven't found anything yet.  I would like to see how to do it, not where to look.  I've already been looking and I've exhausted all the resources that were packaged with Linux.
LVL 51

Expert Comment

ID: 1586274
If you wont look, experts can't help :-(
Or would you like to get a bunch of possible answers to **all** possible reasons?

Please be more specific about what your systems does, or does not detect at boot time, 'cause this is essential to get closer to the problem.

      1) check what boot.msg says
      2) check /var/log/messages for boot messages about eth*
      3) what is the output of:  ifconfig
      4) if above is ok, grep for ifconfig commands in /etc/rc.d/*, check if they can be started from a shell
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 1586275
No, I have been looking for THREE DAYS.  I'm getting low on where to find information.  I'm looking for a REAL expert on this subject.
On boot up I am told that the lance 7990 driver is loading.  I should be getting the PCnet32 driver because I have a VLBus card.  If config comes back with everything correctly, but route stalls when looking up the default gateway.
It's not really a problem with setting up the card with ifconfig and route.  The problem is getting the kernel based driver to load correctly.
LVL 51

Expert Comment

ID: 1586276
Ok, 200 hard points for an expert who may do it without further info.
May be I'm back to this question if I can see the ifconfig and/or
netstat -rn output :-)

Good luck.

Author Comment

ID: 1586277
NONONONONONO!!!!!!! I'm trying to figure out how to get the DRIVER for the network card to load CORRECTLY.  NOT the ROUTE or the IP configuration.  But the DRIVER.  You don't need the IFCONFIG or NETSTAT information for that!
LVL 51

Expert Comment

ID: 1586278
So we have to dig into the kernel.
Have you compiled your kernel to use modules, or even autoloading modules when needed?
If not, we are back to boot.msg etc. You then should enable debugging in lance32.c .

Please contact me at hoagascht@gmx.net. this will be faster than
communicating here.

Expert Comment

ID: 1586279
You'll have to cross reference the following Slackware info to RedHat because I'm not too familiar with RedHat's startup sequence.

I had a similar problem and here is how I got it to work.
Rebuild the kernel with no built in support for any Ethernet cards. Make the lance32 support as a module only.

Locate the equivilent of Slackware's rc.inet1 file. This has all the ifconfig and route stuff to configure your ethernet.

In the begining of this file put an insmod command to load the lance32 module using absolute paths to both insmod and the lance32 module.

Presuming the module loads then the network configuration commands following will work and you're up.

If the module does not load check the lance32.c file in /usr/src/linux/drivers/net for possible command line options to use when you load the module.

This worked for several 3Com cards I had to get up. The kernel only wanted to see them as a module, not built in to the kernel.


Author Comment

ID: 1586280
Well, that would be great, but the kernel I have, doesn't have module support for the lance32 driver.  It is kernel only.

Accepted Solution

jetx earned 200 total points
ID: 1586281

why don't you add the driver to the kernel deamon at X-win via command   kernelcfg    add the driver and specify your IRQ and info. Then make sure that your configuration for you ethernet card at   netcfg  is onboot .



Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

609 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