The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: install MySQL323-server on FBSD 4.7
Author: Rob McLeod 
Date:   28-12-02 08:14

It appears as if your hostname is configured correctly. Your hostname -> IP address just isn't working.

If you don't want to go about setting up DNS on your network, you can just use the /etc/hosts file.
The format is fairly simple. Here's a sample:
192.168.0.100 kalik.mydomain.org

Which just maps the hostname to an IP address. Keep in mind that modifying the /etc/hosts file will only properly map the hostname to IP address on the particular machine that the /etc/hosts file belongs to.

For the purposes of comparison, here is the output of the hostname and host commands on a properly configured FreeBSD workstation.

[robbie@kalik]$ hostname
kalik.mydomain.org

[robbie@kalik]$ host kalik.mydomain.org
kalik.mydomain.org has address 192.168.0.100

Best of luck,
Rob McLeod
(REMOVE junk to send email)

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 install MySQL323-server on FBSD 4.7   new
lou tran 27-12-02 08:07 
 Re: install MySQL323-server on FBSD 4.7   new
Dan Langille 27-12-02 14:49 
 Re: install MySQL323-server on FBSD 4.7   new
lou tran 27-12-02 18:11 
 Re: install MySQL323-server on FBSD 4.7   new
Dan Langille 27-12-02 18:28 
 Re: install MySQL323-server on FBSD 4.7   new
lou tran 27-12-02 19:01 
 Re: install MySQL323-server on FBSD 4.7   new
Rob McLeod 28-12-02 08:14 
 Re: install MySQL323-server on FBSD 4.7   new
lou tran 29-12-02 04:23 
 Re: install MySQL323-server on FBSD 4.7   new
lou tran 30-12-02 21:26 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org