LinuxQuestions.org
Help answer threads with 0 replies.
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 01-22-2004, 07:00 PM   #1
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Rep: Reputation: 15
Linux can't see my REALTEK 8139 NIC's :-(


I've finally got Slackware running on my PC, dual booting with WinXP, but for some reason it's not detecting my Network Cards, both cards are RealTek 8139's, does anyone have any ideas how this can be fixed?
 
Old 01-22-2004, 07:02 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
try the 8139too module
 
Old 01-22-2004, 07:03 PM   #3
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by vectordrake
try the 8139too module
Urrm, I'm an absolute newbie with Linux, I wouldn't know where to start
Can u tell me where I would get that file and how to install it :-)
 
Old 01-22-2004, 07:06 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
did you skip the network configuration during install?
 
Old 01-22-2004, 07:07 PM   #5
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
No, I entered the details, but when it's booting it tries to ping my DHCP server and times out, then when Linux is up and running - if I try to configure my Net connection it says that there are no Adapters installed.

Perhaps I've entered the details wrong.
 
Old 01-22-2004, 07:14 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
i'm going to need some more info here. what is the purpose of two nics in the box? what is the network configuration, i.e. dhcp server, lan, internet(isp). what did you enter during the install?

from a terminal as root try

lsmod

lspci

and post the output.

Last edited by Peacedog; 01-22-2004 at 07:18 PM.
 
Old 01-22-2004, 08:16 PM   #7
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Nic1 = Connected to Cable modem assigned IP by ISP's DHCP
Nic2 = Networked Xbox

I re-ran the Network config and this time it seems to have found my nics, setup pinged my DHCP server no problems

When I ran LSMOD and LSPCI I got a list of the hardware, both network cards were listed, LSPCI listed my GFX card, Soundcard, NIC's etc.

Still no internet, but I'm making progress

 
Old 01-22-2004, 08:24 PM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Post the output of

/sbin/ifconfig

it will give a list of running network interfaces.

you can manually start, and stop configured interfaces with

/sbin/ifup eth0 (starts)
/sbin/ifdown eth0 (stops)

where eth0 is the name of the interface. (eth = ethernet)

also, when you say no internet, to what degree is there no internet ??

can you ping yourself ?
does the DHPC configure your setting correctly ?

whats the contents of the /etc/resolve.conf file
it should hold your ISP DNS servers, if they are not there, or
they are not correct, then any attempts yo convert domain names into IP addresses will fail.

anyway... there could be a million reasons, post what i asked.
 
Old 01-22-2004, 08:25 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
now that i understand what you were trying to do it's easier to help you. good on you to rerun netconfig as for internet, take a look at this thread about setting up dhclient

http://www.linuxquestions.org/questi...t=REALTEK+8139

if you run into any more trouble post back to this thread i'll keep an I on it.


Last edited by Peacedog; 01-22-2004 at 08:28 PM.
 
Old 01-22-2004, 09:32 PM   #10
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by qwijibow
Post the output of

/sbin/ifconfig

it will give a list of running network interfaces.

you can manually start, and stop configured interfaces with

/sbin/ifup eth0 (starts)
/sbin/ifdown eth0 (stops)

where eth0 is the name of the interface. (eth = ethernet)

also, when you say no internet, to what degree is there no internet ??

can you ping yourself ?
does the DHPC configure your setting correctly ?

whats the contents of the /etc/resolve.conf file
it should hold your ISP DNS servers, if they are not there, or
they are not correct, then any attempts yo convert domain names into IP addresses will fail.

anyway... there could be a million reasons, post what i asked.

I have no way to post the output from ifconfig (sorry), I'm currently on a WinXP machine.

But it's finding ETH0, ETH1 and LOP or Loop?!, it's detected the Mac addresses of both cards but there is no ip address nor subnet listed for either of them, there are headers for RX and TX - all values are 0

When I entered the IFUP/IFDOWN command it told me that there was no such device for both cards!

Damn, I forgot to run /resolve.conf, I'll do that and get back to u

Thanks for your help


UPDATE:

I cannot run /etc/resolve.conf, "No Such File Or Folder" is the error I get.
I re-ran/sbin/ifconfig, this time it did NOT show my adapters at all, it only displayed my local 127.0.0.1 IP, I then tried to open the GUI (startx) it said something about there being no screens!!, lol, what is it talking about?



Last edited by witchy2k1; 01-22-2004 at 09:43 PM.
 
Old 01-22-2004, 11:20 PM   #11
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
If you are that much of a newbie, why did you chose slack?
 
Old 01-23-2004, 07:10 AM   #12
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Joey.Dale
If you are that much of a newbie, why did you chose slack?
Quote:
Originally posted by Joey.Dale
If you are that much of a newbie, why did you chose slack?
I read a review and it seemed like a very nice dist, the revoew also said it was pretty user friendly.

I have no idea what the differences are between different distributions, I assume by your question that Slackware is NOT the best dist for a newbie?

What other distributions would you recommend for a beginner?, I heard that Mandrake was good for beginners, should I install that?

Is the learning curve too high to continue with Slackware?, I tend to learn an awful lot whenever I jump in at the deep end
 
Old 01-23-2004, 07:43 AM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
I cannot run /etc/resolve.conf, "No Such File Or Folder" is the error I get.
you don't run /etc/resolv.conf, you edit the file /etc/resolv.conf.

pico /etc/resolv.conf

probably the easiest since you have no screens.

Quote:
I then tried to open the GUI (startx) it said something about there being no screens!!, lol, what is it talking about?
run xf86config to set up your x there is a guide here


http://www.linuxquestions.org/questi...ticle&artid=16

i suggest reading it thoroughly before starting as information you'll need to know is pointed out.

good luck.
 
Old 01-23-2004, 11:13 AM   #14
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you probably doing this already, but linux is case sensitive,
then you say thing like "IFUP/IFDOWN " your not actuallt using upper case in linux are you ?

anyway...
it /sbin/ifocnfig says that both your NIC's are activated, so you dont need to do that manually with the ifup and ifdown commands, but the fac that they dont show ip's is probably whats wrong !

boot into windowsXP and get the IP address and other stuff that assigned to that network card, since you have proadband then ur ip should be static right ?

iwhen i first got broad band, i was having trouble with my DHCP, so i entered the NIC's IP and netmask, and gateway and DNS servers manually using my distro's network settings tooll, and dissabled DHCP, that worked like a charm.

anyway, dont worry about the TX headers and RC headers, they give the ammount of traffic passed though the device (which will be zero if there not being used)

but i definatly think the root of your problem is not havving any IP's assigned to your cards.

just for comparason, here is what a healthy ifconfig output should look like...

Quote:
eth0 Link encap:Ethernet HWaddr 00:10:A7:08:E4:38
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:600 (600.0 b)
Interrupt:5 Base address:0x6f00

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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1000 (1000.0 b) TX bytes:1000 (1000.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:213.104.56.124 P-t-P:62.254.31.221 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1267 errors:0 dropped:0 overruns:0 frame:0
TX packets:1413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:872041 (851.6 Kb) TX bytes:158437 (154.7 Kb)
but you probably woulnt have the ppp (thats my win-modem)
 
Old 01-23-2004, 02:58 PM   #15
witchy2k1
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks qwijibow

I'll do as you say later and let you know how it goes.

I'm not typing any commands in uppercase, I learned pretty quick that Linux was case sensitive

My IP address is actually Dynamic, but it's static for long periods of time, so I suppose I could disable DHCP and enter my 'current static' address

Not having any IP's assigned to my card wouldn't cause Linux to say that they didn't exist :-(
 
  


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
Realtek 8139 + Laptop + Linux = no internet Downy Linux - Hardware 6 02-11-2004 04:20 PM
Arch Linux - Installing a Realtek 8139 NIC John5788 Linux - Newbie 3 02-10-2004 09:47 PM
realtek 8139 poortl9109 Linux - Hardware 6 12-18-2002 03:39 PM
Realtek 8139 esteeven Linux - Hardware 10 05-29-2002 06:53 AM
Realtek 8139 SirKalten Linux - Networking 3 02-19-2002 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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