Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 20:31:37 +0100
From:      "Rich Wood" <rich@dynamite.org>
To:        Clem Dye <clem@bastet.com>, freebsd-isdn@FreeBSD.ORG
Subject:   Re: FreeBSD and ISDN support in the UK.
Message-ID:  <39906E29.10481.10B04C30@localhost>
In-Reply-To: <399054EF.119C27B2@bastet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 Aug 2000, at 19:43, Clem Dye wrote:
 
> Are there any particular 'gotchas' to watch-out for when configuring
> the card under FreeBSD? 

Not that I recall, however I'm currently using a Teles card, but did 
use a BT/AVM card for a while and there wasn't anything tricky about 
it.
 
> My gameplan is to do the following:
> 
> 1) Get my ISDN link up and running @ 128K, connected to my ISP.

No problems (provided your ISP supports 128K connections)

> 2) Install routing software (no idea what to use yet) so that my two
> NT boxes can get access to the 'Net via the FreeBSD box. 3) Install
> some firewall software to stop anything nasty occurring (I plan to
> leave the FreeBSD box running 24x7 once I've done that lot! (Oh, not
> forgetting the mail stuff too!).

You won't need any routing software, use user-PPP over ISDN with 
appropriate options for NAT.

My settings are as follows (slightly edited to avoid unsightly line 
wraps. 

This is for a single-channel dial-on-demand connection. Tweak as 
appropriate.



[rich@zippy ~]uname -sr
FreeBSD 3.4-RELEASE
[rich@zippy ~]

[rich@zippy ~]grep ppp /etc/rc.conf
# Use ppp configuration.
ppp_enable="YES"        # Start user-ppp (or NO).
ppp_mode="auto"         # Choice of "auto", "ddial", "direct" or 
						# "dedicated".
                        # For details see man page for ppp(8). 	
						# Default is auto.
ppp_nat="YES"           # Use PPP's internal network address
						# translation or NO.
ppp_profile="freeserve"   # Which profile to use from
						# /etc/ppp/ppp.conf.
[rich@zippy ~]


[rich@zippy ~]cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 set server +xxxx xxxxxxx
 allow users rich

<snip>

freeserve:
 set enddisc mac
 disable lqr
 set timeout 600
 set lqrperiod 45
 set phone 16164208452402620
 set redial 3 10
 set dial
 set login
 set hangup
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 set authname xxxxxxx
 set authkey xxxxxxx
 set ifaddr 0.0.0.0/0 0.0.0.1/0
 add! default hisaddr
 disable pred1 deflate
 set cd 6
[rich@zippy ~]


Most of this is modified from a config Brian Somers sent me ages ago, 
but should be in ppp.conf.sample and documented in the man page for 
ppp(8) 

You will also need to configure isdn, there is a sample config in 
/etc/isdn/isdnd.rc.sample for a user-ppp configuration.

If I've missed anything I'm sure Brian will be along to correct 
me.....

Rich
-- 
rich@dynamite.org                 rich@FreeBSD.org.uk
If that's what they call normal, I'd rather be insane


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39906E29.10481.10B04C30>