LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   need help on internet connection setup (https://www.linuxquestions.org/questions/linux-networking-3/need-help-on-internet-connection-setup-243655/)

dzan 10-17-2004 01:51 AM

need help on internet connection setup
 
Hi, I am a newbie in linux, I just finished installing redhat 9.0 and it was able to detect my VIA VT86c100A Rhine-II PCI (D-link DFE-530TX) lan card. I was also able to create a xDSL connection using the network wizard. Both Ethernet and dsl connection was successfully activated.

When I typed in ipconfig in the terminal, ppp0 contained an ip address mapped by my network provider. However, whenever I try to access the internet (surf using mozilla), I always get an error message that the page can’t be found (for example, in accessing google.com, error message says:
"google.com cannot be found. please check the name and try again.")

--------
Below is the ipconfig result:
eth0 Link encap:Ethernet HWaddr 00:0F:3D:CC:77:C8
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1979 (1.9 Kb) TX bytes:1695 (1.6 Kb)
Interrupt:9 Base address:0xd800

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:1381 errors:0 dropped:0 overruns:0 frame:0
TX packets:1381 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93800 (91.6 Kb) TX bytes:93800 (91.6 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:210.5.87.80 P-t-P:210.5.98.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:150 (150.0 b) TX bytes:54 (54.0 b)

darthtux 10-17-2004 02:42 AM

I hope that was ifconfig ;)

Can you
ping 216.109.118.66
and
ping www.yahoo.com

It may be a DNS problem. Check /etc/resolv.conf It should contain a nameserver. You will need the primary (and its best to have the secondary in case there is a problem with the primary) dns nameservers of you ISP. Add them to /etc/resolv.conf like so
nameserver IP_of_primary
nameserver IP_of_secondary

dzan 10-18-2004 04:44 AM

thanks for the help. my internet is now working.


All times are GMT -5. The time now is 03:05 PM.