Date: Wed, 01 Mar 2000 08:26:51 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Eric FEILLANT" <eric.feillant@laposte.fr> Cc: freebsd-isdn@FreeBSD.org, brian@hak.lan.awfulhak.org Subject: Re: Help with User PPP Message-ID: <200003010826.IAA00569@hak.lan.Awfulhak.org> In-Reply-To: Message from "Eric FEILLANT" <eric.feillant@laposte.fr> of "Tue, 29 Feb 2000 11:22:37 %2B0100." <38BB9DED.CF01F3AE@laposte.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
This looks fine, what does you ppp log say ? You may want to enable debug logging.... > Hi, > > I need help with User PPP via ISDN. > > SPPP works for me, but when trying to use User PPP with > the example of files given in the i4b package, it does not work. > > Outgoing calls don't work, so of course, LCP give me nothing ... > here's my DMESG result > > isic0 at 0x268 irq 5 flags 0x7 on isa > isic0: USRobotics Sportster ISDN TA intern > isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) > (Addr=0xc268) > isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x268, AddrB=0x4268) > Intel Pentium detected, installing workaround for F00F bug > IP packet filtering initialized, divert enabled, rule-based forwarding > enabled, default to accept, logging limited to 100 packets/entry by > default > i4b: ISDN call control device attached > i4bisppp: 4 ISDN SyncPPP device(s) attached > i4bctl: ISDN system control port attached > i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header > compression) > i4btel: 2 ISDN telephony interface device(s) attached > i4brbch: 4 raw B channel access device(s) attached > i4btrc: 4 ISDN trace device(s) attached > > Here's my isdnd.rc file: > > 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 = no # global switch: monitor on/off > > #================================================================= > # User-ppp example > #================================================================= > entry > name = userppp0 > usrdevicename = rbch > usrdeviceunit = 0 > isdncontroller = 0 > isdnchannel = -1 > local-phone-incoming = 024048xxxx > remote-phone-incoming = * > local-phone-dialout = 024048xxxx > remote-phone-dialout = 025186xxxx # ppp(8) will override this > remdial-handling = first > dialin-reaction = ignore > dialout-type = normal > b1protocol = hdlc > idletime-incoming = 900 # Should be larger than ppps timeout > idletime-outgoing = 900 # Should be larger than ppps timeout > ratetype = 0 > unitlength = 90 > unitlengthsrc = rate > dialretries = 1 > dialrandincr = on > recoverytime = 1 # Should be smaller than ppps redial > usedown = off > downtries = 2 > downtime = 30 > > entry > name = userppp1 > usrdevicename = rbch > usrdeviceunit = 1 > isdncontroller = 0 > isdnchannel = -1 > local-phone-incoming = 1234567 > remote-phone-incoming = * > local-phone-dialout = 1234567 > remote-phone-dialout = 1234567 # ppp(8) will override this > remdial-handling = first > dialin-reaction = accept > dialout-type = normal > b1protocol = hdlc > idletime-incoming = 900 # Should be larger than ppps timeout > idletime-outgoing = 900 # Should be larger than ppps timeout > ratetype = 0 > unitlength = 90 > unitlengthsrc = rate > dialretries = 1 > dialrandincr = on > recoverytime = 1 # Should be smaller than ppps redial > usedown = off > downtries = 2 > downtime = 30 > > And here's my ppp.conf file: > > isp: > set phone 025186xxxx > > # Replace these with your login name & password. This profile assumes > # you're using PAP or CHAP. > set authname myusername > set authkey mypasswd > > # Assuming you have a LAN: > set enddisc mac > > enable lqr > set reconnect 3 5 > set redial 3 10 > set lqrperiod 45 > disable pred1 deflate > deny pred1 deflate > > # Our minimum charge period is 5 minutes, so don't hangup before then > set timeout 60 600 > > # We have no chat scripts in the ISDN world (yet) > set dial > set login > set hangup > > # Use the raw B-channel devices > set device /dev/i4brbch0 /dev/i4brbch1 > set speed sync > > # How long does it take to connect with ISDN ? > link * set cd 6 > > # Ask the peer what to put in resolv.conf > enable dns > > # Take a wild guess and let the other side decide > set ifaddr 172.16.0.1/0 212.0.0.0/0 > add! default hisaddr > > # Multilink mode please > set mrru 1500 > > # Two new links > clone 1,2 > > # And get rid of the old one with the crusty name > link deflink rm > > # Automatically manage the second link > link * set mode auto > set autoload 10 100 30 > > # Otherwise, do things via the diagnostic port > set server /tmp/pavilion "" 0177 > > > > > Sorry to give here so much information ... to read. > Does anyone see something wrong ? > Thanx for help, > > eric. -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! 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?200003010826.IAA00569>