Hello, I am running a sarge system with an AVM Fritzcard DSL providing ISDN as well. vbox3 serves as answering machine. Sometimes the card hangs and I restart the connection completely using
silverboxy:/etc/init.d# cat /usr/local/bin/restartPPP #!/bin/bash if ! /sbin/ifconfig |grep ppp0 > /dev/null; then echo killing pppd kill -15 `ps uaxwww|grep pppd| grep -v grep | cut -c 10-15` echo shutting down DSL connection /etc/init.d/isdnactivecards stop /etc/init.d/isdnutils stop /etc/init.d/capiutils stop rmmod kernelcapi rmmod capifs rmmod capi rmmod fcdsl echo all modules lsmod echo capi lsmod | grep -E '(fcdsl|capi)' echo bringup dsl connection /etc/init.d/capiutils start /etc/init.d/isdnactivecards start /etc/init.d/isdnutils start sleep 60 echo restart ppp /usr/sbin/pppd call provider fi silverboxy:/etc/init.d# Fortunately, this brings up DSL again, but ISDN not. I get (full output at the end) * Starting ISDN services... isdnlog/dev/isdnctrl: No such device Does anybody have an idea what could be wrong? Thanks, Rainer The full output: silverboxy:/etc/init.d# restartPPP killing pppd shutting down DSL connection Stopping ISDN active cards :FATAL: Module capi is in use. FATAL: Module kernelcapi is in use. umount: /dev/capi: device is busy umount: /dev/capi: device is busy FATAL: Module capifs is in use. done. * Stopping ISDN services... interfacesCan't open /dev/isdnctrl or /dev/isdn/isdnctrl: No such device [ ok ] * Stopping ISDN CAPI Cards : FATAL: Module capi is in use. FATAL: Module kernelcapi is in use. umount: /dev/capi: device is busy umount: /dev/capi: device is busy FATAL: Module capifs is in use. [ ok ] umount: /dev/capi: device is busy umount: /dev/capi: device is busy ERROR: Module kernelcapi is in use by capi ERROR: Module capifs is in use by capi ERROR: Module capi is in use ERROR: Module fcdsl does not exist in /proc/modules all modules Module Size Used by capi 19168 6 kernelcapi 48832 1 capi hci_usb 13920 3 appletalk 36660 2 ax25 59884 2 ipx 29612 2 sch_ingress 4228 0 cls_u32 7876 0 sch_sfq 5632 0 sch_cbq 18080 0 ppp_synctty 10176 0 radeon 130660 2 xfrm_user 16228 0 ipcomp 6688 0 esp4 8576 0 ah4 6784 0 bnep 16256 3 rfcomm 39484 6 l2cap 25860 11 bnep,rfcomm bluetooth 49668 8 hci_usb,bnep,rfcomm,l2cap msr 3556 0 cpuid 3268 0 sd_mod 21728 0 deflate 3776 0 twofish 38720 0 serpent 13632 0 aes_i586 39252 0 des 11712 0 sha256 9664 0 sha1 8576 0 crypto_null 2304 0 af_key 33968 0 lp 11176 0 thermal 12656 0 fan 3980 0 button 6296 0 processor 17264 1 thermal ac 4812 0 battery 9388 0 ipv6 265124 22 ipt_TOS 2528 12 ipt_MASQUERADE 3968 5 ipt_REJECT 7008 4 ipt_LOG 6560 11 ipt_TCPMSS 4448 1 ipt_state 2080 29 ipt_pkttype 1696 4 ipt_recent 11148 0 ipt_iprange 1824 0 ipt_physdev 2192 0 ipt_multiport 2048 0 ipt_conntrack 2688 0 iptable_mangle 2880 1 ip_nat_irc 4336 0 ip_nat_ftp 5008 0 iptable_nat 25156 4 ipt_MASQUERADE,ip_nat_irc,ip_nat_ftp ip_conntrack_irc 71440 1 ip_nat_irc ip_conntrack_ftp 72368 1 ip_nat_ftp ip_conntrack 35432 8 ipt_MASQUERADE,ipt_state,ipt_conntrack,ip_nat_irc,ip_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp iptable_filter 2880 1 ip_tables 18496 15 ipt_TOS,ipt_MASQUERADE,ipt_REJECT,ipt_LOG,ipt_TCPMSS,ipt_state,ipt_pkttype,ipt_recent,ipt_iprange,ipt_physdev,ipt_multiport,ipt_conntrack,iptable_mangle,iptable_nat,iptable_filter pcspkr 3592 0 analog 11968 0 floppy 61200 0 parport_pc 36900 1 parport 41800 2 lp,parport_pc pci_hotplug 34640 0 intel_agp 22816 1 b44 22340 0 mii 5120 1 b44 snd_intel8x0 36460 1 snd_ac97_codec 69988 1 snd_intel8x0 snd_pcm_oss 55080 0 snd_mixer_oss 20096 1 snd_pcm_oss snd_pcm 98728 2 snd_intel8x0,snd_pcm_oss snd_timer 25732 1 snd_pcm snd_page_alloc 11752 2 snd_intel8x0,snd_pcm gameport 4704 2 analog,snd_intel8x0 snd_mpu401_uart 7968 1 snd_intel8x0 snd_rawmidi 25124 1 snd_mpu401_uart snd_seq_device 8200 1 snd_rawmidi snd 57156 11 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 10272 1 snd ehci_hcd 32004 0 ext2 71912 1 dm_mod 59804 0 capability 4520 0 commoncap 7232 1 capability eeprom 7720 0 asb100 23616 0 i2c_sensor 2880 2 eeprom,asb100 i2c_i801 8144 0 i2c_core 24176 4 eeprom,asb100,i2c_sensor,i2c_i801 blowfish 9984 0 cryptoloop 3584 0 loop 16424 1 cryptoloop p4_clockmod 4968 0 speedstep_lib 4228 1 p4_clockmod cpufreq_powersave 1728 0 tsdev 7392 0 mousedev 10476 2 freq_table 4228 1 p4_clockmod cpufreq_userspace 5272 2 evdev 9600 0 serial_cs 10396 0 ds 18756 1 serial_cs pcmcia_core 70868 2 serial_cs,ds psmouse 20360 0 usb_storage 69056 0 scsi_mod 125228 2 sd_mod,usb_storage isdn 148172 2 uhci_hcd 33136 0 usbcore 119044 6 hci_usb,ehci_hcd,usb_storage,uhci_hcd capifs 5864 2 capi ppp_deflate 6336 0 zlib_deflate 22776 2 deflate,ppp_deflate ppp_generic 30356 2 ppp_synctty,ppp_deflate slhc 7488 2 isdn,ppp_generic ide_cd 42656 0 cdrom 40732 1 ide_cd af_packet 22600 4 agpgart 34664 2 intel_agp genrtc 9588 0 ext3 127432 2 jbd 62616 1 ext3 mbcache 9348 2 ext2,ext3 ide_generic 1408 0 piix 13440 1 ide_disk 19296 5 ide_core 139940 5 usb_storage,ide_cd,ide_generic,piix,ide_disk unix 28788 610 font 8320 0 vesafb 6656 0 cfbcopyarea 3872 1 vesafb cfbimgblt 3040 1 vesafb cfbfillrect 3776 1 vesafb capi capi 19168 6 kernelcapi 48832 1 capi capifs 5864 2 capi bringup dsl connection * Starting ISDN CAPI Cards... [ ok ] Starting ISDN active cards : Done. * Starting ISDN services... isdnlog/dev/isdnctrl: No such device -- Rainer Dorsch Alzentalstr. 28 D-71083 Herrenberg 07032-919495 jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]