newbie: getting wireless going on hardy

Derek Broughton news at pointerstop.ca
Thu Aug 14 19:11:13 UTC 2008


jeffrey.berger at mac.com wrote:

> Here's hosts
> 
> yaza at ubuntu:~$ cat /etc/hosts
> 127.0.0.1 localhost ubuntu
> 127.0.1.1 ubuntu

Don't do that - either give it its own address, or alias it to localhost,
but the resolver can only use one of them (the first, iirc).

> # The following lines are desirable for IPv6 capable hosts
> -------
> 
> Sorry re top post. Learning ...

Then why did you do it again?  It's difficult to have a conversation this
way.

>> On 08/13/2008 10:36 AM, jeffrey.berger at mac.com wrote:

>>> That brings up another problem: my ubuntu IP address is 127.0.etc ...
>>> But my LAN is running via Airport Extreme. Addresses (DHCP) are 10.0.
>>> etc. The other machine on the LAN (this one) is running Leopard.

Not a problem.  The IP address is attached to an interface.  "localhost" is
attached to the "lo" interface, and the 10.0.x.x address is attached to
your LAN interface (probably eth* or wlan*).  "ubuntu.your-domain"
(where "your-domain" is whatever your router is serving) should always
resolve to the 10.0.x.x address, but "ubuntu" could resolve to either, and
you would still find the right host.

More to the point, from elsewhere on the LAN can you find "ubuntu"?
-- 
derek





More information about the ubuntu-users mailing list