AutoPPP Problems. Please helppppp!!!!!!!!

accu@comserv.it
Tue, 22 Jun 1999 10:23:06 +0200


Hi everybody,

In my linux box mgetty used with AutoPPP is not able to create a proxy ARP
entry, while if I make pppd start from a shell script, everything goes well.
Please, is there someone who can help me?
I'm using mgetty-1.1.14-8, linux RedHat 6.0 with kernel 2.2.5-15.

Below are my configuration files

**********************************************************
File /etc/ppp/options

asyncmap 0
netmask 255.255.255.192
proxyarp
lock
crtscts
modem

***************************************************************
File /etc/ppp/options.ttyS1

195.103.211.2:195.103.211.53

*********************************************
File /etc/mgetty+sendfax/login.config

# 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: "kdebug 7 debug" creates lots of debugging info. If all works,
# remove those!
#
#/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login kdebug 7 debug
/AutoPPP/ - a_ppp /usr/sbin/pppd -detach auth -chap +pap login kdebug 7 debug

#
#
# 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 @

And below is my log file

*******************************************************************
File /var/log/messages

Jun 18 18:25:25 linuxsrv mgetty[1394]: data dev=ttyS1, pid=1394,
caller='none', conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jun 18 18:25:25 linuxsrv kernel: CSLIP: code copyright 1989 Regents of the
University of California
Jun 18 18:25:25 linuxsrv kernel: PPP: version 2.3.3 (demand dialling)
Jun 18 18:25:25 linuxsrv kernel: PPP line discipline registered.
Jun 18 18:25:25 linuxsrv kernel: registered device ppp0
Jun 18 18:25:25 linuxsrv kernel: ppp_ioctl: set dbg flags to 70000
Jun 18 18:25:25 linuxsrv kernel: ppp_ioctl: set flags to 70000
Jun 18 18:25:25 linuxsrv kernel: ppp_tty_ioctl: set xasyncmap
Jun 18 18:25:25 linuxsrv kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Jun 18 18:25:25 linuxsrv kernel: ppp_ioctl: set flags to 70000
Jun 18 18:25:25 linuxsrv kernel: ppp_ioctl: set mru to 5dc
Jun 18 18:25:25 linuxsrv kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Jun 18 18:25:25 linuxsrv kernel: ppp_ioctl: set flags to 70000
Jun 18 18:25:25 linuxsrv pppd[1394]: pppd 2.3.7 started by a_ppp, uid 0
Jun 18 18:25:25 linuxsrv pppd[1394]: Using interface ppp0
Jun 18 18:25:25 linuxsrv pppd[1394]: Connect: ppp0 <--> /dev/ttyS1
Jun 18 18:25:28 linuxsrv kernel: ppp_tty_ioctl: set xmit asyncmap a0000
Jun 18 18:25:28 linuxsrv kernel: ppp_ioctl: set flags to f070003
Jun 18 18:25:28 linuxsrv kernel: ppp_ioctl: set mru to 5dc
Jun 18 18:25:28 linuxsrv kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun 18 18:25:28 linuxsrv kernel: ppp_ioctl: set flags to f070003
Jun 18 18:25:29 linuxsrv PAM_pwdb[1394]: (ppp) session opened for user accu
by (uid=0)
Jun 18 18:25:29 linuxsrv pppd[1394]: user accu logged in
Jun 18 18:25:29 linuxsrv kernel: ppp_ioctl: set flags to f070043
Jun 18 18:25:29 linuxsrv modprobe: can't locate module ppp-compress-21
Jun 18 18:25:29 linuxsrv modprobe: can't locate module ppp-compress-26
Jun 18 18:25:29 linuxsrv modprobe: can't locate module ppp-compress-24
Jun 18 18:25:30 linuxsrv modprobe: can't locate module ppp-compress-21
Jun 18 18:25:30 linuxsrv modprobe: can't locate module ppp-compress-26
Jun 18 18:25:30 linuxsrv modprobe: can't locate module ppp-compress-24
Jun 18 18:25:30 linuxsrv kernel: ppp_ioctl: set maxcid to 16
Jun 18 18:25:30 linuxsrv kernel: ppp_ioctl: set flags to f070047

Jun 18 18:25:30 linuxsrv pppd[1394]: Cannot determine ethernet address for
proxy ARP

Jun 18 18:25:30 linuxsrv pppd[1394]: local IP address 195.103.211.2
Jun 18 18:25:30 linuxsrv pppd[1394]: remote IP address 193.103.211.53
Jun 18 18:25:32 linuxsrv kernel: ppp_ioctl: set flags to f0700c7
Jun 18 18:25:32 linuxsrv kernel: ppp_ioctl: set flags to f070047
Jun 18 18:25:32 linuxsrv pppd[1394]: CCP terminated by peer
Jun 18 18:25:32 linuxsrv pppd[1394]: Compression disabled by peer.
Jun 18 18:26:28 linuxsrv pppd[1394]: LCP terminated by peer
Jun 18 18:26:28 linuxsrv kernel: ppp_ioctl: set flags to f07004b
Jun 18 18:26:28 linuxsrv kernel: ppp_ioctl: set flags to f07000b
Jun 18 18:26:28 linuxsrv kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Jun 18 18:26:28 linuxsrv kernel: ppp_ioctl: set flags to f070008
Jun 18 18:26:28 linuxsrv kernel: ppp_ioctl: set mru to 5dc
Jun 18 18:26:28 linuxsrv kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun 18 18:26:28 linuxsrv kernel: ppp_ioctl: set flags to f070008
Jun 18 18:26:29 linuxsrv kernel: ppp: channel ppp0 closing.
Jun 18 18:26:29 linuxsrv pppd[1394]: Hangup (SIGHUP)
Jun 18 18:26:29 linuxsrv pppd[1394]: Modem hangup
Jun 18 18:26:29 linuxsrv PAM_pwdb[1394]: (ppp) session closed for user accu
Jun 18 18:26:29 linuxsrv pppd[1394]: Connection terminated.
Jun 18 18:26:29 linuxsrv pppd[1394]: Connect time 1.1 minutes.
Jun 18 18:26:29 linuxsrv pppd[1394]: Sent 286 bytes, received 356 bytes.
Jun 18 18:26:29 linuxsrv pppd[1394]: Exit.
Jun 18 18:26:33 linuxsrv mgetty[1762]: init chat failed, exiting...:
Invalid argument
Jun 18 18:26:33 linuxsrv mgetty[1762]: failed in mg_init_data, dev=ttyS1,
pid=1762
Jun 18 18:40:00 linuxsrv kernel: PPP: ppp line discipline successfully
unregistered

Thanks in advance for any suggestion,
Regards
Accursio

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu