From: onkar on
I am configuring ADSL connection on my Linux box
every thing goes fine - network activated but ...

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
-----no response ----



here are the files which might be helpful in debugging ...

$cat /etc/resolv.conf
# MADE-BY-RP-PPPOE
nameserver 203.94.227.70
nameserver 203.94.243.70
nameserver 192.168.1.1

$cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain my_computer localhost

From: HardHattek on
you may need to include ip address and host name in the /etc/hosts

onkar wrote:
> I am configuring ADSL connection on my Linux box
> every thing goes fine - network activated but ...
>
> $ ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> -----no response ----
>
>
>
> here are the files which might be helpful in debugging ...
>
> $cat /etc/resolv.conf
> # MADE-BY-RP-PPPOE
> nameserver 203.94.227.70
> nameserver 203.94.243.70
> nameserver 192.168.1.1
>
> $cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain my_computer localhost

From: onkar on
can u please show me that ..i am relatively new to this ..


thanks for the reply ..


HardHattek wrote:

> you may need to include ip address and host name in the /etc/hosts
>
> onkar wrote:
> > I am configuring ADSL connection on my Linux box
> > every thing goes fine - network activated but ...
> >
> > $ ping 192.168.1.1
> > PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> > -----no response ----
> >
> >
> >
> > here are the files which might be helpful in debugging ...
> >
> > $cat /etc/resolv.conf
> > # MADE-BY-RP-PPPOE
> > nameserver 203.94.227.70
> > nameserver 203.94.243.70
> > nameserver 192.168.1.1
> >
> > $cat /etc/hosts
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1 localhost.localdomain my_computer localhost

From: Lew Pitcher on

onkar wrote:
> I am configuring ADSL connection on my Linux box
> every thing goes fine - network activated but ...
>
> $ ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> -----no response ----
[snip]

OK, so you send pings out, but you don't get a ping response.

It's not your /etc/hosts nor your /etc/resolv.conf. Both of those files
work with hostname-to-ip address mappings, and since you are pinging by
IP address, neither of those files is involved with the ping.

It sounds like a routing problem of some sort.

Let's see the results of
/sbin/ifconfig
and
/sbin/route -n

Give us both, from before and after the ping problem shows up. That is
to say, give us the ifconfig and route output when ping works and the
ifconfig and route output when ping fails.

Also, tell us a bit about your network. Where, for instance, is
192.168.1.1 in relation to the system you issue the ping on? Is it the
same system, or a different system. If it is on a different system,
does ping to it work when your DSL is disabled? If not, let's see the
routing tables for the 192.168.1.1 system as well.

--
Lew Pitcher

From: Lew Pitcher on

Lew Pitcher wrote:
> onkar wrote:
> > I am configuring ADSL connection on my Linux box
> > every thing goes fine - network activated but ...
> >
> > $ ping 192.168.1.1
> > PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> > -----no response ----
> [snip]
>
> OK, so you send pings out, but you don't get a ping response.
>
> It's not your /etc/hosts nor your /etc/resolv.conf. Both of those files
> work with hostname-to-ip address mappings, and since you are pinging by
> IP address, neither of those files is involved with the ping.
>
> It sounds like a routing problem of some sort.

One further thought. It could also be the results of a firewall
blocking pings. Do you run a firewall? Does rp-pppoe run the firewall
for you? What do your firewall rules look like? Show us the output of
/usr/sbin/iptables -L -v -n -t filter
both with ping working and with ping failing

--
Lew Pitcher