Date: Sat, 20 Jan 2001 22:57:45 -0000 From: "Adam Wheeler" <adam@megasound.freeserve.co.uk> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: ISDN and userPPP Message-ID: <NEBBLCLJOFLLPIGNMCEHEECACAAA.adam@megasound.freeserve.co.uk>
next in thread | raw e-mail | index | archive | help
Hi all, I'm looking to set up user ppp to do a single 64K connection to the internet via a BT SpeedWay Internal PCI ISDN Card. I am in the UK and have a BT Home Highway Line. I have installed and configured the ISDN card and it will dial the ISP. However after the connection is opened it appears to start but never complete the authentication process. I have tried two Internet Service Providers so far. Ultimately I wish to use both seeing as one is freephone during the weekend. The first ISP I have tried is BT Internet using an 0800 free phone number. They appear to only accept CHAP, I have tried PAP. Neither work at all. The second ISP I have tried is LOL. They only accept PAP. When connecting to them the log says PAP Successful. If I have both CHAP and PAP enabled then the connection closes immediately after the authentication entries in the log file. If I disable CHAP while connecting to them then the connection stays open for 111 seconds after the authentication entries in the log file. Their technical support team say they can see me online but I don't have an IP address and state my disconnect reason as ACCT_TERM_USER_ERROR. The user ppp program only shows the first P as being a capital letter, according the manual this says that the connection has not yet been authenticated. This makes no sense to me because both their technical support and the log file says that authentication is complete. I hope that someone on this list can help me resolve these issues. I have not sent this email to the ISDN list because the FreeBSD web site states it is a list for developers, Should I ask them for help? My configuration and partial log is included. Thanks in advance. Adam Wheeler - tekcom.co.uk ---------------------------------------------------------------------------- ---- -- /etc/isdn/isdnd.rc ---------------------------------------------------------------------------- ---- system acctall = on acctfile = /var/log/isdnd.acct useacctfile = yes monitor-allowed = no ratesfile = /etc/isdn/isdnd.rates rtprio = 25 entry name = PPP usrdevicename = rbch usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 remdial-handling = first b1protocol = hdlc idletime-incoming = 900 # larger than the time out for ppp idletime-outgoing = 900 # larger than the time out for ppp ratetype = 0 unitlength = 90 unitlengthsrc = rate dialretries = 3 dialrandincr = on recoverytime = 5 usedown = off downtries = 2 downtime = 30 local-phone-incoming = ########## remote-phone-incoming = * local-phone-dialout = ########## remote-phone-dialout = ########## dialin-reaction = ignore # accept, reject, ignore, answer, callback dialout-type = normal # normal / calledback ---------------------------------------------------------------------------- ---- -- /etc/ppp/ppp.conf ---------------------------------------------------------------------------- ---- default: set device /dev/i4brbch0 set speed sync set bandwidth 65536 # How long does it take to connect with ISDN ? example=6 # set * set cd 8 set log Phase Chat tun LQM Warning Error Alert LCP IPCP CCP tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns enable lqr disable pred1 disable passwdauth disable deflate disable protocomp disable vjcomp deny acfcomp deny deflate deny pred1 deny protocomp deny vjcomp set reconnect 3 0 set redial 3 10 set lqrperiod 45 # set timeout 60 300 # This sets all the chat scripts to blank. set dial set login set hangup bt: set phone 08007317964 set authname ########## set authkey ########## enable chap disable pap lol: set phone 08452040018:08452040043:08453001248 set authname ########## set authkey ########## enable pap disable chap ---------------------------------------------------------------------------- ---- -- /var/log/all ---------------------------------------------------------------------------- ---- Jan 20 21:12:05 resistor ppp[655]: Phase: Using interface: tun0 Jan 20 21:12:05 resistor ppp[655]: Phase: deflink: Created in closed state Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: PPP Started (background mode). Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: bundle: Establish Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: deflink: closed -> opening Jan 20 21:12:05 resistor ppp[656]: tun0: Chat: Phone: 08007317964 Jan 20 21:12:05 resistor isdnd[491]: DBG msg_dialoutnumber: dial req from rbch, unit 0 Jan 20 21:12:05 resistor isdnd[491]: DBG setup_dialout: entry PPP ok! Jan 20 21:12:05 resistor isdnd[491]: DBG find_by_device_for_dialoutnumber: found entry 0! Jan 20 21:12:05 resistor isdnd[491]: DBG FSM event [msg-dialout]: [idle => dialing] Jan 20 21:12:05 resistor isdnd[491]: DBG F_DIAL: local dial out request Jan 20 21:12:05 resistor isdnd[491]: DBG select_first_dialno: only one no, no = 08007317964 Jan 20 21:12:05 resistor isdnd[491]: CHD 00046 PPP rate 296 sec/unit (rate) Jan 20 21:12:05 resistor isdnd[491]: DBG sendm_connect_req: ctrl = 0, chan = -1 Jan 20 21:12:05 resistor isdnd[491]: DBG decr_free_channels: ctrl 0, now 1 chan free Jan 20 21:12:05 resistor isdnd[491]: CHD 00046 PPP dialing out from 01432761590 to 08007317964 Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: deflink: Connected! Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: deflink: opening -> dial Jan 20 21:12:05 resistor ppp[656]: tun0: Chat: deflink: Dial attempt 1 of 10 Jan 20 21:12:05 resistor ppp[656]: tun0: Phase: deflink: dial -> carrier Jan 20 21:12:06 resistor isdnd[491]: DBG set_channel_busy: controller [0] channel B2 set to BUSY! Jan 20 21:12:06 resistor isdnd[491]: CHD 00046 PPP outgoing call proceeding (ctl 0, ch 1) Jan 20 21:12:06 resistor /kernel: i4b-L4 i4b_l4_setup_timeout_fix_unit: 980025126: ERROR: idletime[900]+earlyhup[5] > unitlength[296]! Jan 20 21:12:06 resistor isdnd[491]: DBG set_channel_busy: controller [0] channel B2 already busy! Jan 20 21:12:06 resistor isdnd[491]: CHD 00046 PPP outgoing call active (ctl 0, ch 1, rbch0) Jan 20 21:12:06 resistor isdnd[491]: DBG FSM event [msg-con-act-ind]: [dialing => connected] Jan 20 21:12:06 resistor isdnd[491]: DBG F_DOK: dial out ok Jan 20 21:12:06 resistor isdnd[491]: DBG select_this_dialno: index = 0, no = 08007317964 Jan 20 21:12:07 resistor ppp[656]: tun0: Phase: deflink: /dev/i4brbch0: CD detected Jan 20 21:12:07 resistor ppp[656]: tun0: Phase: deflink: carrier -> login Jan 20 21:12:07 resistor ppp[656]: tun0: Phase: deflink: login -> lcp Jan 20 21:12:08 resistor ppp[656]: tun0: Phase: bundle: Authenticate Jan 20 21:12:08 resistor ppp[656]: tun0: Phase: deflink: his = CHAP 0x05, mine = CHAP 0x05 Jan 20 21:12:08 resistor ppp[656]: tun0: Phase: Chap Output: CHALLENGE Jan 20 21:12:08 resistor ppp[656]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from BTMDIP) Jan 20 21:12:08 resistor ppp[656]: tun0: Phase: Chap Output: RESPONSE (##########) Jan 20 21:12:09 resistor ppp[656]: tun0: Phase: Chap Input: SUCCESS Jan 20 21:12:11 resistor ppp[656]: tun0: Phase: Chap Output: CHALLENGE Jan 20 21:12:12 resistor isdnd[491]: CHD 00046 PPP outgoing call disconnected (remote) Jan 20 21:12:12 resistor isdnd[491]: CHD 00046 PPP cause 16: Normal call clearing (Q.850) Jan 20 21:12:12 resistor isdnd[491]: CHD 00046 PPP charging: 0 units, 6 seconds Jan 20 21:12:12 resistor isdnd[491]: CHD 00046 PPP accounting: in 196, out 217 Jan 20 21:12:12 resistor isdnd[491]: DBG set_channel_idle: controller [0] channel B2 set to IDLE! Jan 20 21:12:12 resistor isdnd[491]: DBG incr_free_channels: ctrl 0, now 2 chan free Jan 20 21:12:12 resistor isdnd[491]: DBG FSM event [msg-disc-ind]: [connected => idle] Jan 20 21:12:12 resistor isdnd[491]: DBG F_IDIS: disconnect indication Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: Carrier lost Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: Disconnected! Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: lcp -> logout Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: Disconnected! Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: logout -> hangup Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: Connect time: 7 secs: 218 octets in, 286 octets out Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: total 72 bytes/sec, peak 100 bytes/sec on Sat Jan 20 21:12:12 2001 Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: deflink: hangup -> closed Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: bundle: Dead Jan 20 21:12:12 resistor ppp[656]: tun0: Phase: PPP Terminated (normal). Jan 20 21:12:12 resistor ppp[656]: tun0: Chat: Parent notified of failure Jan 20 21:12:12 resistor ppp[655]: tun0: Phase: Parent: Child failed (errdead) Jan 20 21:12:16 resistor ppp[657]: Phase: Using interface: tun0 Jan 20 21:12:16 resistor ppp[657]: Phase: deflink: Created in closed state Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: PPP Started (background mode). Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: bundle: Establish Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: deflink: closed -> opening Jan 20 21:12:17 resistor ppp[658]: tun0: Chat: Phone: 08007317964 Jan 20 21:12:17 resistor isdnd[491]: DBG msg_dialoutnumber: dial req from rbch, unit 0 Jan 20 21:12:17 resistor isdnd[491]: DBG setup_dialout: entry PPP ok! Jan 20 21:12:17 resistor isdnd[491]: DBG find_by_device_for_dialoutnumber: found entry 0! Jan 20 21:12:17 resistor isdnd[491]: DBG FSM event [msg-dialout]: [idle => dialing] Jan 20 21:12:17 resistor isdnd[491]: DBG F_DIAL: local dial out request Jan 20 21:12:17 resistor isdnd[491]: DBG select_first_dialno: only one no, no = 08007317964 Jan 20 21:12:17 resistor isdnd[491]: CHD 00047 PPP rate 296 sec/unit (rate) Jan 20 21:12:17 resistor isdnd[491]: DBG sendm_connect_req: ctrl = 0, chan = -1 Jan 20 21:12:17 resistor isdnd[491]: DBG decr_free_channels: ctrl 0, now 1 chan free Jan 20 21:12:17 resistor isdnd[491]: CHD 00047 PPP dialing out from 01432761590 to 08007317964 Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: deflink: Connected! Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: deflink: opening -> dial Jan 20 21:12:17 resistor ppp[658]: tun0: Chat: deflink: Dial attempt 1 of 10 Jan 20 21:12:17 resistor ppp[658]: tun0: Phase: deflink: dial -> carrier Jan 20 21:12:17 resistor isdnd[491]: DBG set_channel_busy: controller [0] channel B2 set to BUSY! Jan 20 21:12:17 resistor isdnd[491]: CHD 00047 PPP outgoing call proceeding (ctl 0, ch 1) Jan 20 21:12:18 resistor /kernel: i4b-L4 i4b_l4_setup_timeout_fix_unit: 980025138: ERROR: idletime[900]+earlyhup[5] > unitlength[296]! Jan 20 21:12:18 resistor isdnd[491]: DBG set_channel_busy: controller [0] channel B2 already busy! Jan 20 21:12:18 resistor isdnd[491]: CHD 00047 PPP outgoing call active (ctl 0, ch 1, rbch0) Jan 20 21:12:18 resistor isdnd[491]: DBG FSM event [msg-con-act-ind]: [dialing => connected] Jan 20 21:12:18 resistor isdnd[491]: DBG F_DOK: dial out ok Jan 20 21:12:18 resistor isdnd[491]: DBG select_this_dialno: index = 0, no = 08007317964 Jan 20 21:12:19 resistor ppp[658]: tun0: Phase: deflink: /dev/i4brbch0: CD detected Jan 20 21:12:19 resistor ppp[658]: tun0: Phase: deflink: carrier -> login Jan 20 21:12:19 resistor ppp[658]: tun0: Phase: deflink: login -> lcp Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: bundle: Authenticate Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: deflink: his = CHAP 0x05, mine = CHAP 0x05 Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: Chap Output: CHALLENGE Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from BTMDIP) Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: Chap Output: RESPONSE (##########) Jan 20 21:12:20 resistor ppp[658]: tun0: Phase: Chap Input: SUCCESS Jan 20 21:12:23 resistor ppp[658]: tun0: Phase: Chap Output: CHALLENGE Jan 20 21:12:23 resistor isdnd[491]: CHD 00047 PPP outgoing call disconnected (remote) Jan 20 21:12:23 resistor isdnd[491]: CHD 00047 PPP cause 16: Normal call clearing (Q.850) Jan 20 21:12:23 resistor isdnd[491]: CHD 00047 PPP charging: 0 units, 5 seconds Jan 20 21:12:23 resistor isdnd[491]: CHD 00047 PPP accounting: in 196, out 192 Jan 20 21:12:23 resistor isdnd[491]: DBG set_channel_idle: controller [0] channel B2 set to IDLE! Jan 20 21:12:23 resistor isdnd[491]: DBG incr_free_channels: ctrl 0, now 2 chan free Jan 20 21:12:23 resistor isdnd[491]: DBG FSM event [msg-disc-ind]: [connected => idle] Jan 20 21:12:23 resistor isdnd[491]: DBG F_IDIS: disconnect indication Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: Carrier lost Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: Disconnected! Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: lcp -> logout Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: Disconnected! Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: logout -> hangup Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: Connect time: 7 secs: 218 octets in, 236 octets out Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: total 64 bytes/sec, peak 90 bytes/sec on Sat Jan 20 21:12:24 2001 Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: deflink: hangup -> closed Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: bundle: Dead Jan 20 21:12:24 resistor ppp[658]: tun0: Phase: PPP Terminated (normal). Jan 20 21:12:24 resistor ppp[658]: tun0: Chat: Parent notified of failure Jan 20 21:12:24 resistor ppp[657]: tun0: Phase: Parent: Child failed (errdead) Jan 20 21:13:13 resistor isdnd[491]: DBG msg_l12stat_ind: unit 0, layer 2, state 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBLCLJOFLLPIGNMCEHEECACAAA.adam>