Hi Freaks,
ich versuche leider vergeblich, mir einen Dialin-Server einzurichten.
Die Einwahl scheint zu funktionieren. Leider wird mein Client (Win9x)
nach wenigen Sekunden wieder rausgeschmissen. Ich finde einfach nicht
heraus, was ich aendern muss, damit das nicht passiert und der Client
drin bleibt.
Anbei hab ich meine Logfiles und Configfiles.
Bye
Florian
--
Florian Kieling
Registrierter Linux-User #130393
# login.config
#
# This is a sample "login dispatcher" configuration file for mgetty
#
# Format:
# username userid utmp_entry login_program [arguments]
#
# Meaning:
# for a "username" entered at mgettys login: prompt, call
# "login_program" with [arguments], with the uid set to "userid",
# and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
# a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
# set an utmp entry (a must for /bin/login), use "@" to set it to the
# username entered. Maximum length is 8 characters.
#
# login_program is the program that will be exec()ed, with the arguments
# passed in [arguments]. A "@" in the arguments will be replaced with the
# username entered. Warning: if no "@" is given, the login_program has
# no way to know what user name the user entered.
#
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
# (Big advantage: tuucp can use the same passwd file for serial dial-in
# and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U* uucp @ /usr/lib/uucp/uucico -l -u @
#
# Use this one for fido calls (login name /FIDO/ is handled specially)
#
# You need Eugene Crosser's "ifmail" package for this to work.
# mgetty has to be compiled with "-DFIDO", otherwise a fido call won't
# be detected.
#
#/FIDO/ uucp fido /usr/local/lib/fnet/ifcico @
#
# Automatic PPP startup on receipt of LCP configure request (AutoPPP).
# mgetty has to be compiled with "-DAUTO_PPP" for this to work.
# Warning: Case is significant, AUTOPPP or autoppp won't work!
# Consult the "pppd" man page to find pppd options that work for you.
#
# NOTE: for *some* users, the "-detach" option has been necessary, for
# others, not at all. If your pppd doesn't die after hangup, try it.
#
# NOTE2: "debug" creates lots of debugging info. LOOK AT IT if things
# do not work out of the box, most likely it's a ppp problem!
#
# NOTE3: "man pppd" is your friend!
#
#/AutoPPP/ - a_ppp /usr/sbin/pppd auth 192.168.4.1:192.168.4.2 +pap login
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login
#
#
# An example where no login name in the argument list is desired:
# automatically telnetting to machine "smarty" for a given login name
#
#telnet-smarty gast telnet /usr/bin/telnet -8 smarty
#
# This is the "standard" behaviour - *dont* set a userid or utmp
# entry here, otherwise /bin/login will fail!
# This entry isn't really necessary: if it's missing, the built-in
# default will do exactly this.
#
* - - /bin/login @
Oct 23 11:20:02 babywolf pppd[26349]: pppd 2.3.8 started by a_ppp, uid 0
Oct 23 11:20:02 babywolf pppd[26349]: Using interface ppp0
Oct 23 11:20:02 babywolf pppd[26349]: Connect: ppp0 <--> /dev/ttyS0
Oct 23 11:20:02 babywolf pppd[26349]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xd440c356> <pcomp> <accomp>]
Oct 23 11:20:05 babywolf pppd[26349]: rcvd [LCP ConfReq id=0x5 <asyncmap 0xa0000> <magic 0xcd783b> <pcomp> <accomp>]
Oct 23 11:20:05 babywolf pppd[26349]: sent [LCP ConfAck id=0x5 <asyncmap 0xa0000> <magic 0xcd783b> <pcomp> <accomp>]
Oct 23 11:20:05 babywolf pppd[26349]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xd440c356> <pcomp> <accomp>]
Oct 23 11:20:06 babywolf pppd[26349]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xd440c356> <pcomp> <accomp>]
Oct 23 11:20:06 babywolf pppd[26349]: sent [LCP EchoReq id=0x0 magic=0xd440c356]
Oct 23 11:20:06 babywolf pppd[26349]: rcvd [LCP EchoRep id=0x0 magic=0xcd783b]
Oct 23 11:20:09 babywolf pppd[26349]: rcvd [PAP AuthReq id=0x2 user="fkieling" password="tester"]
Oct 23 11:20:09 babywolf pppd[26349]: pam_unix session started for user fkieling, service ppp
Oct 23 11:20:09 babywolf pppd[26349]: user fkieling logged in
Oct 23 11:20:09 babywolf pppd[26349]: Could not determine local IP address
Oct 23 11:20:10 babywolf pppd[26349]: pam_unix session finished for user fkieling, service ppp
Oct 23 11:20:10 babywolf pppd[26349]: Connection terminated.
Oct 23 11:20:10 babywolf pppd[26349]: Connect time 0.2 minutes.
Oct 23 11:20:10 babywolf pppd[26349]: Sent 284 bytes, received 297 bytes.
Oct 23 11:20:10 babywolf pppd[26349]: Exit.
#
# mgetty configuration file
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
debug 4
# set the local fax station id
fax-id 49 115 xxxxxxxx
# access the modem(s) with 38400 bps
speed 38400
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
#port-group uucp
#port-mode 0664
# use these options to make incoming faxes owned by "root.uucp"
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
#fax-owner root
#fax-group uucp
#fax-mode 0640
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the others
#
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
#
#port ttyS0
# debug 3
# data-only y
# some other Rockwell modem, needs "switchbd 19200" to receive faxes
# properly (otherwise it will fail with "timeout").
#
#port ttyS1
# speed 38400
# switchbd 19200
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
#
#port ttyS2
# debug 8
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
# statistics-chat "" AT OK ATI2 OK
# statistics-file /tmp/statistics.2864
# modem-type cls2
# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS3
# direct y
# speed 19200
# toggle-dtr n
#ttyI0
# modem-type data
# speed 38400
# init-chat '' ATZ OK AT&E382321 OK
port ttyS0
# modem-type data
speed 38400
10/23 11:18:07 yS0 mgetty: experimental test release 1.1.19-Nov24
10/23 11:18:07 yS0 check for lockfiles
10/23 11:18:07 yS0 locking the line
10/23 11:18:07 yS0 WARNING: DCD line still active, check modem settings (AT&Dx)
10/23 11:18:07 yS0 lowering DTR to reset Modem
10/23 11:18:08 yS0 send: \dATQ0V1H0[0d]
10/23 11:18:08 yS0 waiting for ``OK'' ** found **
10/23 11:18:09 yS0 send: ATS0=0Q0&D3&C1[0d]
10/23 11:18:09 yS0 waiting for ``OK'' ** found **
10/23 11:18:10 yS0 mdm_send: 'ATI'
10/23 11:18:10 yS0 Generic Rockwell modem (28800)
10/23 11:18:10 yS0 mdm_send: 'ATI3'
10/23 11:18:10 yS0 mdm_send: 'ATI4'
10/23 11:18:10 yS0 additional info: 'V1.20 18/05/95'
10/23 11:18:10 yS0 modem quirks: 0004
10/23 11:18:10 yS0 mdm_send: 'AT+FCLASS=2' -> OK
10/23 11:18:10 yS0 mdm_send: 'AT+FCLASS=0' -> OK
10/23 11:18:11 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
10/23 11:18:11 yS0 mdm_send: 'AT+FBOR=0' -> OK
10/23 11:18:11 yS0 mdm_send: 'AT+FLID="49 115 xxxxxxxx"' -> OK
10/23 11:18:11 yS0 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/23 11:18:12 yS0 waiting...
10/23 11:18:30 yS0 wfr: waiting for ``RING''
10/23 11:18:30 yS0 send: ATA[0d]
10/23 11:18:30 yS0 waiting for ``CONNECT'' ** found **
10/23 11:18:47 yS0 send:
10/23 11:18:47 yS0 waiting for ``_'' ** found **
10/23 11:18:50 ##### data dev=ttyS0, pid=26348, caller='none', conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
--
10/23 11:18:50 yS0 mgetty: experimental test release 1.1.19-Nov24
10/23 11:18:50 yS0 check for lockfiles
10/23 11:18:50 yS0 locking the line
10/23 11:18:51 yS0 WARNING: DCD line still active, check modem settings (AT&Dx)
10/23 11:18:51 yS0 lowering DTR to reset Modem
10/23 11:18:51 yS0 send: \dATQ0V1H0[0d]
10/23 11:18:52 yS0 waiting for ``OK'' ** found **
10/23 11:18:53 yS0 send: ATS0=0Q0&D3&C1[0d]
10/23 11:18:53 yS0 waiting for ``OK'' ** found **
10/23 11:18:53 yS0 mdm_send: 'ATI'
10/23 11:18:53 yS0 Generic Rockwell modem (28800)
10/23 11:18:53 yS0 mdm_send: 'ATI3'
10/23 11:18:53 yS0 mdm_send: 'ATI4'
10/23 11:18:54 yS0 additional info: 'V1.20 18/05/95'
10/23 11:18:54 yS0 modem quirks: 0004
10/23 11:18:54 yS0 mdm_send: 'AT+FCLASS=2' -> OK
10/23 11:18:54 yS0 mdm_send: 'AT+FCLASS=0' -> OK
10/23 11:18:54 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
10/23 11:18:54 yS0 mdm_send: 'AT+FBOR=0' -> OK
10/23 11:18:54 yS0 mdm_send: 'AT+FLID="49 115 xxxxxxxx"' -> OK
10/23 11:18:55 yS0 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/23 11:18:55 yS0 waiting...
10/23 11:19:42 yS0 wfr: waiting for ``RING''
10/23 11:19:42 yS0 send: ATA[0d]
10/23 11:19:42 yS0 waiting for ``CONNECT'' ** found **
10/23 11:20:00 yS0 send:
10/23 11:20:00 yS0 waiting for ``_'' ** found **
10/23 11:20:02 ##### data dev=ttyS0, pid=26349, caller='none', conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
--
10/23 11:20:10 yS0 mgetty: experimental test release 1.1.19-Nov24
10/23 11:20:10 yS0 check for lockfiles
10/23 11:20:10 yS0 locking the line
10/23 11:20:10 yS0 WARNING: DCD line still active, check modem settings (AT&Dx)
10/23 11:20:10 yS0 lowering DTR to reset Modem
10/23 11:20:11 yS0 send: \dATQ0V1H0[0d]
10/23 11:20:12 yS0 waiting for ``OK'' ** found **
10/23 11:20:13 yS0 send: ATS0=0Q0&D3&C1[0d]
10/23 11:20:13 yS0 waiting for ``OK'' ** found **
10/23 11:20:13 yS0 mdm_send: 'ATI'
10/23 11:20:13 yS0 Generic Rockwell modem (28800)
10/23 11:20:13 yS0 mdm_send: 'ATI3'
10/23 11:20:13 yS0 mdm_send: 'ATI4'
10/23 11:20:14 yS0 additional info: 'V1.20 18/05/95'
10/23 11:20:14 yS0 modem quirks: 0004
10/23 11:20:14 yS0 mdm_send: 'AT+FCLASS=2' -> OK
10/23 11:20:14 yS0 mdm_send: 'AT+FCLASS=0' -> OK
10/23 11:20:14 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
10/23 11:20:14 yS0 mdm_send: 'AT+FBOR=0' -> OK
10/23 11:20:14 yS0 mdm_send: 'AT+FLID="49 115 xxxxxxxx"' -> OK
10/23 11:20:15 yS0 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/23 11:20:15 yS0 waiting...
# /etc/ppp/options
# The name of this server. Often, the FQDN is used here.
#name <host>
# Enforce the use of the hostname as the name of the local system for
# authentication purposes (overrides the name option).
#usehostname
# If no local IP address is given, pppd will use the first IP address
# that belongs to the local hostname. If "noipdefault" is given, this
# is disabled and the peer will have to supply an IP address.
noipdefault
# With this option, pppd will accept the peer's idea of our local IP
# address, even if the local IP address was specified in an option.
#ipcp-accept-local
# With this option, pppd will accept the peer's idea of its (remote) IP
# address, even if the remote IP address was specified in an option.
#ipcp-accept-remote
lock :192.168.2.100
# Specify which DNS Servers the incoming Win95 or WinNT Connection should use
# Two Servers can be remotely configured
#ms-dns 192.168.1.1
#ms-dns 192.168.1.2
# Specify which WINS Servers the incoming connection Win95 or WinNT should use
#ms-wins 192.168.1.50
#ms-wins 192.168.1.51
# enable this on a server that already has a permanent default route
#nodefaultroute
# Run the executable or shell command specified after pppd has terminated
# the link. This script could, for example, issue commands to the modem
# to cause it to hang up if hardware modem control signals were not
# available.
# If mgetty is running, it will reset the modem anyway. So there is no need
# to do it here.
#disconnect "chat -- \d+++\d\c OK ath0 OK"
# Increase debugging level (same as -d). The debug output is written
# to syslog LOG_LOCAL2.
debug
# Enable debugging code in the kernel-level PPP driver. The argument n
# is a number which is the sum of the following values: 1 to enable
# general debug messages, 2 to request that the contents of received
# packets be printed, and 4 to request that the contents of transmitted
# packets be printed.
#kdebug n
# Require the peer to authenticate itself before allowing network
# packets to be sent or received.
# Please do not disable this setting. It is expected to be standard in
# future releases of pppd. Use the call option (see manpage) to disable
# authentication for specific peers.
noauth
# authentication can either be pap or chap. As most people only want to
# use pap, you can also disable chap:
#require-pap
#refuse-chap
# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
# on the serial port.
crtscts
# Specifies that pppd should use a UUCP-style lock on the serial device
# to ensure exclusive access to the device.
lock
# 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
# Specifies that certain characters should be escaped on transmission
# (regardless of whether the peer requests them to be escaped with its
# async control character map). The characters to be escaped are
# specified as a list of hex numbers separated by commas. Note that
# almost any character can be specified for the escape option, unlike
# the asyncmap option which only allows control characters to be
# specified. The characters which may not be escaped are those with hex
# values 0x20 - 0x3f or 0x5e.
#escape 11,13,ff
# Set the MRU [Maximum Receive Unit] value to <n> for negotiation. pppd
# will ask the peer to send packets of no more than <n> bytes. The
# minimum MRU value is 128. The default MRU value is 1500. A value of
# 296 is recommended for slow links (40 bytes for TCP/IP header + 256
# bytes of data).
#mru 542
# Set the MTU [Maximum Transmit Unit] value to <n>. Unless the peer
# requests a smaller value via MRU negotiation, pppd will request that
# the kernel networking code send data packets of no more than n bytes
# through the PPP network interface.
#mtu <n>
# Set the interface netmask to <n>, a 32 bit netmask in "decimal dot"
# notation (e.g. 255.255.255.0).
#netmask 255.255.255.0
# Don't fork to become a background process (otherwise pppd will do so
# if a serial device is specified).
nodetach
# Set the assumed name of the remote system for authentication purposes
# to <n>.
#remotename <n>
# Add an entry to this system's ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system. {proxyarp,noproxyarp}
proxyarp
# Use the system password database for authenticating the peer using
# PAP. Note: mgetty already provides this option. If this is specified
# then dialin from users using a script under Linux to fire up ppp wont work.
#login
# If this option is given, pppd will send an LCP echo-request frame to
# the peer every n seconds. Under Linux, the echo-request is sent when
# no packets have been received from the peer for n seconds. Normally
# the peer should respond to the echo-request by sending an echo-reply.
# This option can be used with the lcp-echo-failure option to detect
# that the peer is no longer connected.
lcp-echo-interval 30
# If this option is given, pppd will presume the peer to be dead if n
# LCP echo-requests are sent without receiving a valid LCP echo-reply.
# If this happens, pppd will terminate the connection. Use of this
# option requires a non-zero value for the lcp-echo-interval parameter.
# This option can be used to enable pppd to terminate after the physical
# connection has been broken (e.g., the modem has hung up) in
# situations where no hardware modem control lines are available.
lcp-echo-failure 4
# Specifies that pppd should disconnect if the link is idle for n seconds.
idle 600
# Disable the IPXCP and IPX protocols.
noipx
# Disable VJ
novj
novjccomp
# ---<End of File>---
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-linux-unsubscribe(a)suse.com
For additional commands, e-mail: suse-linux-help(a)suse.com