Hi all�

This is my first message to the list so I send regards to everyone here
:o).

I have set up an PPP server in a machine with RH 6.0, all seems work but
the client and the server can not communicate themselves. I will explain
my scenary:

I am using  mgetty for users login, with autoppp. IPV4_FORWARD is
enabled in /etc/sysconfig/network
I think that all the options files and scripts are well set up as an
article in the linuxgazette.

Well, as I say all works ok but affter the connection a simple ping
between the server ip and the client(windows95) ip dont work, the
windows machines receives bytes because the two small computers in the
systray blinks and give the total received bytes :oD, all the packets in
the server appears as lossed in a ifconfig call.

But what is my surprise that all works if the windows machine has the
ethernet card enabled at negotiation time
because all the tests was made with it disabled, I am getting crazy :o).
When the card is enabled the ppp link works
(if after negotiation I disable it all works too) and when the card is
disabled the ppp link doesnt work.

What is happening?

These are some cat's that I made in the server machine:

[ifconfig]

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:121 errors:0 dropped:0 overruns:0 frame:0
          TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth0      Link encap:Ethernet  HWaddr 00:00:E8:61:A3:59
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:504 errors:0 dropped:0 overruns:0 frame:4
          TX packets:176 errors:1 dropped:0 overruns:0 carrier:1
          collisions:19
          Interrupt:11 Base address:0x6500

ppp0      Link encap:Point-to-Point Protocol
          inet addr:192.168.1.1  P-t-P:192.168.1.100
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

[end ifconfig]

[route]

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
ppp01           *               255.255.255.255 UH    0      0        0
ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
127.0.0.0       *               255.0.0.0       U     0      0        0
lo

[end route]


[a piece of /var/log/messages]

Jun  3 12:49:48 server mgetty[658]: data dev=ttyS3, pid=658,
caller='none', conn='115200', name='', cmd='/etc/ppp/ppplogin',
user='/AutoPPP/'
Jun  3 12:49:48 server pppd[661]: pppd 2.3.7 started by LOGIN, uid 0
Jun  3 12:49:48 server pppd[661]: Using interface ppp0
Jun  3 12:49:48 server pppd[661]: Connect: ppp0 <--> /dev/ttyS3
Jun  3 12:49:52 server PAM_pwdb[661]: (ppp) session opened for user jose
by (uid=0)
Jun  3 12:49:52 server pppd[661]: user jose logged in
Jun  3 12:49:52 server modprobe: can't locate module ppp-compress-21
Jun  3 12:49:52 server modprobe: can't locate module ppp-compress-26
Jun  3 12:49:52 server modprobe: can't locate module ppp-compress-24
Jun  3 12:49:52 server modprobe: can't locate module ppp-compress-21
Jun  3 12:49:53 server modprobe: can't locate module ppp-compress-26
Jun  3 12:49:53 server modprobe: can't locate module ppp-compress-24
Jun  3 12:49:53 server pppd[661]: found interface eth0 for proxy arp
Jun  3 12:49:53 server pppd[661]: local  IP address 192.168.1.1
Jun  3 12:49:53 server pppd[661]: remote IP address 192.168.1.100
Jun  3 12:49:55 server pppd[661]: CCP terminated by peer
Jun  3 12:49:55 server pppd[661]: Compression disabled by peer.
Jun  3 12:50:26 server pppd[661]: LCP terminated by peer
Jun  3 12:50:27 server pppd[661]: Hangup (SIGHUP)
Jun  3 12:50:27 server pppd[661]: Modem hangup
Jun  3 12:50:27 server PAM_pwdb[661]: (ppp) session closed for user jose

Jun  3 12:50:27 server pppd[661]: Connection terminated.
Jun  3 12:50:27 server pppd[661]: Connect time 0.7 minutes.
Jun  3 12:50:27 server pppd[661]: Sent 1457 bytes, received 350 bytes.
Jun  3 12:50:27 server pppd[661]: Exit.
Jun  3 12:50:29 server mgetty[707]: init chat failed, exiting...:
Invalid argument
Jun  3 12:50:29 server mgetty[707]: failed in mg_init_data, dev=ttyS3,
pid=707

[end of /var/log/messages]


Thanks in advance, see you.

(Sorry for my english)

--
Jose Antonio Robles

[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to