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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-22-2004, 07:00 PM
|
#1
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Rep:
|
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?
|
|
|
01-22-2004, 07:02 PM
|
#2
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
try the 8139too module
|
|
|
01-22-2004, 07:03 PM
|
#3
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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 :-)
|
|
|
01-22-2004, 07:06 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
did you skip the network configuration during install?
|
|
|
01-22-2004, 07:07 PM
|
#5
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
01-22-2004, 07:14 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
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.
|
|
|
01-22-2004, 08:16 PM
|
#7
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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
|
|
|
01-22-2004, 08:24 PM
|
#8
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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.
|
|
|
01-22-2004, 08:25 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
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.
|
|
|
01-22-2004, 09:32 PM
|
#10
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
01-22-2004, 11:20 PM
|
#11
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Rep:
|
If you are that much of a newbie, why did you chose slack?
|
|
|
01-23-2004, 07:10 AM
|
#12
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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
|
|
|
01-23-2004, 07:43 AM
|
#13
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
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.
|
|
|
01-23-2004, 11:13 AM
|
#14
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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)
|
|
|
01-23-2004, 02:58 PM
|
#15
|
Member
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 31
Original Poster
Rep:
|
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 :-(
|
|
|
All times are GMT -5. The time now is 12:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|