*BSD News Article 85419


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!cliffs.rs.itd.umich.edu!newsxfer2.itd.umich.edu!gatech!news.jax.bellsouth.net!news.msy.bellsouth.net!newsrelay.iastate.edu!news.iastate.edu!eng3.iastate.edu!sehari
From: sehari@iastate.edu (Babak $ehari)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mailing problem
Date: 21 Dec 96 23:59:29 GMT
Organization: Iowa State University of Science and Technology, Ames, Iowa.
Lines: 37
Message-ID: <sehari.851212769@eng3.iastate.edu>
References: <sehari.851105667@eng3.iastate.edu> <59f1n4$94b@jupiter.dnai.com>
NNTP-Posting-Host: eng3.iastate.edu
Originator: sehari@eng3.iastate.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32925

In <59f1n4$94b@jupiter.dnai.com> Karl Wiebe <karl@dnai.com> writes:

>sehari@iastate.edu (Babak $ehari) wrote:
>>I have a PC running FreeBSD and not connected to network and does not
>>have network card either.  I want to send mail to different users, but
>>I get this massage that the domain not found, etc.
>>
>>I modified /etc/sysconfig and changed the line 
>>
>>hostname=Babak_1
>>
>>SO, at least the machine have a name, but still it did not help.  Can
>>any one help?

>In /etc/host.conf, change the order so that "hosts" comes before "bind".

>If it is really always going to be standalone off the network, you might
>even comment out the "bind".

>BTW, if you ever use DNS for your hostname, the "_" character is illegal.

>--Karl
>-- 

It was very helpful, but it did not work until I changed the name to
Babak1 and made following entery in /etc/hosts file:
            
              192.168.0.0     Babak1    Babak1.myplace.mynet

Note that my computer does not have a network card; nevertheless, I have
to give a dumy internet number 192.168.0.0 and add .myplace.mynet at the
end of Babak1 to make it to work.

This may be a good FAQ question, please some one forward it to FAQ editor.

                   With highest regards,
                        Babak E. Sehari