Linux - NewbieThis 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.
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.
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?
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.
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?
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.
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
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?
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.