First of all you are not the owner of the shawcable.net domain name
so you have no control over the DNS server to point
beastie.gv.shawcable.net to the ip address which is your pc.
Commerisal users have static ip address assigned to them by their
Thay can then purchase & register an domain name to point to their
static ip address. And in this case that registered domain name
go in the hostname= of rc.conf.
This is not your case. So you should follow this
Assigning a Host name to your FBSD system
Your FBSD operating system has internal software applications (like
sendmail for one) that needs to know the fully qualified domain name
of the PC it's running on. You do this by adding the option
statement hostname= to /etc/rc.conf.
This is the format to use.
Where thisPCname came be any name you want to identify this
particular PC on your LAN. Since the goal of this Installation Guide
is to build a FBSD gateway server, the name of this PC should be
Where .fakeDOMAINname can be any name you want as long as it's not a
registered domain name on the public Internet (unless of course it's
registered to you). Using FBSDyourlastname is a safe fake domain
name to use here. So if your name was Tom Jones, you should use
Where .tld can be any of the standard TLD's currently in use. Such
as .com or .usa or .info or .cc, but since .com is the most commonly
used TLD, I recommend using .com.
gateway.fbsdjones.com is a very acceptable fake host name to use.
and add this option statement to the file:
Save the changed file and reboot your system for your edit changes
to take effect.
When the reboot stops at the login prompt, the line displayed just
above it will now contain your host name you just added to rc.conf.
Installer Note: If you have an official registered domain name that
you want to use for your email sendmail server, then use that in the
hostname= statement. Example, if my registered domain name was
cyberman.com then hostname=cyberman.com is what I would code.
Now for the hostname to be found on the gateway box you will have to
add the hostname you coded to the /etc/hosts file.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Sent: Sunday, May 21, 2006 12:17 AM
To: SM X; firstname.lastname@example.org
Subject: Re: setting host name during install?
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.
Any other ideas?
On 5/20/06, SM X <[EMAIL PROTECTED]> wrote:
> For changing hostname (and/or IP), I found that the best way is to
> 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
> resolv.conf (where your name server entries (not in your case,
> 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
> and assign the appropriate values there.
> Or you can always just use http://localhost:3000 and that should
> 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.
> can tell you is that I did try the procedure above several times
> it was working for me.
> On 5/20/06, Peter Michaux <[EMAIL PROTECTED]> wrote:
> > Hi,
> > During install, I don't quite understand the "host" parameter
> > 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
> > ".gv.shawcable.net" which make sense since I have a cable modem
> > Shaw in Greater Victoria. But it seems like something should
> > before the first dot. Is there an opportunity here to give my
> > a cool name like "beastie" so I can type things like
> > "http://beastie:3000" instead of "http://192.168.0.103:3000" ?
> > this host name supposed to be some server at my ISP?
> > I changed the hostname using the following steps but I don't
> > I really gained.
> > 1. vi /etc/rc.conf
> > 2. change
> > hostname=".gv.shawcable.net"
> > to
> > hostname="beastie"
> > 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
> > website. Not the worst suprise but not what I was hoping for.
> > Thanks,
> > Peter
> > _______________________________________________
> > email@example.com mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"