LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-17-2003, 01:50 AM   #1
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
trying to get ethernet working


hi all,

i've just installed slackware 9.0 with the 2.4.20 kernel, and i'm trying to get my ethernet card configured properly. i thought i might just need to enable dhcp, and i found the following instructions for RH:

edit the file /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

but i can't for the life of me find the sysconfig directory anywhere, not to mention network scripts or efcfg-eth0

where can i find these in this distro?

also of concern is a message during boot:

8139too Fast Ethernet driver 0.9.26 <--- this is my eth card
PCI: Found IRQ 10 for device 00:0d.0
PCI: Sharing IRQ 10 with 00:10.2
eth0: RealTek RTL8139 Fast Ethernet at 0xf888b000 00:50:2c:05:c7:6a, IRQ 10
8139cp: 10/100 PCI Ethernet Driver v0.3.0 (Sept 29, 2002)

and now this part which gets repeated over and over:

insmod: /lib/modules/2.4.20/kernel/drivers/net/8139cp.o.gz: init_module: No such device

insmod: /lib/modules/2.4.20/kernel/drivers/net/8139cp.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

Eventually, it decides that the process failed, and then continues to boot normally.

If anyone has any suggestions as to how to get my internet connection working, I would really appreciate your help!!

thanks,
 
Old 08-17-2003, 02:00 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
edit the file /etc/sysconfig/network-scripts/ifcfg-eth0
Non-existent :}

In Slackware, the network setup script
is /etc/rc.d/rc.inet1

As for your network card and the
modules ...

Please post the output of lspci -v

Cheers,
Tink
 
Old 08-17-2003, 02:02 AM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Have a look here, should be helpful

Realtek Problems
 
Old 08-17-2003, 02:08 AM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
I've been doing some reading on IRQ ports, and cat proc/interrupts showed that port 10 was given to usb-uhci

does this mean that there is a port conflict and i need to tell one of the devices to use a different port? i tried to take a look at my /etc/modules.conf file, but it was empty.... is that usual?

i'm lost here....
 
Old 08-17-2003, 02:11 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
In this situation it is probably normal

if you stop it trying to load the 8139cp and add an alias to modules.conf

alias eth0 8139too

you'll be practically there in getting it working

tell's you how to stop 8139cp loading in that link above
 
Old 08-17-2003, 02:14 AM   #6
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
lspci outputs the following:

00:0d.0 Ethernet controller: RealTek Semiconductor Co., Ltd. TRL-8139/8139C/8139C+ (rev 10)

and

00:10.0 USB Controller: VIA Technologies, Inc. USB (rev80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev80)

there's other stuff too, but this is all that seems relevent (and my hands are cramping already trying to transfer this to another box)

in the meantime i'm going to check out that link above.

thanks,
 
Old 08-17-2003, 02:17 AM   #7
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
You should also being using the too, not cp driver.

I got the same errors for mine, but my eth0 still worked. Anyhow, I compiled a new kernel and left out the cp driver and made sure the too was built in.

Also, are you assuming it's not working because of the errors or did you try?

Someone here should know how to tell that module not to load and to just load too only.
 
Old 08-17-2003, 02:24 AM   #8
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
i'm assuming it's not working because i can't load any web pages, and because of the errors

i am looking at my rc.modules and both 8139too and 8139cp were commented out, so i'm uncommenting the 8139too and i'll see if that works
 
Old 08-17-2003, 02:39 AM   #9
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
woohoo!!! i'm writing this from my slackware box! i'm still getting the insmod errors at startup, but the connection is working.

i can finally sleep!! i'll try and figure out the errors tomorrow i suppose.

thanks all for the help, you've been great! i saved that link for future reference too...he he.

night all
 
Old 08-17-2003, 02:43 AM   #10
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
To save your tired eyes reading it all, cut and paste

IN /etc/hotplug/blacklist

add the line

8139cp

to stop it trying to load it
 
  


Reply



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
Ethernet not working digitalRyno MEPIS 5 07-09-2005 11:51 AM
ethernet card not working joshyjosh1289 Linux - Hardware 5 02-21-2005 02:48 PM
Getting Ethernet working!!! (again) Diademed Linux - Newbie 13 10-06-2004 08:09 PM
Ethernet Adapter not working or Network not working... phoenix07 Linux - Hardware 2 04-09-2004 06:58 PM
ethernet not working with gentoo 1.4 Aman9090 Linux - Hardware 1 11-09-2003 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:19 PM.

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
Open Source Consulting | Domain Registration