LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Cannot connect to internet with cable modem (https://www.linuxquestions.org/questions/linux-distributions-5/cannot-connect-to-internet-with-cable-modem-24885/)

debPandra 07-02-2002 04:36 PM

Cannot connect to internet with cable modem
 
I just installed Red Hat 7.2. I have the following Lan Card that came with the AsusTek motherboard: Realtek RTL 8139 10/100 Mbps LAN controller. It seems that it detects the ethernet card ok. But my cable modem conection is not working.
The eth0 is set it up so it detects everything with the DHCP.
I opened the RH network monitor and it appears that the eth0 is working since I can see some green waves. But I tried to ping some sites and also to go to some sites with the borwser and I get nothing. Am I missing somehting? any idea what's wrong?

acid_kewpie 07-02-2002 04:42 PM

well run ifcofnig to see if you have got your IP correctly first off. after that there's little else to suggest, unless you are firewalled or something. over an ethernet setup there would normally be bext to nothing to set up, once the card itself is working ok. not a clue what you mean by green waves tho.. i take it you don't need to register with your isp on a certin restricted site like most providers do? as for the card itself. 8139's are bombproof and extremely well support, as THE most generic chipset around at the moment

acid_kewpie 07-02-2002 04:43 PM

s/ifcofnig/ifconfig/g

debPandra 07-02-2002 05:30 PM

Chris,
thanks for your reply,
I run ifconfig, and I got the correct ip. I got this:
-----------
eth0
Link encap:Ethernet HWaddr 00:E0:18:79:C5:E8
inet addr:24.219.X.X Bcast:24.219.X.X Mask:255.255.255.192
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:100
RX bytes:2697 (2.6 Kb) TX bytes:650 (650.0 b)
Interrupt:5 Base address:0x9000

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:120 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8252 (8.0 Kb) TX bytes:8252 (8.0 Kb)
---------------
Do you see anything wrong? the inet address was ok.
is there a way to do another test?

thanks

debPandra 07-03-2002 10:24 AM

More info,
I ping a url and it doesn't work, but then I ping an ip address and it works. So it seems that I have something wrong with the DNS, right? I thought that the DHCP was goig to configure it for me. What should I do?


thanks

orgcandman 07-03-2002 10:37 AM

DNS to the rescue
 
here's a public DNS server for you....

ns2.mit.edu
18.71.0.151

just add an entry to resolve.conf that looks like:

nameserver 18.71.0.151

or type (as root):


echo "nameserver 18.71.0.151" >> /etc/resolve.conf; sync; update

then you should be all set


All times are GMT -5. The time now is 06:51 PM.