Re: peculiar problem: ping works, but cannot browse. Need help of network gurus.

From: HS (g_reatexcali_bur_at_yahoo.com)
Date: 07/25/03


Date: Fri, 25 Jul 2003 15:21:37 -0400


Since I can browse the web with IP addresses, but not with domain names.
Bill Unruh suggested (in a reply to my earlier post on networking newsgroup)
that there could be a problem with my resolv.conf. I am not sure how to
solve this. Any suggestions?

Could somebody, who has adsl model through ppp0 and eth0, post their config
files and /etc/sysconfig/network and /etc/resolv.conf so that I may see what
is wrong on my side?

Also, for network gurus:
Aren't these the *only* files that matter while trying to connect through
adsl modem using eth0? :
/etc/sysconfig/network
/etc/resolv.conf
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-ppp0

Thanks for all help,
->HS

HS wrote:

> Hi,
>
> I have posted a coupel of messages earlier today and
> yesterday(comp.os.linux.networking), but no response yet :( Really, Is
> my problem beyond solution?
>
> I have been fiddling with the problem myself and have some more
> information.
>
> In short, at present, I can ping outside world through my ppp0
> (connected to eth0) but I cannot browse. The problem started when I
> installed a new NIC and configured it using the Redhat GUI. After this
> configuration, everything seemed to get screwed up. I guess the GUI
> overwrites some configuration files (eg /sbin/sysconfig/network ?).
>
> Now, I took out the second nic, and I am tryin go get the things as they
> were originally, with ppp0 connected to eth0 (Bell Sympatico HSE). But
> for the world of me, I cannot get it to work. I even tried removing the
> original NIC, so that I could install it anew. But that didn't work
> either.
>
> Some of my config fies I have given below. /sbin/ifconfig -a works, and
> shows ppp0, lo and eth0. I am really worried now, I would really
> appreciate some help. If nothing else, at least I would like to know how
> to uninstall the NIC I have and reintall it from scratch, in the hope
> that that would work.
>
> There is also another peculiar thing: yesterday I tried to change my
> hostname, by changing the entry in /etc/hosts and in
> /etc/sysconfig/network. Now I have changed those back to
> localhost.localdomain. But when i try to login, Gnome says that it
> cannot find IP address associated with the host name. Is this is a
> relevant symptom? How to solve this problem?
>
> Here is additional info if it helps:
>
> >> /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
>
> >> /sbin/ifup ppp0
>
> >> /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 65.94.113.1 0.0.0.0 255.255.255.255 UH 0 0 0
> ppp0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 65.94.113.1 0.0.0.0 UG 0 0 0
> ppp0
>
> I can ping google(and I tied some other sites, successfully, too):
>
> >> ping 216.239.53.100
> PING 216.239.53.100 (216.239.53.100) from 65.94.113.196 : 56(84) bytes
> of data.
> 64 bytes from 216.239.53.100: icmp_seq=1 ttl=51 time=118 ms
> 64 bytes from 216.239.53.100: icmp_seq=2 ttl=51 time=115 ms
> 64 bytes from 216.239.53.100: icmp_seq=3 ttl=51 time=114 ms
>
> --- 216.239.53.100 ping statistics ---
> 3 packets transmitted, 3 received, 0% loss, time 2028ms
> rtt min/avg/max/mdev = 114.350/116.018/118.285/1.684 ms
>
> Here are my config files:
> ****************************
> [root@localhost tmp]# cat /etc/sysconfig/network
> NETWORKING=yes
> #HOSTNAME=localhost.localdomain
> HOSTNAME=localhost.localdomain
> ****************************
> [root@localhost tmp]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> ONBOOT=no
> BOOTPROTO=dhcp
> USERCTL=no
> PEERDNS=no
> TYPE=Ethernet
> **************************** the IPs in resolv.conf are for Bell
> Sympatico HSE
> [root@localhost tmp]# cat /etc/resolv.conf
> # MADE-BY-RP-PPPOE
> nameserver 209.226.175.223
> nameserver 198.235.216.134
> ****************
> [root@localhost tmp]# cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> #127.0.0.1 parlo.home.pvt localhost
> 127.0.0.1 localhost.localdomain localhost
> ****************************
> [root@localhost tmp]# cat /etc/sysconfig/network-scripts/ifcfg-ppp0
> USERCTL=yes
> BOOTPROTO=dialup
> NAME=DSLppp0
> DEVICE=ppp0
> TYPE=xDSL
> ONBOOT=no
> PIDFILE=/var/run/pppoe-adsl.pid
> FIREWALL=NONE
> PING=.
> PPPOE_TIMEOUT=360
> LCP_FAILURE=3
> LCP_INTERVAL=80
> CLAMPMSS=1412
> CONNECT_POLL=6
> CONNECT_TIMEOUT=60
> DEFROUTE=yes
> SYNCHRONOUS=no
> ETH=eth0
> PROVIDER=DSLppp0
> USER=<my user name here>
> PEERDNS=no
>
> Thanks,
> ->HS
> --
> ##----------
> Remove all the underscores from my email address to get the correct
> email. Sorry for inconvenience, but this is to reduce spam.
> ##----------

--
##----------
Remove all the underscores from my email address to get the correct email.
Sorry for inconvenience, but this is to reduce spam.
##----------


Relevant Pages

  • 2.6.14.git: user-mode-linux/x86_64 does not build
    ... .config is attached later. ... # Loadable module support ... # UML Network Devices ... # CD-ROM/DVD Filesystems ...
    (Linux-Kernel)
  • Re: Ho ho ho.. Linux 2.6.15-rc7
    ... Somebody broke UML compile for my config again... ... # Loadable module support ... # UML Network Devices ... # CD-ROM/DVD Filesystems ...
    (Linux-Kernel)
  • Re: [SLE] Firewall zones
    ... In fact, it seems that with only one interface (network card), turning off ... ever change the net on the router). ... this is no substitute for proper security in the config ... effectively moves it from the external zone to the internal zone. ...
    (SuSE)
  • Bug report for UML in latest Linus 2.6-BK repository.
    ... I get millions of these on the UML guest as soon as I start UML (.config ... Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK ... # UML Network Devices ...
    (Linux-Kernel)
  • Re: [SLE] Networking - SuSE 9.3 & WinXPx2 - wireless and wired
    ... >> so with any of my Linux disks. ... I believe this is down to my samba ... I believe that what you may need to do is edit your samba config ... I need to get the network cards to see each other. ...
    (SuSE)