PPP problem with RH 7.1 updated with ppp-2.4.1-3

PPP problem with RH 7.1 updated with ppp-2.4.1-3

Post by Tobias Skyt » Thu, 13 Nov 2003 00:26:11



I am trying to get a ppp server running, but it is giving me some
grief.
I am running RH 7.1 and after a lot of fiddling, i found out that the
ppp that comes with that version is broken and so updated to
ppp-2.4.1-3 which is supposed to work.
When I dial up (using winXP) it authenticates but immediately drops
the connection (so the symptoms are the same as when using the faulty
ppp ).
the messages log says:
.
.
user tobias logged in
LCP terminated by peer (and then some garbage)
Hangup (SIGHUP)
Modem hangup
.
.

and a little further down there are some DHCP requests

So what gives?
WinXP says that the remote server could not assign an IP address.

I have in the /etc/ppp/options.ttyQ1a1 the following:
#the beginning
192.168.10.1:
#the end

And as far as I understood this should give the glient a dynamic
address.
I have DHCP set up correctly (AFAIK).
The server has two nic's one with public ip (196.x.x.x)and one with
private ip (192.168.x.x)

Any suggestions, or references to good online documentation would be
great. I have read the ppp-howto but it doesn't address my problem
really.
Thanks in advance.

PS: I have to run RH 7.1 for specific reasons (not because I enjoy
using old software!)

Tobias Skytte

 
 
 

PPP problem with RH 7.1 updated with ppp-2.4.1-3

Post by Clifford Kit » Thu, 13 Nov 2003 03:29:47



> I am trying to get a ppp server running, but it is giving me some
> grief.
> I am running RH 7.1 and after a lot of fiddling, i found out that the
> ppp that comes with that version is broken and so updated to
> ppp-2.4.1-3 which is supposed to work.

Depending on what RH modified pppd it is you may have one that I know
doesn't work right.  That would be one that came with RH 7.2.

Quote:> When I dial up (using winXP) it authenticates but immediately drops
> the connection (so the symptoms are the same as when using the faulty
> ppp ).
> the messages log says:
> .
> .
> user tobias logged in
> LCP terminated by peer (and then some garbage)
> Hangup (SIGHUP)
> Modem hangup
> .
> .

Add the pppd debug option and follow the recipe in my signature to get
detailed PPP link negotiation messages.  Post exact copies of them,
including timestamps and we probably can then help you.

Quote:> and a little further down there are some DHCP requests

Huh?  Regular landline PPP doesn't use DHCP.

Quote:> So what gives?
> WinXP says that the remote server could not assign an IP address.
> I have in the /etc/ppp/options.ttyQ1a1 the following:
> #the beginning
> 192.168.10.1:
> #the end

I don't recognize ttyQ1a1 as being a serial device file?  The serial device
files are usually the ttyS* files.

Quote:> And as far as I understood this should give the glient a dynamic
> address.

No, it gives the RH host an IP address.  You likely would want to supply
the host calling in with an IP address it will use:

192.168.10.1:xxx.xxx.xxx.xxx

Quote:> I have DHCP set up correctly (AFAIK).
> The server has two nic's one with public ip (196.x.x.x)and one with
> private ip (192.168.x.x)
> Any suggestions, or references to good online documentation would be
> great. I have read the ppp-howto but it doesn't address my problem
> really.

I'm not sure there is anything I can recommend for setting up a dialin
connection host.  I've set one up but don't recall what documentation
I started with, aside from "info mgetty".  You can try these but if you
are able to start PPP negotiations started then the log messages should
provide an answer:

http://www.swcp.com/~jgentry/pers.html
http://www.swcp.com/~jgentry/dialin2.html
http://www.linuxgazette.com/issue38/gentry.html
(one or more of the above is probably gone)
http://www.tldp.org/HOWTO/ISP-Setup-RedHat-HOWTO.html
http://www.xnet.com/~efflandt/linux/

--

PPP-Q&A links, downloads:                      http://ckite.no-ip.net/
/* Recipe for a unified PPP debug log file:  Add the line
   " local2.*;*.=debug;*.=notice        /var/log/ppp-debug.log "
   to /etc/syslog.conf, and then do " kill -HUP $(pidof syslogd) "
   so that syslogd rereads it. */

 
 
 

PPP problem with RH 7.1 updated with ppp-2.4.1-3

Post by Tobias Skyt » Sat, 22 Nov 2003 18:01:34


Quote:> > and a little further down there are some DHCP requests

> Huh?  Regular landline PPP doesn't use DHCP.

Yes I was confused. The DHCP requests came from another computer on
the lan.

Quote:

> > So what gives?
> > WinXP says that the remote server could not assign an IP address.

> > I have in the /etc/ppp/options.ttyQ1a1 the following:
> > #the beginning
> > 192.168.10.1:
> > #the end

> I don't recognize ttyQ1a1 as being a serial device file?  The serial device
> files are usually the ttyS* files.

Sorry I should have mentioned, it is an equinox modem pool so the
device is ok.

Quote:> > And as far as I understood this should give the glient a dynamic
> > address.

> No, it gives the RH host an IP address.  You likely would want to supply
> the host calling in with an IP address it will use:

> 192.168.10.1:xxx.xxx.xxx.xxx

Yes, it is working now, like this. And also the problem was with the
pap-secrets file which had to be:
username       *       password       *

(i.e. stars for 'server' and 'ip-address')

Quote:> I'm not sure there is anything I can recommend for setting up a dialin
> connection host.  I've set one up but don't recall what documentation
> I started with, aside from "info mgetty".  You can try these but if you
> are able to start PPP negotiations started then the log messages should
> provide an answer:

> http://www.swcp.com/~jgentry/pers.html
> http://www.swcp.com/~jgentry/dialin2.html
> http://www.linuxgazette.com/issue38/gentry.html
> (one or more of the above is probably gone)
> http://www.tldp.org/HOWTO/ISP-Setup-RedHat-HOWTO.html
> http://www.xnet.com/~efflandt/linux/

Problem solved. thanks for your help.

Regards,
Tobias Skytte

 
 
 

1. Problem Updating RH5.0 to kernel-2.0.32-3 w/pcmcia-cs-2.9.12-3

Help!

Following the instructions for updating the RH5.0 kernel on my laptop
from kernel-2.0.31-7 to kernel-2.0.32-3 w/pcmcia-cs-2.9.12-3, the
instructions say to "rpm -i" the kernel RPMs.  They also say to do
the same with the "pcmcia-cs" RPM.

But when I try the "rpm -i" with the pcmcia-cs RPM, rpm issues
several "conflicts with" messages and refuses to load the new RPM.

I am now stopped dead in my tracks with my long-weekend marathon
upgrade.  (Haven't modified /etc/lilo.conf nor tried to reboot yet.)

What should I do at this point?  I suspect I should probably do the
pcmcia RPM with -U instead, but what if I want to boot the old
kernel again?

(Please reply via email as well as posting, as connections to the
news server I use for the Linux groups is quite slow and I'm not
confident that it always gets everything in a timely manner.)

Thanks,
Jim
--
Jim Seymour

http://home.msen.com/~jimsun

2. xterm, can anyone help?

3. 2.4.18-3 on rh 7.1?

4. RH 7.2 and kernel 2.4.16, can not boot

5. Problem with ppp-2.4.1 on RH 7.3 with 2.4.19

6. xdm and port 1024

7. PPP-2.4.1 Solaris8 Driver Failed to Attach/ppp question

8. NNTPD Accepts One Post Then Resets And Hangs Up...?

9. kernel version problem with ppp module in RH 4.1

10. Linux Quake 2 RH 5.1 with Kernel update 2.0.36-3

11. Updating a RH 7.1 box with a RAID 1 to RH 9

12. ppp dialup w/RH 4.1

13. PPP and PPP and PPP and PPP and PPP and HEADACHE