Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 23:27:12 -0500
From:      "SM X" <smx624@gmail.com>
To:        "Peter Michaux" <petermichaux@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting host name during install?
Message-ID:  <3eea144b0605202127q509915e6mfe29afcc42f4731f@mail.gmail.com>
In-Reply-To: <3cbaf1c80605202116g2c29c231p33a24720130d576e@mail.gmail.com>
References:  <3cbaf1c80605201914l297d58dcve9e22bb99faee470@mail.gmail.com> <3eea144b0605202056v2023be56he18aa573c99347cb@mail.gmail.com> <3cbaf1c80605202116g2c29c231p33a24720130d576e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Why are you using port 3000? Are you sure that there is a process
running on your machine that is listening on that port?
In other words, when you mentioned "http://192.168.0.103:3000", was
that something that was (and hopefully still is) working on your
machine or you just used that URL to let us know what you are
attempting to do?
smx

On 5/20/06, Peter Michaux <petermichaux@gmail.com> wrote:
> Hi,
>
> Thanks for the info. I reversed what I had done and then used
> sysinstall. Going through sysinstall let me enter
> "beastie.gv.shawcable.net" as my host name. However when I try the
> following two url's i get and unknown host.
>
> http://beastie:3000/
> http://beastie.gv.shawcable.net:3000/
>
> Any other ideas?
>
> Thanks,
> Peter
>
>
> On 5/20/06, SM X <smx624@gmail.com> wrote:
> > 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,
> > smx
> >
> > 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 <petermichaux@gmail.com> wrote:
> > > Hi,
> > >
> > > 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
> > >
> > > Host:
> > > Domain: gv.shawcable.net
> > > IPv4 Gateway: 192.168.0.1
> > > Name server: 192.168.0.1
> > > IPv4 Address: 192.168.0.103
> > > Netmask: 255.255.255.0
> > > Extra options to ifconfig (usually empty):
> > >
> > > When I pressed tab in the Host box it automatically filled in with
> > > ".gv.shawcable.net" which make sense since I have a cable modem from
> > > Shaw in Greater Victoria. But it seems like something should have gon=
e
> > > before the first dot. Is there an opportunity here to give my compute=
r
> > > a cool name like "beastie" so I can type things like
> > > "http://beastie:3000" instead of "http://192.168.0.103:3000" ? 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 wha=
t
> > > I really gained.
> > >
> > > 1. vi /etc/rc.conf
> > > 2. change
> > >      hostname=3D".gv.shawcable.net"
> > >    to
> > >      hostname=3D"beastie"
> > > 3. restart computer so change becomes reality.
> > > 4. now the command prompt says root@beastie
> > >
> > > 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.
> > >
> > > Thanks,
> > > Peter
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> > >
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3eea144b0605202127q509915e6mfe29afcc42f4731f>