From owner-freebsd-isdn Wed Oct 27 12:44: 6 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id B856715004 for ; Wed, 27 Oct 1999 12:43:50 -0700 (PDT) (envelope-from sarig@bezeqint.net) Received: from default (pri-ra-1152.isdn.net.il) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FKA00KUA1G9C4@mail.bezeqint.net> for freebsd-isdn@freebsd.org; Wed, 27 Oct 1999 21:43:23 +0200 (IST) Date: Wed, 27 Oct 1999 21:43:02 +0200 From: Oren Sarig Subject: AVM Fritz PCI X-Sender: sarig@mail.bezeqint.net To: freebsd-isdn@freebsd.org Message-id: <3.0.6.32.19991027214302.007ad7f0@mail.bezeqint.net> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Content-type: text/plain; charset="us-ascii" Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all. I have an AVM Fritz! Card PCI and I'm running FreeBSD 3.3-RELEASE with the i4b that came on it. I need some help on how to connect to my ISP. I've compiled my kernel with ISDN support in it, and the build was successful. I've copied /etc/isdn/isdnd.rc.sample to /etc/isdn/isdnd.rc and modified it according to `man isdnd.rc'. However, when I try to run `isdnd' with whatever parameters, I get the following errors: isdnd[334]: ERR init_controller: no ISDN controller found! isdnd[334]: ERR init_controller: no ISDN controller found! isdnd[334]: DMN daemon terminating, exitval = 1 Why is this happenning? ISDN is compiled into my kernel, and the /dev entries for the i4b devices exist. I am attaching a few files that might help. My questions are: * Why can't it find my controller? * Where is the chap-secrets hiding? * Where are ppp-on and ppp-off? * What am I doing wrong? My system is an Intel Pentium II 266Mhz, 64Mb of RAM, a 370 ISA -> PCI bridge, a 440 (Natoma) PCI bridge, etc. You can see the exact configuration in the files I am attaching. Thanks in advance for any help you might offer :) -- Oren Sarig sarig@isdn.net.il ----- --Attachment: /var/log/messages-- Oct 26 18:00:00 newsyslog[7511]: logfile turned over Oct 26 19:17:33 /kernel: pid 14155 (setup), uid 1001: exited on signal 11 (core dumped) Oct 26 19:18:29 /kernel: pid 14513 (setup), uid 1001: exited on signal 11 (core dumped) Oct 26 20:21:37 su: oren to root on /dev/ttyp4 Oct 26 20:25:40 login: ROOT LOGIN (root) ON ttyv1 Oct 26 20:26:10 reboot: rebooted by root Oct 26 20:26:10 syslogd: exiting on signal 15 Oct 27 21:09:32 /kernel: Copyright (c) 1992-1999 FreeBSD Inc. Oct 27 21:09:32 /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Oct 27 21:09:32 /kernel: The Regents of the University of California. All rights reserved. Oct 27 21:09:32 /kernel: FreeBSD 3.3-RELEASE #2: Tue Oct 26 16:17:55 IST 1999 Oct 27 21:09:32 /kernel: root@:/usr/src/sys/compile/CUSTOM Oct 27 21:09:32 /kernel: Timecounter "i8254" frequency 1193182 Hz Oct 27 21:09:32 /kernel: CPU: Pentium II (265.91-MHz 686-class CPU) Oct 27 21:09:32 /kernel: Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Oct 27 21:09:32 /kernel: Features=0x80f9ff Oct 27 21:09:32 /kernel: real memory = 67108864 (65536K bytes) Oct 27 21:09:32 /kernel: config> pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 Oct 27 21:09:32 /kernel: config> pnp 1 1 os disable Oct 27 21:09:32 /kernel: config> pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 Oct 27 21:09:32 /kernel: config> pnp 1 3 os disable Oct 27 21:09:32 /kernel: config> quit Oct 27 21:09:32 /kernel: avail memory = 62484480 (61020K bytes) Oct 27 21:09:33 /kernel: Preloaded elf kernel "kernel" at 0xc02ae000. Oct 27 21:09:33 /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc02ae09c. Oct 27 21:09:33 /kernel: Pentium Pro MTRR support enabled Oct 27 21:09:33 /kernel: Probing for devices on PCI bus 0: Oct 27 21:09:33 /kernel: chip0: rev 0x02 on pci0.0.0 Oct 27 21:09:33 /kernel: chip1: rev 0x01 on pci0.7.0 Oct 27 21:09:33 /kernel: ide_pci0: rev 0x00 on pci0.7.1 Oct 27 21:09:33 /kernel: vga0: rev 0x5c int a irq 11 on pci0.17.0 Oct 27 21:09:33 /kernel: Probing for PnP devices: Oct 27 21:09:33 /kernel: CSN 1 Vendor ID: CTL00c5 [0xc5008c0e] Serial 0x1913d5f5 Comp ID: PNPb02f [0x2fb0d041] Oct 27 21:09:33 /kernel: Probing for devices on the ISA bus: Oct 27 21:09:33 /kernel: sc0 on isa Oct 27 21:09:33 /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Oct 27 21:09:33 /kernel: atkbdc0 at 0x60-0x6f on motherboard Oct 27 21:09:33 /kernel: atkbd0 irq 1 on isa Oct 27 21:09:33 /kernel: psm0 irq 12 on isa Oct 27 21:09:33 /kernel: psm0: model IntelliMouse, device ID 3 Oct 27 21:09:33 /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Oct 27 21:09:33 /kernel: fdc0: FIFO enabled, 8 bytes threshold Oct 27 21:09:33 /kernel: fd0: 1.44MB 3.5in Oct 27 21:09:33 /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa Oct 27 21:09:33 /kernel: wdc0: unit 0 (wd0): Oct 27 21:09:33 /kernel: wd0: 3079MB (6306048 sectors), 6256 cyls, 16 heads, 63 S/T, 512 B/S Oct 27 21:09:33 /kernel: wdc0: unit 1 (wd1): Oct 27 21:09:33 /kernel: wd1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S Oct 27 21:09:33 /kernel: wdc1 at 0x170-0x177 irq 15 on isa Oct 27 21:09:33 /kernel: wdc1: unit 0 (atapi): , removable, intr, dma, iordis Oct 27 21:09:33 /kernel: acd0: drive speed 2755KB/sec, 256KB cache Oct 27 21:09:33 /kernel: acd0: supported read types: CD-R, CD-DA Oct 27 21:09:33 /kernel: acd0: Audio: play, 255 volume levels Oct 27 21:09:33 /kernel: acd0: Mechanism: ejectable tray Oct 27 21:09:33 /kernel: acd0: Medium: no/blank disc inside, unlocked Oct 27 21:09:33 /kernel: ppc0 at 0x378 irq 7 flags 0x40 on isa Oct 27 21:09:33 /kernel: ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode Oct 27 21:09:33 /kernel: ppb0: IEEE1284 device found /NIBBLE Oct 27 21:09:33 /kernel: Probing for PnP devices on ppbus0: Oct 27 21:09:33 /kernel: ppbus0: PRINTER HP ENHANCED PCL5,PJL Oct 27 21:09:33 /kernel: lpt0: on ppbus 0 Oct 27 21:09:33 /kernel: lpt0: Interrupt-driven port Oct 27 21:09:33 /kernel: ppi0: on ppbus 0 Oct 27 21:09:33 /kernel: vpo0: on ppbus 0 Oct 27 21:09:33 /kernel: vpo0: NIBBLE mode Oct 27 21:09:33 /kernel: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa Oct 27 21:09:33 /kernel: sb0 at 0x220 irq 5 drq 1 on isa Oct 27 21:09:33 /kernel: snd0: Oct 27 21:09:33 /kernel: sbxvi0 at drq 5 on isa Oct 27 21:09:33 /kernel: snd0: Oct 27 21:09:33 /kernel: sbmidi0 at 0x330 on isa Oct 27 21:09:33 /kernel: snd0: Oct 27 21:09:33 /kernel: opl0 at 0x388 on isa Oct 27 21:09:33 /kernel: snd0: Oct 27 21:09:33 /kernel: awe0 at 0x620 on isa Oct 27 21:09:33 /kernel: awe0: Oct 27 21:09:33 /kernel: npx0 on motherboard Oct 27 21:09:33 /kernel: npx0: INT 16 interface Oct 27 21:09:33 /kernel: i4b: ISDN call control device attached Oct 27 21:09:33 /kernel: i4bisppp: 4 ISDN SyncPPP device(s) attached Oct 27 21:09:33 /kernel: i4bctl: ISDN system control port attached Oct 27 21:09:33 /kernel: i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression) Oct 27 21:09:33 /kernel: i4btel: 2 ISDN telephony interface device(s) attached Oct 27 21:09:33 /kernel: i4brbch: 4 raw B channel access device(s) attached Oct 27 21:09:33 /kernel: i4btrc: 4 ISDN trace device(s) attached Oct 27 21:09:33 /kernel: da0 at vpo0 bus 0 target 6 lun 0 Oct 27 21:09:33 /kernel: da0: Removable Direct Access SCSI-2 device Oct 27 21:09:33 /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Oct 27 21:09:33 /kernel: changing root device to wd1s1a Oct 27 21:09:33 /kernel: wd0s2: raw partition size != slice size Oct 27 21:09:33 /kernel: wd0s2: start 4096512, end 4910975, size 814464 Oct 27 21:09:33 /kernel: wd0s2c: start 4096512, end 6306047, size 2209536 Oct 27 21:09:33 /kernel: wd0s2: truncating raw partition Oct 27 21:09:33 /kernel: wd0s2: rejecting partition in BSD label: it isn't entirely within the slice Oct 27 21:09:33 /kernel: wd0s2: start 4096512, end 4910975, size 814464 Oct 27 21:09:33 /kernel: wd0s2e: start 4096512, end 6306047, size 2209536 Oct 27 21:09:34 lpd[198]: restarted Oct 27 21:09:51 login: ROOT LOGIN (root) ON ttyv1 --Attachment: /etc/isdn/isdnd.rc-- system acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file monitor-allowed = no # global switch: monitor on/off monitor-port = 451 # default monitor TCP port monitor = "/var/run/isdn-monitor" monitor-access = fullcmd monitor-access = channelstate, logevents monitor-access = callin, callout ratesfile = /etc/isdn/isdnd.rates # name & location of rates file rtprio = 25 # modify isdnd's process priority entry name = ISDNNet usrdevicename = isp usrdeviceunit = 0 isdncontroller = 0 isdnchannel = 1 local-phone-incoming = 0 remote-phone-incoming = 0 local-phone-dialout = 6412295 remote-phone-dialout = 6000000 remote-phone-dialout = 9277777 remote-phone-dialout = 9277888 remote-phone-dialout = 136363 remote-phone-dialout = 136373 remdial-handling = first dialin-reaction = reject dialout-type = normal b1protocol = hdlc idletime-incoming = 1 idletime-outgoing = 50 ratetype = 0 unitlength = 300 unitlengthsrc = conf dialretries = 3 dialrandincr = on recoverytime = 10 usedown = off downtries = 3 downtime = 30 direction = out # EOF ######################################################################### --Attachment: /usr/src/sys/i386/conf/CUSTOM-- ##### # # CUSTOM kernel configuration file # # Created by Oren Sarig # Last updated: 26/10/1999 # ##### # Target machine machine "i386" cpu "I686_CPU" ident CUSTOM maxusers 10 config kernel root on wd0 # Filesystems options FFS options FFS_ROOT options MFS options MSDOSFS options "CD9660" options PROCFS # Compatability options "COMPAT_43" options SYSVSHM options SYSVMSG options SYSVSEM # Boot options options UCONSOLE options FAILSAFE options USERCONFIG options VISUAL_USERCONFIG options KTRACE # Networking options INET pseudo-device loop pseudo-device ppp 1 pseudo-device tun 1 pseudo-device bpfilter 1 pseudo-device pty 16 options "AVM_A1_PCI" device isic0 pseudo-device "i4bq921" pseudo-device "i4bq931" pseudo-device "i4b" pseudo-device "i4btrc" 4 pseudo-device "i4bctl" pseudo-device "i4brbch" 4 pseudo-device "i4btel" 2 options IPR_VJ pseudo-device "i4bipr" 4 options SPPP_VJ pseudo-device "i4bisppp" 4 pseudo-device sppp 4 # Buses controller isa0 controller pnp0 controller eisa0 controller pci0 device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 device ppi0 at ppbus? # Drives & Disks options SCSI_DELAY=8000 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 options "CMD640" controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 options ATAPI options ATAPI_STATIC device acd0 controller scbus0 device da0 controller vpo0 at ppbus? # Inputs controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 # Outputs device vga0 at isa? port ? conflicts device sc0 at isa? tty pseudo-device splash device lpt0 at ppbus? # Sound controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 pseudo-device speaker # Misc. / Uncatd. device npx0 at isa? port IO_NPX irq 13 device apm0 at isa? disable flags 0x31 pseudo-device gzip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message