Networking Forums

Networking Forums > Computer Networking > Linux Networking > PPP problem with RH 7.1 updated with ppp-2.4.1-3

Reply
Thread Tools Display Modes

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

 
 
Tobias Skytte
Guest
Posts: n/a

 
      11-11-2003, 02:26 PM
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
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      11-11-2003, 05:29 PM
Tobias Skytte <(E-Mail Removed)> wrote:
> 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.

> 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.

> and a little further down there are some DHCP requests


Huh? Regular landline PPP doesn't use DHCP.

> 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.

> 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

> 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/

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
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. */
 
Reply With Quote
 
Tobias Skytte
Guest
Posts: n/a

 
      11-21-2003, 08:01 AM
> > 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.

>
> > 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.

> > 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')

> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Has my 2700HGV been updated by BT then? Flyiñg Ñuñ 2°10 + Broadband 7 01-13-2010 04:48 PM
IE cannot show my updated program! Eric Wireless Networks 0 06-11-2008 02:22 PM
Wireless Zero Configuration - updated problem Matthew Ellis (SD47) Wireless Networks 3 09-13-2005 01:28 PM
MN-740's has anyone updated them successful? faustus Broadband Hardware 12 01-16-2004 07:02 PM
fs... (updated) JPD Broadband 3 10-07-2003 09:09 AM



1 2 3 4 5 6 7 8 9 10 11