Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 1997 21:18:06 +0100 (BST)
From:      Duncan Barclay <>
Subject:   Probably a PPP FAQ.
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I have search high and low for the answer to this, DegaNews, mail
archives, sendmail FAQ, ppp FAQ you name it...

Running 2.2.1-R, will be CTMing up to 2.2.2-R

Anyway I want the proverbial home network and ppp to ISP set up with the
right hostnames and domains.

Having just got to grips with setting up my FreeBSD box with my ISP for
news, mail etc. I want to tweak the set-up so that I dont have the
FreeBSD box hostname+domain name to be the ISP defined.

First in IP addresses the net looks like this

  +------+           +---------------------+
  | ISP  | -- ppp -- | tun0, |
  +------+           +==== FreeBSD box ====+
                     | ep0, |
                                e     +------------------------+
                                t-----| Win 95, |
                                h     +------------------------+
                                r     +------------------------+
                                |-----| Sun3/60 |

Before the ppp link the machines were:
	machine		hostname	domain name
	FreeBSD		computer	my.domain
	Win 95		jenni		my.domain
	Sun 3		iceberg		my.domain

Now, my ISP assigned hostname is "" so the the
machines are currently:
	machine		hostname	domain name
	FreeBSD		ragnet
	Win 95		jenni		my.domain
	Sun 3		iceberg		my.domain

I would like to go back to the original set-up and have the FreeBSD box 
treat the ppp link just as a link to the outside world. I think the only
problem is with sendmail? (if the "best" solution is smail or whatever
then thats fine too)

What I so far understand I need to do is
	 - have a file with things like
		smtp expensive?
  	 - probably run a caching name-server on "computer"
I dont know where to start on the nameserver, whenever I have tried the
sendmail stuff it doesnt work (headers dont get re-written etc.) and yes
I do restart sendmail.

What I dont understand
	- does the hostname= line in sysconfig specify the
	  hostname and doamin of "computer" or is the
	  domain specified in /etc/resolve.conf.
	- why doesn't this fiole work?
FEATURE(mailertable, `hash -o /etc/mailertable')dnl
define(`UUCP_RELAY', ucbvax.Berkeley.EDU)dnl
define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`confCW_FILE', `-o /etc/')dnl

	- what does the file do?

As a brief aside I have sort of determined that the following static routes
help my life a little (allows me to telnet when ppp not
up) are they bad/wrong/odd?  From /etc/sysconfig
#static_routes="foo multicast"
#route_foo="woofo woofo-gw"
#route_multicast=" -netmask 0xf0000000 -interface"
static_routes="loop_ppp loop_ed0 default"

As way of a thank-you I am finishing off a INN/SUCK howto and set of painless
scripts which should be finished in a few days (docbook is soo



Also posted to comp.unix.bsd.freebsd.misc

Raggy                   | God smiles upon the little children, | the alcoholics, and the permanently stoned.

Want to link to this message? Use this URL: <>