Tyr-7BE
02-04-2001, 05:25 AM
First let me say that I'm quite new to Linux and UNIX in general, but I'm learning as I go.
I installed Mandrake 7.2, and all went smoothly except for one thing: my ethernet drivers. My only means of connection to the internet is via aDSL, so I'm stuck with windows until I can fix this. I have 2 ethernet cards in my machine: a D-Link DFE 538 TX, and a D-Link DFE 530TX. I know for a fact that the DFE 530TX is known and supported, and the manufacturer says that the via-rhine eth drivers will work. I've gone through about every ethernet how-to I can find, and tried everything they say plus a little bit more. dmesg | more says that the PCI probe found my 530TX, assigned it to eth1, and is broadcasting from the mem address at which it was found. To me, that sounds like it might work. However, whenever I try to ping anybody except 127.0.0.1, I get the error "Network not accessible." Any ideas on what might be happening and how to fix it? I've been trying for quite some time now. :confused:
Muzzafarath
02-04-2001, 06:43 AM
Do you have the latest drivers for the DFE-530TX? Look in the How I Did It Forum for a description on how to compile them.
Can you post the entire message the dmesg gives you?
Tyr-7BE
02-04-2001, 07:41 PM
A few things:
I'm in linux now as we speak, and it's quite annoying to have to reboot to the
Win98 Juggernaut in order to post this, so hopefully someone will know how to
solve this, as I sure as hell don't.
Muzzafarath: I read your instructions on how to get the DFE 530TX working. I am also using kernel 2.2.17. My system is Mandrake 7.2, which is supposedly fully compatible with Red Hat. I copied all the files which you linked to onto my Win partion, and copied them from there onto my linux partition. I typed EXACTLY what you said to type to compile them (which is exactly what the manufacturer said as well). Instead of compiling, I received a HUGE amount of
warnings and errors in various header files of my /usr/include/linux directory (a good majority of the form "warning: data definition has no type or storage
class." and "warning: no semicolon at end of struct or union.", among many many many others in many files, all of them being various include files). This leads me to believe that the compilation of both pci-scan.c and via-rhine.c are not getting past the include preprocessor commands. Does anyone have ANY idea what might be causing this? As I recall, I had this problem several months ago when I attempted to compile the rtl8139 driver as well when I wanted to see if it worked with my DFE 538TX as was rumoured (I still don't know to date...I need to be able to compile
modules...please help!). I also tried the red-hat method of kgcc, but still no dice...gcc told me that there was no file to compile, even though I added the extra parameters.
dmesg | more :
eth0: 8139too FastEthernet 0.9.9-2.2 Jeff Garzik <jgarzik@mandrakesoft.com>
eth0: Linux-2.2 bug reports to Jens David <dg1kjd@afthd.tu-darmstadt.de>
eth0: RealTek RTL8139 Fast Ethernet board found at 0xc503a000, IRQ 0
eth0: Chip is 'RTL-8139B' - MAC address '00:50:ba:3f:f4:2f'.
via-rhine.c:v1.08 6/24/2000 Written by Donald Becker http://www.scyld.com/network/via-rhine.html
eth1: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth1: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
and much later on (after all the USB and sound card stuff),
eth0: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
Is it normal for eth1 and eth0 to say EXACTLY the same thing? I hate not
knowing what I'm doing! The fact that the drivers are v.1.08 written in June of 2000 suggests that they're up to date (as the ones in Muzz's post in "How I did it!" were v.1.07). Recall from my previous posts that I have a D-Link DFE 530TX and a D-Link DFE 538TX (uncommon network card). I, with my limited linux experience, cannot tell which is which from this. Can anybody here? Is my DFE 530TX eth0 or eth1?
One more thing that might be significant: when I run an lsmod, I get this (I only included the network and pci scan module):
Module Size Used by
via-rhine 8560 0 (unused)
pci-scan 2624 0 [via-rhine]
There are others, of course, but these seemed significant to me in that it
seems that the modules are present, and pci-scan is even in use, but the via-rhine module isn't. How do I get the DFE 530TX to use the module?
Any help on this is very much appreciated. I apologize for my lack of linux experience and I wish I could better describe the problem. Anyone who THINKS they MIGHT know what's going on, please reply.
REVISION:
I just found out that those two modules (via-rhine and pci-scan) are ONLY listed when I run the script provided in the "How I did it" article. When I boot up and type lsmod without running that script, there are no ethernet modules listed. I guess my problem now is compiling pci-scan.c and via-rhine.c? Any ideas?
[ 05 February 2001: Message edited by: Tyr-7BE ]