LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-19-2003, 01:50 PM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Rep: Reputation: 30
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
 
Old 11-19-2003, 01:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
Old 11-19-2003, 02:04 PM   #3
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
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
 
Old 11-19-2003, 05:42 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
Old 11-20-2003, 06:08 AM   #5
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
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
 
Old 11-20-2003, 03:12 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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*
 
Old 11-20-2003, 03:35 PM   #7
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
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
 
Old 11-20-2003, 07:45 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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 :}
 
Old 11-21-2003, 05:41 AM   #9
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
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
 
Old 11-21-2003, 05:23 PM   #10
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
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
 
Old 11-22-2003, 02:24 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
need parameters for rtl8139 network card to install suse 8.2 nuwuser Linux - Newbie 2 07-04-2004 01:33 PM
RTL8139 Network Card Won't Initialise Bob Hesketh Linux - Hardware 4 05-19-2004 06:15 PM
Need help to install network adapter Realtek RTL8139 KEP Linux - Networking 11 07-22-2003 07:53 PM
LAN card realtek RTL8139 does NOT work in notebook mjlopez Linux - Networking 4 03-17-2003 12:16 PM
RE:> realtek rtl8139 XtermX62 Linux - Hardware 2 02-16-2003 08:00 AM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration