• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux newbie question - How to install ethernet card driver?

Stealth

Senior member
I'm a total newbie to Linux. In fact I just finished setting up my box 🙂. I'm trying to connect to the net with my road runner connection, and to do so, I need to install my ethernet card. I installed the card, but now I need to install the drivers that came with the disk. How will I be able to do so? Also, how do I configure my linux box after I install the driver? Thanks ahead of time.
 
I'm running Pogo Linux - Linux Mandrake 7.1, and I have a D-Link DFE530T+ ethernet card. I went on the D-Link website and downloaded the drivers. Now what can I do?
 
Not sure if this will help, but when I checked the hardware configurations, under 'Network Device Card', 'Realtek Semiconductor Co., Ltd. 8139' was listed, and had an IRQ of -1?
 
If you've downloaded the drivers, and I'm assuming they're a tarball (meaning a file with the name of foo.tar.gz). First, as root, untar it using tar -xzvf foo.tar.gz. Now read the README and/or the installation instructions and it will tell you what to do to get the driver compiled and in place.

After that you should be able to use whatever GUI utility Pogo provides for configuring that card. If you don't know how to do it that way, then you would need to tell me exactly what kind of setup you have (i.e. DSL PPPoE, DSL PPPoA, DHCP stuff, etc., etc.).

If you get stuck with the drivers tell me where to download them, though I may just find that myself and I'll look at the instructions and help from there.
 
I'm running the D-Link (two, actually) on Mandrake 7.1, and they're using the via-rhine driver.

Russ, NCNE
 


<< I'm a total newbie to Linux. In fact I just finished setting up my box 🙂. I'm trying to connect to the net with my road runner connection, and to do so, I need to install my ethernet card. I installed the card, but now I need to install the drivers that came with the disk. How will I be able to do so? Also, how do I configure my linux box after I install the driver? Thanks ahead of time. >>



do a &quot;dmesg | more&quot; (without the &quot;s) and see if it mentions your network card there.
 
I did 'dmesg | more', but it didn't return eth0

When I rebooted up my system, it says in regards to eth0:
&quot;Device or resource busy.
Delaying eth0 initialization.&quot;

Any remedies for this?
 
I just checked my PCI-Bus system info, and it lists my ethernet card as follows:

Bus 0, device 9, function 0
Ethernet controller: Realtek 8139 (rev16).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. Mn Gnt=32.Max Lat=64.
I/O at 0x6300 [0x6301].
Non-prefetchable 32 bit memory at 0xe1001000 [0xe1001000].

So apparently the system recognizes the card, but I'm still not able to connect to the internet. I have a router connecting 2 other PC's, and I have connected this router to the Linux box. It is the SMC Barricade. Could this be my problem?

Thanks in advance.
 
nocmonkey:

easier way to get that info from dmesg is dmesg | grep ^eth0. If eth0 is there it will display only that line.

Stealth:

Do an lsmod and see if the 8139 module is loaded. If it's not then try insmod 8319 and see if it loads. If it does then you can try ifconfig <ip addess> <netmask> eth0 up I think that's formally correct.
 


<< nocmonkey:

easier way to get that info from dmesg is dmesg | grep ^eth0. If eth0 is there it will display only that line.

Stealth:

Do an lsmod and see if the 8139 module is loaded. If it's not then try insmod 8319 and see if it loads. If it does then you can try ifconfig <ip addess> <netmask> eth0 up I think that's formally correct.
>>



I wasnt positive that linux names all of its ethernet cards as ethX. OpenBSD (my OS of choice) names them based on the driver used...
 


<< Yes, Linux names them all ethX, and BSD's name them according to their driver...more or less. >>



Another reason BSD makes more sense to me 😉
 


<< Another reason BSD makes more sense to me >>


Heh, I kind of like the generic naming that Linux uses. Six of one, half dozen of another though when it all boils down. BSD only bothers me with it's HD naming scheme: like every IDE HD is a Western Digital. I understand the derivation, I just find it kind of quaint these days is all. 🙂
 


<<

<< Another reason BSD makes more sense to me >>


Heh, I kind of like the generic naming that Linux uses. Six of one, half dozen of another though when it all boils down. BSD only bothers me with it's HD naming scheme: like every IDE HD is a Western Digital. I understand the derivation, I just find it kind of quaint these days is all. 🙂
>>



We could probably turn this into a whole thread 😉
 


<< We could probably turn this into a whole thread >>


No doubt. 🙂 Just hanging waitin' for Stealth to reply how it's going. I hope you don't mind a little chatter whilst we're waiting Stealth. 🙂
 
Here's what happened when I typed in dmesg:
-------------------------------------------
[root@localhost /root]# dmesg
Linux version 2.2.15-4mdk (chmou@kenobi.mandrakesoft.com) (gcc version 2.95.3 19
991030 (prerelease)) #1 Wed May 10 15:31:30 CEST 2000
Detected 199687429 Hz processor.
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-floppy
Console: colour VGA+ 80x25
Calibrating delay loop... 398.13 BogoMIPS
Memory: 46672k/49152k available (1208k kernel code, 416k reserved, 784k data, 72
k init, 0k bigmem)
Dentry hash table entries: 8192 (order 4, 64k)
Buffer cache hash table entries: 65536 (order 6, 256k)
Page cache hash table entries: 16384 (order 4, 64k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium 75 - 200 stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfafb0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.12)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
VT 82C585 Apollo VP1/VPX
Chipset Core ATA-33
Split FIFO Configuration: 8 Primary buffers, threshold = 1/2
8 Second. buffers, threshold = 1/2
ide0: BM-DMA at 0x6000-0x6007, BIOS settings: hda😛io, hdb😛io
ide0: VIA Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0x6008-0x600f, BIOS settings: hdc😛io, hdd😛io
ide1: VIA Bus-Master (U)DMA Timing Config Success
hdb: WDC AC310100B, ATA DISK drive
apm: get_event: Interface not connected
hdc: YAMAHA CRW8424E, ATAPI CDROM drive
hdd: IOMEGA ZIP 100, ATA DISK drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdb: WDC AC310100B, 9671MB w/512kB Cache, CHS=51581/12/32
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
8regs : 190.119 MB/sec
32regs : 146.304 MB/sec
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hdb: hdb1 hdb2 < hdb5 hdb6 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
Adding Swap: 130748k swap-space (priority -1)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: YAMAHA Model: CRW8424E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
via-rhine.c:v1.01 2/27/99 Written by Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/via-rhine.html
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
kcminfo uses obsolete /proc/pci interface


Here's what happened when I typed in lsmod:
-------------------------------------------
[root@localhost /root]# lsmod
Module Size Used by
nls_cp437 3784 1 (autoclean)
vfat 11164 1 (autoclean)
fat 32864 1 (autoclean) [vfat]
nls_iso8859-1 2276 2 (autoclean)
soundcore 3748 0 (autoclean) (unused)
autofs 9604 1 (autoclean)
irda 84289 1
ide-floppy 10408 0
ide-scsi 8008 1
supermount 15112 3 (autoclean)


And here's what happened when I tried 'insmod 8139'
---------------------------------------------------
[root@localhost /root]# insmod 8139
insmod: 8139: no module by that name found

Any suggestions? If you need me to get some more info, just tell me.
 


<< via-rhine.c:v1.01 2/27/99 Written by Donald Becker >>



Looks like the driver is loading. You mentioned that you have it connected to a router. Are you using DHCP, or manually assigning the subnet?

Russ, NCNE
 


<<

<< We could probably turn this into a whole thread >>


No doubt. 🙂 Just hanging waitin' for Stealth to reply how it's going. I hope you don't mind a little chatter whilst we're waiting Stealth. 🙂
>>



Deffinately not
 
Here's what happened when I did ifconfig:
-----------------------------------------
[root@localhost /root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

I believe I'm manually assigning the subnet (netconf -> basic host info -> adaptor 1 -> config mode = manual).

Thanks guys. Where's the side chatter?? 🙂
 


<< Thanks guys. Where's the side chatter?? 🙂 >>



Damaged mentioned one of his little problems with BSD. I would start on my problems with linux, but they would be much better in another thread 😉
 
Stealth,

That's not showing anything assigned for Eth0. Try ifconfig -a. If that doesn't bring it up, trying using DHCP; might be listed as bootp.

Russ, NCNE
 
Back
Top