From: David Combs on
All was working fine (firefox browsing, etc) when I took
it down; brought it up, and I get this.

No change in cables; other computers on same modem-thing
browse just fine.

To tell the truth, I'd had the machine "up" ever since
a friend (now unreachable) got me all set up. That recent
takeing-down was the FIRST time down since way back then.

(Yes, is the same machine with the not turning on if
usb hub was plugged in -- have been spending time
using a different machine.)

Anyway, looks like I should have (or he should have had me)
add some critical command or two into a script!

What do you suppose that one or two commands I need to
give (then add to script!) to make it work ok.

Uses ethernet cable to get to the router, and yes I did
wiggle the plugs at each end.


----


Oh, just to make sure, is there any way to query the
router from the computer, or send something to it,
that will simply show that the computer IS connected
to it?



Thanks!


David


From: hume.spamfilter on
David Combs <dkcombs(a)panix.com> wrote:
> Oh, just to make sure, is there any way to query the
> router from the computer, or send something to it,
> that will simply show that the computer IS connected
> to it?

Yes, ping.

However, "unknown host" seems to indicate that perhaps your nameservice
is broken. That MIGHT be because the entire network is broken, but perhaps
not.

First, ping the router.

Then, ping the nameservers listed in /etc/resolv.conf.

Then, use 'nslookup' to check if a known host will resolve, like www.sun.com.

If nslookup works, check /etc/nsswitch.conf.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hume.spamfilter on
Richard B. Gilbert <rgilbert88(a)comcast.net> wrote:
> I'd ping something else!! I just tried pinging that address myself and
> got no response.

Even if the remote site is down, you'll get a "no response" error...
NOT a "unknown host" error, as the original poster said he saw.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hume.spamfilter on
David Combs <dkcombs(a)panix.com> wrote:
> BGE0: ... <BROADCAST, RUNNING, MULTICAST, IPv4>
> inet 0.0.0.0 netmask 0

"0.0.0.0" is definitely not right. Is this interface supposed to be
statically configured, or use DHCP?

What does /etc/hostname.bge0 contain?

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: David Combs on
In article <hee768$gf$2(a)Kil-nws-1.UCIS.Dal.Ca>,
<hume.spamfilter(a)bofh.ca> wrote:
>David Combs <dkcombs(a)panix.com> wrote:
>> Oh, just to make sure, is there any way to query the
>> router from the computer, or send something to it,
>> that will simply show that the computer IS connected
>> to it?
>
>Yes, ping.
>
>However, "unknown host" seems to indicate that perhaps your nameservice
>is broken. That MIGHT be because the entire network is broken, but perhaps
>not.
>
>First, ping the router.


How do you do that?

>
>Then, ping the nameservers listed in /etc/resolv.conf.


ping 167.206.251.129

Host unreachable from gateway localhost (127.0.0.1)
For icmp from ....
Host unreachable from gateway localhost (127.0.0.1)
For icmp from ....
Host unreachable from gateway localhost (127.0.0.1)
For icmp from ....
Host unreachable from gateway localhost (127.0.0.1)
For icmp from ....
^C


Then same thing but for ....130

ping 167.206.251.130

ditto for its output, but with 130 instead of 129.





David










>
>Then, use 'nslookup' to check if a known host will resolve, like www.sun.com.
>
>If nslookup works, check /etc/nsswitch.conf.
>
>--
>Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/