Howdy,
I'm trying to set up a PPP server (this is an extension of my earlier queries on how
to log in with mgetty)
So far everything is doing pretty good, I've read most of the PPP-HOWTO, I'm using
wvdial (as the HOWTO recommends) and getting as far as authenticating, however it
fails when the PPP server tries to start. After looking in the log files I'm afraid I
haven't got something right with the IPs. I'm connecting two boxes (the client is on a
LAN connected to the Internet, the server is atm, but won't be once it's moved to it's
real home), with the goal of getting a TCP/IP connection (we aren't trying to proxy or
masquerade out to the Internet right now) between the two.
I'm a little confused by the following line in the PPP-HOWTO:
"The 'proxyarp' option sets up (surprise!) a proxy ARP entry in the PPP server's ARP
table. It basically says "send all
packets destined for the PPP client to me". This is the easiest way to set up routing
to a single PPP client. You cannot,
however, use this if you are routing between two LANs. You must add proper network
routes that can't use proxy ARP."
Could someone explain that?
The options set in the server's /etc/ppp/options file are:
debug
crtscts
lock
modem
asyncmap 0
netmask 255.255.255.0
Log file entries follow
Here's the client's /var/log/messages:
Jan 8 20:28:09 garnet kernel: tty_io.c: process 23505 (statserial) used obsolete
/dev/cua1 - update software to use /dev/ttyS1
Jan 8 20:29:23 garnet mgetty[23587]: no line given: Success
Jan 8 20:29:23 garnet mgetty[23587]: Usage: mgetty [-x debug] [-s speed] [-r] line:
Success
Jan 8 20:36:13 garnet mgetty[23602]: cannot set controlling tty (ioctl): Operation
not permitted
Jan 8 20:36:14 garnet mgetty[23602]: failed dev=modem, pid=23602, got signal 2,
exiting
Jan 8 20:37:11 garnet mgetty[23609]: cannot set controlling tty (ioctl): Operation
not permitted
Jan 8 20:37:55 garnet mgetty[23609]: failed dev=modem, pid=23609, got signal 2,
exiting
Jan 8 20:49:30 garnet exiting on signal 15
However I do not think it's the client's problem. I must say I have no idea why the
mgetty on garnet (client) is doing anything while I'm dialing /out/. Is that normal?
Here's the tailing end (failing end) of the client's wvdial output:
CONNECT 115200
--> Carrier detected. Waiting for prompt.
Welcome to SuSE Linux 7.0 (i386) - Kernel
(l).
lxsrv01!login:
Welcome to SuSE Linux 7.0 (i386) - Kernel
(l).
lxsrv01!login:
--> Looks like a login prompt.
--> Sending: <my_user_name_here>
<my_username_here_too>
Password:
--> Looks like a password prompt.
--> Sending: (password)
Last login: Tue Jan 9 14:10:12 on ttyS0
Have a lot of fun...
[1b](Bjw@lxsrv01:~ >
--> Hmm... a prompt. Sending "ppp".
ppp
~[7f]}#@!}!}!} }4}"}&} } } } }%}&:j1U}'}"}(}"[14]J~
--> PPP negotiation detected.
--> Starting pppd at Tue Jan 9 00:13:54 2001
--> PPP daemon has died! (exit code = 10)
--> Disconnecting at Tue Jan 9 00:13:59 2001
--> Auto Reconnect will be attempted in 5 seconds
--> pppd error! Look at files in /var/log for an explanation.
Now here's /var/log/messages from the server:
Jan 9 14:23:01 lxsrv01 pppd[463]: pppd 2.3.11 started by jw, uid 500
Jan 9 14:23:01 lxsrv01 pppd[463]: Using interface ppp0
Jan 9 14:23:01 lxsrv01 pppd[463]: Connect: ppp0 <--> /dev/ttyS0
Jan 9 14:23:01 lxsrv01 pppd[463]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0xbaea3155> <pcomp> <accomp>]
Jan 9 14:23:01 lxsrv01 pppd[463]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0xb77c7f55> <pcomp> <accomp>]
Jan 9 14:23:01 lxsrv01 pppd[463]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic
0xb77c7f55> <pcomp> <accomp>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0xbaea3155> <pcomp> <accomp>]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic
0xbaea3155> <pcomp> <accomp>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [LCP EchoReq id=0x0 magic=0xbaea3155]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [IPCP ConfReq id=0x1 <addr 192.168.0.27>
<compress VJ 0f 01>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress
VJ 0f 01>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [IPCP ConfRej id=0x1 <addr 0.0.0.0>]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [CCP ConfAck id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [LCP EchoRep id=0x0 magic=0xb77c7f55]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [IPCP ConfAck id=0x1 <addr 192.168.0.27>
<compress VJ 0f 01>]
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [CCP ConfAck id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 9 14:23:04 lxsrv01 pppd[463]: Deflate (15) compression enabled
Jan 9 14:23:04 lxsrv01 pppd[463]: rcvd [IPCP ConfReq id=0x2 <addrs 0.0.0.0 0.0.0.0>
<compress VJ 0f 01>]
Jan 9 14:23:04 lxsrv01 pppd[463]: sent [IPCP ConfRej id=0x2 <addrs 0.0.0.0 0.0.0.0>]
Jan 9 14:23:05 lxsrv01 pppd[463]: rcvd [IPCP ConfReq id=0x3 <compress VJ 0f 01>]
Jan 9 14:23:05 lxsrv01 pppd[463]: sent [IPCP ConfAck id=0x3 <compress VJ 0f 01>]
Jan 9 14:23:05 lxsrv01 pppd[463]: Could not determine remote IP address
Jan 9 14:23:05 lxsrv01 pppd[463]: sent [IPCP TermReq id=0x2 "Could not determine
remote IP address"]
Jan 9 14:23:05 lxsrv01 pppd[463]: rcvd [IPCP TermReq id=0x4 "Could not determine
local IP address"]
Jan 9 14:23:05 lxsrv01 pppd[463]: sent [IPCP TermAck id=0x4]
Jan 9 14:23:05 lxsrv01 pppd[463]: rcvd [IPCP TermAck id=0x2]
Jan 9 14:23:05 lxsrv01 pppd[463]: sent [LCP TermReq id=0x2 "No network protocols
running"]
Jan 9 14:23:05 lxsrv01 pppd[463]: rcvd [LCP TermReq id=0x2 "No network protocols
running"]
Jan 9 14:23:05 lxsrv01 pppd[463]: sent [LCP TermAck id=0x2]
Jan 9 14:23:05 lxsrv01 pppd[463]: rcvd [LCP TermAck id=0x2]
Jan 9 14:23:05 lxsrv01 pppd[463]: Connection terminated.
Jan 9 14:23:05 lxsrv01 pppd[463]: Connect time 0.1 minutes.
Jan 9 14:23:05 lxsrv01 pppd[463]: Sent 265 bytes, received 232 bytes.
Jan 9 14:23:05 lxsrv01 pppd[463]: Exit.
Thanks a ton, in advance.
----------------------------------------
Jonathan Wilson
System Administrator
Cedar Creek Software
http://www.cedarcreeksoftware.com
Central Texas IT
http://www.centraltexasit.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list