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-13-2003, 12:35 PM   #1
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Rep: Reputation: 30
Network problems - Realtek 8139


O.K., i´m a newbie to linux and to slack too.
I have installed slack 9.0 with no problems except for the network, and its really fast and good, mutch better tham Mandrake...
O.K., i have 2 network cards Realtek 8139.
1 if for home networking and the other is for mi cable modem.
I need them because i dont have a router and i have to share the internet with other computers...
The thing is that no mather what i do, i cant get them to work...
Please can anyone please help me with this.
I really need help with the configuration trougth the installer when the option for the network configuration apears.
The thing is that i´m really a , and if someone is going to help me, please do it gently, and step by step...
Man i have tried LindosOS, Red Hat, Mandrake, and Suse(the cards worked fine with all), but Slack really is fast and stable...
I really want to use it...
By the way, where can i get some great walpaper with the theme SLACKWARE...
Please help me...
Best: The SIN Raven

Last edited by The SIN Raven; 08-13-2003 at 12:37 PM.
 
Old 08-13-2003, 12:54 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
THe cards use the modules rtl8139. Do an ifconfig and see if they are there. If not, do /sbin/modprobe rtl8139. If there where no errors do an ifconfig and see if they are there now. If so edit your /etc/rc.d/rc.modules and uncomment the line that says # /sbin/modprobe rtl8139 to look like this /sbin/modprobe rtl8139. Then type netconfig and follow the instructions. If you are really brave you can edit your /etc./rc.d/rc.inet1 to setup the cards.
 
Old 08-13-2003, 01:17 PM   #3
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks for the reply.
Only eth0 detected, this is the the home network card...
How do i exacly can edit the /etc./rc.d/rc.inet1...
Waht is it and what commands should i use if any???
As i said i´m really newbie...
Thanks again

Best: The SIN Raven
 
Old 08-13-2003, 01:28 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
If you are so that new, I would suggest you just look at (no offence ment). You can open it up in a gui with an editor like kwrite. When on a command line use something like pico or vi.

The /etc/rc.d directory is where the start up scripts are.

You really should go here http://www.slackware.com/book/ and read. It is really helpful when first using slackware.

Do an ifconfig eth1 up and see if it shows up when you do an ifconfig.
 
Old 08-13-2003, 01:44 PM   #5
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
Well i´m not that new...
But no ofense thaken broo...
Well the thing is like this, i know to work with kwrite and all that stuf, but i only have a rc.inet1.sh, i think this is a aplication, but i dont have a config or any other text format.
Can i edit a .sh???
Thanks for the help.
Best: The SIN Raven
 
Old 08-13-2003, 02:16 PM   #6
Cdzin
Member
 
Registered: Jul 2003
Location: Campinas-SP, Brazil
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
I think so SIN. Well if your secondary network card isn't using a DHCP and you do not set it ( IP and Netmask ) on rc.inet1 it's not loaded on boot.

I don't have any rc.inet1.sh on my Slackware 9. Just rc.inet1. Hope we are talking about the same file . Do as followed:

# joe /etc/rc.d/rc.inet1

It should look like that ( I'll post mine below ):

# Edit these values to set up your first Ethernet card (eth0):
# IPADDR="127.0.0.1" # REPLACE with YOUR IP address!
# NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
USE_DHCP=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
# DHCP_HOSTNAME="CCHOSTNUM-A"

# Edit these values to set up your second Ethernet card (eth1),
# if you have one. Otherwise leave it configured to 127.0.0.1,
# or comment it out, and it will be ignored at boot.
IPADDR2="192.168.64.1" # REPLACE with YOUR IP address!
NETMASK2="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth1 using DHCP:
# USE_DHCP2=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
# DHCP_HOSTNAME2="CCHOSTNUM-A"

Make sure you uncomment the IPADDR2 and the Netmask lines and set their values. So it must work. Hope i helped. See you.
 
Old 08-13-2003, 03:57 PM   #7
ConXioN
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
I'm a debian user and I haven't used any other distro. Yeah I started with Debian and I'm looking forward to stick with it..

I'm not sure if slack contains modconf but it's easy to load/unload modules by giving it 'modconf'

You'll end up in menu based system where you can load unload modules.. FOr example in your situation you'd browse into /kernel/drivers/net and load rtl8139

Although my realtek NICs didn't work with it but with 8139too module instead. Who knows why

So if modconf works for ya, try it. And if rtl8139 won't load for you, you can try 8139too module...

There's my 2 cents
 
Old 08-13-2003, 04:13 PM   #8
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
That command dont work, but thanks anyway.
One thing is for sure, you detected mi problem...
In boot time i get alllllllllot o info like module 8139cp error possible I/O IRQ conflit...
The problem is that the system is loading the module 8139cp, and i want it to load 8139too...
The strange thing is that rc_modules the 8139cp or 8139too are not selected...
Beats me...
It´s said, i really liked the simplicity of and power of Slack...

Best: The SIN Raven
 
Old 08-13-2003, 04:18 PM   #9
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
IN /etc/hotplug/blacklist

add the line

8139cp

to stop it trying to load it
 
Old 08-13-2003, 04:33 PM   #10
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
O.K.
Will try that tommorow.
By the way, i thik that mi CD of Slack it´s a bit strange...
I dont have the zip slack or other folder like in here:

ftp://slackware.linux.no/pub/slackware/slackware-9.0/

I have downloaded a ISO image and not the folder with all the cd..
If this is not commom, please someone tell me a safe FTP to thake a original ISO image, with all in the CD...
In mi CD i only have 3 folder when i open it: isolinux, kernels, slackware.
The CD as 662 MB...
Thanks.

Best: The SIN Raven
 
Old 08-14-2003, 01:11 AM   #11
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
The black list thing as stop the 8129cp error.
But i still dont have network.
Anyway about the CD, doees anyone knows if it´s the rigth one???
Best: The SIN Raven
 
Old 08-14-2003, 01:46 AM   #12
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
ALl I can think of is in rc.inet1 file give the first card the static IP address and the second one use DHCP with it, just to be sure uncomment the /sbin/modprobe 8139too in rc.modules.

in /etc/modules.conf delete anything that may or may not already be in there and add

alias eth0 8139too
alias eth1 8139too



once rebooted do
ifconfig

if there is an eth0 but no eth1 (dhcp) one

try
ifconfig eth1 up
dhcpcd eth1

if there's no eth's at all
ifconfig eth0 up
ifconfig eth1 up
dhcpcd eth1

do
ifconfig
again and see if anything what the ouput is

Your cd is fine, it's the same as mine.
 
Old 08-14-2003, 03:32 AM   #13
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
Ho Looking_Lost, it worked broo
Now i have internet, weeeeeeeeee
Here is what i get with ifconfig

bash-2.05b# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:7D:90:EE:CC
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3540 (3.4 Kb)
Interrupt:11 Base address:0x7000

eth1 Link encap:Ethernet HWaddr 00:E0:7D:90:E3:CF
inet addr:213.228.188.195 Bcast:213.228.189.255 Mask:255.255.254.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3036 (2.9 Kb) TX bytes:1540 (1.5 Kb)
Interrupt:5 Base address:0x9000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:200 errors:0 dropped:0 overruns:0 frame:0
TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15624 (15.2 Kb) TX bytes:15624 (15.2 Kb)

The only thing its that every time i boot up, i must do all hover again, because if not, i dont have any network detected with ifconfig...
Any sugestions???

Best - The SIN Raven

Last edited by The SIN Raven; 08-14-2003 at 03:34 AM.
 
Old 08-14-2003, 05:35 AM   #14
lappen
Member
 
Registered: Aug 2003
Location: Sweden
Posts: 83

Rep: Reputation: 15
edit your rc.inet1 file and uncomment the USE_DHCP line for eth1
if eth0 isn't loading either just uncomment and add your ip /netmask for that one to..

rc.inet1 is in the /etc/rc.d/ folder
 
Old 08-14-2003, 05:41 AM   #15
The SIN Raven
Member
 
Registered: Jun 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks for the help guys...
Network up and running...
 
  


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
Realtek network card 8139 under FC4 realcr Linux - Hardware 9 08-18-2005 06:38 PM
realtek 8139 slow network splotch Slackware 2 09-29-2004 11:28 AM
Network with Debian Woody and Realtek 8139 grcbheax Linux - Networking 2 08-09-2004 10:10 AM
Realtek / Asound 8139 Network Card with Redhat 8.0 jamesonq Linux - Networking 6 04-06-2003 10:44 PM
Realtek 8139 pci network card and RH 7.3 d4u Linux - Networking 6 09-06-2002 09:25 PM

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

All times are GMT -5. The time now is 06:06 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