[*] Name/email/homepage (freiwillig) Ulrich Klein/Klein_Uli@Tandem.com oder ulik@suse.hprc.tandem.com/ Sorry, Firewall dazwischen [*] Motherbord: - Typ : PCI54IT - Speicher : 32 MB - Hersteller : TMC - Bios/Version : Award/weiss nich - Bussystem : 4xPCI / 3xISA [*] verwendete Hardware-Komponenten (besondere Einstellungen und verwendete Treiber bitte angeben) - Graphikkarte: #9 Imagine 128 - Festplattenkontroller: Adaptec 2940 - Netzwerkkarte: 3Com 3C590 (PCI) - Soundkarte: Logitech Soundman (PAS16 kompatibel) - I/O Karte: Noname fuer 2 zusaetzliche SIO - ISDN-Karte: Teles S0 16.0 - Terminaladapter: nee - Telephonanlage: 1&1 zweifach a/b-Adapter (Das Teil ist ok, 1&1 sucks) [*] Software - allgemein - Welche Linux-Distribution wird verwendet: S.u.S.E 11.95 als Basis, haufenweise Kram vom Netz - benutzte Kernel Version: z.Zt. 1.3.96 Tendenz steigend - Mit welchen Optionen wurden der Kernel "ubersetzt: Alle Treiber statisch gelinkt, keine Spielchen mit modulen oder gar kerneld - Welche patches wurden im Hinblick auf i4l zur Kernelerzeugung eingespielt: keine - Besonderheiten des Systems (benutzte komerzielle Zusatssoftware wie Caldera, etc...) AccelX X-Server [*] Software - i4l - welche ISDN4Linux Version wird verwendet: aus dem Kernel 1.3.96 - wie wurde i4l compiliert: s.o. - welche patches wurden f"ur i4l eingespielt: keine - wie wird ISDN4Linux eingesetzt (Net,Modem,...): 99% ippp zu einer Ascend Pipeline 400, 0.5% seyon zu ein paar Mailboxen zum Probieren, 0.5% fehlgeschlagene BTX/XCept Versuche - Welche Konfigurationsfiles/Scripts etc. werden benutzt, wie, wo und wann werden sie gestartet, was ist dabei zu beachten /etc/rc.d/rc.inet1: =============================================================================== #! /bin/sh # # rc.inet1 This shell script boots up the base INET system. # (Well now it does a bit more than just the base, Ulik) # # Attach the loopback device. /sbin/ifconfig lo 127.0.0.1 /sbin/route add -net 127.0.0.0 # IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the # eth0 interface. If you're only using loopback or SLIP, don't include the # rest of the lines in this file. # Edit for your setup. IPADDR="168.87.28.156" NETMASK="255.255.255.128" NETWORK="168.87.28.128" BROADCAST="168.87.28.255" # Ethernet setup /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK} if [ ! -f /ISDN_ON ] then GATEWAY="168.87.28.129" /sbin/route add -net ${NETWORK} netmask ${NETMASK} dev eth0 /sbin/route add default gw ${GATEWAY} metric 1 else # ISDN networking setup at boot. # Have to set up host routes to my local machines /sbin/route add -host lise dev eth0 /sbin/route add -host whitey dev eth0 # /sbin/route add -host mcdet dev eth0 /sbin/route add -host snail dev eth0 ### ISDN interface setup # don't forget to edit the files # /etc/ppp/pap-secrets or # /etc/ppp/chap-secrets # /sbin/isdnctrl addif ippp0 # Create new interface 'DEVICE' /sbin/isdnctrl addphone ippp0 in 6172.....0 # Set incoming phone-number /sbin/isdnctrl addphone ippp0 in 6172.....3 # Set incoming phone-number /sbin/isdnctrl addphone ippp0 in 6172.....6 # Set incoming phone-number # Outgoing number set by idial # /sbin/isdnctrl addphone ippp0 out 06172.....3 # Set outgoung phone-number /sbin/isdnctrl eaz ippp0 777612 # Set local EAZ .. /sbin/isdnctrl l2_prot ippp0 hdlc # for sync PPP: set Level 2 to HDLC /sbin/isdnctrl l3_prot ippp0 trans # not really necessary, 'trans' is default /sbin/isdnctrl encap ippp0 syncppp # encap the IP Pakets in PPP frames /sbin/isdnctrl huptimeout ippp0 600 # Hangup-Timeout is 10 min /sbin/isdnctrl ihup ippp0 on # Hangup timeout on incoming /sbin/isdnctrl chargehup ippp0 off # Hangup before next Charge-Info /sbin/isdnctrl secure ippp0 on # Accept only configured phone-number /sbin/ifconfig ippp0 $IPADDR pointopoint 168.87.28.132 \ -broadcast allmulti -arp netmask 255.255.255.128 metric 1 /sbin/route add default dev ippp0 # -vj is (currently) absolutely necessary. # Otherwise ftp put is almost unusable /sbin/ipppd user RR-Uli \ remotename RR-Pipe-400 \ name RR-Uli \ ipcp-accept-local ipcp-accept-remote \ -detach \ -vj \ mru 1524 \ mtu 1524 \ proxyarp \ -bsdcomp \ useifip \ /dev/ippp0 /dev/ippp1 /dev/ippp2 & fi # End of rc.inet1 ==================================================================================== /etc/ppp/chap-secrets ==================================================================================== #remote local secret IP address list RR-Uli RR-Pipe-400 Password 168.87.28.156 RR-Pipe-400 RR-Uli Password 168.87.28.132 # Da ich nicht rausbekommen hab, welches password wohin gehoert, habe ich einfach # auf beiden Enden dasselbe genommen. # (Password ist uebrigens nicht mein password :) ==================================================================================== /sbin/isdn: ==================================================================================== if [ $# -ne 1 ] then echo "usage: isdn on|off" exit 1 fi if [ "$1" != "on" -a "$1" != "off" ] then echo "usage: isdn on|off" exit 1 fi if [ $1 = on ] then touch /ISDN_ON ifconfig eth0 down ifconfig ippp0 down sleep 5 sh /etc/rc.d/rc.inet1 fi if [ $1 = off ] then /sbin/ihup rm -f /ISDN_ON ifconfig eth0 down ifconfig ippp0 down isdnctrl delif ippp0 killall -9 ipppd sleep 5 sh /etc/rc.d/rc.inet1 fi ==================================================================================== /sbin/ihup und /sbin/idial sind Mini-C-Programme, die mit suid root die Shellscripten /sbin/ihup.sh uns /sbin/idial.sh aufrufen. Sonst muss ich jedesmal su machen, um zu waehlen. /sbin/idial.sh: ==================================================================================== #!/bin/sh isdnctrl addphone ippp0 out 06172.....3 /sbin/isdnctrl dial ippp0 sleep 5 ==================================================================================== /sbin/ihup.sh: ==================================================================================== #!/bin/sh isdnctrl delphone ippp0 out 06172.....3 /sbin/isdnctrl hangup ippp0 ==================================================================================== Mit "isdn on" wird isdn4linux vorbereitet, ipppd gestartet, Routes gesetzt, etc. Waehlen kann ipppd dann noch nicht, weil die outgoing number fehlt. Demand dial war mir nicht zuverlaessig genug. Meine Gegenstelle macht callback zu mir, aber erst nachdem eine erfolgreiche CHAP Authentifizierung abgeschlossen ist. Das tut (tat?) bei demand dial nicht richtig und hat mich durch das hektische Waehlen ne Menge Geld gekostet. isdn on wird durch den qick hack mit /ISDN_ON ueber reboot praktisch erhalten. idial (bzw. idial.sh) waehlt dann tatsaechlich, ihup (bzw. ihup.sh) legt wieder auf und verhindert weitere Anwahlversuche durch Loeschen der Outgoing number. Die beiden Programme habe ich hinter fvwm Goodstuff Buttons gepackt, die ich zum Waehlen/Auflegen bloss zu druecken brauche. - m"oglichst detailierte Beschreibung (Hardware, Software, Konfiguration/Protokoll) der angew"ahlte Gegenstelle: Ascend Pipeline400 Software 4.5B Konfiguriert fuer CHAP Auth, callback, IP Routing mit Host Route zu mir (hat mich ziemliche Ueberredung gekostet weil alle anderen bridgen, was mit i4l nicht geht) Wer mehr braucht, sollte mich einfach fragen, dann kann ich die gesamte P400 Konfiguration schicken [*] Software - Anwendung von i4l - wie wird ISDN4Linux eingesetzt (Net,Modem,...): Praktisch nur fuer eine IP-Verbindung via ipppd. - mit welchen Programmen wird gearbeitet (z.B. Minicom/Version/etc...) Ausser IP noch ein bischen Seyon - wie werden diese Programme zum Betrieb mit i4l gestartet und welche "Anderungen in der Programm-Konfiguration relativ zum Modembetrieb/Default waren notwendig: - Kopie der verwendeten Script und Konfigurationsfiles: Fuer Seyon in ~/.seyon/phonelist z.B. fuer Incubus BBS eine Zeile: 0931-7840724 Incubus BPS=38400 BITS=8 PARITY=no STOPB=1 PREFIX=AT&E777610d In /var/X11R6/lib/app-defaults/Seyon: *modems: /dev/cui0 *dialPrefix: AT&E777612d <- eigene Telephonnummer Aufruf von seyon mit: #!/bin/sh SHELL=/bin/sh export SHELL seyon -modems /dev/cui0 [*] Allgemeine Bemerkungen: isdn4linux ist fuer mich nach dem Linux kernel das wichtigste Tool. Ich kann endlich nach Belieben zuhause oder im Buero arbeiten. Kleinere Fehlfunktionen stoeren die Verwendung bei mir kaum. Wer meine Konfiguration kommentieren/haben/beschimpfen will ... siehe mail address. -- ==================================================== Ulrich Klein Phone: +49-6172-777610 Lilienweg 47 FAX : +49-6172-777611 D-61381 Friedrichsdorf Email: Klein_Uli@Tandem.com ====================================================