Re: Network connection diagnostics




Moe Trin wrote:
Followup-To set to comp.os.linux.networking - not applicable to
comp.os.linux.misc - and a stretch for comp.os.linux.setup

On 18 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1158645950.917227.275410@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Marco A. Cruz Quevedo
wrote:

Is there a quick or practical way to check a network connection? I
mean, to get IP, gateway address, etc, and to know what is going wrong.

/sbin/ifconfig -a
/sbin/route -n
cat /etc/resolv.conf

When I just log on, I cannot get to internet, unles I manually issue
ifdown eth0, ifup eth0, service network restart.

What distribution - what release? What type of connection to the ISP?

Fedora Core 3, connection is DSL
I found that before issuing the commands mentioned above, I can access
internet if I type IP addresses instead of urls. !? Would this be a
clue?


This sounds as if your network configuration scripts are not set correctly,
but there isn't enough information to tell which one[s].

Perhaps, because this happened after upgrading some RPMS. :-(



Old guy

.



Relevant Pages

  • Re: dial-up to ethernet
    ... > connection is static, which it isn't, it's DHCP. ... Run 'ifdown eth0', replace the ... ppp-related is listed there (especially in the route output), ... "Theoretical politics is interesting. ...
    (Debian-User)
  • Re: Troubleshooting connection loss (continued)
    ... You power up, about 2hrs later, heat causes the problem. ... Imagin a loose sodder connection on a pin. ... What would be worthwhile to me is a troubleshooting procedure for the "service network restart" hang that is not predicated on a DHCP problem. ...
    (comp.os.linux.networking)
  • Re: Finding my WLAN IP address.
    ... unplug and give ifdown eth0 and then ifup ath0 a shot, ... that Windows will give you if you have no connection. ...
    (Ubuntu)