Unable to resolve host by name
NoOp
glgxg at sbcglobal.net
Wed Nov 26 04:40:00 UTC 2008
On 11/25/2008 08:14 PM, Bob Cortez wrote:
> On Tue, Nov 25, 2008 at 7:07 PM, scott <redhowlingwolves at nc.rr.com> wrote:
>
>> NoOp wrote:
>> >
>> >
>> > Can you ping mystic-laptop from media? Also please check the same as
>> > above from mystic-laptop & if that doesn't work, drop me a note directly
>> > so that we take this off-list & don't continue to bother the local
>> > natives :-)
>> >
>> >
>> >
>> >
>> Some local natives are interested in problem resolution. :)
>>
>
> I'm not able to ping hostname from either machine to the other.
>
> I'll post the solution here.
>
> Bob
>
>
Can you post the connection setup? Example, for the two machines I have
active now:
bg (hardy 192.168.2.100)<===>
router (192.168.2.1 - is the gateway)
<==> bg-laptop (intrepid 192.168.2.102
I can ping both ways (IP and by name)
On bg I have in my /etc/hosts
192.168.2.1 gg-laptop
On bg-laptop I have in my /etc/hosts
192.168.2.100 gg
$ cat /etc/resolv.conf on bg shows my routers actual outbound internet
IP dns servers for my IP, but changing them to the router gateway
(192.168.2.1) works.
$ cat /etc/resolv.conf on bg-laptop is 192.168.2.1 (nameserver 192.168.2.1)
[Note: some IP's/names have been changed to protect the innocent :-)]
I can do the same w/some complication by adding in a wireless router
connected to 192.168.0.1, setting bg-laptop to wireless etc., etc., That
involves some added configuration on both routers but works just fine.
More information about the ubuntu-users
mailing list