Date: Wed, 29 May 2002 15:49:14 +0200 From: "M Bergman" <m.bergman@digipoint.org> To: <freebsd-isdn@FreeBSD.ORG> Subject: Howto connect to the internet. (I'm building a isdn router an need some help) Message-ID: <NGBBJKOHMLCJMGMIODEBAECACAAA.m.bergman@digipoint.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C20728.623F5840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi all, I'm building a isdnrouter so my internal network will have internetaccess. I've succesfully compiled my Dynalink into my kernel. But how to continue.. i've attachted 6 files[M Bergman] (the list won't take attatchments thats why i copy pasted them at the end of the message. and i'll put them online in a zip file ! http://test.digipoint.org/files/isdnconfig.zip /etc/ppp/ppp.conf /etc/rc.conf /etc/isdn/isdnd.rc dmesg output. isdn-up = the command i use to dial in by hand isdn-down = the command i use to disconnect by hand the situation i want to create: i've got a p120 FreeBSD box who connects to the internet when a computer on the pc tries to get a internet connection (dial on demand). when there is no data going out for 15 minutes i wan't the connection to be removed (Idle timeout). i also wanna have a command to dial in (so i can set cronjobs that dial in and get a cvsup) The problem i've got now: i can dialin (only by hand), that means the line is busy when i pick up another phone. i can't ping, nor ip adresses nor dnsnames. the ip you find in ppp.conf is a dnsserver of my isp, i don't have a static ip.. can you guys help me 1. getting my routing ok so i can really use the internet 2. set my config files the right wat for "dial on demand" and "idle timeout" Thanks already for looking at my files. [M Bergman] ISDND.RC system acctall = off useacctfile = off monitor-allowed = no ratesfile = /etc/isdn/isdnd.rates rtprio = 25 beepconnect = on controller protocol = dss1 entry name = userppp0 isdncontroller = 0 #isdnchannel = -1 isdnchannel = -1 usrdevicename = rbch usrdeviceunit = 0 local-phone-dialout = 38****1 local-phone-incoming = 38****1 #remote-phone-dialout = 0676060606 # @work remote-phone-dialout = 0676001505 # Hetnet #remote-phone-dialout = 06*******8 # my gsm remote-phone-incoming = * remdial-handling = first b1protocol = hdlc dialin-reaction = ignore dialout-type = normal ratetype = 0 unitlength = 90 unitlengthsrc = conf idletime-incoming = 900 idletime-outgoing = 900 dialretries = 1 dialrandincr = on recoverytime = 1 usedown = off downtries = 2 downtime = 30 entry name = userppp1 isdncontroller = 0 isdnchannel = -1 usrdevicename = rbch usrdeviceunit = 1 local-phone-dialout = 38****1 local-phone-incoming = 38****1 #remote-phone-dialout = 0676060606 # @work remote-phone-dialout = 0676001505 # Hetnet #remote-phone-dialout = 06*******8 # my gsm remote-phone-incoming = * remdial-handling = first b1protocol = hdlc dialin-reaction = ignore dialout-type = normal ratetype = 0 unitlength = 90 unitlengthsrc = conf idletime-incoming = 900 idletime-outgoing = 900 dialretries = 99 dialrandincr = on recoverytime = 1 usedown = off downtries = 2 downtime = 30 ############### #added later ############## #idletime-outgoing = 1200 # verbreek de verbinding als er 20 minuten geen verkeer is. # # ## SYSTEM section: isdnd global configuration parameters # #system # ## accounting # #acctall = on # generate info for everything #acctfile = /var/log/isdnd.acct # name & location of accounting file #useacctfile = yes # generate accouting info to file #isdntime = on #monitor-allowed = on # global switch: monitor on/off # #beepconnect = on # beeps when connection made / closed # # #entry #name = KPPP #usrdevicename = isp #usrdeviceunit = 0 #isdncontroller = 0 #isdnchannel = -1 #local-phone-incoming = * #remote-phone-incoming = * # #local-phone-dialout = 38****1 # This *MUST* be your local number ##remote-phone-dialout = 0676060606 # @work #remote-phone-dialout = 0676001505 # Hetnet ##remote-phone-dialout = 06*******8 # my gsm # #remdial-handling = first #dialin-reaction = ignore ### zodat er niks gebeurt als iemand NAAR deze lijn belt #dialout-type = normal #b1protocol = hdlc ##idletime-outgoing = 120 # Should be larger than ppp's timeout #unitlength = 0 #unitlengthsrc = conf #dialretries = 99 ### na 99 keer inbellen is er vast een verbinding #dialrandincr = on #recoverytime = 30 # Should be smaller than ppp's redial #usedown = off ##downtries = 20 ##downtime = 60 #connectprog = isdn-connect #disconnectprog = isdn-disconnect #maxconnecttime = 7200 PPP.CONF default: #set log Phase LCP IPCP CCP tun tun0 command hetnet: allow user root allow user mark set phone 0676001505 set authname ban@hetnet.nl set authkey **my-pass** enable lqr set reconnect 99 5 set redial 99 10 set lqrperiod 45 disable pred1 deflate mppe deny pred1 deflate mppe set timeout 180 600 set dial set login #set hangup set device /dev/i4brbch0 /dev/i4brbch1 set speed sync set bandwidth 65536 link * set cd 10 #### the ip in the iffaddr is a dnsserver of the isp. set ifaddr 10.0.0.1/0 194.151.43.3/0 255.255.255.255 0.0.0.0 add default HISADDR enable dns set server /tmp/ppp-isdn "" 0177 filter: #allow user root #allow user mark #allow mode ddial #allow mode auto ## filters... dial filters... #set filter dial 0 deny udp src eq 513 #set filter dial 1 deny udp src eq 525 #set filter dial 2 deny udp src eq 137 #set filter dial 3 deny udp src eq 138 #set filter dial 4 deny udp src eq 139 #set filter dial 5 deny udp dst eq 137 #set filter dial 6 deny udp dst eq 138 #set filter dial 7 deny udp dst eq 139 #set filter dial 8 deny tcp finrst #set filter dial 9 permit 0 0 RC.CONF # -- sysinstall generated deltas -- # Fri Apr 12 18:13:58 2002 # Created: Fri Apr 12 18:13:58 2002 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #defaultrouter="192.168.4.1" #defaultrouter="10.0.0.1" gateway_enable="YES" named_enable=yes hostname="jolette.dint.org" ifconfig_xl0="inet 192.168.1.1 netmask 255.255.0.0" #ifconfig_isp0="0.0.0.0 10.0.0.1 netmask 255.255.255.0 link1" #sppp_interfaces="isp0" kern_securelevel_enable="NO" moused_enable="NO" moused_type="NO" nfs_reserved_port_only="YES" sendmail_enable="YES" sshd_enable="YES" enable_quotas="YES" check_quotas="YES" ipmon_enable="YES" ipmon_flags="-Ds" ipfilter_enable="YES" ipfilter_rules="/etc/ipf.rules" ipnat_enable="YES" ipnat_rules="/etc/ipnat.rules" isdn_enable="YES" #isdn_fsdev=/dev/ttyv4 isdn_fsdev="NO" #isdn_flags="-dn -d0x1f9" isdn_trace="YES" isdn_traceflags="-f /var/tmp/isdntrace0" #ppp_enable="YES" #ppp_mode="auto" #ppp_nat="YES" #ppp_profile="hetnet" ISDN-UP ppp -auto hetnet && echo "U heeft verbinding" ISDN-DOWN killall -9 ppp && echo "verbinding is verbroken" ifconfig tun0 delete DMESG Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-RC #0: Sat May 18 08:46:12 CEST 2002 root@jolette.dint.org:/usr/obj/usr/src/sys/JOLETTE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (119.75-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 28581888 (27912K bytes) Preloaded elf kernel "kernel" at 0xc0422000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <SiS 5591 ATA33 controller> port 0xffa0-0xffaf,0x2300-0x2303,0x2200-0x2207,0x2100-0x2103,0x2000-0x2007 irq 0 at device 1.1 on pci0 atapci0: Busmastering DMA not supported ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 xl0: <3Com 3c900-COMBO Etherlink XL> port 0x4400-0x443f irq 11 at device 14.0 on pci0 xl0: Ethernet address: 00:60:97:83:46:a7 xl0: selecting 10baseT transceiver, half duplex iwic0: <ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17020675)> port 0x4000-0x40ff mem 0x60000000-0x60000fff irq 10 at device 15.0 on pci0 iwic0: passive stack unit 0 pci0: <Cirrus Logic GD5436 SVGA controller> at 20.0 orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: cannot reserve I/O port range i4btrc: 16 ISDN trace device(s) attached i4bisppp: 4 ISDN SyncPPP device(s) attached i4b: ISDN call control device attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression) i4bctl: ISDN system control port attached IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled ad0: 2457MB <QUANTUM BIGFOOT2550A> [4994/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s1a i4b: unit 0, assigned TEI = 66 = 0x42 i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676592: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676599: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676605: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676612: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676618: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676625: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676709: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022678184: ERROR: idletime[900]+earlyhup[5] > unitlength[90]! ------=_NextPart_000_000E_01C20728.623F5840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D490250213-29052002><FONT size=3D2><FONT = color=3D#0000ff><FONT=20 face=3DArial>Hi all,</FONT></FONT></FONT></SPAN></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>I'm=20 building a isdnrouter so my internal network will have=20 internetaccess.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>I've=20 succesfully compiled my Dynalink into my kernel.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002>But how to continue.. i've attachted 6 = files<SPAN=20 class=3D250004213-29052002>[M Bergman] (the list won't take = attatchments=20 thats why i copy pasted them at the end of the message. and i'll = put them=20 online in a zip file !</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN = class=3D250004213-29052002>http://test<A=20 href=3D"http://www.digipoint.org/">.digipoint.org/files/isdnconfig.zip</A= ></SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT> </DIV= > <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002>/etc/ppp/ppp.conf</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002>/etc/rc.conf</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002>/etc/isdn/isdnd.rc</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>dmesg=20 output.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002>isdn-up =3D the command i use to dial in = by=20 hand</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002>isdn-down =3D the command i use to disconnect = by=20 hand</SPAN></FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>the=20 situation i want to create:</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>i've=20 got a p120 FreeBSD box who connects to the internet when a computer on = the pc=20 tries to get a internet connection (dial on demand). = </SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>when=20 there is no data going out for 15 minutes i wan't the connection to be = removed=20 (Idle timeout).</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>i also=20 wanna have a command to dial in (so i can set cronjobs that dial in and = get a=20 cvsup)</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>The=20 problem i've got now:</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>i can=20 dialin (only by hand), that means the line is busy when i pick up = another=20 phone.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>i=20 can't ping, nor ip adresses nor dnsnames.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>the ip=20 you find in ppp.conf is a dnsserver of my isp, i don't have a = static=20 ip..</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>can=20 you guys help me</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>1.=20 getting my routing ok so i can really use the = internet</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D490250213-29052002>2. set=20 my config files the right wat for "dial on demand" and "idle = timeout"</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D490250213-29052002></SPAN></FONT> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002>Thanks already for looking at my = files.<BR><SPAN=20 class=3D250004213-29052002>[M=20 Bergman] </SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT> </DIV= > <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>ISDND.RC</U></EM></STRONG></SPA= N></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT> </DIV= > <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>system<BR>acctall  = ; =20 =3D off<BR>useacctfile =3D off<BR>monitor-allowed =3D=20 no<BR>ratesfile =3D=20 /etc/isdn/isdnd.rates<BR>rtprio = =20 =3D 25<BR>beepconnect =3D=20 on</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>controller<BR>protocol = =20 =3D dss1</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>entry<BR>name &nb= sp; &nbs= p; =20 =3D=20 userppp0<BR>isdncontroller  = ; =20 =3D=20 0<BR>#isdnchannel &n= bsp; =20 =3D=20 -1<BR>isdnchannel &n= bsp; =20 =3D = -1<BR>usrdevicename = =3D=20 rbch<BR>usrdeviceunit &nbs= p; =3D=20 0<BR>local-phone-dialout =3D=20 38****1<BR>local-phone-incoming =3D=20 38****1<BR>#remote-phone-dialout =3D = 0676060606 #=20 @work<BR>remote-phone-dialout =3D = 0676001505 #=20 Hetnet<BR>#remote-phone-dialout =3D = 06*******8 # my=20 gsm<BR>remote-phone-incoming =3D=20 *<BR>remdial-handling =3D=20 first</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>b1protocol = =20 =3D hdlc<BR>dialin-reaction = =3D=20 ignore<BR>dialout-type &nb= sp; =20 =3D normal</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>ratetype &n= bsp; =20 =3D=20 0<BR>unitlength &nbs= p; =20 =3D = 90<BR>unitlengthsrc = =3D=20 conf<BR>idletime-incoming =3D=20 900<BR>idletime-outgoing =3D=20 900</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>dialretries  = ; =20 =3D=20 1<BR>dialrandincr &n= bsp; =20 =3D=20 on<BR>recoverytime &= nbsp; =20 =3D=20 1<BR>usedown &= nbsp; =20 =3D=20 off<BR>downtries &nb= sp; =20 =3D=20 2<BR>downtime = =20 =3D 30</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>entry<BR>name &nb= sp; &nbs= p; =20 =3D=20 userppp1<BR>isdncontroller  = ; =20 =3D=20 0<BR>isdnchannel &nb= sp; =20 =3D = -1<BR>usrdevicename = =3D=20 rbch<BR>usrdeviceunit &nbs= p; =3D=20 1<BR>local-phone-dialout =3D=20 38****1<BR>local-phone-incoming =3D=20 38****1<BR>#remote-phone-dialout =3D = 0676060606 #=20 @work<BR>remote-phone-dialout =3D = 0676001505 #=20 Hetnet<BR>#remote-phone-dialout =3D = 06*******8 # my=20 gsm<BR>remote-phone-incoming =3D=20 *<BR>remdial-handling =3D=20 first</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>b1protocol = =20 =3D hdlc<BR>dialin-reaction = =3D=20 ignore<BR>dialout-type &nb= sp; =20 =3D normal</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>ratetype &n= bsp; =20 =3D=20 0<BR>unitlength &nbs= p; =20 =3D = 90<BR>unitlengthsrc = =3D=20 conf<BR>idletime-incoming =3D=20 900<BR>idletime-outgoing =3D=20 900</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>dialretries  = ; =20 =3D=20 99<BR>dialrandincr &= nbsp; =20 =3D=20 on<BR>recoverytime &= nbsp; =20 =3D=20 1<BR>usedown &= nbsp; =20 =3D=20 off<BR>downtries &nb= sp; =20 =3D=20 2<BR>downtime = =20 =3D 30</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>###############<BR>#added=20 later<BR>##############<BR>#idletime-outgoing =3D=20 1200 &nb= sp; =20 # verbreek de verbinding als er 20 minuten geen verkeer = is.<BR>#<BR>#<BR>##=20 SYSTEM section: isdnd global configuration = parameters<BR>#<BR>#system<BR>#<BR>##=20 accounting<BR>#<BR>#acctall &nbs= p; =3D=20 on  = ; =20 # generate info for=20 everything<BR>#acctfile =3D=20 /var/log/isdnd.acct # name & location of accounting=20 file<BR>#useacctfile =3D=20 yes &nbs= p; =20 # generate accouting info to file<BR>#isdntime =3D = on<BR>#monitor-allowed =3D=20 on  = ; =20 # global switch: monitor on/off<BR>#<BR>#beepconnect =3D=20 on  = ; =20 # beeps when connection made /=20 closed<BR>#<BR>#<BR>#entry<BR>#name &n= bsp; &nb= sp;=20 =3D=20 KPPP<BR>#usrdevicename &nb= sp; =20 =3D=20 isp<BR>#usrdeviceunit &nbs= p; =20 =3D = 0<BR>#isdncontroller  = ; =3D=20 0<BR>#isdnchannel &n= bsp; =20 =3D -1<BR>#local-phone-incoming =3D=20 *<BR>#remote-phone-incoming =3D=20 *<BR>#<BR>#local-phone-dialout =3D=20 38****1 # This *MUST* be your local=20 number<BR>##remote-phone-dialout =3D = 0676060606 #=20 @work<BR>#remote-phone-dialout =3D = 0676001505 =20 # Hetnet<BR>##remote-phone-dialout =3D = 06*******8 #=20 my = gsm<BR>#<BR>#remdial-handling = =3D=20 first<BR>#dialin-reaction = =3D=20 ignore ### zodat er niks = gebeurt als=20 iemand NAAR deze lijn=20 belt<BR>#dialout-type &nbs= p; =20 =3D=20 normal<BR>#b1protocol &nbs= p; =20 =3D hdlc<BR>##idletime-outgoing =3D = 120 #=20 Should be larger than ppp's=20 timeout<BR>#unitlength &nb= sp; =20 =3D=20 0<BR>#unitlengthsrc = =20 =3D=20 conf<BR>#dialretries  = ; =20 =3D 99 = ### na 99=20 keer inbellen is er vast een=20 verbinding<BR>#dialrandincr &nbs= p; =20 =3D=20 on<BR>#recoverytime = =20 =3D 30 = # Should=20 be smaller than ppp's=20 redial<BR>#usedown &= nbsp; =20 =3D=20 off<BR>##downtries &= nbsp; =20 =3D=20 20<BR>##downtime &nb= sp; =20 =3D=20 60<BR>#connectprog &= nbsp; =20 =3D=20 isdn-connect<BR>#disconnectprog = =20 =3D=20 isdn-disconnect<BR>#maxconnecttime &nb= sp; =20 =3D 7200</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>PPP.CONF</U></EM></STRONG></SPA= N></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN = class=3D250004213-29052002>default:<BR> #set=20 log Phase LCP IPCP CCP tun tun0 = command<BR> <BR>hetnet:<BR> allow user=20 root<BR> allow user mark<BR> set phone 0676001505<BR> set = authname <A href=3D"mailto:ban@hetnet.nl">ban@hetnet.nl</A><BR> set = authkey=20 **my-pass**<BR> enable lqr<BR> set reconnect 99 5<BR> set = redial=20 99 10<BR> set lqrperiod 45<BR> disable pred1 deflate=20 mppe<BR> deny pred1 deflate mppe<BR> set timeout 180 = 600<BR> set=20 dial<BR> set login<BR> #set hangup<BR> set device = /dev/i4brbch0=20 /dev/i4brbch1<BR> set speed sync<BR> set bandwidth = 65536<BR> link=20 * set cd 10</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN class=3D250004213-29052002>#### the ip = in the=20 iffaddr is a dnsserver of the isp.<BR> set ifaddr 10.0.0.1/0 = 194.151.43.3/0=20 255.255.255.255 0.0.0.0<BR> add default HISADDR<BR> enable=20 dns<BR> set server /tmp/ppp-isdn ""=20 0177</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN = class=3D250004213-29052002>filter:<BR> #allow=20 user root<BR> #allow user mark<BR> #allow mode = ddial<BR> #allow=20 mode auto<BR> ## filters... dial filters...<BR> #set filter = dial 0=20 deny udp src eq 513<BR> #set filter dial 1 deny udp src eq=20 525<BR> #set filter dial 2 deny udp src eq 137<BR> #set filter = dial 3=20 deny udp src eq 138<BR> #set filter dial 4 deny udp src eq=20 139<BR> #set filter dial 5 deny udp dst eq 137<BR> #set filter = dial 6=20 deny udp dst eq 138<BR> #set filter dial 7 deny udp dst eq=20 139<BR> #set filter dial 8 deny tcp finrst<BR> #set filter = dial 9=20 permit 0 0</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>RC.CONF</U></EM></STRONG> = </SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT><FONT = size=3D2><FONT=20 color=3D#0000ff><FONT face=3DArial><SPAN = class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><BR># -- sysinstall generated deltas -- # Fri = Apr 12=20 18:13:58 2002<BR># Created: Fri Apr 12 18:13:58 2002<BR># Enable network = daemons=20 for user convenience.<BR># Please make all changes to this file, not to=20 /etc/defaults/rc.conf.<BR># This file now contains just the overrides = from=20 /etc/defaults/rc.conf.<BR>#defaultrouter=3D"192.168.4.1"<BR>#defaultroute= r=3D"10.0.0.1"</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>gateway_enable=3D"YES"<BR>named_enable=3Dyes<B= R>hostname=3D"jolette.dint.org"<BR>ifconfig_xl0=3D"inet=20 192.168.1.1 netmask = 255.255.0.0"</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN = class=3D250004213-29052002>#ifconfig_isp0=3D"0.0.0.0=20 10.0.0.1 netmask 255.255.255.0=20 link1"<BR>#sppp_interfaces=3D"isp0"</SPAN></SPAN></FONT></FONT></FONT></D= IV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>kern_securelevel_enable=3D"NO"<BR>moused_enabl= e=3D"NO"<BR>moused_type=3D"NO"<BR>nfs_reserved_port_only=3D"YES"<BR>sendm= ail_enable=3D"YES"<BR>sshd_enable=3D"YES"</SPAN></SPAN></FONT></FONT></FO= NT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>enable_quotas=3D"YES"<BR>check_quotas=3D"YES"<= BR>ipmon_enable=3D"YES"<BR>ipmon_flags=3D"-Ds"<BR>ipfilter_enable=3D"YES"= <BR>ipfilter_rules=3D"/etc/ipf.rules"<BR>ipnat_enable=3D"YES"<BR>ipnat_ru= les=3D"/etc/ipnat.rules"</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><BR>isdn_enable=3D"YES"<BR>#isdn_fsdev=3D/dev/= ttyv4<BR>isdn_fsdev=3D"NO"<BR>#isdn_flags=3D"-dn=20 -d0x1f9"<BR>isdn_trace=3D"YES"<BR>isdn_traceflags=3D"-f=20 /var/tmp/isdntrace0"</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002>#ppp_enable=3D"YES"<BR>#ppp_mode=3D"auto"<BR>#= ppp_nat=3D"YES"<BR>#ppp_profile=3D"hetnet"</SPAN></SPAN></FONT></FONT></F= ONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>ISDN-UP</U></EM></STRONG></SPAN= ></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN class=3D250004213-29052002>ppp -auto = hetnet=20 && echo "U heeft = verbinding"</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT> </DIV= > <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>ISDN-DOWN</U></EM></STRONG><BR>= killall=20 -9 ppp && echo "verbinding is verbroken"<BR>ifconfig tun0=20 delete</SPAN></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002></SPAN></SPAN></FONT></FONT></FONT> </DIV= > <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN=20 class=3D250004213-29052002><STRONG><EM><U>DMESG</U></EM></STRONG></SPAN><= /SPAN></FONT></FONT></FONT></DIV> <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20 class=3D490250213-29052002><SPAN = class=3D250004213-29052002><BR>Copyright (c)=20 1992-2002 The FreeBSD Project.<BR>Copyright (c) 1979, 1980, 1983, 1986, = 1988,=20 1989, 1991, 1992, 1993, 1994<BR> The Regents of the University of=20 California. All rights reserved.<BR>FreeBSD 4.6-RC #0: Sat May 18 = 08:46:12 CEST=20 2002<BR> <A=20 href=3D"mailto:root@jolette.dint.org:/usr/obj/usr/src/sys/JOLETTE">root@j= olette.dint.org:/usr/obj/usr/src/sys/JOLETTE</A><BR>Timecounter=20 "i8254" frequency 1193182 Hz<BR>CPU: Pentium/P54C (119.75-MHz = 586-class=20 CPU)<BR> Origin =3D "GenuineIntel" Id =3D 0x52c = Stepping =3D=20 12<BR> = Features=3D0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8><BR>real=20 memory =3D 33554432 (32768K bytes)<BR>avail memory =3D 28581888 = (27912K=20 bytes)<BR>Preloaded elf kernel "kernel" at 0xc0422000.<BR>Intel Pentium=20 detected, installing workaround for F00F bug<BR>md0: Malloc = disk<BR>npx0:=20 <math processor> on motherboard<BR>npx0: INT 16 = interface<BR>pcib0:=20 <Host to PCI bridge> on motherboard<BR>pci0: <PCI bus> on=20 pcib0<BR>isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on = pci0<BR>isa0:=20 <ISA bus> on isab0<BR>atapci0: <SiS 5591 ATA33 controller> = port=20 0xffa0-0xffaf,0x2300-0x2303,0x2200-0x2207,0x2100-0x2103,0x2000-0x2007 = irq 0 at=20 device 1.1 on pci0<BR>atapci0: Busmastering DMA not supported<BR>ata0: = at 0x1f0=20 irq 14 on atapci0<BR>ata1: at 0x170 irq 15 on atapci0<BR>xl0: <3Com=20 3c900-COMBO Etherlink XL> port 0x4400-0x443f irq 11 at device 14.0 on = pci0<BR>xl0: Ethernet address: 00:60:97:83:46:a7<BR>xl0: selecting = 10baseT=20 transceiver, half duplex<BR>iwic0: <ASUSCOM P-IN100-ST-D (Winbond = W6692,=20 0x17020675)> port 0x4000-0x40ff mem 0x60000000-0x60000fff irq 10 at = device=20 15.0 on pci0<BR>iwic0: passive stack unit 0<BR>pci0: <Cirrus Logic = GD5436=20 SVGA controller> at 20.0<BR>orm0: <Option ROM> at iomem = 0xc0000-0xc7fff=20 on isa0<BR>fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 = irq 6 drq=20 2 on isa0<BR>fdc0: FIFO enabled, 8 bytes threshold<BR>fd0: <1440-KB = 3.5"=20 drive> on fdc0 drive 0<BR>atkbdc0: <Keyboard controller = (i8042)> at=20 port 0x60,0x64 on isa0<BR>atkbd0: <AT Keyboard> flags 0x1 irq 1 on = atkbdc0<BR>kbd0 at atkbd0<BR>vga0: <Generic ISA VGA> at port = 0x3c0-0x3df=20 iomem 0xa0000-0xbffff on isa0<BR>sc0: <System console> at flags = 0x100 on=20 isa0<BR>sc0: VGA <16 virtual consoles, flags=3D0x300><BR>sio0 at = port=20 0x3f8-0x3ff irq 4 flags 0x10 on isa0<BR>sio0: type 16550A<BR>sio1 at = port=20 0x2f8-0x2ff irq 3 on isa0<BR>sio1: type 16550A<BR>ppc0: cannot reserve = I/O port=20 range<BR>i4btrc: 16 ISDN trace device(s) attached<BR>i4bisppp: 4 ISDN = SyncPPP=20 device(s) attached<BR>i4b: ISDN call control device attached<BR>i4btel: = 2 ISDN=20 telephony interface device(s) attached<BR>i4brbch: 4 raw B channel = access=20 device(s) attached<BR>i4bipr: 4 IP over raw HDLC ISDN device(s) attached = (VJ=20 header compression)<BR>i4bctl: ISDN system control port attached<BR>IP = Filter:=20 v3.4.27 initialized. Default =3D pass all, Logging =3D = enabled<BR>ad0: 2457MB=20 <QUANTUM BIGFOOT2550A> [4994/16/63] at ata0-master = BIOSPIO<BR>Mounting=20 root from ufs:/dev/ad0s1a<BR>i4b: unit 0, assigned TEI =3D 66 =3D = 0x42<BR>i4b-L4=20 i4b_l4_setup_timeout_fix_unit: 1022676592: ERROR: = idletime[900]+earlyhup[5] >=20 unitlength[90]!<BR>i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676599: = ERROR:=20 idletime[900]+earlyhup[5] > unitlength[90]!<BR>i4b-L4=20 i4b_l4_setup_timeout_fix_unit: 1022676605: ERROR: = idletime[900]+earlyhup[5] >=20 unitlength[90]!<BR>i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676612: = ERROR:=20 idletime[900]+earlyhup[5] > unitlength[90]!<BR>i4b-L4=20 i4b_l4_setup_timeout_fix_unit: 1022676618: ERROR: = idletime[900]+earlyhup[5] >=20 unitlength[90]!<BR>i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022676625: = ERROR:=20 idletime[900]+earlyhup[5] > unitlength[90]!<BR>i4b-L4=20 i4b_l4_setup_timeout_fix_unit: 1022676709: ERROR: = idletime[900]+earlyhup[5] >=20 unitlength[90]!<BR>i4b-L4 i4b_l4_setup_timeout_fix_unit: 1022678184: = ERROR:=20 idletime[900]+earlyhup[5] >=20 unitlength[90]!<BR> </SPAN></SPAN></FONT></FONT></FONT></DIV></BODY>= </HTML> ------=_NextPart_000_000E_01C20728.623F5840-- 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?NGBBJKOHMLCJMGMIODEBAECACAAA.m.bergman>