Fw: [suse-isdn] Dialin-Server konfigurieren ?
-----Ursprüngliche Nachricht-----
Von: "Michael Helms"
Hallo,
ich habe mit folgenden Hilfen einen dial-in-Server hinbekommen. Naja, hinbekommen ist etwas geprahlt, aber zumindest kann man sich einwählen. Machen kann man dann nix (nur ping funktioniert). Liegt evtl. an einer Firewall Einstellung. Aber davon hab ich überhaupt keine Ahnung (kann mir jemand mit 3 Sätzen sagen wie ich sehe ob ein Firewall konfiguriert ist, wo die Einstellungen gemacht werden und welche Einstellung eine Einwahl verhindert - ich verspreche auch irgendwann mal das HowTo zu lesen).
Linux als Dialin-Server HOWTO (Dirk Bender; www.64-bit.de) und Der Linuxserver als Einwahlrechner (Detlev Reymann; www.mnd.fh-wiesbaden.de/~dreymann/linux/linuxhtml.zip))
Geholfen hat am Ende wohl die Kombination beider Quellen, wobei ich mich meistens an letztere gehalten habe.
--- schnipp --- /etc/ppp/options ----
# /etc/ppp/options # # Not every option is listed here, see man pppd for more details. # This file is read by the pppd, # it is an error when it is not present. # # use the following command to see the active options: # # grep -v ^# /etc/ppp/options | grep -v ^$ #
# ---<Start of File>---
# # # Ab jetzt steht alles in den Gerätedateien /etc/ppp/options.ipppx # 12.09.2000 hel # # Leider lassen sich die 3 Optionen unten nicht in /etc/ppp/options.ippp0 # unterbringen. Da "init 2" sonst zu einer Fehlermeldung führt, z.B.: # "In file /etc/ppp/options.ippp0: unrecogniced command asyncmap" # Da ich nicht weiß wofür diese Ding gut sind, lass ich sie erstmal hier # stehen. Wenn das dann zu Konflikten mit /etc/ppp/options.ippp1 (Konfig # für Dial-In-Server) kommt, müssen wir mal sehen ob die Optionen evtl. bei # Start von ippp0 (Dial-Out-Server) weggelassen werden können. # 13.09.2000 hel #
# Use hardware flow control (i.e. RTS/CTS) to control the flow of data # on the serial port. crtscts
# Use the modem control lines. modem
# async character map -- 32-bit hex; each bit is a character # that needs to be escaped for pppd to receive it. 0x00000001 # represents '\x01', and 0x80000000 represents '\x1f'. # To allow pppd to work over a rlogin/telnet connection, ou should escape # XON (^Q), XOFF (^S) and ^]: (The peer should use "escape ff".) #asyncmap 200a0000 asyncmap 0
--- schnapp ---
--- schnipp --- /etc/ppp/ioptions ----
# /etc/ppp/ioptions # for isdn4linux/syncPPP global options for ipppd # # # Klaus Franken, kfr@suse.de # Version: 15.05.97 (5.0) # #
lock
# Set 'debug' to create a lot of information in /var/log/messages # debug
# Set '+pwlog' for logging passwords in /var/log/messages #+pwlog
--- schnapp ---
--- schnipp --- /etc/ppp/options.ippp0 ----
# /etc/ppp/options.ippp? # # for isdn4linux/syncPPP and dynamic IP-numbers # # # Klaus Franken, kfr@suse.de # Version: 27.08.97 (5.1) # # This file is copy by YaST from /etc/ppp/ioptions.YaST # to options.<device>
# The device(s) # for more than one device try: # /dev/ippp0 /dev/ippp1 ... /dev/ippp0
# The IP addresses: <local>:<remote> # just "0.0.0.0:" or nothing for dynamic IP #0.0.0.0:
# my user name user "....das muss ja nicht jeder wissen ...."
# my system name (only for CHAP!) # name my_system_name
# accept IP addresses from peer # use with dynamic IP ipcp-accept-local ipcp-accept-remote noipdefault
# try to get IP address from interface # option specific to ipppd (as opposed to pppd) # use only with static IP #useifip
# disable all header-compression -vj -vjccomp -ac -pc -bsdcomp
# sometimes you need this: #noccp
# max receive unit mru 1524 # max transmit unit mtu 1500
# If this machine is a server, force authentication by uncommenting one # of the following. However, if this machine is a client, doing this will # prevent a succesful connection! (message "peer refused to authenticate"). # So, only uncomment on a server. # "+pap" / "+chap" NUR AKTIVIEREN, WENN DIES EIN SERVER IST!!! #+pap #+chap
# if you have problems with handshaking (no response for first # lcp-package) try to decrease the retry-cycle. Default is 3 sec, # try for example 2 sec: # lcp-restart 2
--- schnapp ---
--- schnipp --- /etc/ppp/options.ippp1 ----
# /etc/ppp/options.ippp? # # for isdn4linux/syncPPP and dynamic IP-numbers # # # Klaus Franken, kfr@suse.de # Version: 27.08.97 (5.1) # # This file is copy by YaST from /etc/ppp/ioptions.YaST # to options.<device>
# The device(s) # for more than one device try: # /dev/ippp0 /dev/ippp1 ... /dev/ippp1
# Einwahlrechner als Bestandteil des lokalen Netzwerks erscheinen lassen proxyarp
# The IP addresses: <local>:<remote> # just "0.0.0.0:" or nothing for dynamic IP #0.0.0.0: 192.168.1.250:192.168.0.42
# disable all header-compression -vj -vjccomp -ac -pc -bsdcomp
# sometimes you need this: #noccp
# max receive unit mru 1524 # max transmit unit mtu 1500
# If this machine is a server, force authentication by uncommenting one # of the following. However, if this machine is a client, doing this will # prevent a succesful connection! (message "peer refused to authenticate"). # So, only uncomment on a server. # "+pap" / "+chap" NUR AKTIVIEREN, WENN DIES EIN SERVER IST!!! +pap #+chap
# if you have problems with handshaking (no response for first # lcp-package) try to decrease the retry-cycle. Default is 3 sec, # try for example 2 sec: # lcp-restart 2
login auth -d -d -d -d
user "... hat auch keinen zu interessieren ..."
--- schnapp ---
Geklappt hat alles aber erst als ich auch noch ip-up angepasst habe. Siehe hierzu D.Reymann.
Ich hoffe das hilft euch ein wenig weiter.
Zur log-Datei:
Sep 19 08:36:35 ISDNPC kernel: isdn_net: Incoming call without CPN, assuming '0' Sep 19 08:36:35 ISDNPC kernel: isdn_net: call from 01212345678,7,0 -> 0
ich weiß ja nicht was CPN bedeutet, nehme aber an, das damit die Nummer nach dem Pfeil -> gemeit ist. Bei mir steht da die Nummer unter der der Dial-In-Server angerufen wird. Vielleicht möchte dein Server ja nicht mit/als 0 angesprochen werden. Aber was das bedeutet und wie man es ändert weiß ich leider auch nicht.
Michael
-----Ursprüngliche Nachricht----- Von: "Ulrich Wahls (Suse-Liste)"
An: Gesendet: Dienstag, 19. September 2000 09:50 Betreff: [suse-isdn] Dialin-Server konfigurieren ? Hallo,
ich moechte gerne einen Dialin-Server mit einem ISDN-PC aufbauen. Die Installation und ein Rauswaehlen funktioniert. Mit Rauswaehlen meine ich in diesem Fall ein Ping und auch ein FTP. Bis zu diesem Punkt bin ich jetzt gekommen. Aber mit dem Dialin-Server habe ich doch jetzt schon seit mehr als 2 Wochen boese Probleme. Auch diverse Artikel haben mir keine Loesung gebracht. Es sind wohl die Dateien options, ioptions und options.ippp0 die entsprechend angepasst werden muessen. /etc/inittab muss wohl auch noch angepasst werden ? Kann mir jemand vielleicht hierzu mal 3 Beispiel-Dateien liefern die auch funktionieren ? Nachfolgend noch ein Auszug aus der /var/log/messages. Gruss ULI
Sep 19 08:36:35 ISDNPC kernel: isdn_net: Incoming call without CPN,
assuming
'0' Sep 19 08:36:35 ISDNPC kernel: isdn_net: call from 01212345678,7,0 -> 0 Sep 19 08:36:35 ISDNPC kernel: isdn_net: call from 01212345678 -> 0 0 ignored Sep 19 08:36:35 ISDNPC kernel: isdn_tty: Incoming call without CPN, assuming '0' Sep 19 08:36:35 ISDNPC kernel: isdn_tty: call from 01212345678 -> 0 ignored Sep 19 08:36:36 ISDNPC isdnlog: Sep 19 08:36:35 * Call to tei 127 from +49 12/12345678, Hamburg on ? RING (Datenuebertragung (64 kBit/s oder V.110)) Sep 19 08:36:36 ISDNPC isdnlog: Sep 19 08:36:35 * Call to tei 127 from +49 12/12345678, Hamburg on ? UNKNOWN ELEMENT 21: 10 83 [ ], length=2 Sep 19 08:36:36 ISDNPC kernel: isdn_net: Incoming call without CPN, assuming '0' Sep 19 08:36:36 ISDNPC kernel: isdn_net: call from 01212345678,7,0 -> 0 Sep 19 08:36:36 ISDNPC kernel: isdn_net: call from 01212345678 -> 0 0 ignored Sep 19 08:36:36 ISDNPC kernel: isdn_tty: Incoming call without CPN, assuming '0' Sep 19 08:36:36 ISDNPC kernel: isdn_tty: call from 01212345678 -> 0 ignored Sep 19 08:36:38 ISDNPC kernel: isdn_net: Incoming call without CPN, assuming '0' Sep 19 08:36:38 ISDNPC kernel isdn_net: call from 01212345678,7,0 -> 0 Sep 19 08:36:38 ISDNPC kernel: isdn_net: call from 01212345678 -> 0 0 ignored Sep 19 08:36:38 ISDNPC kernel: isdn_tty: Incoming call without CPN, assuming '0' Sep 19 08:36:38 ISDNPC kernel: isdn_tty: call from 01212345678 -> 0 ignored
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-isdn-unsubscribe@suse.com For additional commands, e-mail: suse-isdn-help@suse.com
participants (1)
-
Michael Helms