LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2003, 07:23 PM   #1
ESXuser
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Problems loading eth0 automatically.


Howdy folks.

I'm playing with Linux and have had it installed for all of two days. I'm running Red Hat 7.1 currently. (work is going to require the use of RH 7.2 with VMWare ESX server here very soon so I'm trying to ramp up a bit.)

The install went fairly well, but my NIC wasn't detected. I'm using the Mastering Red Hat Linux 7.1 book by Sybex as a guide to learning this stuff. Found it cheap at a bookstore.

Anyway...

After some serious digging in the book and online, I've got my linuxconf set to detect the module to load the driver pointing to /lib/2.4.2-2/modules/kernel/drivers/net/8319too.o
Which is the driver I have found out on the net is appropriate for the D-Link DFE-530TX card that I have installed in the system.

When I boot or restart the deamon the system returns that the module wasn't found. However, when I go to a terminal and do a /sbin/insmod and append the path listed above, the NIC will load and obtain an IP from my DHCP server. Takes a while to get an address, but it does come back with one. Looks as if I'm sending almost 40 packets to get an address back. Seems a bit heavy to me, but maybe that's normal.

I've found a thread from 2002 talking about removing the PNP stuff from BIOS and have tried that to no avail. I'm not aware of any IRQ conflicts but really wouldn't know how to go about verifying what IRQ's the system has in use at boot time anyway.

Why will inserting the module work from the command line, but not from the GUI admin app?

Also... (purely newb question here) why is it that I have to use the full path to use the insmod command even if I'm sitting in the /sbin dir?

TIA for any assistance.
 
Old 10-14-2003, 07:43 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
insmod is a is a hard link to lsmod " lsmod - > insmod"

still thinking on your firdt issue
 
Old 10-14-2003, 07:54 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
If your card is really a DFE-530TX, it uses a VIA chipset, and needs the "via-rhine" module, not 8139too. The DFE-530TX+ uses a Realtek chipset and associated Realtek modules (rtl8139 or 8139too).

Run the following command to verify the make of the card's chipset:

lspci -v |grep Ether

(case-sensitive; the first letter of the command is a lower-case "L")

As for determining IRQ and I/O address assignments:

less /proc/interrupts
less /proc/ioports

also check the output of the "dmesg" command to review your bootup messages. Look for anything related to eth0, Ethernet, and the 8139too module.


As for the need to specify a full path when you're in the directory where the program lives, the short answer is this:

For security reasons, Linux does not search your current directory when parsing your request to execute a given program. If you want this to work, you need to force the shell to look in the current directory for the executable you specify:

./name_of_program

(a "." in a pathname indicates the current directory)

Last edited by DMR; 10-14-2003 at 07:55 PM.
 
Old 10-14-2003, 10:38 PM   #4
maxrack
LQ Newbie
 
Registered: Oct 2003
Distribution: redhat
Posts: 2

Rep: Reputation: 0
Try adding the module name to /etc/modules.conf like this:
alias eth0 8139too
...or...
alias eth0 via-rhine <--- based on the previous reply


...this will load the module on bootup
 
Old 10-14-2003, 10:48 PM   #5
DesertWolf0132
Member
 
Registered: Oct 2003
Distribution: Mdk 9.2, Slack 10
Posts: 37

Rep: Reputation: 15
DMR is correct on the chipsets used by the 530TX and the 530TX+. I set up a router once using an onboard card (530TX+ included in some IWILL Motherboards) and a PCI card (530TX) and just stumbled onto the drivers he mentioned to correct the issue. Until then I had similar symptoms.
 
Old 10-15-2003, 12:03 PM   #6
ESXuser
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Cool Thanks for the ideas.

Have to wait until tonight to check into them, but I appericate the assist.

Regards,
ESXu
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically loading the GUI stalefries VectorLinux 8 09-15-2005 02:46 AM
cant loading modules automatically kira Linux - Software 6 04-14-2005 12:57 AM
eth0 won't come up automatically cheekyal Mandriva 7 11-28-2004 05:46 AM
why not automatically up eth0 on boot LinuxRam Linux - Networking 2 11-02-2004 06:53 AM
Nautilus not loading automatically cydermaster Linux - Newbie 0 09-19-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration