[Xastir] VNC

Dan Brown brown at brauhaus.org
Thu Oct 19 07:16:22 EDT 2006


On Thu, 19 Oct 2006, Tate - kc7zru wrote:

> You can change the machine name in the file
> 
> /etc/sysconfig/network
> 
> When you do that, you also need to add your new name to /etc/hosts
> You can put the new names on the same line as the localhost.localdomain.
> Something like this:
> 127.0.0.1 mobile-1.local mobile-1 localhost.localdomain localhost


This may be a bit of a "in my opinion" kinda thing, but you probably only
want change the localhost line if you're not connected to a network - and
maybe not even then.  You'd probably want to leave the localhost line alone
and leave it in the hosts file.  You can add a similar line though, with
the appropriate information for your network, such as:

192.168.1.7            crozet.myexample.foo  crozet

Note that the IP addr used here is one of the RFC 1918 "private" subnets. 

http://www.ripe.net/db/rfc1918.html

Many small home routers and such are, by default, often using
192.168.1.0/24.  Discussion of hows and whys of networking is probably a
discussion for another forum. 

As far as linux network setup, Another common file to check is the
/etc/sysconfig/ifcfg-eth0 file, which defines the parameters for your first
ethernet interface.  I personally am comfortable hand editing these things
and only about 1/2 way trust the various GUI based config tools.  I usually
do a "trust but verify" sort of thing, if I use the gui.  As in, make the
changes with the gui, then check the underlying files manually. 

73,
N8YSZ

--
Dan Brown 
brown at brauhaus.org




More information about the Xastir mailing list