For changing hostname (and/or IP), I found that the best way is to use
sysinstall and change it from there (Configure --> Networking -->
Interfaces --> "your NIC"), since that one will change not only
rc.conf file, but also the hosts file (so that your browser can
actually resolve name beastie in the http request), and potentially
resolv.conf (where your name server entries (not in your case, since
you are on DHCP, therefore you get the DNS server entries
automatically) are stored.

Obviously, the remedy in your case is to manually edit the hosts file
and assign the appropriate values there.

Or you can always just use http://localhost:3000 and that should work.
Hope this helps,

P.S. I would not consider myself an expert, so , if I made any
mistakes above, hopefully others will alert us all about those. What I
can tell you is that I did try the procedure above several times and
it was working for me.

On 5/20/06, Peter Michaux <[EMAIL PROTECTED]> wrote:

During install, I don't quite understand the "host" parameter that I
supplied for my networking configuration.

I used DHPC and most of the parameters were filled in for me

IPv4 Gateway:
Name server:
IPv4 Address:
Extra options to ifconfig (usually empty):

When I pressed tab in the Host box it automatically filled in with
"" which make sense since I have a cable modem from
Shaw in Greater Victoria. But it seems like something should have gone
before the first dot. Is there an opportunity here to give my computer
a cool name like "beastie" so I can type things like
"http://beastie:3000"; instead of ""; ? Or is
this host name supposed to be some server at my ISP?

I changed the hostname using the following steps but I don't know what
I really gained.

1. vi /etc/rc.conf
2. change
3. restart computer so change becomes reality.
4. now the command prompt says [EMAIL PROTECTED]

When I tried "http://beastie:3000"; I ended up at the Beastie Boys
website. Not the worst suprise but not what I was hoping for.

_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to