LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Realtek RTL8139 Network card and modules location (https://www.linuxquestions.org/questions/linux-newbie-8/realtek-rtl8139-network-card-and-modules-location-117876/)

jimdaworm 11-19-2003 01:50 PM

Realtek RTL8139 Network card and modules location
 
I want to start a little network in my house here is what I have:

I have a Realtek RTL8139c network card in one computer and a SiS 900 PCI Adapter (onboard) in my other computer. I have a switch.

I am running slackware 9.1 on both computers. I have recompiled both the kernals and made sure that under the 10/100 ethernet section in kernals option the modules are installed 8139too.o (for the realtek) .

I tried to insert with modprobe the Realtek driver 8139too.o but it says it canīt find the driver... I did a locate and found it in the
/usr/src/linux-2.4.22/drivers/net directory do I need to copy it somewhere or somthing???

Another question, when I get it working and put it in my etc/modules.conf do I have to put any options?? I donīt understand what these major and minor with numbers after them do, although I am off to read about them now!

Any ideas?? I am really new to networking I hope these questions donīt sound to stupid!

Adam

Tinkster 11-19-2003 01:58 PM

Re: Realtek RTL8139 Network card and modules location
 
Quote:

Originally posted by jimdaworm

I tried to insert with modprobe the Realtek driver 8139too.o but it says it canīt find the driver... I did a locate and found it in the
/usr/src/linux-2.4.22/drivers/net directory do I need to copy it somewhere or somthing???
Try without the .o :}

modprobe 8139too

And basically you shouldn't have to touch
modules.conf, Slack will try to bind the module
either using hotplug, or using /etc/rc.d/rc.modules



Cheers,
Tink

jimdaworm 11-19-2003 02:04 PM

Thanks
 
I will give that a try tomorrow... I feel a bit stupid but I think I did try with the .o!

What do you mean by:
Quote:

And basically you shouldn't have to touch
modules.conf, Slack will try to bind the module
either using hotplug, or using /etc/rc.d/rc.modules
So do I even need to modprobe the module??? Whats the next step? netconfig?

Thanks for ya time!

Adam

Tinkster 11-19-2003 05:42 PM

Re: Thanks
 
Quote:

Originally posted by jimdaworm
I will give that a try tomorrow... I feel a bit stupid but I think I did try with the .o!

What do you mean by:


So do I even need to modprobe the module??? Whats the next step? netconfig?

Thanks for ya time!

Adam

Well, I'm not sure how 9.1 handles this,
I'm still using 8.1 ... if the box boots,
what does
lsmod
give you? Also, you could try to ask
netconfig to autoprobe, it should pick
this card up.

Cheers,
Tink

jimdaworm 11-20-2003 06:08 AM

I think I have set somthing up wrong!
 
So I will give you all the info I can about the two computers I am currently trying to network.

I just got the cables today and plugged everything in the lights for where I plug the computers into the switch are lit.

First computer and to be the gateway (When I get all this stuff sorted!!)

Host name: worm 192.168.1.1
Network Card Sis 900 (in the motherboard)

lsmod results

SiS900 used 1 by --------
crc32 used 0 (SIS 900)

Second computer

Host name: smallworm 192.168.1.2
Realtek 8139c network card

lsmod results

8139too used 1 by --------

mii used 0 (8139too)

crc32 used 0 (8139too)


Using netconfig (I didnīt understand what you said about it autoprobing) have set the same netmask of 255.255.255.0 on both the computers and domain of wanadoo.es (my ISP domain)


Thanks again and hey where are you from in Kiwi land?? I am from The Coromandel but been living here in Spain for about one and half years.

Adam

Tinkster 11-20-2003 03:12 PM

Re: I think I have set somthing up wrong!
 
Quote:

Originally posted by jimdaworm
So I will give you all the info I can about the two computers I am currently trying to network.

I just got the cables today and plugged everything in the lights for where I plug the computers into the switch are lit.

First computer and to be the gateway (When I get all this stuff sorted!!)

Host name: worm 192.168.1.1
Network Card Sis 900 (in the motherboard)

lsmod results

SiS900 used 1 by --------
crc32 used 0 (SIS 900)

Second computer

Host name: smallworm 192.168.1.2
Realtek 8139c network card

lsmod results

8139too used 1 by --------

mii used 0 (8139too)

crc32 used 0 (8139too)


Using netconfig (I didnīt understand what you said about it autoprobing) have set the same netmask of 255.255.255.0 on both the computers and domain of wanadoo.es (my ISP domain)


Thanks again and hey where are you from in Kiwi land?? I am from The Coromandel but been living here in Spain for about one and half years.

Adam

The boxes should be able to see each other
with all that's said above. Did you try pinging
them?

Where does Vanadoo come into the picture?
Until now you didn't mention the internet
conncection? How do you connect? :)


Cheers,
Tink

P.S.: I'm living in the Hutt, but I'm not a Kiwi :}
And I had a wonderful holiday in the Coromandel
last year... hot springs, vinyards, .... *sigh*

jimdaworm 11-20-2003 03:35 PM

Sorry!
 
Just to clear up my rather... unclear message.

I have tried pinging my boxes, I can ping my self on the 127 testing number and also using my ip for that box like ping 192.168.1.1 on my 192.168.1.1 box. (I am guessing if I can ping myself my cards are working)

Quote:

Where does Wanadoo come into the picture?
Sorry yeah they are my ISP I have a dial up connection from my 192.168.1.1 box... although I am kind of going to forget about trying to share internet for the time being until I figure out how to network my two computers!

Thanks
Adam

Tinkster 11-20-2003 07:45 PM

It shouldn't be too hard ... as for the switch.
Does it have auto-sensing, and can it handle
various cables(like in using a cross-over or
normal patch cable)? There's so many possiblities,
hard to say where to start looking :}

jimdaworm 11-21-2003 05:41 AM

Here we go again! :)
 
After a quick look in the manual !!!:(!!!

It tells me it is:

---10/100Base t/TX Nway (with Auto-negociation) Interrupton with conectors RJ45

---Auto detects modes of full and hafl duplex on all ports

---Dedicated bandwith of 200Mbs for all the ports

-----IEEEE 802.3x for Full-duplex

-----Automatically learns network configuration

----Plug and play?????

There are a few more things but I donīt really know how to translate them, it doesnīt appear to say anything about handeling crossover cables (And all my cables are straight through)

I hope all this doesnīt sound to strange the manual is in Spanish!

Adam

jimdaworm 11-21-2003 05:23 PM

Thanks for your help......
 
I re-installed both slack on both my systems just and set everything up and I can ping.... what do ya know???

I am now trying to find some BASIC BEGINNER FRIENDLY instructions on how to use Samba or NFS to share my files.

Oh yeah I found this script is supposed to be for sharing internet access what do yo think??


Internet Sharing

Enabling Dial-on-demand
Dial-on-demand enables computers on a network to use one dial-up connection for everyone on the network. Placing the following code into /etc/rc.d/rc.inet2 (just after the IPV forward code) will allow this to happen. Just have the other computers use this computer as the gateway.
# This is to establish Dial-on-demand
# PPPD_AUTO: 0 = off, 1 = on. Pretty simple huh?:)
PPPD_AUTO=0
if [ "$PPPD_AUTO" = "1" ]; then
echo "Activating Dial-on-Demand."
# Replace with the Nameserver of YOUR ISP or just their address:)
pppd :1.2.3.4
route add -host 255.255.255.255 dev eth0
fi

Dropping Internet connection
#!/bin/bash
# killmodem - by Jack S. Lai
#
# This script will hang-up a modem connection correctly. It was written
# to hang-up a dial-on-demand PPPD interface before the five-minute default
# timeout when called.
MDMPID=`cat /var/run/ppp0.pid`
kill -HUP $MDMPID


Adam

Tinkster 11-22-2003 02:24 PM

How does your DSL modem connect?
PPPoE? Or does it work as a router,
and gets assigned an address of its
own?

As for NFS, it's quite straight forward
and in my opinion easier than Samba.

You create/nodify
/etc/exports
to match your sharing needs (man exports
for details), and you need to make sure
that both machines are listed in each
others /etc/hosts.allow (if you don't
allow ALL: ALL [which you shouldn't]).


Cheers,
Tink


All times are GMT -5. The time now is 04:15 PM.