Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Imported Upstream version 3.8.2005-12-06

  • Loading branch information...
commit d69a063eadfb6cf5421bf13893fa67dc8e9300e3 1 parent 4aa1c10
@leggewie leggewie authored
Showing with 1,230 additions and 162 deletions.
  1. +0 −4 FAQ/.cvsignore
  2. +99 −0 FAQ/_howto/386-40.txt
  3. +121 −0 FAQ/_howto/cisco_config.txt
  4. +228 −0 FAQ/_howto/dialout.txt
  5. +136 −0 FAQ/_howto/dynamic_static.txt
  6. BIN  FAQ/_howto/leafsite.tar.gz
  7. +87 −0 FAQ/_howto/lzscomp.txt
  8. +104 −0 FAQ/_howto/nokia7110_dialing.txt
  9. +64 −0 FAQ/_howto/pppcosts.txt
  10. +82 −0 FAQ/_howto/tcpip_stack_ms.txt
  11. +51 −0 FAQ/_howto/win95_modemd_inf.txt
  12. +82 −0 FAQ/_howto/xcept.txt
  13. +148 −22 FAQ/i4lfaq.sgml
  14. +2 −2 Makefile
  15. +0 −1  Mini-FAQ/.cvsignore
  16. +0 −6 avmb1/.cvsignore
  17. +0 −9 capi20/.cvsignore
  18. +0 −9 capifax/.cvsignore
  19. +0 −9 capiinfo/.cvsignore
  20. +0 −8 capiinit/.cvsignore
  21. +0 −3  eurofile/.cvsignore
  22. +0 −1  eurofile/src/eft/.cvsignore
  23. +4 −3 eurofile/src/eftp/eftp.c
  24. +4 −3 hisax/hisaxctrl.c
  25. +3 −2 ipppd/main.c
  26. +6 −6 ipppd/options.c
  27. +0 −7 isdnlog/.cvsignore
  28. +0 −5 isdnlog/bin/.cvsignore
  29. +0 −1  isdnlog/isdnconf/.cvsignore
  30. +0 −6 isdnlog/isdnlog/.cvsignore
  31. +0 −3  isdnlog/isdnrep/.cvsignore
  32. +0 −2  isdnlog/samples/.cvsignore
  33. +0 −5 isdnlog/tools/.cvsignore
  34. +0 −18 isdnlog/tools/cdb/.cvsignore
  35. +0 −7 isdnlog/tools/dest/.cvsignore
  36. +6 −3 isdnlog/tools/isdnrate.c
  37. +0 −7 isdnlog/tools/zone/.cvsignore
  38. +0 −1  pppdcapiplugin/.cvsignore
  39. +1 −1  pppdcapiplugin/Makefile
  40. +0 −6 rcapid/.cvsignore
  41. +2 −2 xisdnload/xisdnload.c
View
4 FAQ/.cvsignore
@@ -1,4 +0,0 @@
-config.*
-*.html
-*.txt
-Makefile
View
99 FAQ/_howto/386-40.txt
@@ -0,0 +1,99 @@
+Return-Path: owner-isdn4linux@hub-wue.franken.de
+Received: from hsun6.wi-inf.uni-essen.de by aixrs1.hrz.uni-essen.de (AIX 4.1/UCB 5.64/4.03)
+ id AA50180; Sat, 15 Mar 1997 01:13:08 +0100
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id BAA17710; Sat, 15 Mar 1997 01:14:40 +0100
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0w5dUP-000oRUa; Fri, 14 Mar 97 21:22 MET
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0w5dSE-001Iada; Fri, 14 Mar 97 21:19 MET
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0w5dSA-001IacE; Fri, 14 Mar 97 21:19 MET
+Received: from goofy.chess.langenfeld.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0w5dSd-000BltC; Fri, 14 Mar 97 21:20 MET
+Received: (from tom@localhost) by goofy.chess.langenfeld.de (8.7.5/8.7.3) id VAA00934 for isdn4linux@hub-wue.franken.de; Fri, 14 Mar 1997 21:19:37 +0100
+From: Thomas Heiling <tom@goofy>
+Message-Id: <199703142019.VAA00934@goofy.chess.langenfeld.de>
+Subject: MASQ: TCP/UDP checksum errors SOLVED!
+To: isdn4linux@hub-wue.franken.de
+Date: Fri, 14 Mar 1997 21:19:35 +0100 (MET)
+X-Mailer: ELM [version 2.4 PL25 PGP2]
+Mime-Version: 1.0
+Content-Type: text/plain; charset=US-ASCII
+Content-Transfer-Encoding: 7bit
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+
+Hello!
+after some tweaking and testing I have solved the problem with
+the checksum errors. ( Apparently and hopefully, up to now no
+more error messages)
+Because of the slowness of my computer (thanks Fritz!) I have done
+two things:
+a) changed the IRQ from 15 to 5 for the Teles card -> the Teles is now
+on the Master controller
+b) got irqtune and changed the priority for the teles card to maximum
+in favour of disk. ( irqtune 5 )
+With this two changes I was able to cure my errors from HiSax:
+MASQ: failed TCP/UDP checksum from xx.xx.xx.xx!
+for the Teles-driver the following error messages:
+Teles: HSCX RDO mode=2
+ HSCX B EXIR 40
+Possibly the first solution would be sufficient, but what the heck,
+don't touch a running system.
+
+The original message is included below and yes I know my reply address
+is wrong and should be heiling@online-club.de. I will fix
+this really soon now, if my new Debian CD has arrived.
+Thanks
+Dr. Thomas Heiling
+>
+> Newsgroups: comp.os.linux.networking
+> Subject: MASQ:failed TCP/UDP checksum ?
+> Reply-To: heiling@mail.online-club.de
+> Followup-To:
+> Keywords:
+> Summary:
+>
+> Hello!
+> I am running Linux 2.0.29 with the isdnlinux-patches and
+> with the hisax driver. I have configured this system as a router,
+> that means with IP_FIREWALL and IP_MASQUERADING enabled.
+> The connectivity from the Linux computer is o.k. and the first time
+> the private net "behind " the firewall had access to the internet.
+> If I start the Windows Microsoft Explorer from another machine and
+> do some surfing everything went fine.
+> But after some time I get something like this:
+> Mar 8 20:42:24 goofy kernel: MASQ: failed TCP/UDP checksum from
+> 194.77.170.27!
+> and the Windows computer hungs up.
+> The first thought was, that the "Optimize as router not as host" config
+> is not 100% error proven, so I compiled a new kernel without this option
+> and tried again. But the same error message comes up again.
+> Thanks for any pointers and help
+>
+> My System:
+> 386/40 Mhz + CoPro, 20 MB RAM, 2 * 520 MB harddisk
+> Teles 16.3 Isdn card ( with HiSax 2.0 + Patch 1-3),
+> Adaptec 1542 + CD-Rom
+> The system was first a Debian 1.1 System, but now I had done some
+> tweaking and compiled/installed new versions.
+> The System is connected via ISDN/PPP and the Firewall is up.
+>
+>
+> Dr. Thomas Heiling
+> email: heiling@online-club.de
+>
+> ---------------------------------------------------
+> To remove yourself from this mailing list send
+> email to majordomo@hub-wue.franken.de containing
+> "unsubscribe isdn4linux <your_email_address>" in
+> the message body [-vg]
+>
+>
+
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
View
121 FAQ/_howto/cisco_config.txt
@@ -0,0 +1,121 @@
+Return-Path: owner-isdn4linux@hub-wue.franken.de
+Received: from hsun6.wi-inf.uni-essen.de by aixrs1.hrz.uni-essen.de (AIX 4.1/UCB 5.64/4.03)
+ id AA24066; Tue, 11 Mar 1997 18:40:54 +0100
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id SAA21704; Tue, 11 Mar 1997 18:42:29 +0100
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0w4PZW-000oJva; Tue, 11 Mar 97 12:18 MET
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0w4PXH-001IS9a; Tue, 11 Mar 97 12:16 MET
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0w4PXB-001IS8E; Tue, 11 Mar 97 12:15 MET
+Received: from kermit.mbo.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0w4PYD-000BmGC; Tue, 11 Mar 97 12:17 MET
+Received: (from lars@localhost) by kermit.mbo.de (8.7.5/8.6.12) id MAA28434 for isdn4linux@hub-wue.franken.de; Tue, 11 Mar 1997 12:18:02 +0100
+From: Lars Maier <lars@mbo.de>
+Message-Id: <199703111118.MAA28434@kermit.mbo.de>
+Subject: Nochmal Cisco 1003<->i4l
+To: isdn4linux@hub-wue.franken.de
+Date: Tue, 11 Mar 1997 12:18:02 +0100 (MET)
+X-Mailer: ELM [version 2.4 PL25]
+Mime-Version: 1.0
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: 8bit
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+
+Hallo,
+leider habe ich immernoch folgendes Problem:
+Eine Cisco 1003 soll sich auf einer Linux-Kiste ohne PPP einwaehlen.
+Die Cisco erkennt die Routen nicht nach dem booten, sondern erst
+nach
+clear interface bri0
+oder
+einem Anruf auf einer msm des NT's, an dem die Cisco haengt
+oder Zustecken eines 2. Geraetes auf den SO + damit telefonieren.
+Anschliessend tut die Cisco was sie soll.
+Ist bri0 mit encapsulation PPP Konfiguriert, erkennt die Cisco die
+Routen ohne Hilfe.
+Ios Version ist: 11.1(6)
+Hat jemand eine Idee, wie sich dieses Problem loesen laesst?
+
+Gruss
+
+Lars
+
+---------
+Konfiguration, show ip route :
+---------
+
+Using 912 out of 7506 bytes
+!
+version 11.1
+no service pad
+service udp-small-servers
+service tcp-small-servers
+!
+hostname kraemer-1
+!
+boot system flash
+boot system host 255.255.255.255
+enable secret 5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+enable password XXXXXX
+!
+ip subnet-zero
+isdn switch-type basic-net3
+!
+interface Ethernet0
+ ip address 194.221.188.225 255.255.255.240
+!
+interface BRI0
+ ip address 194.221.188.17 255.255.255.252
+ bandwidth 64
+ no keepalive
+ dialer idle-timeout 300
+ dialer map ip 194.221.188.18 name 7531915XXX 07531915XXX
+ dialer-group 1
+!
+ip domain-name wdkraemer.de
+ip name-server 194.221.188.5
+ip classless
+ip route 0.0.0.0 0.0.0.0 194.221.188.18
+ip route 10.0.0.0 255.0.0.0 Null0
+ip route 127.0.0.0 255.0.0.0 Null0
+ip route 172.16.0.0 255.240.0.0 Null0
+ip route 192.0.2.0 255.255.255.0 Null0
+ip route 192.168.0.0 255.255.0.0 Null0
+dialer-list 1 protocol ip permit
+!
+line con 0
+line vty 0 4
+ password XXXXXX
+ login
+!
+end
+
+--------
+So sollte es nicht sein:
+S 10.0.0.0/8 is directly connected, Null0
+S 127.0.0.0/8 is directly connected, Null0
+ 194.221.188.0/24 is subnetted, 1 subnets
+C 194.221.188.224 is directly connected, Ethernet0
+S 192.0.2.0/24 is directly connected, Null0
+S 192.168.0.0/16 is directly connected, Null0
+S 172.16.0.0/12 is directly connected, Null0
+
+So ist es mit Nachhilfe, oder bei PPP:
+S 10.0.0.0/8 is directly connected, Null0
+S 127.0.0.0/8 is directly connected, Null0
+ 194.221.188.0/24 is variably subnetted, 2 subnets, 2 masks
+C 194.221.188.224/28 is directly connected, Ethernet0
+C 194.221.188.16/30 is directly connected, BRI0
+S 192.0.2.0/24 is directly connected, Null0
+S* 0.0.0.0/0 [1/0] via 194.221.188.18
+S 192.168.0.0/16 is directly connected, Null0
+S 172.16.0.0/12 is directly connected, Null0
+
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
View
228 FAQ/_howto/dialout.txt
@@ -0,0 +1,228 @@
+Return-Path: POPmail
+X-Envelope-From: <owner-isdn4linux@listserv.isdn4linux.de>
+X-Envelope-To: <subscribe@i4l.mhessler.de>
+X-Delivery-Time: 940694442
+Received: from abaco.to.com (abaco.to.com [194.221.235.40])
+ by post.webmailer.de (8.9.3/8.8.7) with ESMTP id SAA10046
+ for <subscribe@i4l.mhessler.de>; Sat, 23 Oct 1999 18:00:42 +0200 (MET DST)
+Received: by listserv.isdn4linux.de id <80305-340>; Sat, 23 Oct 1999 18:00:15 +0200
+Received: from news.wuecom.de (IDENT:news@news.wuecom.de [194.120.69.13])
+ by abaco.to.com (8.9.1/8.9.1) with ESMTP id SAA22667
+ for <isdn4linux@listserv.isdn4linux.de>; Sat, 23 Oct 1999 18:00:14 +0200
+From: kurt_erich_finger@my-deja.com
+Received: (from news@localhost)
+ by news.wuecom.de (8.8.7/8.8.7) id SAA15677
+ for isdn4linux@listserv.isdn4linux.de; Sat, 23 Oct 1999 18:00:13 +0200
+To: isdn4linux@listserv.isdn4linux.de
+Newsgroups: de.alt.comm.isdn4linux
+Subject: HOWTO Linux ISDN Internet
+Date: Sat, 23 Oct 1999 15:50:00 GMT
+Organization: Deja.com - Before you buy.
+Lines: 188
+Message-ID: <7uslf8$qff$1@nnrp1.deja.com>
+NNTP-Posting-Host: 212.144.81.33
+X-Article-Creation-Date: Sat Oct 23 15:50:00 1999 GMT
+X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)
+X-Http-Proxy: 1.1 x30.deja.com:80 (Squid/1.1.22) for client 212.144.81.33
+X-MyDeja-Info: XMYDJUIDkurt_erich_finger
+Xref: news.wuecom.de!news.think.de!news.mayn.franken.de de.alt.comm.isdn4linux:42693
+X-Gateway: isdn4linux-newsgate
+X-Gateway-Admin: fritz@isdn4linux.de
+Sender: owner-isdn4linux@listserv.isdn4linux.de
+Precedence: bulk
+X-Loop: isdn4linux
+
+Da es nicht ganz so einfach ist mit ISDN ins Internet zu kommen,
+hab ich mal einiges zusammengeschrieben.(in Englisch, damit auch
+andere etwas davon haben). Ich hab's auch nur mit Hilfe der
+newsgroup geschafft. Vielleicht sind folgende Zeilen fuer einige
+user ja ganz nuetzlich. Fuer Details ist dann das Linux (ISDN) Howto
+ganz nuetzlich.
+
+Falls jemand der Meinung ist, dieses Posting war unnoetig,lasst es mich
+wissen
+
+Kurt-Erich Finger
+
+---beginners only----
+I tried get into the internet using LINUX and an ISDN-card.
+In the manual for the LINUX distribution (SuSE 6.1) almost everything
+was explained but some crucial information (for a newbee) is missing.
+With the help of this newsgroup I was able to overcome the problems.
+I thought it would be a good idea to write a tiny HOWTO for beginners.
+Since ISDN is not only used in Germany but also in other countries I
+decided to only write it in English.
+(If you think this should not appear here, please let me know.)
+I choose otelo to give a working example, if you prefer another provider
+you can change the details later. If you don't live in Germany modify
+the
+example as necessary.
+
+My configuration:
+ SuSE 6.1
+ Kernel 2.2.5
+ ISDN-utils 3.0
+ Virgin PC with Win98 and LINUX (loadlin)
+ Fritz!card PnP (no other cards)
+
+1.Try to find out which IRQ and Port can be used. If you run the card
+ already under Win you can find it under >Setting>System.
+ (I use IRQ=3, address: 200, I know there could be conflicts with
+COM2!)
+
+PnP cards:
+2. run/sbin/pnpdump -c > /etc/isapnp.conf
+ Edit /etc/isapnp.conf
+
+ (READPORT 0x0203)
+ (ISOLATE PRESERVE)
+ (IDENTIFY *)
+ (VERBOSITY 2)
+ (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
+
+ (CONFIGURE AVM0900/-1 (LD 0
+ (IO 0 (SIZE 32) (BASE 0x0200)(CHECK) )
+ (INT 0 (IRQ 3 (MODE +E)))
+ (NAME "AVM0900/-1[0]{AVM ISDN-Controller FRITZ!Card}")
+ (ACT Y)
+ ))
+ (WAITFORKEY)
+
+ The lines (IO (SIZE 32) (BASE Ox0200)) and (INT 0 (IRQ 3 (MODE +E))
+should
+ contain the values you want. If necessary remove the # signs at the
+ beginning of all above lines.
+
+ Save the file and start
+ isapnp /etc/isapnp.conf
+ If you receive an -FATAL- error message, first delete :
+ (CHECK) !!!!!
+ in the configuration file and start isapnp again.
+ If you still get resource conflicts try other IRQ's and addresses.
+ Switch the auto configuration for ISA-pnp the BIOS off.
+ If you get an ISOLATE PRESERVE error, reboot.
+
+all cards:
+
+3. Run Yast
+ Strictly follow the SuSE manual.
+
+ A device named ippp0 must exist!!!!!!
+
+ I assume you want to connect to a provider who uses dynamic IP-
+addresses
+ syncPPP and PAP or CHAP for authorising.
+ I will describe how you can make a connection to otelo (Germany)
+since
+ you can connect directly without an account (username:otelo,
+ password: online)
+
+ Using Yast the IP-Address can be : 192.168.0.99
+ Netmask : 255.255.255.255
+ Default -gateway : -
+ IP-Adress PtP : 192.168.0.1
+ The last address could cause problems with t-online, use 192.168.1.1
+
+ Configure the Name-Server:
+ List of IP Addresses : 195.50.149.33 195.50.149.6
+ List of Domains : otelo-online.de
+Leave Yast
+
+Make sure the file /etc/isdn/isdn.conf contains
+your COUNTRYCODE and AREACODE without the leading 0
+Boot or activate ISDN under Yast to start the network.
+
+When you configure with Yast the PAP protocol is set.
+otelo and probably some other provider need CHAP!!!!
+
+Let's see what happens if we try to connect:
+ isdnctrl dial ippp0
+will try to connect to your provider.
+Check /var/log/messages!
+If you don't see local and remote IP addresses but
+ISDN error messages or a 'Modem Hangup' something went wrong.
+To find out you need more information in the messages file.
+Edit /etc/rc.config.d/I4L_sp_option.rc.config
+ I4L_VERBOSE=yes
+and in /etc/ppp/ioptions
+uncomment debug.
+This should give enough information in the /var/log/message file.
+
+If you try to connect to otelo you will find that your computer
+is sending a string containing <PAP> and otelo sends <CHAP> indicating
+that you have to change the protocol from PAP to CHAP.
+To change the protocol you have to add
+ user otelo in /etc/ppp/options.ipp0
+add
+ # client server secret IP addresses
+ "otelo" * "online"
+to /etc/ppp/chap-secrets and delete the corresponding line in
+/etc/ppp/pap-secrets.
+
+Start isdnctrl dail ippp0 and watch /var/log/messages. If you seen see
+IP addresses you made it.
+Otherwise read some of the links in the Weekly ISDN FAQ of E.Corry.
+
+Now you have a connection to your provider and you may want to use the
+Netscape Navigator.
+First another problem needs to be solved:
+If no traffic is on the line it will be cut and the default route will
+be deleted.
+(You will find the time-out in /etc/rc.config.d/I4L_option.rc.config
+I4L_IDLETIME)
+
+The file /etc/ppp/ip-up (ip-down is only a link to ip-up) has to be
+modified:
+BASENAME=`basename $0`
+INTERFACE=$1
+DEVICE=$2
+SPEED=$3
+LOCALIP=$4
+REMOTEIP=$5
+
+case "$BASENAME" in
+ip-up)
+ /sbin/route add default gw $REMOTEIP dev $INTERFACE
+ #/sbin/init.d/route start $INTERFACE
+ ;;
+ip-down)
+ /sbin/route add default gw $REMOTEIP dev $INTERFACE
+ #/sbin/init.d/route start $INTERFACE
+ ;;
+*)
+ ;;
+esac
+
+(from http://www.suse.de/sdb/de/html/isdn-defroute.html (dynamic IP-
+numbers))
+
+Now you can start
+ isdnctrl dial ippp0
+ startx (kde)
+ Netscape
+
+I hope it works with you!
+
+In case of problems check-out http://www.suse.de
+deutsch: http://www.franken/de/users/klaus/DE-ISDN-HOWTO
+English: http://www.wurtel.demon.nl
+French: http://www.perso.wanadoo.fr/philippe.latu
+
+
+Kurt-Erich Finger
+
+
+
+
+
+
+
+
+Sent via Deja.com http://www.deja.com/
+Before you buy.
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@listserv.isdn4linux.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body.
+
View
136 FAQ/_howto/dynamic_static.txt
@@ -0,0 +1,136 @@
+Return-Path: owner-isdn4linux@hub-wue.franken.de
+Return-Path: <owner-isdn4linux@hub-wue.franken.de>
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id SAA05994; Thu, 15 May 1997 18:44:02 +0200
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0wS0qb-000oQya; Thu, 15 May 97 15:45 MET DST
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0wS0yX-001IV8a; Thu, 15 May 97 15:53 MET DST
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0wS0yR-001IV7E; Thu, 15 May 97 15:53 MET DST
+Received: from lion.euromedia.nl by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0wS0pO-000BnEC; Thu, 15 May 97 15:44 MET DST
+Received: from localhost (barry@localhost)
+ by lion.euromedia.nl (8.8.5/8.8.5) with SMTP id OAA01009
+ for <isdn4linux@hub-wue.franken.de>; Thu, 15 May 1997 14:44:01 +0100
+Date: Thu, 15 May 1997 15:44:01 +0200 (MET DST)
+From: Barry Lagerweij <barry@euromedia.nl>
+Reply-To: Barry Lagerweij <barry@euromedia.nl>
+To: isdn4linux@hub-wue.franken.de
+Subject: static *AND* dynamic IP addresses
+Message-ID: <Pine.LNX.3.94.970515134954.48A-100000@lion.euromedia.nl>
+MIME-Version: 1.0
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+Content-Type: TEXT/PLAIN; charset=US-ASCII
+Content-Length: 4060
+
+Hi everyone,
+
+I've been running ipppd with isdn4linux very succesful so far, using
+dynamic IP addresses. Just create ippp0 and ippp1 with isdnctrl, and bind
+each of them to a port, and use ifconfig to configure ippp0 and ippp1 to a
+certain IP-address.
+When a call comes in, ipppd will select either ippp0 or ippp1, and use
+that IP address. But now I want all my regular callers to get a dynamic IP
+address, but a few of the callers should be assigned a static IP address.
+
+I've been trying everything, and finally I came up with the answer :
+
+1) create the interfaces with isdnctrl:
+---cut-here---
+/sbin/ifconfig $DEVICE down
+$ISDNBIN delif $DEVICE # Create new interface 'DEVICE'
+$ISDNBIN addif $DEVICE # Create new interface 'DEVICE'
+$ISDNBIN addphone $DEVICE in \* # Set incoming phone-number
+$ISDNBIN eaz $DEVICE $LOCAL_NUMBER # Set local EAZ ..
+$ISDNBIN l2_prot $DEVICE hdlc # for sync PPP: set Level 2 to HDLC
+$ISDNBIN l3_prot $DEVICE trans # not really necessary, 'trans' is default
+$ISDNBIN encap $DEVICE syncppp # encap the IP Pakets in PPP frames
+$ISDNBIN huptimeout $DEVICE 600 # Hangup-Timeout is 600 sec.
+$ISDNBIN chargehup $DEVICE off # Hangup before next Charge-Info
+$ISDNBIN pppbind $DEVICE 0
+---cut-here---
+
+2) Then I start the ipppd :
+---cut-here---
+/sbin/ipppd \
+ -vjccomp -ac -pc \
+ mru 1524 \
+ -bsdcomp \
+ -detach \
+ debug \
+ auth \
+ +pap \
+ useifip \
+ proxyarp \
+ login \
+ ms-dns $LOCAL_IP \
+ domain euromedia.nl \
+ ipcp-accept-remote \
+ $DEVICE $DEVICE2 &
+---cut-here---
+
+Please note the 'useifip' and 'ipcp-accept-remote'. If the client offers a
+IP-address that is acceptable for ipppd, but ipppd does not
+'ipcp-accept-remote', that IP-address is NAK-ed by ipppd (I think this is
+a bug!!!), so I must add 'ipcp-accept-remote'.
+
+The nifty stuff is done in 'auth-up' and 'ip-up' :
+auth-up:
+---cut-here---
+#!/bin/sh
+if [ $2 = staticuser ]; then
+ /sbin/ifconfig $1 194.183.96.3 pointopoint 194.183.96.227 metric 1
+else
+ if [ $1 = ippp0 ]; then
+ /sbin/ifconfig $1 194.183.96.3 pointopoint 194.183.96.225 metric 1
+ elif [$1 = ippp1 ]; then
+ /sbin/ifconfig $1 194.183.96.3 pointopoint 194.183.96.226 metric 1
+ fi
+fi
+if [ $2 = routeuser1 ]; then
+ /sbin/route del 194.183.120.0
+ /sbin/route add -net 194.183.120.0 netmask 255.255.255.252 $1
+elif [ $2 = routeuser2 ]; then
+ /sbin/route del 194.183.120.8
+ /sbin/route add -net 194.183.120.8 netmask 255.255.255.248 $1
+elif [ $2 = routeuser2 ]; then
+ /sbin/route del 194.183.120.16
+ /sbin/route add -net 194.183.120.16 netmask 255.255.255.252 $1
+fi
+---cut-here---
+
+As you can see, I have one static-IP address user. All other callers are
+assigned a IP-address based on the isdn-device (ippp0 or ippp1).
+Furthermore, I have three callers that need to be assigned a pool of
+IP-addresses. (a subnet of 4 or 8 addresses). This is used for ISDN
+routers, like the Ascend or 3com. All of these routes are configured
+dynamically when that user logs-in, and deleted as soon as the user hangs
+up.
+Since ipppd is started with 'useifip', ipppd will use the IP-address that
+has just been assigned by ifconfig (in auth-up) !!!
+
+Finally, the route to the interface itself is made, in ip-up :
+---cut-here---
+#!/bin/sh
+/sbin/route add -host $5 $1
+---cut-here---
+
+In auth-down and ip-down the route is deleted. This allows me to have
+static and dynamic IP-addresses, based on the username, and to have extra
+routes added to the device, based on the username.
+
+I don't know if this is the correct way to do it, but it works for me !
+
+PS: only a few users are allowed ISDN access. So I've modified pathnames.h
+to point to '/etc/ippp' instead of '/etc/ppp'. This way I can have a
+different PPP setup for analog and ISDN callers.
+
+Barry Lagerweij
+
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
View
BIN  FAQ/_howto/leafsite.tar.gz
Binary file not shown
View
87 FAQ/_howto/lzscomp.txt
@@ -0,0 +1,87 @@
+Return-Path: a0037@stud.uni-bayreuth.de
+Newsgroups: de.alt.comm.isdn4linux
+Subject: Re: LZS: Max will es nicht annehmen
+Reply-To: Juergen Leising <a0037@stud.uni-bayreuth.de>
+
+On Sat, Mar 06, 1999 at 04:52:45PM +0100, Karsten Gessner wrote:
+> kann mal jemand die Schritte in Kurzform posten,
+> die zu einer lauff�higen Version der lzscomp f�hren "m�ssten" !
+
+Hi -
+
+- das Ganze geht nur fuer kernel 2.1.x / 2.2.x
+- Neue Dateien von http://www.ibh-dd.de/~beck/stuff/lzs4i4l/ holen
+- ccp.c in das ipppd-Unterverzeichnis der isdn4k-utils kopieren
+- isdn_lzscomp.c nach /usr/src/linux-2.2.1/drivers/isdn kopieren (oder welcher
+ kernel eben verwendet wird)
+- /usr/src/linux-2.2.1/drivers/isdn/Makefile editieren: Wenn das ISDN-Subsystem
+ modular gebaut ist, sieht das Makefile dann so aus:
+
+ ifeq ($(CONFIG_ISDN),m)
+ M_OBJS += isdn.o
+ O_TARGET += isdn.o
+ O_OBJS += isdn_net.o isdn_tty.o isdn_v110.o
+ OX_OBJS += isdn_common.o
+ ifdef CONFIG_ISDN_PPP
+ O_OBJS += isdn_ppp.o
+ M_OBJS += isdn_bsdcomp.o
+ M_OBJS += isdn_lzscomp.o
+ endif
+
+- kernel neu kompilieren
+- isdn-utilities neu kompilieren
+- zusaetzlich beim ISDN-Module laden muessen die Kompressions-Module auch noch
+ geladen werden, z. B.
+
+ /sbin/insmod isdn_bsdcomp
+ /sbin/insmod isdn_lzscomp comp=8 debug=3
+
+ comp und debug je nach Bedarf aendern; hierzu das README des obigen URLS lesen
+
+- /etc/ppp/ioptions.ipppx (je nach dem, welcher ipppd einen kompressionsfaehigen peer
+ ansprechen soll)
+ z. B.
+
+ bsdcomp 15,15
+ lzs 1:4
+
+ 1 ist die Zahl der histories (so 'was wie frames), 4 der checkmode (Fehlerkorrektur)
+
+ aber diese Werte haengen ganz vom peer ab; welche Werte sind richtig?
+ - Hierzu wieder das README lesen
+ - Debugging hoch genug einstellen, um die Kommunikation zwischen peer und eigenem
+ Rechner verfolgen zu koennen; demgemaess die Werte fuer die Module aendern/einstellen.
+
+
+
+- kann der peer kein ccp: Pech gehabt
+- ist der peer eine pre-RFC-Ascend: Pech gehabt.
+
+Wer fuer diese beiden Faelle eine Loesung hat - mail an mich, bitte.
+
+
+Tschuess, Juergen.
+
+
+--
+*****************************************************************
+* Juergen Leising, E-Mail: juergen.leising@stud.uni-bayreuth.de *
+* http://www.stud.uni-bayreuth.de/~a0037/ *
+*****************************************************************
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
+
+
+--
+I have seen her. That is enough, perhaps.
+Pug smiled. "You are a rare man."
+ Raymond E Feist - The King's Buccaneer
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@listserv.isdn4linux.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body.
+
View
104 FAQ/_howto/nokia7110_dialing.txt
@@ -0,0 +1,104 @@
+From owner-isdn4linux@listserv.isdn4linux.de Sun Oct 29 22:16:25 2000
+Return-Path: <owner-isdn4linux@listserv.isdn4linux.de>
+Received: from localhost (mathes@localhost [127.0.0.1])
+ by athlet.mhessler.de (8.8.8/8.8.8) with ESMTP id WAA02008
+ for <mathes@localhost>; Sun, 29 Oct 2000 22:16:25 +0100
+X-Envelope-From: <owner-isdn4linux-outgoing@server-007.to.com>
+X-Envelope-To: <subscribe@i4l.mhessler.de>
+X-Delivery-Time: 971869541
+Received: from post.strato.de
+ by fetchmail-4.6.0 POP3
+ for <mathes/localhost> (single-drop); Sun, 29 Oct 2000 22:16:25 MET
+Received: from server-007.to.com (server-007.to.com [194.221.235.10])
+ by post.webmailer.de (8.9.3/8.8.7) with ESMTP id NAA01812
+ for <subscribe@i4l.mhessler.de>; Wed, 18 Oct 2000 13:44:42 +0200 (MET DST)
+Received: by server-007.to.com (Postfix)
+ id B5E8F13CE0; Wed, 18 Oct 2000 13:43:26 +0200 (CEST)
+Delivered-To: isdn4linux-outgoing@server-007.to.com
+Received: by server-007.to.com (Postfix, from userid 88)
+ id AA80813CE4; Wed, 18 Oct 2000 13:43:26 +0200 (CEST)
+Delivered-To: isdn4linux@listserv.isdn4linux.de
+Received: from inonet.com (unknown [212.117.66.174])
+ by server-007.to.com (Postfix) with ESMTP id 3DA2513CE0
+ for <isdn4linux@listserv.isdn4linux.de>; Wed, 18 Oct 2000 13:43:26 +0200 (CEST)
+Received: from 12er.inonet.com [62.158.199.41] by inonet.com with ESMTP
+ (SMTPD32-5.01) id AEBD4CE00AA; Wed, 18 Oct 2000 13:51:25 +03d0
+Received: from inonet.com (laser.inonet.com [192.168.0.11])
+ by 12er.inonet.com (8.8.8/8.8.8) with ESMTP id NAA00393;
+ Wed, 18 Oct 2000 13:07:39 +0200
+Message-ID: <39ED8AFA.35AB9D5E@inonet.com>
+Date: Wed, 18 Oct 2000 13:35:22 +0200
+From: Matthias Lenhardt <mlenhardt@inonet.com>
+Organization: InoNet Computer GmbH
+X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i686)
+X-Accept-Language: de-DE, en
+MIME-Version: 1.0
+To: Tom Sedge <tom@cognality.com>, isdn4linux@listserv.isdn4linux.de
+Subject: Re: Nokia 7110 -> ISDN questions
+References: <Pine.LNX.4.21.0010181225000.31029-100000@behemoth.cognality.com>
+Content-Type: text/plain; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+Sender: owner-isdn4linux@listserv.isdn4linux.de
+Precedence: bulk
+X-Loop: isdn4linux
+
+Tom Sedge wrote:
+>
+> Hi,
+>
+> I'm trying to get a Nokia 7110 calling in to a Linux ISDN box, but am a
+> little confused (even after reading the V.110 Mini-FAQ).
+>
+> I want to WAP browse directly from the phone, there is no PDA connected to
+> it.
+
+Hi Tom,
+unfortunately, I can't tell you why your configuration doesn't work, but
+I
+can show you mine. It allows me to dail into a Linux box with the Nokia
+7110 mobile and access local WAP contents:
+
+/etc/inittab:
+# ISDN Dialin for WAP
+# Settings for Nokia 7110
+i0:23:respawn:/usr/sbin/mgetty -m '""
+AT&B512&E<YourMSN>&X0S14=4S19=197&R9600 OK' -s 38400 /dev/ttyI0
+
+/etc/mgetty+sendfax/login.config:
+/AutoPPP/ - root /usr/sbin/pppd file /etc/ppp/wap.conf
+
+/etc/ppp/wap.conf:
+-vjccomp -ac -pc -vj
+name <Hostname>
+192.168.1.200:192.168.1.201
+netmask 255.255.255.0
+ipcp-accept-local
+ipcp-accept-remote
+noauth
+nodetach
+noipx
+mru 296
+proxyarp
+lock
+asyncmap 0
+idle
+60
+
+Hope that helps,
+Matthias
+--
+<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
+Matthias Lenhardt - Software Ingenieur
+ mail:mlenhardt@inonet.com
+InoNet Computer GmbH
+ http://www.inonet.com/
+Computers are like air conditioners:
+They stop working properly if you open windows.
+<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
+
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@listserv.isdn4linux.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body.
+
View
64 FAQ/_howto/pppcosts.txt
@@ -0,0 +1,64 @@
+Return-Path: POPmail
+Return-Path: <owner-isdn4linux@hub-wue.franken.de>
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id BAA15222; Wed, 2 Apr 1997 01:42:14 +0200
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0wC9b7-000oMha; Tue, 1 Apr 97 21:52 MET DST
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0wC9Zz-001Ib6a; Tue, 1 Apr 97 21:50 MET DST
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0wC9Zv-001Ib5E; Tue, 1 Apr 97 21:50 MET DST
+Received: from oops.franken.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0wC9a3-000Bm6C; Tue, 1 Apr 97 21:50 MET DST
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0wC9Zr-001Ib5E; Tue, 1 Apr 97 21:50 MET DST
+To: isdn4linux@hub-wue.franken.de
+Xref: oops de.alt.comm.isdn4linux:2619
+From: Tillmann Steinbrecher <tst@darmstadt.netsurf.de>
+Newsgroups: de.alt.comm.isdn4linux
+Subject: pppcosts 0.04 (Telefonkostenanzeige f�r PPP) jetzt auch f�r ISDN!
+Date: Tue, 01 Apr 1997 18:09:58 +0200
+Organization: http://people.frankfurt.netsurf.de/tst/
+Lines: 25
+Message-ID: <33413356.E22991E@darmstadt.netsurf.de>
+Reply-To: tst@darmstadt.netsurf.de,0050763@telmi.de
+NNTP-Posting-Host: board-49.darmstadt.netsurf.de
+Mime-Version: 1.0
+Content-Transfer-Encoding: 7bit
+X-Mailer: Mozilla 4.0b2 (X11; I; Linux 2.0.28 i586)
+X-Priority: 3 (Normal)
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+Content-Type: text/plain; charset=us-ascii
+
+Hi,
+
+die neue Version von pppcosts (Programm zur Kostenberechnung
+f�r PPP-Verbindungen, zeigt Online-Zeit und Telefonkosten
+z.B. in einem kleinen Fenster an) ist jetzt verf�gbar.
+Sie funktioniert jetzt auch mit ISDN, deshalb das Announcement
+hier.
+
+Wer Interesse hat:
+
+http://people.darmstadt.netsurf.de/tst/pppcosts.htm
+
+Ist demn�chst auch auf SunSite; zur Zeit noch im
+Incoming-Verzeichnis, sp�ter dann auch in
+sunsite.unc.edu /pub/Linux/system/network/serial/
+pppcosts-0.04.tgz (20K).
+
+ciao - Till
+--
+ _____ ___ _____
+|_ _| / __|_ _| Tillmann Steinbrecher - tst@darmstadt.netsurf.de
+ | | _ \__ \ | | _ Pager 0050763@telmi.de http://till.home.ml.org
+ |_|(_)|___/ |_|(_) "Black holes are where God divided by zero."
+
+
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
+
View
82 FAQ/_howto/tcpip_stack_ms.txt
@@ -0,0 +1,82 @@
+Return-Path: POPmail
+Return-Path: <owner-isdn4linux@hub-wue.franken.de>
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id WAA09672; Sat, 5 Apr 1997 22:37:34 +0200
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0wDaF3-000oMna; Sat, 5 Apr 97 20:31 MET DST
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0wDaEr-001IWda; Sat, 5 Apr 97 20:30 MET DST
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0wDaEo-001IUzE; Sat, 5 Apr 97 20:30 MET DST
+Received: from dinet.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0wDaE6-000BmHC; Sat, 5 Apr 97 20:30 MET DST
+Received: (from todd@localhost) by dinet.de (8.8.5/8.8.5/DInet-DIS-1) id UAA22630; Sat, 5 Apr 1997 20:29:40 +0200
+From: Torsten Hentschel <Torsten.Hentschel@DInet.de>
+Message-Id: <199704051829.UAA22630@dinet.de>
+Subject: Re: Windows => Linux => ISDN => WWW Wo gibt es eine Anleitung ?
+To: C.Reiser@t-online.de
+Date: Sat, 5 Apr 1997 20:29:40 +0200 (MET DST)
+Cc: isdn4linux@hub-wue.franken.de
+In-Reply-To: <E85snA.3It@temic-ech.spacenet.de> from "Karsten Keil" at Apr 5, 97 09:49:58 am
+X-NCC-RegID: de.delta
+X-Organization: DI Delta Internet GmbH
+X-Phone: +49 2932 916 132
+X-Fax: +49 2932 916 232
+X-Mailer: ELM [version 2.4 PL24]
+MIME-Version: 1.0
+Content-Transfer-Encoding: quoted-printable
+X-MIME-Autoconverted: from 8bit to quoted-printable by dinet.de id UAA22630
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+Content-Type: text/plain; charset=US-ASCII
+
+> Christian Reiser (C.Reiser@t-online.de) wrote:
+> : Wo gibt es Informationen wie man ein Windows 3.11 (Ethernet-)Netzwerk=
+=20
+> : (mit Novell-Server) mit Netscape =FCber einen Linux-Server mit ISDN
+> : ans WWW anbinden kann. Bevorzugt w=E4re eine Linux-Proxy L=F6sung.
+>=20
+> : Hardware-Eckdaten:
+> : Netzwerkkarten: 3Com507
+> : 14 Clients: 16 Mb; dx2/50 Dos 6.22; Windows wird aus dem Server
+> : gestartet
+> : 1 Novell-Server: Novell 3.11
+> : 1 Linux-Server : 16 MB; dx2/50; SUSE 4.4; Kernel 2.0.25; Hisax 1.2;=20
+> : Fritz-Card
+> Du brauchst auf den Novell Clients einen TCP/IP Protocol Stack z.B. Nov=
+ell
+> LAN Workplace, oder einen anderen, der auf die ODI Treiber aufsetzt.
+> Ohne den geht garnichts.
+> Wenn das laeuft, sollte es genuegend Anleitungen geben, entweder ueber =
+Proxy
+> oder ueber Masquerading ueber die Linuxbox ins Internet zu kommen.
+
+Man braucht gar nicht Novell etwas Geld in den Rachen werfen.
+Den TCP/IP-Stack kann man von Microsoft fuer Windows 3.11 auch
+kostenlos bekommen (und Windows95 hat ihn eingebaut):
+
+http://www.microsoft.com/kb/softlib/mslfiles/TCP32B.EXE
+
+Nur eines gibt es zu beachten: Ausser TCP/IP darf kein weiteres
+Protokoll durch das Microsoft Netzwerk eingebunden werden.
+Denn IPX wuerde sofort mit den Treibern von Novell hapern.
+
+Ansonsten laeuft das hier bei einem unserer Kunden wunderbar,
+in einer sehr aehnlichen Konfiguration.
+
+Gruesse,
+
+ Torsten Hentschel
+
+--=20
+ http://www.DInet.de/
+ /\ von-Siemens-Str. 12=20
+ / \ Delta Internet GmbH 59757 Arnsberg
+ / \ Netzwerkdienst & Vertrieb Tel. +49 2932 91 61 32=20
+ /______\ Fax. +49 2932 91 61 91
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
+
View
51 FAQ/_howto/win95_modemd_inf.txt
@@ -0,0 +1,51 @@
+Return-Path: POPmail
+Return-Path: <owner-isdn4linux@hub-wue.franken.de>
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id WAA09582; Tue, 15 Apr 1997 22:57:36 +0200
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0wHCfe-000oPka; Tue, 15 Apr 97 20:09 MET DST
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0wHChM-001IXYa; Tue, 15 Apr 97 20:11 MET DST
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0wHChI-001IXUE; Tue, 15 Apr 97 20:11 MET DST
+Received: from hertz.ikp.physik.th-darmstadt.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0wHCem-000BmHC; Tue, 15 Apr 97 20:08 MET DST
+Received: (from bon@localhost) by hertz.ikp.physik.th-darmstadt.de (8.8.3/8.8.3) id UAA00262; Tue, 15 Apr 1997 20:07:43 +0200
+Date: Tue, 15 Apr 1997 20:07:43 +0200
+Message-Id: <199704151807.UAA00262@hertz.ikp.physik.th-darmstadt.de>
+From: Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+To: Thomas Haas <haas@studi.unizh.ch>
+Cc: isdn4linux@hub-wue.franken.de
+Subject: Re: modem.inf fuer i4l
+In-Reply-To: <Pine.LNX.3.95.970415171412.805A-100000@peecee.haaseng.ch>
+References: <Pine.LNX.3.95.970415171412.805A-100000@peecee.haaseng.ch>
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+Content-Type: text/plain; charset=us-ascii
+
+>>>>> "Thomas" == Thomas Haas <thaas@haaseng.ch> writes:
+
+ Thomas> Hallo Mit NetModem/IP von http://www.tactical-sw.com/ kann ich
+ Thomas> nun endlich die ttyIxx von Win95 aus uebers Netz nutzen. Cool.
+
+ Thomas> Weiss jemand, wie eine win95-inf-Datei fuer Modems aussehen
+ Thomas> muss? Ich moechte gerne so eine inf-Datei fuer den
+ Thomas> i4l-Modem-Emulator (ttyIxx) basteln, oder hat das schon jemand
+ Thomas> gemacht?
+
+Vielleicht hilft Dir weiter wie Kevin Wells ein Inf-File fuer ein
+Nullmodemadapter geschrieben hat:
+http://www.vt.edu:10021/K/kewells/net/
+
+Uwe Bonnes bon@elektron.ikp.physik.th-darmstadt.de
+
+Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
+--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
+
View
82 FAQ/_howto/xcept.txt
@@ -0,0 +1,82 @@
+Return-Path: owner-isdn4linux@hub-wue.franken.de
+Received: from hsun6.wi-inf.uni-essen.de by aixrs1.hrz.uni-essen.de (AIX 4.1/UCB 5.64/4.03)
+ id AA44892; Mon, 10 Mar 1997 19:02:05 +0100
+Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
+ id TAA14192; Mon, 10 Mar 1997 19:03:40 +0100
+Received: from oops.franken.de by rachael.franken.de with smtp
+ (Smail3.1.29.1 #8) id m0w43xj-000oHda; Mon, 10 Mar 97 13:13 MET
+Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
+ id m0w43vH-001ITva; Mon, 10 Mar 97 13:11 MET
+Received: from hub-wue.franken.de by oops.franken.de with smtp
+ (Linux Smail3.1.29.1 #1) id m0w43vB-001ITuE; Mon, 10 Mar 97 13:11 MET
+Received: from ki.comcity.de by hub-wue.franken.de with smtp
+ (Smail3.1.29.1 #1) id m0w43wO-000BoNC; Mon, 10 Mar 97 13:12 MET
+Received: from commgate.local.comcity.de by ki.comcity.de (SMI-8.6/SMI-SVR4)
+ id OAA13546; Mon, 10 Mar 1997 14:08:01 -0100
+Received: from [194.25.34.206] by commgate.local.comcity.de with ESMTP id S.000357002404 for <dimi@wiesbaden.netsurf.de>,...; Mon, 10 Mar 1997 13:12:39 +0100
+Received: from widor2.comcity.de (vwidor@widor2.comcity.de [192.168.1.2]) by widor1.comcity.de (8.7.5/8.7.3) with SMTP id MAA00192; Mon, 10 Mar 1997 12:52:10 +0100
+Message-Id: <3323F56B.4FEA8D7@rd.comcity.de>
+Date: Mon, 10 Mar 1997 12:50:03 +0100
+From: Volker Widor <vwidor@ki.comcity.de>
+Organization: -
+X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.29 i586)
+To: Dimitrios Dimitrakos <dimi@wiesbaden.netsurf.de>
+Cc: isdn4linux@hub-wue.franken.de
+Subject: Re: T-Online BTX
+References: <331A14C0.5AFA30E1@wiesbaden.netsurf.de>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Transfer-Encoding: 8bit
+Sender: owner-isdn4linux@hub-wue.franken.de
+Precedence: bulk
+
+bei mir leuft XCept-1.1.2.
+(allerdings komischerweise nur in SW)
+ich habe aber ISDN beim kompilieren von XCept ausgeschaltet.
+dann noch in init.cept folgendes:
+
+---------------------------------------------------------
+hangupstring "~+++~ATH0^M"
+connectstring "64000/X.75"
+nodialtonestring "NO DIALTONE^M"
+nocarrierstring "NO CARRIER^M"
+busystring "BUSY^M"
+opendevice 9600 "/dev/ttyI2"
+
+send "AT&F^M"
+sleep 1
+send "AT&D2^M"
+send "ATQ0^M"
+send "ATV1^M"
+send "ATS2=255^M"
+send "AT&X1^M"
+send "AT&E000000^M" #<-- eaz eintragen!
+send "ATD01910^M"
+wait 10
+
+---------------------------------------------------------
+
+und schon lueppt das!
+
+nur eine frage, wo wir gerade dabei sind:
+wenn ich den ceptd von einem anderen rechner aus nutzen will, und den
+benutzer in users.cept
+freigegeben habe, scheitert ceptd mit der fehlermeldung (ueber syslog):
+
+serverhost ceptd[160]: warning: can't verify hostname:
+gethostbyname(clientname) failed
+serverhost ceptd[160]: refused connect from name@clienthost
+
+falls da jemand sagen kann, was man da machen kann, waere ich sehr
+dankbar.
+(das muss wohl irgendwo im socket.c in ceptd liegen)
+
+--
+ / Volker Widor - Kiewittsholm 6a - D-24107 Ottendorf /
+ / Tel.: +49 431 583572 Fax: +49 431 583502 /
+ / E-Mail: vwidor@rd.comcity.de /
+---------------------------------------------------
+To remove yourself from this mailing list send
+email to majordomo@hub-wue.franken.de containing
+"unsubscribe isdn4linux <your_email_address>" in
+the message body [-vg]
View
170 FAQ/i4lfaq.sgml
@@ -4,7 +4,7 @@
<title>FAQ for isdn4linux
<author>Matthias Hessler (<tt><htmlurl url="mailto:hessler@isdn4linux.de" name="hessler@isdn4linux.de"></tt>)
-<date>v2.0.98, 8 July 2005
+<date>v2.0.102, 5 December 2005
<abstract>
If you are reading this FAQ online, you may consider downloading the whole
thing, and reading it offline (much cheaper). To download the latest
@@ -83,6 +83,28 @@ kernel. It consists of the main module <tt/isdn/ and the
actual hardware driver that control some specific card.
In addition, the package <tt/isdn4k-utils/ contains utilities to
make use of ISDN specific features.
+Please note that since kernel 2.6.0 isdn4linux is considered legacy.
+It has been superseded by the new mISDN drivers (see question
+<ref id="general_misdn" name="general_misdn">.
+
+<sect1> general_misdn: What is mISDN?
+<label id="general_misdn">
+<p>
+mISDN is the successor of isdn4linux, and also consists of kernel modules
+that are part of the Linux kernel. The mISDN modules have been rewritten
+from scratch since the old isdn4linux modules were difficult to maintain.
+
+The new mISDN modules are based on the CAPI interface (see question
+<ref id="feature_capi" name="feature_capi"> for more details on the CAPI
+interface). Not all ISDN cards supported by isdn4linux have been/will be
+ported to mISDN. However, it is planned to create a compatibility layer to
+allow migration of the existing isdn4linux drivers. Also, ipppd would be
+replaced by the standard pppd once pppd works as well as ipppd currently does.
+For the moment, isdn4linux can still be used in parallel with mISDN, but this
+may change in the future.
+
+For more technical and configuration information about the mISDN driver
+see question <ref id="config_misdn" name="config_misdn">.
<sect1> general_hardware: What hardware is supported by isdn4linux?
<label id="general_hardware">
@@ -641,15 +663,30 @@ Use the following command to start the ISDN card in NT mode:
hisaxctrl &lt;id&gt; 98 1
</code>
Make sure that the crossed cable is terminated even if it is very short!
-Nothing will work without termination, not even a 1m cable.
-Some HFC card already have jumpers for termination.
+Nothing will work without termination, not even a 1m cable. Some HFC card
+already have jumpers for termination. Since TX as well as RX circuits must
+be terminated with its own resistor, two jumpers should be present, like this:
+<verb>
+> 3 RX+ 2a --[100 Ohm]----+ ---------- / ----------
+> 4 TX+ 1a --[100 Ohm]--+ | | 87654321 | | 12345678 |
+> 5 TX- 1b ---oJ1o------+ | |__ __|/ |/_ /_|
+> 6 RX- 2b ---oJ2o--------+ |____| |/___|
+</verb>
+
+It has been reported that for proper functioning even on a short cable a
+termination is required at/near both ends (at the ISDN card as well as at
+the connecting ISDN device).
However, this will only give you the physical connection. Up to now
isdn4linux does not (yet?) implement the higher level ISDN protocol DSS1
(this means that isdn4linux can not pretend to an ISDN device that it is
-an ISDN exchange, and give it the proper ISDN commands).
-As a result, you can simulate a leased line, but not pretend to be the
-PBX.
+an ISDN exchange, and give it the proper ISDN commands). As a result, you can
+simulate a leased line, but not pretend to be the PBX with isdn4linux.
+
+With the newer mISDN modules the situation is better. A special user space
+module is available for the emulation of a PBX. Development of a kernel module
+is in progress. In any case the chipset has to support the NT mode.
+
<sect1> feature_lcr: Can isdn4linux do least cost routing (LCR)?
<label id="feature_lcr">
@@ -857,6 +894,12 @@ Other archives are:
url="ftp://ftp.uni-oldenburg.de/pub/unix/linux/isdn/isdn4linux/Mailing-List"></tt>
</itemize>
+<sect1> docu_bugtracker: Is there a bug tracker available for isdn4linux?
+<label id="docu_bugtracker">
+<p>
+Yes, there is a bugtracker available under the following url:
+<url url="https://www.isdn4linux.de/mantis">. You have to register yourself
+before you can search for known bugs and enter new issues.
<!-- Supported Hardware & hardware-specific stuff
-->
@@ -1167,8 +1210,11 @@ environment. Please write me if anyone ever succeeds.
<sect1> hardware_ppc: Can I run isdn4linux on a PowerPC with Linux?
<label id="hardware_ppc">
<p>
-Yes, most cards should work. However, at least the AVMFritz!PCI card won't
-work, due to the different Endian format for 32bit B-channel data on the PPC.
+Yes, in theory most cards should work. However some Endian format issues
+remain due to the bugs. I heard that the AVMFritz!PCIv2 card may work well
+with the old isdn4linux drivers (even with asterisk via chan_modem_i4l).
+Also the Eicon Diva Server cards should work. You are welcome to report any
+bugs and fixes to the mailing list.
In any case, you may also get a terminal adapter (= external ISDN "modem").
Since then you don't need isdn4linux (see question
@@ -1385,14 +1431,18 @@ If the interrupt for the card is shared with other devices and your card does
not work, then there could be an issue with the motherboard. See question
<ref id="hardware_irqsharing" name="hardware_irqsharing"> for this.
-One very interesting thing: the Fritz! card is currently the only passive card
-for which a capi driver exists. As a result, it can be configured to
+One very interesting thing: the Fritz! card was the first card
+for which a capi driver existed which can be configured to
fax. See question <ref id="feature_capi" name="feature_capi"> and
<url url="http://www.avm.de/ftp/cardware/fritzcrd/linux/index.htm">
for more information on this. Usage of the capi driver is completely optional,
you might as well stay with the standard driver if you do not need capi
support.
+In total three drivers exist: the old Hisax driver (part of isdn4linux), the
+new mISDN driver, and the binary AVM driver. Only the last one is prepared
+for sending faxes.
+
<sect1> hardware_avmb1: What is special about the AVM B1 card?
<label id="hardware_avmb1">
<p>
@@ -1448,6 +1498,8 @@ There are several interesting things.
<item> Two Versions: There are two different versions (version 1.0 and
version 2.0) with a different chipset. Both work fine, however you have
to set the type properly (29 for version 1.0, 12 for version 2.0).
+<item> The USB version is currently not supported, there is no driver
+available.
<item> PnP bug: Due to a bug in the pnp chip it is very important for the
I-Surf 1.0 to have the following PEEK and POKE lines in your isapnp file
to properly initialize the PnP register:
@@ -1760,10 +1812,27 @@ id="contr0%contr1"
channels?
<label id="config_manychannels">
<p>
-Increase the parameter ISDN_MAX_CHANNELS in
-<tt>/usr/src/linux/include/linux/isdn.h</tt> and rebuild the isdn stuff. Don't
-forget to create the additional devices with makedev.sh (part of isdn4k-utils)
-or by hand.
+You can adjust the parameter ISDN_MAX_CHANNELS and the ISDN_MINOR* parameters
+in <tt>/usr/src/linux/include/linux/isdn.h</tt> and rebuild the isdn stuff.
+It is unlikely you have more than 64 physical B channels available, therefore
+you probably want to leave ISDN_MINOR_B and ISDN_MINOR_BMAX as they are.
+
+Your bottleneck are probably the number of potential (logical) network
+connections (ipppX devices). The maximum number for this (ISDN_MAX_CHANNELS)
+is 127, since the minor devices start at 128 (see ISDN_MINOR_PPP) and have to
+end before 255 (ISDN_MINOR_STATUS).
+
+To further increase the maximum number of logical connections you either
+have the possibility to use an additional major (e.g. 44 - not used any
+more) - this requires some small changes to the driver and the installation
+of one ipppd instance per logical connection; or to use only one
+ipppd per physical B channel with external Radius authentication. In the
+first case you have to modify and recompile the driver, in the second case
+you have to modify and recompile ipppd (you'll find some preparations for
+this already in the source code).
+
+Don't forget to create the additional devices with makedev.sh (part of
+isdn4k-utils) or by hand.
<sect1> config_gsmv110: How do I connect my PalmPilot via GSM over V.110
to my computer?
@@ -1821,7 +1890,13 @@ For a mini-howto see:
gateway for H.323 clients?
<label id="config_h323">
<p>
-You have to install the Linux H.323 - ISDN Gateway, which can be found on
+You have to install a gateway which handles the translation. Several
+versions exist which are all based on the OpenH323 and PWLib libraries.
+The latest recommendation is to use isdngw at:
+<url url="http://www.gnugk.org/h323-isdn-gw.html">. This is an updated
+version of the isdngw located at:
+<url url="http://www.virtual-net.fr/h323/isdngw/">, which in turn is an
+updated version of the Linux H.323 - ISDN Gateway found on
<url url="http://www.telos.de/linux/H323/">.
Please note that not all sound cards support full duplex audio. Depending
@@ -1865,10 +1940,13 @@ howto (isdn.html) and a ISDN quick-install guide (isdnquick.html).
<url url="http://www.schlenn.de/isdn4linux/">
<item>Tips to configure Red Hat:
<url url="http://www.webideal.de/rh-isdn/">
+<item>Tips to configure Debian with Fritz Card PCI and kernel 2.6 (in German):
+<url url="http://www.plzk.de/archiv/files/docs/FritzCard.PCI.Linux-HOWTO.html">
<item>Tips to configure Mandrake:
<url url="http://www.mandrakeuser.org/connect/cisdn.html">
<item>Tips to configure Gentoo:
<url url="http://forums.gentoo.org/viewtopic.php?t=29991">
+<url url="http://de.gentoo-wiki.com/ISDN">
<item>fli4l, a prepackaged Linux version to use an old PC as ISDN router:
<url url="http://www.fli4l.de"> (great!)
<item>LR101 (a project which tries to create a hardware router based on Linux):
@@ -1932,7 +2010,7 @@ For a more general description on the mISDN driver and the future of isdn4linux
you may also read the German article published in ct 3/2004. An online
version is available at: <tt><url url="http://www.heise.de/ct/04/03/182/"></tt>
-Please note that the current FAQ applies to old isdn drivers.
+Please note that the current FAQ applies mainly to the old isdn4linux drivers.
mISDN may work differently than described in this FAQ.
Please let me know about any amendmends for this FAQ.
@@ -1952,6 +2030,19 @@ distributions will do that for you (e.g. Suse), for others you have to do
this yourself (e.g. Mandrake 10).
+<sect1> config_asterisk: How can I install asterisk with mISDN?
+<label id="config_asterisk">
+<p>
+First you have to get mISDNuser and compile it. Then you have to compile
+chan_misdn (included with asterisk) so it works together with mISDNuser.
+For this you have to modify the Makefile in <tt>asterisk/channels/misdn/</tt>
+to configure the correct location of mISDNuser. A make in the same directory,
+followed by a 'make install' in the asterisk directory should be sufficient.
+
+The easiest way is to get the install script published at:
+<url url="http://www.beronet.com/download/install-misdn.tar.gz">.
+
+
<!-- Troubleshooting
-->
@@ -2463,7 +2554,6 @@ author did not update the checksum when changing the source code (reason
could be that the complete certification tests have not yet been run on
the changed code).
-
<sect1> trouble_crcerror: How can I see the number of packets for HiSax with
invalid CRC?
<label id="trouble_crcerror">
@@ -2506,6 +2596,24 @@ for i in eicon isdnlog ipppd ; do
done
</code>
+<sect1> trouble_hisaxparams: HiSax does not work - how can I set the
+HiSax parameters for newer Linux kernels?
+<label id="trouble_hisaxparams">
+<p>
+Unfortunately the udev/hotplug mechanism of current kernels (written in
+November 2005) loads hisax without the needed parameters. To check whether
+this is the issue of missing parameters unload the hisax module with rmmod:
+<code>
+rmmod hisax
+</code>
+then insert the kernel module with the correct parameters again, e.g.:
+<code>
+modprobe -v hisax type=35 protocol=2
+</code>
+In case this solves the issue, you can permanently fix it by providing the
+needed parameters to the module loader, e.g. in /etc/modprobe.d/hisax on
+a Suse distribution.
+
<!-- Config MSN
-->
@@ -2846,6 +2954,10 @@ ln -s /usr/bin/su1 /usr/local/bin/hangup
</code>
Now the users XXXX and YYYY can dial out by typing <tt/dial/, and hangup with
<tt/hangup/.
+<item>isdnctrl can be set SETUID root. Please not that if it is called by a
+user different from root, isdnctrl will only allow you to dialin/hangup,
+and addlink/removelink/show. However, the setup/configuration data can only be
+modified by root.
<item>If you only have one user that you use for ISDN interactions, you can
make him owner of the ISDN interface.
</enum>
@@ -3633,7 +3745,7 @@ assignment of addresses possible.
From this summary it should be clear under what conditions it makes sense
to use raw IP.
-<sect1> rawip_capi: How can I use Raw IP with the new CAPI 2.0 interface?
+<sect1> rawip_capi: How can I use Raw IP with the new CAPI 2.0 interface (mISDN)?
<label id="rawip_capi">
<p>
Raw IP can still be used with the new CAPI interface and drivers by using
@@ -5060,10 +5172,7 @@ the RELEASE COMPLETE, before any new data is sent on the D channel. The
PBXs tested up to now have all been too slow (in particular the widely
used ISTEC). The only possibility is to combine the data afterwards. But
then there are problems with synchronizing the different times. Whoever
-want to attempt to do this is welcome (I'll make the logs from my
-Ackermann Euracom available - Matthias Hessler
-<tt><htmlurl url="mailto:hessler@wi-inf.uni-essen.de"
- name="hessler@wi-inf.uni-essen.de"></tt>).
+want to attempt to do this is very welcome.
</itemize>
<sect1> isdnlog_rategraphic: How can I display the data transfer rates
@@ -5149,6 +5258,23 @@ for communicating, but can log outgoing calls from any device.
See also question <ref id="isdnlog_reversedcard" name="isdnlog_reversedcard">
for using two ISDN cards for logging.
+<sect1> isdnlog_enoughdata: How can I check whether isdnlog receives enough
+information from the kernel drivers?
+<label id="isdnlog_enoughdata">
+<p>
+First stop isdnlog (e.g. "killall isdnlog"), then run "cat /dev/isdnctrl0".
+When you trigger some activity on the isdn line (e.g. by initiating an
+incoming call) you should see lines starting with "HEX:" or "D2:" in the
+output of the cat command. If these lines are missing then check your
+configuration of the kernel drivers.
+
+<sect1> isdnlog_database: How can I set up isdnlog with database support?
+<label id="isdnlog_database">
+<p>
+You have to rebuild isdnlog for this. You can find some instructions
+(in German) on:
+<url url="http://lists.suse.com/archive/suse-isdn/2005-May/0043.html">.
+
<!-- Audio
-->
View
4 Makefile
@@ -1,11 +1,11 @@
-# $Id: Makefile,v 1.58 2005/02/21 17:51:57 keil Exp $
+# $Id: Makefile,v 1.59 2005/08/01 12:11:14 keil Exp $
#
# Toplevel Makefile for isdn4k-utils
#
.EXPORT_ALL_VARIABLES:
-export I4LVERSION = 3.7
+export I4LVERSION = 3.8
all: do-it-all
View
1  Mini-FAQ/.cvsignore
@@ -1 +0,0 @@
-isdn-faq.html
View
6 avmb1/.cvsignore
@@ -1,6 +0,0 @@
-config.*
-*.o
-*.8
-avmcapictrl
-avmcapictrl.man
-Makefile
View
9 capi20/.cvsignore
@@ -1,9 +0,0 @@
-config.log
-config.cache
-config.status
-Makefile
-comperr
-.libs
-libtool
-*.lo
-*.la
View
9 capifax/.cvsignore
@@ -1,9 +0,0 @@
-config.log
-config.h
-config.cache
-config.status
-stamp-h
-Makefile
-.deps
-capifax
-capifaxrcvd
View
9 capiinfo/.cvsignore
@@ -1,9 +0,0 @@
-config.log
-config.h
-config.cache
-config.status
-stamp-h
-Makefile
-.deps
-stamp-h.in
-capiinfo
View
8 capiinit/.cvsignore
@@ -1,8 +0,0 @@
-config.log
-config.h
-config.cache
-config.status
-stamp-h
-Makefile
-stamp-h.in
-.deps
View
3  eurofile/.cvsignore
@@ -1,3 +0,0 @@
-CHANGES.tmp
-CHANGES.old
-
View
1  eurofile/src/eft/.cvsignore
@@ -1 +0,0 @@
-extra_version_.h
View
7 eurofile/src/eftp/eftp.c
@@ -1,4 +1,4 @@
-/* $Id: eftp.c,v 1.7 2004/02/12 11:26:44 keil Exp $ */
+/* $Id: eftp.c,v 1.8 2005/08/05 10:53:42 keil Exp $ */
/*
Copyright 1997 by Henner Eisen
@@ -561,7 +561,7 @@ int main(int argc, char **argv)
*/
struct sockaddr_x25 x25bind, x25connect;
struct x25_route_struct x25_route;
- int s, on=1, selval, prompt_for_pw = 1, use_readline=1;
+ int s = -1, on=1, selval, prompt_for_pw = 1, use_readline=1;
unsigned char called[TDU_PLEN_ADDR+1], udata[TDU_PLEN_UDATA+1];
uid_t ruid, euid;
@@ -683,7 +683,8 @@ int main(int argc, char **argv)
int status, err=0;
setreuid(euid,euid);
- close(s);
+ if (s != -1)
+ close(s);
eft_wait_release_route();
eft_release_route(&x25_route);
/*
View
7 hisax/hisaxctrl.c
@@ -1,4 +1,4 @@
-/* $Id: hisaxctrl.c,v 1.2 2000/06/29 17:38:26 akool Exp $
+/* $Id: hisaxctrl.c,v 1.3 2005/08/01 12:14:29 keil Exp $
*
* Configuration tool for HiSax ISDN cards
*
@@ -34,7 +34,7 @@ unsigned char *buffer = NULL;
#define MAX_SIZE 0x10000
unsigned char *
-read_firmware(unsigned char *fname)
+read_firmware(char *fname)
{
FILE *infile;
int *p, cnt;
@@ -43,7 +43,8 @@ read_firmware(unsigned char *fname)
fprintf(stderr, "cannot open file %s\n", fname);
exit(-1);
}
- p = (int *) buffer = (unsigned char *) malloc(MAX_SIZE+4);
+ buffer = malloc(MAX_SIZE+4);
+ p = (int *) buffer;
if (!buffer) {
fprintf(stderr, "cannot get %d byte memory\n", MAX_SIZE+4);
exit(-1);
View
5 ipppd/main.c
@@ -25,7 +25,7 @@
* PATCHLEVEL 9
*/
-char main_rcsid[] = "$Id: main.c,v 1.25 2003/06/30 22:30:57 keil Exp $";
+char main_rcsid[] = "$Id: main.c,v 1.26 2005/08/01 12:15:15 keil Exp $";
#include <stdio.h>
#include <stdarg.h>
@@ -1044,9 +1044,10 @@ void reap_kids()
static char line[256]; /* line to be logged accumulated here */
static char *linep;
+static void pr_log __P((void *, char *, ...));
+
void log_packet(u_char *p,int len,char *prefix,int linkunit)
{
- static void pr_log __P((void *, char *, ...));
int i, n;
u_short proto;
View
12 ipppd/options.c
@@ -17,7 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-char options_rcsid[] = "$Id: options.c,v 1.26 2004/12/13 22:06:52 keil Exp $";
+char options_rcsid[] = "$Id: options.c,v 1.27 2005/08/07 13:47:50 keil Exp $";
#include <stdio.h>
#include <errno.h>
@@ -2633,9 +2633,9 @@ static int setforcedriver(int dummy)
#ifdef IPPP_FILTER
-#ifndef DLT_PPP_WITHDIRECTION
-#define DLT_PPP_WITHDIRECTION DLT_PPP
-#warning "please update your pcap version to support in/outbound DLT_PPP_WITHDIRECTION filter"
+#ifndef DLT_PPP_PPPD
+#define DLT_PPP_PPPD DLT_PPP
+#warning "please update your pcap version to support in/outbound DLT_PPP_PPPD filter"
#endif
/*
@@ -2646,7 +2646,7 @@ setpassfilter(argc, argv)
int argc;
char **argv;
{
- if (pcap_compile_nopcap(PPP_HDRLEN, DLT_PPP_WITHDIRECTION, &pass_filter, *argv, 1, netmask) == 0)
+ if (pcap_compile_nopcap(65535, DLT_PPP_PPPD, &pass_filter, *argv, 1, netmask) == 0)
return 1;
option_error("error in pass-filter expression.\n");
return 0;
@@ -2660,7 +2660,7 @@ setactivefilter(argc, argv)
int argc;
char **argv;
{
- if (pcap_compile_nopcap(PPP_HDRLEN, DLT_PPP_WITHDIRECTION, &active_filter, *argv, 1, netmask) == 0)
+ if (pcap_compile_nopcap(65535, DLT_PPP_PPPD, &active_filter, *argv, 1, netmask) == 0)
return 1;
option_error("error in active-filter expression.\n");
return 0;
View
7 isdnlog/.cvsignore
@@ -1,7 +0,0 @@
-config.log
-config.status
-.depend
-Makefile
-policy.h
-zone-??-*.cdb
-zone-default-x.cdb
View
5 isdnlog/bin/.cvsignore
@@ -1,5 +0,0 @@
-isdnbill
-isdnconf
-isdnlog
-isdnrate
-isdnrep
View
1  isdnlog/isdnconf/.cvsignore
@@ -1 +0,0 @@
-isdnconf.1
View
6 isdnlog/isdnlog/.cvsignore
@@ -1,6 +0,0 @@
-callerid.conf.5
-isdn.conf.5
-isdnformat.5
-isdnlog.5
-isdnlog.8
-isdnlog.users.5
View
3  isdnlog/isdnrep/.cvsignore
@@ -1,3 +0,0 @@
-isdnrep.1
-isdnbill.1
-opt_time
View
2  isdnlog/samples/.cvsignore
@@ -1,2 +0,0 @@
-isdn.conf
-isdn.conf.??
View
5 isdnlog/tools/.cvsignore
@@ -1,5 +0,0 @@
-country
-isdnrate.1
-rate.conf.5
-rate_skip
-rate-files.5
View
18 isdnlog/tools/cdb/.cvsignore
@@ -1,18 +0,0 @@
-config.cache
-config.h
-config.log
-config.status
-.depend
-Makefile
-cdbdump
-cdbdump.1
-cdbget
-cdbget.1
-cdb_hash.3
-cdbmake
-cdbmake.1
-cdb_seek.3
-cdbstats
-cdbstats.1
-cdbtest
-cdbtest.1
View
7 isdnlog/tools/dest/.cvsignore
@@ -1,7 +0,0 @@
-config.cache
-config.log
-config.status
-dest
-dest.cdb
-dest.gdbm
-Makefile
View
9 isdnlog/tools/isdnrate.c
@@ -1,4 +1,4 @@
-/* $Id: isdnrate.c,v 1.44 2004/12/18 15:10:50 tobiasb Exp $
+/* $Id: isdnrate.c,v 1.45 2005/08/01 12:15:15 keil Exp $
* ISDN accounting for isdn4linux. (rate evaluation)
*
@@ -19,6 +19,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: isdnrate.c,v $
+ * Revision 1.45 2005/08/01 12:15:15 keil
+ * make GCC4 happy
+ *
* Revision 1.44 2004/12/18 15:10:50 tobiasb
* Show date with type of day for isdnrate -vT ...
*
@@ -327,7 +330,7 @@
static void print_header(void);
-static char *myname, *myshortname;
+char *myname, *myshortname;
static char options[] = "ab:c:d:f:h:i:l:op:r:st:v::x:CD::G:HLNP:O:S:TUVX::Z";
static char usage[] = "%s: usage: %s [ -%s ] Destination ...\n";
@@ -336,7 +339,7 @@ int verbose = 0;
static int usestat = 0;
static int duration = LCR_DURATION;
static time_t start;
-static int day, month, year, hour, min, sec;
+int day, month, year, hour, min, sec;
static char ignore[MAXPROVIDER];
static char *fromarea = 0;
static char wanted_day;
View
7 isdnlog/tools/zone/.cvsignore
@@ -1,7 +0,0 @@
-config.cache
-config.log
-config.status
-Makefile
-mkzonedb
-mkzonedb.man
-zone
View
1  pppdcapiplugin/.cvsignore
@@ -1 +0,0 @@
-pversion
View
2  pppdcapiplugin/Makefile
@@ -18,7 +18,7 @@ export MKDIR=$(TOPDIR)/mkinstalldirs
PPPSRCDIRS=/src/isdn/pppd
ifeq ($(PPPVERSIONS),)
-PPPVERSIONS = 2.3.11 2.4.0 2.4.1 2.4.1b1 2.4.1b2 2.4.2b3 2.4.2
+PPPVERSIONS = 2.3.11 2.4.0 2.4.1 2.4.1b1 2.4.1b2 2.4.2b3 2.4.2 2.4.3
endif
PEERDIR=${DESTDIR}/etc/ppp/peers/isdn
View
6 rcapid/.cvsignore
@@ -1,6 +0,0 @@
-config.log
-rcapid
-.deps
-config.cache
-config.status
-Makefile
View
4 xisdnload/xisdnload.c
@@ -469,7 +469,7 @@ int main(argc, argv)
XrmValue namein, pixelout;
time_t t;
struct tm *tm;
- char now[20];
+ char now[32];
int a;
t = time(NULL);
@@ -537,7 +537,7 @@ int main(argc, argv)
strcpy(label_format, label);
- sprintf(now, "uninitialized %s", history);
+ snprintf(now, 32, "uninitialized %s", history);
XtSetArg (args[0], XtNlabel, now);
XtSetValues (label_wid, args, ONE);
Please sign in to comment.
Something went wrong with that request. Please try again.